This job view page is being replaced by Spyglass soon. Check out the new job view.
PRandyzhangx: [WIP] test
ResultFAILURE
Tests 0 failed / 0 succeeded
Started2023-01-09 07:34
Elapsed3m53s
Revision0f6f26196850f19d8bc2d41d0c07658694c5896f
Refs 1685

No Test Failures!


Error lines from build-log.txt

... skipping 3 lines ...
+ make verify
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
W0109 07:37:25.651851   11314 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/azure/scsi1/ failed, error: read /dev/disk/azure/scsi1/ error: bad dir
W0109 07:37:25.651961   11314 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.4
Platform: linux/amd64
Topology Key: topology.disk.csi.azure.com/zone

Streaming logs below:
W0109 07:37:25.658876   11314 azure_disk_utils.go:230] get kubeconfig() failed with error: open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory
I0109 07:37:25.663240   11314 driver.go:81] Enabling controller service capability: CREATE_DELETE_VOLUME
I0109 07:37:25.663274   11314 driver.go:81] Enabling controller service capability: PUBLISH_UNPUBLISH_VOLUME
I0109 07:37:25.663279   11314 driver.go:81] Enabling controller service capability: CREATE_DELETE_SNAPSHOT
I0109 07:37:25.663283   11314 driver.go:81] Enabling controller service capability: CLONE_VOLUME
I0109 07:37:25.663296   11314 driver.go:81] Enabling controller service capability: EXPAND_VOLUME
I0109 07:37:25.663301   11314 driver.go:81] Enabling controller service capability: SINGLE_NODE_MULTI_WRITER
... skipping 22 lines ...
Git Commit: N/A
Go Version: go1.19.4
Platform: linux/amd64
Topology Key: topology.disk.csi.azure.com/zone

Streaming logs below:
W0109 07:37:25.667713   11314 azure_disk_utils.go:230] get kubeconfig() failed with error: open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory
I0109 07:37:25.672392   11314 driver.go:81] Enabling controller service capability: CREATE_DELETE_VOLUME
I0109 07:37:25.672479   11314 driver.go:81] Enabling controller service capability: PUBLISH_UNPUBLISH_VOLUME
I0109 07:37:25.672494   11314 driver.go:81] Enabling controller service capability: CREATE_DELETE_SNAPSHOT
I0109 07:37:25.672499   11314 driver.go:81] Enabling controller service capability: CLONE_VOLUME
I0109 07:37:25.672504   11314 driver.go:81] Enabling controller service capability: EXPAND_VOLUME
I0109 07:37:25.672527   11314 driver.go:81] Enabling controller service capability: SINGLE_NODE_MULTI_WRITER
... skipping 13 lines ...
Git Commit: N/A
Go Version: go1.19.4
Platform: linux/amd64
Topology Key: topology.disk.csi.azure.com/zone

