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
Started2022-12-24 07:43
Elapsed2m36s
Revision55d0f4fb842ab754f50b48f0664a90babbb68ace
Refs 1672

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
W1224 07:44:44.761039   11557 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/azure/scsi1/ failed, error: read /dev/disk/azure/scsi1/ error: bad dir
W1224 07:44:44.761142   11557 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:
W1224 07:44:44.768123   11557 azure_disk_utils.go:230] get kubeconfig() failed with error: open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory
I1224 07:44:44.771850   11557 driver.go:81] Enabling controller service capability: CREATE_DELETE_VOLUME
I1224 07:44:44.771883   11557 driver.go:81] Enabling controller service capability: PUBLISH_UNPUBLISH_VOLUME
I1224 07:44:44.771888   11557 driver.go:81] Enabling controller service capability: CREATE_DELETE_SNAPSHOT
I1224 07:44:44.771893   11557 driver.go:81] Enabling controller service capability: CLONE_VOLUME
I1224 07:44:44.771897   11557 driver.go:81] Enabling controller service capability: EXPAND_VOLUME
I1224 07:44:44.771901   11557 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:
W1224 07:44:44.776443   11557 azure_disk_utils.go:230] get kubeconfig() failed with error: open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory
I1224 07:44:44.780294   11557 driver.go:81] Enabling controller service capability: CREATE_DELETE_VOLUME
I1224 07:44:44.780337   11557 driver.go:81] Enabling controller service capability: PUBLISH_UNPUBLISH_VOLUME
I1224 07:44:44.780347   11557 driver.go:81] Enabling controller service capability: CREATE_DELETE_SNAPSHOT
I1224 07:44:44.780355   11557 driver.go:81] Enabling controller service capability: CLONE_VOLUME
I1224 07:44:44.780372   11557 driver.go:81] Enabling controller service capability: EXPAND_VOLUME
I1224 07:44:44.780379   11557 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:
W1224 07:44:44.781309   11557 azure_disk_utils.go:230] get kubeconfig() failed with error: open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory
E1224 07:44:45.101334   11557 util.go:138] Send.sendRequest: error in parsing response body string "": unexpected end of JSON input, Skip retrying regional host
E1224 07:44:45.101485   11557 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: d8f0f4a4-1043-463a-9bbc-3e0fb3db1601\r\nCorrelation ID: d36501af-ef23-44d3-a37d-bc7b6b49e455\r\nTimestamp: 2022-12-24 07:44:45Z","error_codes":[90002],"timestamp":"2022-12-24 07:44:45Z","trace_id":"d8f0f4a4-1043-463a-9bbc-3e0fb3db1601","correlation_id":"d36501af-ef23-44d3-a37d-bc7b6b49e455","error_uri":"https://login.microsoftonline.com/error?code=90002"} Endpoint https://login.microsoftonline.com/1234/oauth2/token
W1224 07:44:45.101513   11557 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: d8f0f4a4-1043-463a-9bbc-3e0fb3db1601\r\nCorrelation ID: d36501af-ef23-44d3-a37d-bc7b6b49e455\r\nTimestamp: 2022-12-24 07:44:45Z","error_codes":[90002],"timestamp":"2022-12-24 07:44:45Z","trace_id":"d8f0f4a4-1043-463a-9bbc-3e0fb3db1601","correlation_id":"d36501af-ef23-44d3-a37d-bc7b6b49e455","error_uri":"https://login.microsoftonline.com/error?code=90002"} Endpoint https://login.microsoftonline.com/1234/oauth2/token
I1224 07:44:45.104673   11557 driver.go:81] Enabling controller service capability: CREATE_DELETE_VOLUME
I1224 07:44:45.104722   11557 driver.go:81] Enabling controller service capability: PUBLISH_UNPUBLISH_VOLUME
I1224 07:44:45.104727   11557 driver.go:81] Enabling controller service capability: CREATE_DELETE_SNAPSHOT
I1224 07:44:45.104731   11557 driver.go:81] Enabling controller service capability: CLONE_VOLUME
I1224 07:44:45.104735   11557 driver.go:81] Enabling controller service capability: EXPAND_VOLUME
I1224 07:44:45.104740   11557 driver.go:81] Enabling controller service capability: SINGLE_NODE_MULTI_WRITER
... skipping 258 lines ...
I1224 07:44:45.177534   11557 driver.go:81] Enabling controller service capability: LIST_SNAPSHOTS
I1224 07:44:45.177537   11557 driver.go:81] Enabling controller service capability: CLONE_VOLUME
I1224 07:44:45.177542   11557 driver.go:81] Enabling controller service capability: EXPAND_VOLUME
I1224 07:44:45.177546   11557 driver.go:81] Enabling controller service capability: LIST_VOLUMES
I1224 07:44:45.177550   11557 driver.go:81] Enabling controller service capability: LIST_VOLUMES_PUBLISHED_NODES
I1224 07:44:45.177554   11557 driver.go:100] Enabling volume access mode: SINGLE_NODE_WRITER
E1224 07:44:45.177728   11557 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
I1224 07:44:45.180728   11557 driver.go:81] Enabling controller service capability: CREATE_DELETE_VOLUME
I1224 07:44:45.180756   11557 driver.go:81] Enabling controller service capability: PUBLISH_UNPUBLISH_VOLUME
I1224 07:44:45.180761   11557 driver.go:81] Enabling controller service capability: CREATE_DELETE_SNAPSHOT
I1224 07:44:45.180766   11557 driver.go:81] Enabling controller service capability: LIST_SNAPSHOTS
... skipping 54 lines ...
I1224 07:44:45.200929   11557 driver.go:81] Enabling controller service capability: LIST_VOLUMES
I1224 07:44:45.200932   11557 driver.go:81] Enabling controller service capability: LIST_VOLUMES_PUBLISHED_NODES
I1224 07:44:45.200938   11557 driver.go:100] Enabling volume access mode: SINGLE_NODE_WRITER
=== RUN   TestControllerPublishVolume/diskName_error
=== RUN   TestControllerPublishVolume/NodeID_missing
=== RUN   TestControllerPublishVolume/failed_provisioning_state
W1224 07:44:45.201409   11557 controllerserver.go:392] VM(unit-test-node) is in failed state, update VM first
=== RUN   TestControllerPublishVolume/Volume_already_attached_success
I1224 07:44:45.204430   11557 driver.go:81] Enabling controller service capability: CREATE_DELETE_VOLUME
I1224 07:44:45.204466   11557 driver.go:81] Enabling controller service capability: PUBLISH_UNPUBLISH_VOLUME
I1224 07:44:45.204470   11557 driver.go:81] Enabling controller service capability: CREATE_DELETE_SNAPSHOT
I1224 07:44:45.204475   11557 driver.go:81] Enabling controller service capability: LIST_SNAPSHOTS
I1224 07:44:45.204479   11557 driver.go:81] Enabling controller service capability: CLONE_VOLUME
... skipping 671 lines ...
I1224 07:44:45.391440   11557 driver.go:81] Enabling controller service capability: LIST_SNAPSHOTS
I1224 07:44:45.391444   11557 driver.go:81] Enabling controller service capability: CLONE_VOLUME
I1224 07:44:45.391448   11557 driver.go:81] Enabling controller service capability: EXPAND_VOLUME
I1224 07:44:45.391452   11557 driver.go:81] Enabling controller service capability: LIST_VOLUMES
I1224 07:44:45.391456   11557 driver.go:81] Enabling controller service capability: LIST_VOLUMES_PUBLISHED_NODES
I1224 07:44:45.391462   11557 driver.go:100] Enabling volume access mode: SINGLE_NODE_WRITER
E1224 07:44:45.391563   11557 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
I1224 07:44:45.394538   11557 driver.go:81] Enabling controller service capability: CREATE_DELETE_VOLUME
I1224 07:44:45.394563   11557 driver.go:81] Enabling controller service capability: PUBLISH_UNPUBLISH_VOLUME
I1224 07:44:45.394569   11557 driver.go:81] Enabling controller service capability: CREATE_DELETE_SNAPSHOT
... skipping 11 lines ...
I1224 07:44:45.397616   11557 driver.go:81] Enabling controller service capability: CLONE_VOLUME
I1224 07:44:45.397620   11557 driver.go:81] Enabling controller service capability: EXPAND_VOLUME
I1224 07:44:45.397623   11557 driver.go:81] Enabling controller service capability: LIST_VOLUMES
I1224 07:44:45.397627   11557 driver.go:81] Enabling controller service capability: LIST_VOLUMES_PUBLISHED_NODES
I1224 07:44:45.397632   11557 driver.go:100] Enabling volume access mode: SINGLE_NODE_WRITER
W1224 07:44:45.397748   11557 azure_wrap.go:77] Unable to find node 99d9a293-835e-11ed-b0a0-8ab590d5e46d: instance not found
W1224 07:44:45.397767   11557 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
I1224 07:44:45.400870   11557 driver.go:81] Enabling controller service capability: CREATE_DELETE_VOLUME
I1224 07:44:45.400901   11557 driver.go:81] Enabling controller service capability: PUBLISH_UNPUBLISH_VOLUME
... skipping 12 lines ...
I1224 07:44:45.404152   11557 driver.go:81] Enabling controller service capability: LIST_SNAPSHOTS
I1224 07:44:45.404156   11557 driver.go:81] Enabling controller service capability: CLONE_VOLUME
I1224 07:44:45.404161   11557 driver.go:81] Enabling controller service capability: EXPAND_VOLUME
I1224 07:44:45.404165   11557 driver.go:81] Enabling controller service capability: LIST_VOLUMES
I1224 07:44:45.404169   11557 driver.go:81] Enabling controller service capability: LIST_VOLUMES_PUBLISHED_NODES
I1224 07:44:45.404174   11557 driver.go:100] Enabling volume access mode: SINGLE_NODE_WRITER
W1224 07:44:45.404410   11557 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/azure/scsi1/ failed, error: read /dev/disk/azure/scsi1/ error: bad dir
W1224 07:44:45.404434   11557 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/by-id/ failed, error: read /dev/disk/by-id/ error: bad dir
E1224 07:44:45.404492   11557 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'
W1224 07:44:45.404536   11557 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/azure/scsi1/ failed, error: read /dev/disk/azure/scsi1/ error: bad dir
W1224 07:44:45.404548   11557 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/by-id/ failed, error: read /dev/disk/by-id/ error: bad dir
W1224 07:44:45.404604   11557 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/azure/scsi1/ failed, error: read /dev/disk/azure/scsi1/ error: bad dir
W1224 07:44:45.404622   11557 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/by-id/ failed, error: read /dev/disk/by-id/ error: bad dir
W1224 07:44:45.404692   11557 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/azure/scsi1/ failed, error: read /dev/disk/azure/scsi1/ error: bad dir
W1224 07:44:45.404711   11557 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/by-id/ failed, error: read /dev/disk/by-id/ error: bad dir
I1224 07:44:45.404758   11557 mount_linux.go:529] Disk "/dev/sdd" appears to be unformatted, attempting to format as type: "ext4" with options: [-F -m0 /dev/sdd]
I1224 07:44:45.404783   11557 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
E1224 07:44:45.404811   11557 nodeserver.go:169] NodeStageVolume: could not determine if volume vol_1 needs to be resized: Failed readonly device check. Expected 1 or 0, got ''
W1224 07:44:45.404874   11557 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/azure/scsi1/ failed, error: read /dev/disk/azure/scsi1/ error: bad dir
W1224 07:44:45.404893   11557 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/by-id/ failed, error: read /dev/disk/by-id/ error: bad dir
W1224 07:44:45.404952   11557 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/azure/scsi1/ failed, error: read /dev/disk/azure/scsi1/ error: bad dir
W1224 07:44:45.404970   11557 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/by-id/ failed, error: read /dev/disk/by-id/ error: bad dir
E1224 07:44:45.405016   11557 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
I1224 07:44:45.408136   11557 driver.go:81] Enabling controller service capability: CREATE_DELETE_VOLUME
I1224 07:44:45.408169   11557 driver.go:81] Enabling controller service capability: PUBLISH_UNPUBLISH_VOLUME
I1224 07:44:45.408176   11557 driver.go:81] Enabling controller service capability: CREATE_DELETE_SNAPSHOT
I1224 07:44:45.408181   11557 driver.go:81] Enabling controller service capability: LIST_SNAPSHOTS
... skipping 11 lines ...
I1224 07:44:45.411382   11557 driver.go:81] Enabling controller service capability: LIST_SNAPSHOTS
I1224 07:44:45.411388   11557 driver.go:81] Enabling controller service capability: CLONE_VOLUME
I1224 07:44:45.411393   11557 driver.go:81] Enabling controller service capability: EXPAND_VOLUME
I1224 07:44:45.411399   11557 driver.go:81] Enabling controller service capability: LIST_VOLUMES
I1224 07:44:45.411404   11557 driver.go:81] Enabling controller service capability: LIST_VOLUMES_PUBLISHED_NODES
I1224 07:44:45.411411   11557 driver.go:100] Enabling volume access mode: SINGLE_NODE_WRITER
E1224 07:44:45.411603   11557 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
I1224 07:44:45.414791   11557 driver.go:81] Enabling controller service capability: CREATE_DELETE_VOLUME
I1224 07:44:45.414825   11557 driver.go:81] Enabling controller service capability: PUBLISH_UNPUBLISH_VOLUME
I1224 07:44:45.414834   11557 driver.go:81] Enabling controller service capability: CREATE_DELETE_SNAPSHOT
I1224 07:44:45.414847   11557 driver.go:81] Enabling controller service capability: LIST_SNAPSHOTS
... skipping 33 lines ...
I1224 07:44:45.429556   11557 driver.go:81] Enabling controller service capability: LIST_SNAPSHOTS
I1224 07:44:45.429562   11557 driver.go:81] Enabling controller service capability: CLONE_VOLUME
I1224 07:44:45.429568   11557 driver.go:81] Enabling controller service capability: EXPAND_VOLUME
I1224 07:44:45.429573   11557 driver.go:81] Enabling controller service capability: LIST_VOLUMES
I1224 07:44:45.429577   11557 driver.go:81] Enabling controller service capability: LIST_VOLUMES_PUBLISHED_NODES
I1224 07:44:45.429593   11557 driver.go:100] Enabling volume access mode: SINGLE_NODE_WRITER
E1224 07:44:45.430170   11557 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
I1224 07:44:45.433425   11557 driver.go:81] Enabling controller service capability: CREATE_DELETE_VOLUME
I1224 07:44:45.433549   11557 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
W1224 07:44:43.127129   11547 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
W1224 07:44:43.127325   11547 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
W1224 07:44:43.127426   11547 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.009s	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
W1224 07:44:51.212248   11922 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/azure/scsi1/ failed, error: read /dev/disk/azure/scsi1/ error: bad dir
W1224 07:44:51.212363   11922 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:
W1224 07:44:51.219685   11922 azure_disk_utils.go:230] get kubeconfig() failed with error: open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory
I1224 07:44:51.223409   11922 driver.go:81] Enabling controller service capability: CREATE_DELETE_VOLUME
I1224 07:44:51.223442   11922 driver.go:81] Enabling controller service capability: PUBLISH_UNPUBLISH_VOLUME
I1224 07:44:51.223446   11922 driver.go:81] Enabling controller service capability: CREATE_DELETE_SNAPSHOT
I1224 07:44:51.223450   11922 driver.go:81] Enabling controller service capability: LIST_SNAPSHOTS
I1224 07:44:51.223454   11922 driver.go:81] Enabling controller service capability: CLONE_VOLUME
I1224 07:44:51.223462   11922 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:
W1224 07:44:51.227749   11922 azure_disk_utils.go:230] get kubeconfig() failed with error: open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory
I1224 07:44:51.231034   11922 driver.go:81] Enabling controller service capability: CREATE_DELETE_VOLUME
I1224 07:44:51.231067   11922 driver.go:81] Enabling controller service capability: PUBLISH_UNPUBLISH_VOLUME
I1224 07:44:51.231072   11922 driver.go:81] Enabling controller service capability: CREATE_DELETE_SNAPSHOT
I1224 07:44:51.231076   11922 driver.go:81] Enabling controller service capability: LIST_SNAPSHOTS
I1224 07:44:51.231080   11922 driver.go:81] Enabling controller service capability: CLONE_VOLUME
I1224 07:44:51.231084   11922 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:
W1224 07:44:51.231914   11922 azure_disk_utils.go:230] get kubeconfig() failed with error: open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory
E1224 07:44:51.490155   11922 util.go:138] Send.sendRequest: error in parsing response body string "": unexpected end of JSON input, Skip retrying regional host
E1224 07:44:51.490269   11922 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: dbb65f21-8959-4fcd-9616-94680343f300\r\nCorrelation ID: 97616802-5ca3-4b43-b468-4641c70ffbb2\r\nTimestamp: 2022-12-24 07:44:51Z","error_codes":[90002],"timestamp":"2022-12-24 07:44:51Z","trace_id":"dbb65f21-8959-4fcd-9616-94680343f300","correlation_id":"97616802-5ca3-4b43-b468-4641c70ffbb2","error_uri":"https://login.microsoftonline.com/error?code=90002"} Endpoint https://login.microsoftonline.com/1234/oauth2/token
W1224 07:44:51.490288   11922 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: dbb65f21-8959-4fcd-9616-94680343f300\r\nCorrelation ID: 97616802-5ca3-4b43-b468-4641c70ffbb2\r\nTimestamp: 2022-12-24 07:44:51Z","error_codes":[90002],"timestamp":"2022-12-24 07:44:51Z","trace_id":"dbb65f21-8959-4fcd-9616-94680343f300","correlation_id":"97616802-5ca3-4b43-b468-4641c70ffbb2","error_uri":"https://login.microsoftonline.com/error?code=90002"} Endpoint https://login.microsoftonline.com/1234/oauth2/token
I1224 07:44:51.493544   11922 driver.go:81] Enabling controller service capability: CREATE_DELETE_VOLUME
I1224 07:44:51.493574   11922 driver.go:81] Enabling controller service capability: PUBLISH_UNPUBLISH_VOLUME
I1224 07:44:51.493579   11922 driver.go:81] Enabling controller service capability: CREATE_DELETE_SNAPSHOT
I1224 07:44:51.493583   11922 driver.go:81] Enabling controller service capability: CLONE_VOLUME
I1224 07:44:51.493591   11922 driver.go:81] Enabling controller service capability: EXPAND_VOLUME
I1224 07:44:51.493596   11922 driver.go:81] Enabling controller service capability: SINGLE_NODE_MULTI_WRITER
... skipping 254 lines ...
I1224 07:44:51.556299   11922 driver.go:81] Enabling controller service capability: LIST_SNAPSHOTS
I1224 07:44:51.556303   11922 driver.go:81] Enabling controller service capability: CLONE_VOLUME
I1224 07:44:51.556308   11922 driver.go:81] Enabling controller service capability: EXPAND_VOLUME
I1224 07:44:51.556316   11922 driver.go:81] Enabling controller service capability: LIST_VOLUMES
I1224 07:44:51.556319   11922 driver.go:81] Enabling controller service capability: LIST_VOLUMES_PUBLISHED_NODES
I1224 07:44:51.556324   11922 driver.go:100] Enabling volume access mode: SINGLE_NODE_WRITER
E1224 07:44:51.556514   11922 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
W1224 07:44:51.556578   11922 fake_azuredisk_v2.go:57] Using DriverV2
I1224 07:44:51.559441   11922 driver.go:81] Enabling controller service capability: CREATE_DELETE_VOLUME
I1224 07:44:51.559481   11922 driver.go:81] Enabling controller service capability: PUBLISH_UNPUBLISH_VOLUME
I1224 07:44:51.559487   11922 driver.go:81] Enabling controller service capability: CREATE_DELETE_SNAPSHOT
... skipping 60 lines ...
I1224 07:44:51.574583   11922 driver.go:81] Enabling controller service capability: LIST_VOLUMES
I1224 07:44:51.574588   11922 driver.go:81] Enabling controller service capability: LIST_VOLUMES_PUBLISHED_NODES
I1224 07:44:51.574593   11922 driver.go:100] Enabling volume access mode: SINGLE_NODE_WRITER
=== RUN   TestControllerPublishVolume/diskName_error
=== RUN   TestControllerPublishVolume/NodeID_missing
=== RUN   TestControllerPublishVolume/failed_provisioning_state
W1224 07:44:51.575009   11922 controllerserver_v2.go:341] VM(unit-test-node) is in failed state, update VM first
=== RUN   TestControllerPublishVolume/Volume_already_attached_success
W1224 07:44:51.575120   11922 fake_azuredisk_v2.go:57] Using DriverV2
I1224 07:44:51.577872   11922 driver.go:81] Enabling controller service capability: CREATE_DELETE_VOLUME
I1224 07:44:51.577905   11922 driver.go:81] Enabling controller service capability: PUBLISH_UNPUBLISH_VOLUME
I1224 07:44:51.577910   11922 driver.go:81] Enabling controller service capability: CREATE_DELETE_SNAPSHOT
I1224 07:44:51.577915   11922 driver.go:81] Enabling controller service capability: LIST_SNAPSHOTS
... skipping 731 lines ...
I1224 07:44:51.775479   11922 driver.go:81] Enabling controller service capability: LIST_SNAPSHOTS
I1224 07:44:51.775483   11922 driver.go:81] Enabling controller service capability: CLONE_VOLUME
I1224 07:44:51.775488   11922 driver.go:81] Enabling controller service capability: EXPAND_VOLUME
I1224 07:44:51.775492   11922 driver.go:81] Enabling controller service capability: LIST_VOLUMES
I1224 07:44:51.775496   11922 driver.go:81] Enabling controller service capability: LIST_VOLUMES_PUBLISHED_NODES
I1224 07:44:51.775504   11922 driver.go:100] Enabling volume access mode: SINGLE_NODE_WRITER
E1224 07:44:51.775571   11922 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
W1224 07:44:51.775885   11922 fake_azuredisk_v2.go:57] Using DriverV2
I1224 07:44:51.779036   11922 driver.go:81] Enabling controller service capability: CREATE_DELETE_VOLUME
I1224 07:44:51.779069   11922 driver.go:81] Enabling controller service capability: PUBLISH_UNPUBLISH_VOLUME
... skipping 13 lines ...
I1224 07:44:51.782244   11922 driver.go:81] Enabling controller service capability: CLONE_VOLUME
I1224 07:44:51.782249   11922 driver.go:81] Enabling controller service capability: EXPAND_VOLUME
I1224 07:44:51.782253   11922 driver.go:81] Enabling controller service capability: LIST_VOLUMES
I1224 07:44:51.782256   11922 driver.go:81] Enabling controller service capability: LIST_VOLUMES_PUBLISHED_NODES
I1224 07:44:51.782261   11922 driver.go:100] Enabling volume access mode: SINGLE_NODE_WRITER
W1224 07:44:51.782360   11922 azure_wrap.go:77] Unable to find node 99d9a293-835e-11ed-b0a0-8ab590d5e46d: instance not found
W1224 07:44:51.782379   11922 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
W1224 07:44:51.782604   11922 fake_azuredisk_v2.go:57] Using DriverV2
I1224 07:44:51.785556   11922 driver.go:81] Enabling controller service capability: CREATE_DELETE_VOLUME
... skipping 14 lines ...
I1224 07:44:51.789162   11922 driver.go:81] Enabling controller service capability: LIST_SNAPSHOTS
I1224 07:44:51.789166   11922 driver.go:81] Enabling controller service capability: CLONE_VOLUME
I1224 07:44:51.789171   11922 driver.go:81] Enabling controller service capability: EXPAND_VOLUME
I1224 07:44:51.789174   11922 driver.go:81] Enabling controller service capability: LIST_VOLUMES
I1224 07:44:51.789178   11922 driver.go:81] Enabling controller service capability: LIST_VOLUMES_PUBLISHED_NODES
I1224 07:44:51.789183   11922 driver.go:100] Enabling volume access mode: SINGLE_NODE_WRITER
W1224 07:44:51.789463   11922 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/azure/scsi1/ failed, error: read /dev/disk/azure/scsi1/ error: bad dir
W1224 07:44:51.789485   11922 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/by-id/ failed, error: read /dev/disk/by-id/ error: bad dir
E1224 07:44:51.789521   11922 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'
W1224 07:44:51.789542   11922 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/azure/scsi1/ failed, error: read /dev/disk/azure/scsi1/ error: bad dir
W1224 07:44:51.789550   11922 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/by-id/ failed, error: read /dev/disk/by-id/ error: bad dir
W1224 07:44:51.789584   11922 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/azure/scsi1/ failed, error: read /dev/disk/azure/scsi1/ error: bad dir
W1224 07:44:51.789592   11922 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/by-id/ failed, error: read /dev/disk/by-id/ error: bad dir
W1224 07:44:51.789642   11922 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/azure/scsi1/ failed, error: read /dev/disk/azure/scsi1/ error: bad dir
W1224 07:44:51.789661   11922 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/by-id/ failed, error: read /dev/disk/by-id/ error: bad dir
I1224 07:44:51.789695   11922 mount_linux.go:529] Disk "/dev/sdd" appears to be unformatted, attempting to format as type: "ext4" with options: [-F -m0 /dev/sdd]
I1224 07:44:51.789748   11922 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
E1224 07:44:51.789775   11922 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 ''
W1224 07:44:51.789838   11922 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/azure/scsi1/ failed, error: read /dev/disk/azure/scsi1/ error: bad dir
W1224 07:44:51.789886   11922 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/by-id/ failed, error: read /dev/disk/by-id/ error: bad dir
W1224 07:44:51.789942   11922 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/azure/scsi1/ failed, error: read /dev/disk/azure/scsi1/ error: bad dir
W1224 07:44:51.789964   11922 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/by-id/ failed, error: read /dev/disk/by-id/ error: bad dir
E1224 07:44:51.790016   11922 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.00s)
=== RUN   TestNodeUnstageVolume
W1224 07:44:51.790226   11922 fake_azuredisk_v2.go:57] Using DriverV2
I1224 07:44:51.793215   11922 driver.go:81] Enabling controller service capability: CREATE_DELETE_VOLUME
I1224 07:44:51.793255   11922 driver.go:81] Enabling controller service capability: PUBLISH_UNPUBLISH_VOLUME
I1224 07:44:51.793259   11922 driver.go:81] Enabling controller service capability: CREATE_DELETE_SNAPSHOT
... skipping 13 lines ...
I1224 07:44:51.796498   11922 driver.go:81] Enabling controller service capability: LIST_SNAPSHOTS
I1224 07:44:51.796502   11922 driver.go:81] Enabling controller service capability: CLONE_VOLUME
I1224 07:44:51.796506   11922 driver.go:81] Enabling controller service capability: EXPAND_VOLUME
I1224 07:44:51.796510   11922 driver.go:81] Enabling controller service capability: LIST_VOLUMES
I1224 07:44:51.796514   11922 driver.go:81] Enabling controller service capability: LIST_VOLUMES_PUBLISHED_NODES
I1224 07:44:51.796519   11922 driver.go:100] Enabling volume access mode: SINGLE_NODE_WRITER
E1224 07:44:51.796797   11922 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
W1224 07:44:51.797187   11922 fake_azuredisk_v2.go:57] Using DriverV2
I1224 07:44:51.800041   11922 driver.go:81] Enabling controller service capability: CREATE_DELETE_VOLUME
I1224 07:44:51.800074   11922 driver.go:81] Enabling controller service capability: PUBLISH_UNPUBLISH_VOLUME
I1224 07:44:51.800082   11922 driver.go:81] Enabling controller service capability: CREATE_DELETE_SNAPSHOT
... skipping 37 lines ...
I1224 07:44:51.812944   11922 driver.go:81] Enabling controller service capability: LIST_SNAPSHOTS
I1224 07:44:51.812949   11922 driver.go:81] Enabling controller service capability: CLONE_VOLUME
I1224 07:44:51.812956   11922 driver.go:81] Enabling controller service capability: EXPAND_VOLUME
I1224 07:44:51.812962   11922 driver.go:81] Enabling controller service capability: LIST_VOLUMES
I1224 07:44:51.812966   11922 driver.go:81] Enabling controller service capability: LIST_VOLUMES_PUBLISHED_NODES
I1224 07:44:51.812971   11922 driver.go:100] Enabling volume access mode: SINGLE_NODE_WRITER
E1224 07:44:51.813656   11922 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
W1224 07:44:51.813955   11922 fake_azuredisk_v2.go:57] Using DriverV2
I1224 07:44:51.816741   11922 driver.go:81] Enabling controller service capability: CREATE_DELETE_VOLUME
... skipping 208 lines ...
 				disks[i].ToBeDetached = to.BoolPtr(true)
-				disks[i].DetachOption = compute.ForceDetach
 				bFoundDisk = true
 			}
 		}

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