This job view page is being replaced by Spyglass soon. Check out the new job view.
PRcyril-corbon: feat: add affinity and node affinity as values
ResultFAILURE
Tests 0 failed / 0 succeeded
Started2021-09-23 11:47
Elapsed6m10s
Revision31dc7aa5afdb3a466cd762223c88a3ec6508e131
Refs 804

No Test Failures!


Error lines from build-log.txt

Activated service account credentials for: [pr-kubekins@kubernetes-jenkins-pull.iam.gserviceaccount.com]
+ WRAPPED_COMMAND_PID=30
+ wait 30
+ make verify
go test -v -race ./pkg/... ./test/utils/credentials
=== RUN   TestGetCloudProvider
W0923 11:49:05.631351    9858 azure.go:58] get kubeconfig() failed with error: open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory
W0923 11:49:05.631597    9858 azure.go:97] load azure config from file(/etc/kubernetes/azure.json) failed with open /etc/kubernetes/azure.json: no such file or directory
W0923 11:49:05.631700    9858 azure.go:58] 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
W0923 11:49:05.631776    9858 azure.go:97] load azure config from file(/etc/kubernetes/azure.json) failed with open /etc/kubernetes/azure.json: no such file or directory
W0923 11:49:05.632618    9858 azure.go:58] 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
W0923 11:49:05.645407    9858 azure.go:77] InitializeCloudFromSecret: failed to get cloud config from secret /: failed to get secret /: resource name may not be empty
W0923 11:49:05.645525    9858 azure.go:97] load azure config from file(/etc/kubernetes/azure.json) failed with open /etc/kubernetes/azure.json: no such file or directory
W0923 11:49:05.645745    9858 azure.go:58] get kubeconfig() failed with error: open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory
--- PASS: TestGetCloudProvider (0.02s)
=== RUN   TestUpdateSubnetServiceEndpoints
=== RUN   TestUpdateSubnetServiceEndpoints/[fail]_no_subnet
=== RUN   TestUpdateSubnetServiceEndpoints/[success]_subnetPropertiesFormat_is_nil
=== RUN   TestUpdateSubnetServiceEndpoints/[success]_ServiceEndpoints_is_nil
=== RUN   TestUpdateSubnetServiceEndpoints/[success]_storageService_does_not_exists
=== RUN   TestUpdateSubnetServiceEndpoints/[success]_storageService_already_exists
=== RUN   TestUpdateSubnetServiceEndpoints/[fail]_SubnetsClient_is_nil
--- PASS: TestUpdateSubnetServiceEndpoints (0.00s)
    --- PASS: TestUpdateSubnetServiceEndpoints/[fail]_no_subnet (0.00s)
    --- PASS: TestUpdateSubnetServiceEndpoints/[success]_subnetPropertiesFormat_is_nil (0.00s)
    --- PASS: TestUpdateSubnetServiceEndpoints/[success]_ServiceEndpoints_is_nil (0.00s)
    --- PASS: TestUpdateSubnetServiceEndpoints/[success]_storageService_does_not_exists (0.00s)
    --- PASS: TestUpdateSubnetServiceEndpoints/[success]_storageService_already_exists (0.00s)
    --- PASS: TestUpdateSubnetServiceEndpoints/[fail]_SubnetsClient_is_nil (0.00s)
=== RUN   TestGetFileSvcClient
--- PASS: TestGetFileSvcClient (0.00s)
=== RUN   TestCreateFileShare
=== RUN   TestCreateFileShare/ShareOptions_empty
=== RUN   TestCreateFileShare/AccountName_invalid
--- 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
W0923 11:49:05.655799    9858 azurefile.go:508] parsing volumeID(uniqe-volumeid-nfs) return with error: error parsing volume id: "uniqe-volumeid-nfs", should at least contain two #
--- PASS: TestGetAccountInfo (0.00s)
=== RUN   TestCreateDisk
--- PASS: TestCreateDisk (4.48s)
=== RUN   TestGetFileShareQuota
--- PASS: TestGetFileShareQuota (0.00s)
=== RUN   TestRun
... skipping 7 lines ...
Driver Version: N/A
Git Commit: N/A
Go Version: go1.17.1
Platform: linux/amd64