Streaming logs below:
W0109 07:37:25.673351   11314 azure_disk_utils.go:230] get kubeconfig() failed with error: open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory
E0109 07:37:25.913356   11314 util.go:138] Send.sendRequest: error in parsing response body string "": unexpected end of JSON input, Skip retrying regional host
E0109 07:37:25.913553   11314 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: e5833620-fdd5-433f-b3cd-dc637b568900\r\nCorrelation ID: 60c17f2b-da44-4577-95eb-d21e659bc771\r\nTimestamp: 2023-01-09 07:37:25Z","error_codes":[90002],"timestamp":"2023-01-09 07:37:25Z","trace_id":"e5833620-fdd5-433f-b3cd-dc637b568900","correlation_id":"60c17f2b-da44-4577-95eb-d21e659bc771","error_uri":"https://login.microsoftonline.com/error?code=90002"} Endpoint https://login.microsoftonline.com/1234/oauth2/token
W0109 07:37:25.913581   11314 azuredisk.go:220] 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: e5833620-fdd5-433f-b3cd-dc637b568900\r\nCorrelation ID: 60c17f2b-da44-4577-95eb-d21e659bc771\r\nTimestamp: 2023-01-09 07:37:25Z","error_codes":[90002],"timestamp":"2023-01-09 07:37:25Z","trace_id":"e5833620-fdd5-433f-b3cd-dc637b568900","correlation_id":"60c17f2b-da44-4577-95eb-d21e659bc771","error_uri":"https://login.microsoftonline.com/error?code=90002"} Endpoint https://login.microsoftonline.com/1234/oauth2/token
I0109 07:37:25.917275   11314 driver.go:81] Enabling controller service capability: CREATE_DELETE_VOLUME
I0109 07:37:25.917315   11314 driver.go:81] Enabling controller service capability: PUBLISH_UNPUBLISH_VOLUME
I0109 07:37:25.917321   11314 driver.go:81] Enabling controller service capability: CREATE_DELETE_SNAPSHOT
I0109 07:37:25.917328   11314 driver.go:81] Enabling controller service capability: CLONE_VOLUME
I0109 07:37:25.917333   11314 driver.go:81] Enabling controller service capability: EXPAND_VOLUME
I0109 07:37:25.917340   11314 driver.go:81] Enabling controller service capability: SINGLE_NODE_MULTI_WRITER
... skipping 258 lines ...
I0109 07:37:25.997223   11314 driver.go:81] Enabling controller service capability: LIST_SNAPSHOTS
I0109 07:37:25.997237   11314 driver.go:81] Enabling controller service capability: CLONE_VOLUME
I0109 07:37:25.997271   11314 driver.go:81] Enabling controller service capability: EXPAND_VOLUME
I0109 07:37:25.997296   11314 driver.go:81] Enabling controller service capability: LIST_VOLUMES
I0109 07:37:25.997321   11314 driver.go:81] Enabling controller service capability: LIST_VOLUMES_PUBLISHED_NODES
I0109 07:37:25.997336   11314 driver.go:100] Enabling volume access mode: SINGLE_NODE_WRITER
E0109 07:37:25.997515   11314 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
I0109 07:37:26.000729   11314 driver.go:81] Enabling controller service capability: CREATE_DELETE_VOLUME
I0109 07:37:26.000761   11314 driver.go:81] Enabling controller service capability: PUBLISH_UNPUBLISH_VOLUME
I0109 07:37:26.000766   11314 driver.go:81] Enabling controller service capability: CREATE_DELETE_SNAPSHOT
I0109 07:37:26.000770   11314 driver.go:81] Enabling controller service capability: LIST_SNAPSHOTS
... skipping 54 lines ...
I0109 07:37:26.017566   11314 driver.go:81] Enabling controller service capability: LIST_VOLUMES
I0109 07:37:26.017583   11314 driver.go:81] Enabling controller service capability: LIST_VOLUMES_PUBLISHED_NODES
I0109 07:37:26.017598   11314 driver.go:100] Enabling volume access mode: SINGLE_NODE_WRITER
=== RUN   TestControllerPublishVolume/diskName_error
=== RUN   TestControllerPublishVolume/NodeID_missing
=== RUN   TestControllerPublishVolume/failed_provisioning_state
W0109 07:37:26.018217   11314 controllerserver.go:392] VM(unit-test-node) is in failed state, update VM first
=== RUN   TestControllerPublishVolume/Volume_already_attached_success
I0109 07:37:26.020992   11314 driver.go:81] Enabling controller service capability: CREATE_DELETE_VOLUME
I0109 07:37:26.021107   11314 driver.go:81] Enabling controller service capability: PUBLISH_UNPUBLISH_VOLUME
I0109 07:37:26.021129   11314 driver.go:81] Enabling controller service capability: CREATE_DELETE_SNAPSHOT
I0109 07:37:26.021161   11314 driver.go:81] Enabling controller service capability: LIST_SNAPSHOTS
I0109 07:37:26.021188   11314 driver.go:81] Enabling controller service capability: CLONE_VOLUME
... skipping 671 lines ...
I0109 07:37:26.221318   11314 driver.go:81] Enabling controller service capability: LIST_SNAPSHOTS
I0109 07:37:26.221322   11314 driver.go:81] Enabling controller service capability: CLONE_VOLUME
I0109 07:37:26.221327   11314 driver.go:81] Enabling controller service capability: EXPAND_VOLUME
I0109 07:37:26.221331   11314 driver.go:81] Enabling controller service capability: LIST_VOLUMES
I0109 07:37:26.221334   11314 driver.go:81] Enabling controller service capability: LIST_VOLUMES_PUBLISHED_NODES
I0109 07:37:26.221340   11314 driver.go:100] Enabling volume access mode: SINGLE_NODE_WRITER
E0109 07:37:26.221457   11314 nodeserver.go:574] 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
I0109 07:37:26.224664   11314 driver.go:81] Enabling controller service capability: CREATE_DELETE_VOLUME
I0109 07:37:26.224701   11314 driver.go:81] Enabling controller service capability: PUBLISH_UNPUBLISH_VOLUME
I0109 07:37:26.224707   11314 driver.go:81] Enabling controller service capability: CREATE_DELETE_SNAPSHOT
... skipping 11 lines ...
I0109 07:37:26.227917   11314 driver.go:81] Enabling controller service capability: CLONE_VOLUME
I0109 07:37:26.227921   11314 driver.go:81] Enabling controller service capability: EXPAND_VOLUME
I0109 07:37:26.227925   11314 driver.go:81] Enabling controller service capability: LIST_VOLUMES
I0109 07:37:26.227928   11314 driver.go:81] Enabling controller service capability: LIST_VOLUMES_PUBLISHED_NODES
I0109 07:37:26.227933   11314 driver.go:100] Enabling volume access mode: SINGLE_NODE_WRITER
W0109 07:37:26.228063   11314 azure_wrap.go:77] Unable to find node 12acdfe3-8ff0-11ed-ba30-1ae85b331012: instance not found
W0109 07:37:26.228085   11314 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
I0109 07:37:26.231289   11314 driver.go:81] Enabling controller service capability: CREATE_DELETE_VOLUME
I0109 07:37:26.231333   11314 driver.go:81] Enabling controller service capability: PUBLISH_UNPUBLISH_VOLUME
... skipping 12 lines ...
I0109 07:37:26.234917   11314 driver.go:81] Enabling controller service capability: LIST_SNAPSHOTS
I0109 07:37:26.234926   11314 driver.go:81] Enabling controller service capability: CLONE_VOLUME
I0109 07:37:26.234931   11314 driver.go:81] Enabling controller service capability: EXPAND_VOLUME
I0109 07:37:26.234934   11314 driver.go:81] Enabling controller service capability: LIST_VOLUMES
I0109 07:37:26.234938   11314 driver.go:81] Enabling controller service capability: LIST_VOLUMES_PUBLISHED_NODES
I0109 07:37:26.234944   11314 driver.go:100] Enabling volume access mode: SINGLE_NODE_WRITER
W0109 07:37:26.235307   11314 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/azure/scsi1/ failed, error: read /dev/disk/azure/scsi1/ error: bad dir
W0109 07:37:26.235336   11314 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/by-id/ failed, error: read /dev/disk/by-id/ error: bad dir
E0109 07:37:26.235378   11314 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'
W0109 07:37:26.235406   11314 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/azure/scsi1/ failed, error: read /dev/disk/azure/scsi1/ error: bad dir
W0109 07:37:26.235418   11314 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/by-id/ failed, error: read /dev/disk/by-id/ error: bad dir
W0109 07:37:26.235451   11314 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/azure/scsi1/ failed, error: read /dev/disk/azure/scsi1/ error: bad dir
W0109 07:37:26.235466   11314 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/by-id/ failed, error: read /dev/disk/by-id/ error: bad dir
W0109 07:37:26.235514   11314 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/azure/scsi1/ failed, error: read /dev/disk/azure/scsi1/ error: bad dir
W0109 07:37:26.235528   11314 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/by-id/ failed, error: read /dev/disk/by-id/ error: bad dir
I0109 07:37:26.235560   11314 mount_linux.go:529] Disk "/dev/sdd" appears to be unformatted, attempting to format as type: "ext4" with options: [-F -m0 /dev/sdd]
I0109 07:37:26.235579   11314 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
E0109 07:37:26.235594   11314 nodeserver.go:169] NodeStageVolume: could not determine if volume vol_1 needs to be resized: Failed readonly device check. Expected 1 or 0, got ''
W0109 07:37:26.235641   11314 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/azure/scsi1/ failed, error: read /dev/disk/azure/scsi1/ error: bad dir
W0109 07:37:26.235654   11314 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/by-id/ failed, error: read /dev/disk/by-id/ error: bad dir
W0109 07:37:26.235691   11314 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/azure/scsi1/ failed, error: read /dev/disk/azure/scsi1/ error: bad dir
W0109 07:37:26.235703   11314 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/by-id/ failed, error: read /dev/disk/by-id/ error: bad dir
E0109 07:37:26.235730   11314 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
I0109 07:37:26.239962   11314 driver.go:81] Enabling controller service capability: CREATE_DELETE_VOLUME
I0109 07:37:26.239998   11314 driver.go:81] Enabling controller service capability: PUBLISH_UNPUBLISH_VOLUME
I0109 07:37:26.240008   11314 driver.go:81] Enabling controller service capability: CREATE_DELETE_SNAPSHOT
I0109 07:37:26.240015   11314 driver.go:81] Enabling controller service capability: LIST_SNAPSHOTS
... skipping 11 lines ...
I0109 07:37:26.243829   11314 driver.go:81] Enabling controller service capability: LIST_SNAPSHOTS
I0109 07:37:26.243833   11314 driver.go:81] Enabling controller service capability: CLONE_VOLUME
I0109 07:37:26.243838   11314 driver.go:81] Enabling controller service capability: EXPAND_VOLUME
I0109 07:37:26.243842   11314 driver.go:81] Enabling controller service capability: LIST_VOLUMES
I0109 07:37:26.243845   11314 driver.go:81] Enabling controller service capability: LIST_VOLUMES_PUBLISHED_NODES
I0109 07:37:26.243851   11314 driver.go:100] Enabling volume access mode: SINGLE_NODE_WRITER
E0109 07:37:26.244085   11314 nodeserver.go:574] 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
I0109 07:37:26.247279   11314 driver.go:81] Enabling controller service capability: CREATE_DELETE_VOLUME
I0109 07:37:26.247387   11314 driver.go:81] Enabling controller service capability: PUBLISH_UNPUBLISH_VOLUME
I0109 07:37:26.247408   11314 driver.go:81] Enabling controller service capability: CREATE_DELETE_SNAPSHOT
I0109 07:37:26.247423   11314 driver.go:81] Enabling controller service capability: LIST_SNAPSHOTS
... skipping 33 lines ...
I0109 07:37:26.264954   11314 driver.go:81] Enabling controller service capability: LIST_SNAPSHOTS
I0109 07:37:26.264958   11314 driver.go:81] Enabling controller service capability: CLONE_VOLUME
I0109 07:37:26.264963   11314 driver.go:81] Enabling controller service capability: EXPAND_VOLUME
I0109 07:37:26.264966   11314 driver.go:81] Enabling controller service capability: LIST_VOLUMES
I0109 07:37:26.264970   11314 driver.go:81] Enabling controller service capability: LIST_VOLUMES_PUBLISHED_NODES
I0109 07:37:26.264975   11314 driver.go:100] Enabling volume access mode: SINGLE_NODE_WRITER
E0109 07:37:26.265569   11314 nodeserver.go:574] 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
I0109 07:37:26.268936   11314 driver.go:81] Enabling controller service capability: CREATE_DELETE_VOLUME
I0109 07:37:26.269273   11314 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
W0109 07:37:23.607391   11306 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
W0109 07:37:23.607584   11306 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
W0109 07:37:23.607686   11306 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.00s)
=== 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.050s	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
W0109 07:37:33.753362   11662 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/azure/scsi1/ failed, error: read /dev/disk/azure/scsi1/ error: bad dir
W0109 07:37:33.753456   11662 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.4
Platform: linux/amd64
Topology Key: topology.disk.csi.azure.com/zone

