This job view page is being replaced by Spyglass soon. Check out the new job view.
PRnearora-msft: chore: update cloud-provider-azure
ResultFAILURE
Tests 0 failed / 0 succeeded
Started2021-04-29 18:15
Elapsed1m26s
Revision5ba65bdc534e10f3a8779eae0e3b0ec00fe01021
Refs 635

No Test Failures!


Error lines from build-log.txt

Activated service account credentials for: [pr-kubekins@kubernetes-jenkins-pull.iam.gserviceaccount.com]
+ make verify
go test -v -race ./pkg/... ./test/utils/credentials
=== RUN   TestGetCloudProvider
W0429 18:16:27.500714   10463 azure.go:48] get kubeconfig() failed with error: open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory
E0429 18:16:27.500952   10463 azure.go:77] Failed to load config from file: /etc/kubernetes/azure.json
W0429 18:16:27.501051   10463 azure.go:48] get kubeconfig(/home/prow/go/src/sigs.k8s.io/azurefile-csi-driver/pkg/azurefile/non-exist.json) failed with error: stat /home/prow/go/src/sigs.k8s.io/azurefile-csi-driver/pkg/azurefile/non-exist.json: no such file or directory
E0429 18:16:27.501114   10463 azure.go:77] Failed to load config from file: /etc/kubernetes/azure.json
W0429 18:16:27.501761   10463 azure.go:48] get kubeconfig(/home/prow/go/src/sigs.k8s.io/azurefile-csi-driver/pkg/azurefile/empty-kube-config) failed with error: invalid configuration: no configuration has been provided, try setting KUBERNETES_MASTER environment variable
W0429 18:16:27.513489   10463 azure_config.go:46] Failed to get cloud-config from secret: failed to get secret azure-cloud-provider: Get "https://localhost:8080/api/v1/namespaces/kube-system/secrets/azure-cloud-provider": getting credentials: exec: executable foo-command not found

It looks like you are trying to use a client-go credential plugin that is not installed.

To learn more about this feature, consult the documentation available at:
      https://kubernetes.io/docs/reference/access-authn-authz/authentication/#client-go-credential-plugins, skip initializing from secret
E0429 18:16:27.513582   10463 azure.go:77] Failed to load config from file: /etc/kubernetes/azure.json
W0429 18:16:27.513763   10463 azure.go:48] get kubeconfig() failed with error: open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory
--- PASS: TestGetCloudProvider (0.01s)
=== RUN   TestUpdateSubnetServiceEndpoints
=== RUN   TestUpdateSubnetServiceEndpoints/[fail]__nil_cloud_parameter
=== RUN   TestUpdateSubnetServiceEndpoints/[fail]__nil_subnetLockMap_parameter
=== RUN   TestUpdateSubnetServiceEndpoints/[fail]_no_subnet
    azure_test.go:238: wrong type of argument 0 to Return for *mocksubnetclient.MockInterface.Get: network.Subnet is not assignable to network.Subnet [/home/prow/go/src/sigs.k8s.io/azurefile-csi-driver/pkg/azurefile/azure_test.go:238]
    panic.go:632: missing call(s) to *mocksubnetclient.MockInterface.Get(is anything, is anything, is anything, is anything, is anything) /home/prow/go/src/sigs.k8s.io/azurefile-csi-driver/pkg/azurefile/azure_test.go:238
    panic.go:632: aborting test due to missing call(s)
=== RUN   TestUpdateSubnetServiceEndpoints/[success]_subnetPropertiesFormat_is_nil
    azure_test.go:264: wrong type of argument 0 to Return for *mocksubnetclient.MockInterface.Get: network.Subnet is not assignable to network.Subnet [/home/prow/go/src/sigs.k8s.io/azurefile-csi-driver/pkg/azurefile/azure_test.go:264]
    panic.go:632: missing call(s) to *mocksubnetclient.MockInterface.Get(is anything, is anything, is anything, is anything, is anything) /home/prow/go/src/sigs.k8s.io/azurefile-csi-driver/pkg/azurefile/azure_test.go:264
... skipping 7 lines ...
    panic.go:632: missing call(s) to *mocksubnetclient.MockInterface.Get(is anything, is anything, is anything, is anything, is anything) /home/prow/go/src/sigs.k8s.io/azurefile-csi-driver/pkg/azurefile/azure_test.go:324
    panic.go:632: aborting test due to missing call(s)