Streaming logs below:
W0923 11:49:10.141808    9858 azure.go:58] get kubeconfig() failed with error: open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory
I0923 11:49:10.147311    9858 driver.go:93] Enabling controller service capability: CREATE_DELETE_VOLUME
I0923 11:49:10.147394    9858 driver.go:93] Enabling controller service capability: PUBLISH_UNPUBLISH_VOLUME
I0923 11:49:10.147431    9858 driver.go:93] Enabling controller service capability: CREATE_DELETE_SNAPSHOT
I0923 11:49:10.147548    9858 driver.go:93] Enabling controller service capability: EXPAND_VOLUME
I0923 11:49:10.147593    9858 driver.go:93] Enabling controller service capability: SINGLE_NODE_MULTI_WRITER
I0923 11:49:10.147668    9858 driver.go:112] Enabling volume access mode: SINGLE_NODE_WRITER
... skipping 14 lines ...
Driver Version: N/A
Git Commit: N/A
Go Version: go1.17.1
Platform: linux/amd64

Streaming logs below:
W0923 11:49:10.151535    9858 azure.go:58] get kubeconfig() failed with error: open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory
I0923 11:49:10.153674    9858 driver.go:93] Enabling controller service capability: CREATE_DELETE_VOLUME
I0923 11:49:10.153750    9858 driver.go:93] Enabling controller service capability: PUBLISH_UNPUBLISH_VOLUME
I0923 11:49:10.153805    9858 driver.go:93] Enabling controller service capability: CREATE_DELETE_SNAPSHOT
I0923 11:49:10.153857    9858 driver.go:93] Enabling controller service capability: EXPAND_VOLUME
I0923 11:49:10.153887    9858 driver.go:93] Enabling controller service capability: SINGLE_NODE_MULTI_WRITER
I0923 11:49:10.153958    9858 driver.go:112] Enabling volume access mode: SINGLE_NODE_WRITER
... skipping 64 lines ...
=== RUN   TestCreateVolume/invalid_parameter
I0923 11:49:10.182602    9858 driver.go:93] Enabling controller service capability: CREATE_DELETE_VOLUME
W0923 11:49:10.182736    9858 controllerserver.go:97] no quota specified, set as default value(100 GiB)
=== RUN   TestCreateVolume/Account_limit_exceeded
I0923 11:49:10.183498    9858 driver.go:93] Enabling controller service capability: CREATE_DELETE_VOLUME
W0923 11:49:10.183586    9858 controllerserver.go:97] no quota specified, set as default value(100 GiB)
W0923 11:49:10.183811    9858 controllerserver.go:364] create file share(random-vol-name-valid-request) on account(stoacc) type(premium) rg(rg) location(loc) size(100), error: TotalSharesProvisionedCapacityExceedsAccountLimit, skip matching current account
W0923 11:49:10.183986    9858 controllerserver.go:97] no quota specified, set as default value(100 GiB)
--- PASS: TestCreateVolume (0.03s)
    --- PASS: TestCreateVolume/Controller_Capability_missing (0.00s)
    --- PASS: TestCreateVolume/Volume_name_missing (0.00s)
    --- PASS: TestCreateVolume/Volume_capabilities_missing (0.00s)
    --- PASS: TestCreateVolume/Invalid_volume_capabilities (0.00s)
... skipping 12 lines ...
    --- PASS: TestCreateVolume/invalid_parameter (0.00s)
    --- PASS: TestCreateVolume/Account_limit_exceeded (0.00s)
