This job view page is being replaced by Spyglass soon. Check out the new job view.
PRSakuralbj: test: add unit-test
ResultFAILURE
Tests 0 failed / 0 succeeded
Started2020-07-07 00:45
Elapsed3m20s
Revisionf94d3f7d54222dc96336ae2da96ae7e806640581
Refs 174
links{u'resultstore': {u'url': u'https://source.cloud.google.com/results/invocations/c6137e0f-8baa-4b90-aae0-2eb754577947/targets/test'}}
resultstorehttps://source.cloud.google.com/results/invocations/c6137e0f-8baa-4b90-aae0-2eb754577947/targets/test

No Test Failures!


Error lines from build-log.txt

Activated service account credentials for: [pr-kubekins@kubernetes-jenkins-pull.iam.gserviceaccount.com]
+ make unit-test
go test -covermode=count -coverprofile=profile.cov ./pkg/... ./test/utils/credentials
E0707 00:48:25.195956    7951 azure.go:69] Failed to load config from file: /etc/kubernetes/azure.json
E0707 00:48:25.196136    7951 azure.go:69] Failed to load config from file: /etc/kubernetes/azure.json
W0707 00:48:25.200058    7951 azure_config.go:51] 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: exec: "foo-command": executable file not found in $PATH, skip initializing from secret
E0707 00:48:25.200112    7951 azure.go:69] Failed to load config from file: /etc/kubernetes/azure.json
IsCorruptedDir(/tmp/NotExist) returned with error: (false, <nil>)\nIsCorruptedDir(/tmp/blobfuse-csi-mount-test282865654) returned with error: (true, <nil>)\nE0707 00:48:25.201921    7951 nodeserver.go:271] MakeDir failed on target: ./azure.go (mkdir ./azure.go: not a directory)
E0707 00:48:25.261274    7951 mount_linux.go:147] Mount failed: exit status 32
Mounting command: mount
Mounting arguments: -o bind ./source_test ./target_test
Output: mount: /home/prow/go/src/sigs.k8s.io/blobfuse-csi-driver/pkg/blobfuse/target_test: bind /home/prow/go/src/sigs.k8s.io/blobfuse-csi-driver/pkg/blobfuse/source_test failed.

E0707 00:48:25.261518    7951 nodeserver.go:271] MakeDir failed on target: ./azure.go (mkdir ./azure.go: not a directory)
E0707 00:48:25.279300    7951 mount_linux.go:147] Mount failed: exit status 32
Mounting command: mount
Mounting arguments: -o bind ./source_test ./target_test
Output: mount: /home/prow/go/src/sigs.k8s.io/blobfuse-csi-driver/pkg/blobfuse/target_test: bind /home/prow/go/src/sigs.k8s.io/blobfuse-csi-driver/pkg/blobfuse/source_test failed.

--- FAIL: TestNodePublishVolume (0.08s)
    nodeserver_test.go:182: Unexpected error: rpc error: code = Internal desc = Could not mount "./source_test" at "./target_test": mount failed: exit status 32
        Mounting command: mount
        Mounting arguments: -o bind ./source_test ./target_test
        Output: mount: /home/prow/go/src/sigs.k8s.io/blobfuse-csi-driver/pkg/blobfuse/target_test: bind /home/prow/go/src/sigs.k8s.io/blobfuse-csi-driver/pkg/blobfuse/source_test failed.
        
    nodeserver_test.go:182: Unexpected error: rpc error: code = Internal desc = Could not mount "./source_test" at "./target_test": mount failed: exit status 32
        Mounting command: mount
        Mounting arguments: -o bind ./source_test ./target_test
        Output: mount: /home/prow/go/src/sigs.k8s.io/blobfuse-csi-driver/pkg/blobfuse/target_test: bind /home/prow/go/src/sigs.k8s.io/blobfuse-csi-driver/pkg/blobfuse/source_test failed.
        
E0707 00:48:25.330020    7951 mount_linux.go:147] Mount failed: exit status 32
Mounting command: mount
Mounting arguments: -o bind ./source_test ./target_test
Output: mount: /home/prow/go/src/sigs.k8s.io/blobfuse-csi-driver/pkg/blobfuse/target_test: bind /home/prow/go/src/sigs.k8s.io/blobfuse-csi-driver/pkg/blobfuse/source_test failed.

W0707 00:48:25.330113    7951 mount_helper_common.go:36] Warning: Unmount skipped because path does not exist: ./abc.go
FAIL
coverage: 29.0% of statements
FAIL	sigs.k8s.io/blobfuse-csi-driver/pkg/blobfuse	0.348s
?   	sigs.k8s.io/blobfuse-csi-driver/pkg/blobfuseplugin	[no test files]
ok  	sigs.k8s.io/blobfuse-csi-driver/pkg/csi-common	0.191s	coverage: 48.8% of statements
ok  	sigs.k8s.io/blobfuse-csi-driver/pkg/util	0.039s	coverage: 92.9% of statements
ok  	sigs.k8s.io/blobfuse-csi-driver/test/utils/credentials	0.074s	coverage: 78.2% of statements
FAIL
make: *** [Makefile:40: unit-test] Error 1
+ EXIT_VALUE=2
+ set +o xtrace