=== RUN   TestUpdateSubnetServiceEndpoints/[success]_storageService_already_exists
    azure_test.go:359: wrong type of argument 0 to Return for *mocksubnetclient.MockInterface.Get: network.Subnet is not assignable to network.Subnet [/home/prow/go/src/sigs.k8s.io/azurefile-csi-driver/pkg/azurefile/azure_test.go:359]
    panic.go:632: missing call(s) to *mocksubnetclient.MockInterface.Get(is anything, is anything, is anything, is anything, is anything) /home/prow/go/src/sigs.k8s.io/azurefile-csi-driver/pkg/azurefile/azure_test.go:359
    panic.go:632: aborting test due to missing call(s)
--- FAIL: TestUpdateSubnetServiceEndpoints (0.00s)
    --- PASS: TestUpdateSubnetServiceEndpoints/[fail]__nil_cloud_parameter (0.00s)
    --- PASS: TestUpdateSubnetServiceEndpoints/[fail]__nil_subnetLockMap_parameter (0.00s)
    --- FAIL: TestUpdateSubnetServiceEndpoints/[fail]_no_subnet (0.00s)
    --- FAIL: TestUpdateSubnetServiceEndpoints/[success]_subnetPropertiesFormat_is_nil (0.00s)
    --- FAIL: TestUpdateSubnetServiceEndpoints/[success]_ServiceEndpoints_is_nil (0.00s)
    --- FAIL: TestUpdateSubnetServiceEndpoints/[success]_storageService_does_not_exists (0.00s)
    --- FAIL: TestUpdateSubnetServiceEndpoints/[success]_storageService_already_exists (0.00s)
=== RUN   TestGetFileSvcClient
--- PASS: TestGetFileSvcClient (0.00s)
=== RUN   TestCreateFileShare
=== RUN   TestCreateFileShare/ShareOptions_empty
=== RUN   TestCreateFileShare/AccountName_invalid
--- PASS: TestCreateFileShare (0.00s)
... skipping 23 lines ...
--- PASS: TestIsCorruptedDir (0.00s)
=== RUN   TestNewDriver
--- PASS: TestNewDriver (0.00s)
=== RUN   TestGetFileURL
--- PASS: TestGetFileURL (0.00s)
=== RUN   TestGetAccountInfo
W0429 18:16:27.522350   10463 azurefile.go:476] parsing volumeID(uniqe-volumeid-nfs) return with error: error parsing volume id: "uniqe-volumeid-nfs", should at least contain two #
--- PASS: TestGetAccountInfo (0.00s)
=== RUN   TestCreateDisk
--- PASS: TestCreateDisk (4.66s)
=== RUN   TestGetFileShareQuota
--- PASS: TestGetFileShareQuota (0.00s)
=== RUN   TestRun
... skipping 7 lines ...
Driver Version: N/A
Git Commit: N/A
Go Version: go1.16.3
Platform: linux/amd64

Streaming logs below:
W0429 18:16:32.185198   10463 azure.go:48] get kubeconfig() failed with error: open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory
I0429 18:16:32.188822   10463 driver.go:93] Enabling controller service capability: CREATE_DELETE_VOLUME
I0429 18:16:32.188882   10463 driver.go:93] Enabling controller service capability: PUBLISH_UNPUBLISH_VOLUME
I0429 18:16:32.188915   10463 driver.go:93] Enabling controller service capability: CREATE_DELETE_SNAPSHOT
I0429 18:16:32.188943   10463 driver.go:93] Enabling controller service capability: EXPAND_VOLUME
I0429 18:16:32.188981   10463 driver.go:112] Enabling volume access mode: SINGLE_NODE_WRITER
I0429 18:16:32.189016   10463 driver.go:112] Enabling volume access mode: SINGLE_NODE_READER_ONLY
... skipping 11 lines ...
Driver Version: N/A
Git Commit: N/A
Go Version: go1.16.3
Platform: linux/amd64