=== RUN   TestDeleteVolume
=== RUN   TestDeleteVolume/Volume_ID_missing
=== RUN   TestDeleteVolume/Controller_capability_missing
=== RUN   TestDeleteVolume/Invalid_volume_ID
E0923 11:49:10.186233    9858 controllerserver.go:472] 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
I0923 11:49:10.187276    9858 azurefile.go:702] remove tag(skip-matching) on account(f5713de20cde511e8ba4900) resourceGroup(vol_1)
W0923 11:49:10.187412    9858 controllerserver.go:503] 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
W0923 11:49:10.188699    9858 azurefile.go:508] parsing volumeID(vol_1) return with error: error parsing volume id: "vol_1", should at least contain two #
--- PASS: TestValidateVolumeCapabilities (0.00s)
=== RUN   TestControllerPublishVolume
W0923 11:49:10.190437    9858 azurefile.go:508] 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
W0923 11:49:10.192747    9858 azurefile.go:508] parsing volumeID(vol_1) return with error: error parsing volume id: "vol_1", should at least contain two #
--- PASS: TestCreateSnapshot (0.00s)
=== RUN   TestDeleteSnapshot
W0923 11:49:10.193361    9858 azurefile.go:508] 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
W0923 11:49:10.197904    9858 azurefile.go:508] parsing volumeID(vol_1) return with error: error parsing volume id: "vol_1", should at least contain two #
--- PASS: TestGetShareURL (0.00s)
=== RUN   TestGetServiceURL
W0923 11:49:10.198646    9858 azurefile.go:508] parsing volumeID(vol_1) return with error: error parsing volume id: "vol_1", should at least contain two #
E0923 11:49:10.198937    9858 controllerserver.go:885] parse serviceURLTemplate error: parse "https://^f5713de20cde511e8ba4900.file.abc": invalid character "^" in host name
--- PASS: TestGetServiceURL (0.00s)
=== RUN   TestSnapshotExists
W0923 11:49:10.199478    9858 azurefile.go:508] 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
E0923 11:49:10.203347    9858 nodeserver.go:446] 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
W0923 11:49:10.205086    9858 mount_helper_common.go:34] 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
W0923 11:49:10.206345    9858 azurefile.go:508] parsing volumeID(vol_1) return with error: error parsing volume id: "vol_1", should at least contain two #
I0923 11:49:10.207069    9858 mount_linux.go:408] 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]
E0923 11:49:10.207279    9858 mount_linux.go:414] 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:() 
I0923 11:49:10.207802    9858 mount_linux.go:408] 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]
I0923 11:49:10.207883    9858 mount_linux.go:418] 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
W0923 11:49:10.208940    9858 mount_helper_common.go:34] Warning: Unmount skipped because path does not exist: /home/prow/go/src/sigs.k8s.io/azurefile-csi-driver/pkg/azurefile/abc.go
W0923 11:49:10.209037    9858 mount_helper_common.go:34] 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
W0923 11:49:10.210330    9858 nodeserver.go:437] ReadDir ./false_is_likely_target failed with open ./false_is_likely_target: no such file or directory, unmount this directory
E0923 11:49:10.210432    9858 nodeserver.go:446] 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   TestCheckGidPresentInMountFlags
... skipping 318 lines ...
Preparing to unpack .../yamllint_1.15.0-1_all.deb ...
Unpacking yamllint (1.15.0-1) ...
Setting up python3-pkg-resources (40.8.0-1) ...
Setting up python3-pathspec (0.5.9-1) ...
Setting up yamllint (1.15.0-1) ...
checking yamllint under path: deploy/*.yaml ...
deploy/crd-csi-snapshot.yaml:1:1: [error] too many blank lines (1 > 0) (empty-lines)
deploy/crd-csi-snapshot.yaml:20:3: [error] wrong indentation: expected 4 but found 2 (indentation)
deploy/crd-csi-snapshot.yaml:21:5: [error] wrong indentation: expected 6 but found 4 (indentation)
deploy/crd-csi-snapshot.yaml:101:13: [error] wrong indentation: expected 14 but found 12 (indentation)
deploy/crd-csi-snapshot.yaml:173:9: [error] wrong indentation: expected 10 but found 8 (indentation)
deploy/crd-csi-snapshot.yaml:204:3: [error] wrong indentation: expected 4 but found 2 (indentation)
deploy/crd-csi-snapshot.yaml:205:5: [error] wrong indentation: expected 6 but found 4 (indentation)
deploy/crd-csi-snapshot.yaml:238:13: [error] wrong indentation: expected 14 but found 12 (indentation)
deploy/crd-csi-snapshot.yaml:257:9: [error] wrong indentation: expected 10 but found 8 (indentation)
deploy/crd-csi-snapshot.yaml:288:3: [error] wrong indentation: expected 4 but found 2 (indentation)
deploy/crd-csi-snapshot.yaml:289:5: [error] wrong indentation: expected 6 but found 4 (indentation)
deploy/crd-csi-snapshot.yaml:353:17: [error] wrong indentation: expected 18 but found 16 (indentation)
deploy/crd-csi-snapshot.yaml:424:13: [error] wrong indentation: expected 14 but found 12 (indentation)
deploy/crd-csi-snapshot.yaml:490:9: [error] wrong indentation: expected 10 but found 8 (indentation)
checking yamllint under path: deploy/example/*.yaml ...
checking yamllint under path: deploy/example/snapshot/*.yaml ...
checking yamllint under path: deploy/example/disk/*.yaml ...
checking yamllint under path: deploy/example/windows/*.yaml ...
checking yamllint under path: deploy/example/metrics/*.yaml ...
checking yamllint under path: deploy/example/largeFileShares/*.yaml ...
... skipping 360 lines ...
-            - key: type
-              operator: NotIn
-              values:
-                - virtual-kubelet

latest chart config has changed, pls run "helm package charts/latest/azurefile-csi-driver -d charts/latest/" to update tgz file
make: *** [Makefile:69: verify] Error 1
+ EXIT_VALUE=2
+ set +o xtrace