Streaming logs below:
W0109 07:37:33.760880   11662 azure_disk_utils.go:230] get kubeconfig() failed with error: open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory
I0109 07:37:33.764616   11662 driver.go:81] Enabling controller service capability: CREATE_DELETE_VOLUME
I0109 07:37:33.764643   11662 driver.go:81] Enabling controller service capability: PUBLISH_UNPUBLISH_VOLUME
I0109 07:37:33.764648   11662 driver.go:81] Enabling controller service capability: CREATE_DELETE_SNAPSHOT
I0109 07:37:33.764652   11662 driver.go:81] Enabling controller service capability: LIST_SNAPSHOTS
I0109 07:37:33.764656   11662 driver.go:81] Enabling controller service capability: CLONE_VOLUME
I0109 07:37:33.764660   11662 driver.go:81] Enabling controller service capability: EXPAND_VOLUME
... skipping 26 lines ...
Git Commit: N/A
Go Version: go1.19.4
Platform: linux/amd64
Topology Key: topology.disk.csi.azure.com/zone

Streaming logs below:
W0109 07:37:33.768557   11662 azure_disk_utils.go:230] get kubeconfig() failed with error: open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory
I0109 07:37:33.771460   11662 driver.go:81] Enabling controller service capability: CREATE_DELETE_VOLUME
I0109 07:37:33.771546   11662 driver.go:81] Enabling controller service capability: PUBLISH_UNPUBLISH_VOLUME
I0109 07:37:33.771567   11662 driver.go:81] Enabling controller service capability: CREATE_DELETE_SNAPSHOT
I0109 07:37:33.771583   11662 driver.go:81] Enabling controller service capability: LIST_SNAPSHOTS
I0109 07:37:33.771602   11662 driver.go:81] Enabling controller service capability: CLONE_VOLUME
I0109 07:37:33.771618   11662 driver.go:81] Enabling controller service capability: EXPAND_VOLUME
... skipping 16 lines ...
Git Commit: N/A
Go Version: go1.19.4
Platform: linux/amd64
Topology Key: topology.disk.csi.azure.com/zone