Streaming logs below:
W0429 18:16:32.192694   10463 azure.go:48] get kubeconfig() failed with error: open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory
I0429 18:16:32.194261   10463 azurefile.go:210] disable UseInstanceMetadata for controller
I0429 18:16:32.194574   10463 driver.go:93] Enabling controller service capability: CREATE_DELETE_VOLUME
I0429 18:16:32.194621   10463 driver.go:93] Enabling controller service capability: PUBLISH_UNPUBLISH_VOLUME
I0429 18:16:32.194649   10463 driver.go:93] Enabling controller service capability: CREATE_DELETE_SNAPSHOT
I0429 18:16:32.194694   10463 driver.go:93] Enabling controller service capability: EXPAND_VOLUME
I0429 18:16:32.194719   10463 driver.go:112] Enabling volume access mode: SINGLE_NODE_WRITER
... skipping 79 lines ...
    --- PASS: TestCreateVolume/Valid_request (0.00s)
    --- PASS: TestCreateVolume/invalid_parameter (0.00s)
=== RUN   TestDeleteVolume
=== RUN   TestDeleteVolume/Volume_ID_missing
=== RUN   TestDeleteVolume/Controller_capability_missing
=== RUN   TestDeleteVolume/Invalid_volume_ID
E0429 18:16:32.215466   10463 controllerserver.go:402] GetFileShareInfo(vol_1) in DeleteVolume failed with error: error parsing volume id: "vol_1", should at least contain two #
=== RUN   TestDeleteVolume/Delete_file_share_returns_error
=== RUN   TestDeleteVolume/Valid_request
I0429 18:16:32.216156   10463 azurefile.go:638] remove tag(skip-matching) on account(f5713de20cde511e8ba4900) resourceGroup(vol_1)
W0429 18:16:32.216289   10463 controllerserver.go:433] RemoveStorageAccountTag(skip-matching) under rg(vol_1) account(f5713de20cde511e8ba4900) failed with Retriable: false, RetryAfter: 0s, HTTPStatusCode: 0, RawError: StorageAccountClient is nil
--- PASS: TestDeleteVolume (0.00s)
    --- PASS: TestDeleteVolume/Volume_ID_missing (0.00s)
    --- PASS: TestDeleteVolume/Controller_capability_missing (0.00s)
    --- PASS: TestDeleteVolume/Invalid_volume_ID (0.00s)
    --- PASS: TestDeleteVolume/Delete_file_share_returns_error (0.00s)
    --- PASS: TestDeleteVolume/Valid_request (0.00s)
=== RUN   TestControllerGetVolume
--- PASS: TestControllerGetVolume (0.00s)
=== RUN   TestControllerGetCapabilities
--- PASS: TestControllerGetCapabilities (0.00s)
=== RUN   TestValidateVolumeCapabilities
W0429 18:16:32.217110   10463 azurefile.go:476] parsing volumeID(vol_1) return with error: error parsing volume id: "vol_1", should at least contain two #
--- PASS: TestValidateVolumeCapabilities (0.00s)
=== RUN   TestControllerPublishVolume
W0429 18:16:32.218568   10463 azurefile.go:476] parsing volumeID(vol_1) return with error: error parsing volume id: "vol_1", should at least contain two #
--- PASS: TestControllerPublishVolume (0.00s)
=== RUN   TestControllerUnpublishVolume
--- PASS: TestControllerUnpublishVolume (0.00s)
=== RUN   TestCreateSnapshot
W0429 18:16:32.220443   10463 azurefile.go:476] parsing volumeID(vol_1) return with error: error parsing volume id: "vol_1", should at least contain two #
--- PASS: TestCreateSnapshot (0.00s)
=== RUN   TestDeleteSnapshot
W0429 18:16:32.220974   10463 azurefile.go:476] parsing volumeID(vol_1#) return with error: error parsing volume id: "vol_1#", should at least contain two #
--- PASS: TestDeleteSnapshot (0.00s)
=== RUN   TestControllerExpandVolume
=== RUN   TestControllerExpandVolume/Volume_ID_missing
=== RUN   TestControllerExpandVolume/Volume_Capacity_range_missing
=== RUN   TestControllerExpandVolume/Volume_capabilities_missing
=== RUN   TestControllerExpandVolume/Invalid_Volume_ID
... skipping 10 lines ...
    --- PASS: TestControllerExpandVolume/Volume_capabilities_missing (0.00s)
    --- PASS: TestControllerExpandVolume/Invalid_Volume_ID (0.00s)
    --- PASS: TestControllerExpandVolume/Disk_name_not_empty (0.00s)
    --- PASS: TestControllerExpandVolume/Resize_file_share_returns_error (0.00s)
    --- PASS: TestControllerExpandVolume/Valid_request (0.00s)
=== RUN   TestGetShareURL
W0429 18:16:32.224059   10463 azurefile.go:476] parsing volumeID(vol_1) return with error: error parsing volume id: "vol_1", should at least contain two #
--- PASS: TestGetShareURL (0.00s)
=== RUN   TestGetServiceURL
W0429 18:16:32.224594   10463 azurefile.go:476] parsing volumeID(vol_1) return with error: error parsing volume id: "vol_1", should at least contain two #
E0429 18:16:32.224827   10463 controllerserver.go:815] parse serviceURLTemplate error: parse "https://^f5713de20cde511e8ba4900.file.abc": invalid character "^" in host name
--- PASS: TestGetServiceURL (0.00s)
=== RUN   TestSnapshotExists
W0429 18:16:32.225207   10463 azurefile.go:476] parsing volumeID(vol_1) return with error: error parsing volume id: "vol_1", should at least contain two #
--- PASS: TestSnapshotExists (0.00s)
=== RUN   TestGetCapacity
--- PASS: TestGetCapacity (0.00s)
=== RUN   TestListVolumes
--- PASS: TestListVolumes (0.00s)
=== RUN   TestListSnapshots
... skipping 15 lines ...
--- PASS: TestGetPluginCapabilities (0.00s)
=== RUN   TestNodeGetInfo
--- PASS: TestNodeGetInfo (0.00s)
=== RUN   TestNodeGetCapabilities
--- PASS: TestNodeGetCapabilities (0.00s)
=== RUN   TestNodePublishVolume
E0429 18:16:32.228870   10463 nodeserver.go:408] MakeDir failed on target: /home/prow/go/src/sigs.k8s.io/azurefile-csi-driver/pkg/azurefile/azure.go (mkdir /home/prow/go/src/sigs.k8s.io/azurefile-csi-driver/pkg/azurefile/azure.go: not a directory)
--- PASS: TestNodePublishVolume (0.00s)
=== RUN   TestNodeUnpublishVolume
W0429 18:16:32.229839   10463 mount_helper_common.go:33] Warning: Unmount skipped because path does not exist: /home/prow/go/src/sigs.k8s.io/azurefile-csi-driver/pkg/azurefile/abc.go
--- PASS: TestNodeUnpublishVolume (0.00s)
=== RUN   TestNodeStageVolume
W0429 18:16:32.230686   10463 azurefile.go:476] parsing volumeID(vol_1) return with error: error parsing volume id: "vol_1", should at least contain two #
I0429 18:16:32.231371   10463 mount_linux.go:390] Disk "/home/prow/go/src/sigs.k8s.io/azurefile-csi-driver/pkg/azurefile/proxy-mount/test_disk" appears to be unformatted, attempting to format as type: "ext4" with options: [-F -m0 /home/prow/go/src/sigs.k8s.io/azurefile-csi-driver/pkg/azurefile/proxy-mount/test_disk]
E0429 18:16:32.231552   10463 mount_linux.go:396] format of disk "/home/prow/go/src/sigs.k8s.io/azurefile-csi-driver/pkg/azurefile/proxy-mount/test_disk" failed: type:("ext4") target:("/home/prow/go/src/sigs.k8s.io/azurefile-csi-driver/pkg/azurefile/source_test") options:("barrier=1,errors=remount-ro,loop,noatime,defaults") errcode:(formatting failed) output:() 
I0429 18:16:32.232007   10463 mount_linux.go:390] Disk "/home/prow/go/src/sigs.k8s.io/azurefile-csi-driver/pkg/azurefile/proxy-mount/test_disk" appears to be unformatted, attempting to format as type: "ext4" with options: [-F -m0 /home/prow/go/src/sigs.k8s.io/azurefile-csi-driver/pkg/azurefile/proxy-mount/test_disk]
I0429 18:16:32.232100   10463 mount_linux.go:400] Disk successfully formatted (mkfs): ext4 - /home/prow/go/src/sigs.k8s.io/azurefile-csi-driver/pkg/azurefile/proxy-mount/test_disk /home/prow/go/src/sigs.k8s.io/azurefile-csi-driver/pkg/azurefile/source_test
--- PASS: TestNodeStageVolume (0.00s)
=== RUN   TestNodeUnstageVolume
W0429 18:16:32.232727   10463 mount_helper_common.go:33] Warning: Unmount skipped because path does not exist: /home/prow/go/src/sigs.k8s.io/azurefile-csi-driver/pkg/azurefile/abc.go
W0429 18:16:32.232848   10463 mount_helper_common.go:33] Warning: Unmount skipped because path does not exist: /home/prow/go/src/sigs.k8s.io/azurefile-csi-driver/pkg/azurefile/proxy-mount
--- PASS: TestNodeUnstageVolume (0.00s)
=== RUN   TestNodeGetVolumeStats
--- PASS: TestNodeGetVolumeStats (0.00s)
=== RUN   TestEnsureMountPoint
W0429 18:16:32.234637   10463 nodeserver.go:399] ReadDir ./false_is_likely_target failed with open ./false_is_likely_target: no such file or directory, unmount this directory
E0429 18:16:32.234726   10463 nodeserver.go:408] MakeDir failed on target: ./azure.go (mkdir ./azure.go: not a directory)
--- PASS: TestEnsureMountPoint (0.00s)
=== RUN   TestMakeDir
--- PASS: TestMakeDir (0.00s)
=== RUN   TestNodeExpandVolume
--- PASS: TestNodeExpandVolume (0.00s)
=== RUN   TestSimpleLockEntry
--- PASS: TestSimpleLockEntry (0.00s)
=== RUN   TestSimpleLockUnlockEntry
--- PASS: TestSimpleLockUnlockEntry (0.00s)
=== RUN   TestConcurrentLockEntry
W0429 18:16:32.654821   10463 azure_zones.go:52] refreshZones: error when get zones, will retry after 30m0s
W0429 18:16:32.664030   10463 azure_zones.go:52] refreshZones: error when get zones, will retry after 30m0s
W0429 18:16:32.716912   10463 azure_zones.go:52] refreshZones: error when get zones, will retry after 30m0s
W0429 18:16:32.781492   10463 azure_zones.go:52] refreshZones: error when get zones, will retry after 30m0s
--- PASS: TestConcurrentLockEntry (2.00s)
=== RUN   TestUnlockEntryNotExists
--- PASS: TestUnlockEntryNotExists (0.00s)
=== RUN   TestIsDiskFsType
--- PASS: TestIsDiskFsType (0.00s)
=== RUN   TestIsSupportedFsType
--- PASS: TestIsSupportedFsType (0.00s)
=== RUN   TestIsRetriableError
--- PASS: TestIsRetriableError (0.00s)
=== RUN   TestGetVersion
--- PASS: TestGetVersion (0.00s)
=== RUN   TestGetVersionYAML
--- PASS: TestGetVersionYAML (0.00s)
FAIL
FAIL	sigs.k8s.io/azurefile-csi-driver/pkg/azurefile	6.850s
?   	sigs.k8s.io/azurefile-csi-driver/pkg/azurefileplugin	[no test files]
=== RUN   TestValidateVolumeCapabilities
I0429 18:16:24.867649   10390 driver.go:112] Enabling volume access mode: SINGLE_NODE_WRITER
I0429 18:16:24.867941   10390 driver.go:112] Enabling volume access mode: SINGLE_NODE_READER_ONLY
I0429 18:16:24.867991   10390 driver.go:112] Enabling volume access mode: MULTI_NODE_READER_ONLY
--- PASS: TestValidateVolumeCapabilities (0.00s)
... skipping 111 lines ...
=== RUN   TestCreateAzureCredentialFileOnAzurePublicCloud/WithEnvironmentVariables
--- PASS: TestCreateAzureCredentialFileOnAzurePublicCloud (0.01s)
    --- PASS: TestCreateAzureCredentialFileOnAzurePublicCloud/WithAzureCredentials (0.00s)
    --- PASS: TestCreateAzureCredentialFileOnAzurePublicCloud/WithEnvironmentVariables (0.00s)
PASS
ok  	sigs.k8s.io/azurefile-csi-driver/test/utils/credentials	0.054s
FAIL
make: *** [Makefile:72: unit-test] Error 1
+ EXIT_VALUE=2
+ set +o xtrace