Streaming logs below:
W0109 07:37:33.772411   11662 azure_disk_utils.go:230] get kubeconfig() failed with error: open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory
E0109 07:37:34.158626   11662 util.go:138] Send.sendRequest: error in parsing response body string "": unexpected end of JSON input, Skip retrying regional host
E0109 07:37:34.158791   11662 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: 5e53e00b-fc96-4ca6-9e97-ea66325f0000\r\nCorrelation ID: edf099bd-5ca9-4627-999c-ad00a783985e\r\nTimestamp: 2023-01-09 07:37:34Z","error_codes":[90002],"timestamp":"2023-01-09 07:37:34Z","trace_id":"5e53e00b-fc96-4ca6-9e97-ea66325f0000","correlation_id":"edf099bd-5ca9-4627-999c-ad00a783985e","error_uri":"https://login.microsoftonline.com/error?code=90002"} Endpoint https://login.microsoftonline.com/1234/oauth2/token
W0109 07:37:34.158851   11662 azuredisk.go:220] 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: 5e53e00b-fc96-4ca6-9e97-ea66325f0000\r\nCorrelation ID: edf099bd-5ca9-4627-999c-ad00a783985e\r\nTimestamp: 2023-01-09 07:37:34Z","error_codes":[90002],"timestamp":"2023-01-09 07:37:34Z","trace_id":"5e53e00b-fc96-4ca6-9e97-ea66325f0000","correlation_id":"edf099bd-5ca9-4627-999c-ad00a783985e","error_uri":"https://login.microsoftonline.com/error?code=90002"} Endpoint https://login.microsoftonline.com/1234/oauth2/token
I0109 07:37:34.162079   11662 driver.go:81] Enabling controller service capability: CREATE_DELETE_VOLUME
I0109 07:37:34.162109   11662 driver.go:81] Enabling controller service capability: PUBLISH_UNPUBLISH_VOLUME
I0109 07:37:34.162113   11662 driver.go:81] Enabling controller service capability: CREATE_DELETE_SNAPSHOT
I0109 07:37:34.162118   11662 driver.go:81] Enabling controller service capability: CLONE_VOLUME
I0109 07:37:34.162121   11662 driver.go:81] Enabling controller service capability: EXPAND_VOLUME
I0109 07:37:34.162126   11662 driver.go:81] Enabling controller service capability: SINGLE_NODE_MULTI_WRITER
... skipping 254 lines ...
I0109 07:37:34.227503   11662 driver.go:81] Enabling controller service capability: LIST_SNAPSHOTS
I0109 07:37:34.227507   11662 driver.go:81] Enabling controller service capability: CLONE_VOLUME
I0109 07:37:34.227511   11662 driver.go:81] Enabling controller service capability: EXPAND_VOLUME
I0109 07:37:34.227514   11662 driver.go:81] Enabling controller service capability: LIST_VOLUMES
I0109 07:37:34.227525   11662 driver.go:81] Enabling controller service capability: LIST_VOLUMES_PUBLISHED_NODES
I0109 07:37:34.227529   11662 driver.go:100] Enabling volume access mode: SINGLE_NODE_WRITER
E0109 07:37:34.227761   11662 controllerserver_v2.go:256] 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
W0109 07:37:34.227927   11662 fake_azuredisk_v2.go:57] Using DriverV2
I0109 07:37:34.230826   11662 driver.go:81] Enabling controller service capability: CREATE_DELETE_VOLUME
I0109 07:37:34.230856   11662 driver.go:81] Enabling controller service capability: PUBLISH_UNPUBLISH_VOLUME
I0109 07:37:34.230862   11662 driver.go:81] Enabling controller service capability: CREATE_DELETE_SNAPSHOT
... skipping 60 lines ...
I0109 07:37:34.246438   11662 driver.go:81] Enabling controller service capability: LIST_VOLUMES
I0109 07:37:34.246442   11662 driver.go:81] Enabling controller service capability: LIST_VOLUMES_PUBLISHED_NODES
I0109 07:37:34.246447   11662 driver.go:100] Enabling volume access mode: SINGLE_NODE_WRITER
=== RUN   TestControllerPublishVolume/diskName_error
=== RUN   TestControllerPublishVolume/NodeID_missing
=== RUN   TestControllerPublishVolume/failed_provisioning_state
W0109 07:37:34.246938   11662 controllerserver_v2.go:341] VM(unit-test-node) is in failed state, update VM first
=== RUN   TestControllerPublishVolume/Volume_already_attached_success
W0109 07:37:34.247153   11662 fake_azuredisk_v2.go:57] Using DriverV2
I0109 07:37:34.249767   11662 driver.go:81] Enabling controller service capability: CREATE_DELETE_VOLUME
I0109 07:37:34.249857   11662 driver.go:81] Enabling controller service capability: PUBLISH_UNPUBLISH_VOLUME
I0109 07:37:34.249877   11662 driver.go:81] Enabling controller service capability: CREATE_DELETE_SNAPSHOT
I0109 07:37:34.249894   11662 driver.go:81] Enabling controller service capability: LIST_SNAPSHOTS
... skipping 731 lines ...
I0109 07:37:34.434993   11662 driver.go:81] Enabling controller service capability: LIST_SNAPSHOTS
I0109 07:37:34.434997   11662 driver.go:81] Enabling controller service capability: CLONE_VOLUME
I0109 07:37:34.435002   11662 driver.go:81] Enabling controller service capability: EXPAND_VOLUME
I0109 07:37:34.435005   11662 driver.go:81] Enabling controller service capability: LIST_VOLUMES
I0109 07:37:34.435009   11662 driver.go:81] Enabling controller service capability: LIST_VOLUMES_PUBLISHED_NODES
I0109 07:37:34.435014   11662 driver.go:100] Enabling volume access mode: SINGLE_NODE_WRITER
E0109 07:37:34.435100   11662 nodeserver_v2.go:543] 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
W0109 07:37:34.435429   11662 fake_azuredisk_v2.go:57] Using DriverV2
I0109 07:37:34.438232   11662 driver.go:81] Enabling controller service capability: CREATE_DELETE_VOLUME
I0109 07:37:34.438279   11662 driver.go:81] Enabling controller service capability: PUBLISH_UNPUBLISH_VOLUME
... skipping 13 lines ...
I0109 07:37:34.441520   11662 driver.go:81] Enabling controller service capability: CLONE_VOLUME
I0109 07:37:34.441525   11662 driver.go:81] Enabling controller service capability: EXPAND_VOLUME
I0109 07:37:34.441529   11662 driver.go:81] Enabling controller service capability: LIST_VOLUMES
I0109 07:37:34.441532   11662 driver.go:81] Enabling controller service capability: LIST_VOLUMES_PUBLISHED_NODES
I0109 07:37:34.441537   11662 driver.go:100] Enabling volume access mode: SINGLE_NODE_WRITER
W0109 07:37:34.441640   11662 azure_wrap.go:77] Unable to find node 12acdfe3-8ff0-11ed-ba30-1ae85b331012: instance not found
W0109 07:37:34.441656   11662 nodeserver_v2.go:336] 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
W0109 07:37:34.441907   11662 fake_azuredisk_v2.go:57] Using DriverV2
I0109 07:37:34.445576   11662 driver.go:81] Enabling controller service capability: CREATE_DELETE_VOLUME
... skipping 14 lines ...
I0109 07:37:34.449076   11662 driver.go:81] Enabling controller service capability: LIST_SNAPSHOTS
I0109 07:37:34.449080   11662 driver.go:81] Enabling controller service capability: CLONE_VOLUME
I0109 07:37:34.449084   11662 driver.go:81] Enabling controller service capability: EXPAND_VOLUME
I0109 07:37:34.449088   11662 driver.go:81] Enabling controller service capability: LIST_VOLUMES
I0109 07:37:34.449092   11662 driver.go:81] Enabling controller service capability: LIST_VOLUMES_PUBLISHED_NODES
I0109 07:37:34.449097   11662 driver.go:100] Enabling volume access mode: SINGLE_NODE_WRITER
W0109 07:37:34.451035   11662 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/azure/scsi1/ failed, error: read /dev/disk/azure/scsi1/ error: bad dir
W0109 07:37:34.451057   11662 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/by-id/ failed, error: read /dev/disk/by-id/ error: bad dir
E0109 07:37:34.451112   11662 nodeserver_v2.go:157] NodeStageVolume: could not determine if volume vol_1 needs to be resized: Failed readonly device check. Expected 1 or 0, got '16106127360'
W0109 07:37:34.451150   11662 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/azure/scsi1/ failed, error: read /dev/disk/azure/scsi1/ error: bad dir
W0109 07:37:34.451158   11662 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/by-id/ failed, error: read /dev/disk/by-id/ error: bad dir
W0109 07:37:34.451191   11662 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/azure/scsi1/ failed, error: read /dev/disk/azure/scsi1/ error: bad dir
W0109 07:37:34.451207   11662 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/by-id/ failed, error: read /dev/disk/by-id/ error: bad dir
W0109 07:37:34.451547   11662 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/azure/scsi1/ failed, error: read /dev/disk/azure/scsi1/ error: bad dir
W0109 07:37:34.451568   11662 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/by-id/ failed, error: read /dev/disk/by-id/ error: bad dir
I0109 07:37:34.451615   11662 mount_linux.go:529] Disk "/dev/sdd" appears to be unformatted, attempting to format as type: "ext4" with options: [-F -m0 /dev/sdd]
I0109 07:37:34.451633   11662 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
E0109 07:37:34.451648   11662 nodeserver_v2.go:157] NodeStageVolume: could not determine if volume vol_1 needs to be resized: Failed readonly device check. Expected 1 or 0, got ''
W0109 07:37:34.451690   11662 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/azure/scsi1/ failed, error: read /dev/disk/azure/scsi1/ error: bad dir
W0109 07:37:34.451697   11662 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/by-id/ failed, error: read /dev/disk/by-id/ error: bad dir
W0109 07:37:34.451731   11662 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/azure/scsi1/ failed, error: read /dev/disk/azure/scsi1/ error: bad dir
W0109 07:37:34.451738   11662 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/by-id/ failed, error: read /dev/disk/by-id/ error: bad dir
E0109 07:37:34.451763   11662 nodeserver_v2.go:157] 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.01s)
=== RUN   TestNodeUnstageVolume
W0109 07:37:34.451898   11662 fake_azuredisk_v2.go:57] Using DriverV2
I0109 07:37:34.454753   11662 driver.go:81] Enabling controller service capability: CREATE_DELETE_VOLUME
I0109 07:37:34.454783   11662 driver.go:81] Enabling controller service capability: PUBLISH_UNPUBLISH_VOLUME
I0109 07:37:34.454787   11662 driver.go:81] Enabling controller service capability: CREATE_DELETE_SNAPSHOT
... skipping 13 lines ...
I0109 07:37:34.458437   11662 driver.go:81] Enabling controller service capability: LIST_SNAPSHOTS
I0109 07:37:34.458441   11662 driver.go:81] Enabling controller service capability: CLONE_VOLUME
I0109 07:37:34.458445   11662 driver.go:81] Enabling controller service capability: EXPAND_VOLUME
I0109 07:37:34.458449   11662 driver.go:81] Enabling controller service capability: LIST_VOLUMES
I0109 07:37:34.458452   11662 driver.go:81] Enabling controller service capability: LIST_VOLUMES_PUBLISHED_NODES
I0109 07:37:34.458457   11662 driver.go:100] Enabling volume access mode: SINGLE_NODE_WRITER
E0109 07:37:34.458612   11662 nodeserver_v2.go:543] 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
W0109 07:37:34.458851   11662 fake_azuredisk_v2.go:57] Using DriverV2
I0109 07:37:34.461631   11662 driver.go:81] Enabling controller service capability: CREATE_DELETE_VOLUME
I0109 07:37:34.461659   11662 driver.go:81] Enabling controller service capability: PUBLISH_UNPUBLISH_VOLUME
I0109 07:37:34.461664   11662 driver.go:81] Enabling controller service capability: CREATE_DELETE_SNAPSHOT
... skipping 37 lines ...
I0109 07:37:34.473829   11662 driver.go:81] Enabling controller service capability: LIST_SNAPSHOTS
I0109 07:37:34.473914   11662 driver.go:81] Enabling controller service capability: CLONE_VOLUME
I0109 07:37:34.474001   11662 driver.go:81] Enabling controller service capability: EXPAND_VOLUME
I0109 07:37:34.474090   11662 driver.go:81] Enabling controller service capability: LIST_VOLUMES
I0109 07:37:34.474179   11662 driver.go:81] Enabling controller service capability: LIST_VOLUMES_PUBLISHED_NODES
I0109 07:37:34.474255   11662 driver.go:100] Enabling volume access mode: SINGLE_NODE_WRITER
E0109 07:37:34.475016   11662 nodeserver_v2.go:543] 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
W0109 07:37:34.475780   11662 fake_azuredisk_v2.go:57] Using DriverV2
I0109 07:37:34.479021   11662 driver.go:81] Enabling controller service capability: CREATE_DELETE_VOLUME
... skipping 198 lines ...
+		Key:       key,
+		Data:      data,
+		CreatedOn: time.Now().UTC(),
+	})
 }

error
make: *** [Makefile:85: verify] Error 1
+ EXIT_VALUE=2
+ set +o xtrace