Skip to content

Instantly share code, notes, and snippets.

View chethanv28's full-sized avatar

Chethan Venkatesh chethanv28

  • VMware | Broadcom
View GitHub Profile
apiVersion: v1
kind: Secret
metadata:
name: vsphere-config-secret
namespace: vmware-system-csi
stringData:
csi-vsphere.conf: |
[Global]
insecure-flag = true
cluster-id = vmware-system-csi/cluster-test
make test-e2e
hack/run-e2e-test.sh
go: found github.com/onsi/ginkgo/ginkgo in github.com/onsi/ginkgo v1.16.4
go: github.com/onsi/ginkgo upgrade => v1.16.4
go: golang.org/x/sys upgrade => v0.0.0-20210809222454-d867a43fc93e
go: github.com/nxadm/tail upgrade => v1.4.8
go: github.com/fsnotify/fsnotify upgrade => v1.4.9
go: downloading golang.org/x/tools v0.0.0-20201224043029-2b0845dc783e
go: golang.org/x/tools upgrade => v0.1.5
Aug 11 14:58:06.879: INFO: The --provider flag is not set. Continuing as if --provider=skeleton had been used.
Step 1: Create volumes
Step 2: Performed CA file rotation
Step 3: Delete volumes succeeded
Step 4: Performed CA file rotation
Step 5: Created volume again & succeeded
```
kubectl logs vsphere-csi-controller-687677544c-lz5zk -c vsphere-csi-controller -n vmware-system-csi -f
2021-06-28T23:20:58.345Z INFO logger/logger.go:41 Setting default log level to :"DEVELOPMENT"
2021-06-28T23:20:58.345Z INFO vsphere-csi/main.go:55 Version : v2.1.0-rc.1-835-g66e9480-dirty {"TraceId": "d3aa2a1b-e384-4fe1-89f1-9eb7d3abe6de"}
@chethanv28
chethanv28 / e2e test logs query async
Created May 14, 2021 17:11
e2e test logs query async
$ make test-e2e
hack/run-e2e-test.sh
go: found github.com/onsi/ginkgo/ginkgo in github.com/onsi/ginkgo v1.16.2
go: golang.org/x/tools upgrade => v0.1.1
go: golang.org/x/sys upgrade => v0.0.0-20210514084401-e8d321eab015
go: github.com/nxadm/tail upgrade => v1.4.8
go: github.com/fsnotify/fsnotify upgrade => v1.4.9
May 14 09:41:26.998: INFO: The --provider flag is not set. Continuing as if --provider=skeleton had been used.
W0514 09:41:26.998549 53397 test_context.go:440] Unable to find in-cluster config, using default host : https://127.0.0.1:6443
I0514 09:41:26.998837 53397 test_context.go:457] Tolerating taints "" when considering if nodes are ready
kubectl describe pod vsphere-csi-controller-7c4554557f-j76d6 -n kube-system | grep Image
Image: quay.io/k8scsi/csi-attacher:v3.1.0
Image ID: docker-pullable://quay.io/k8scsi/csi-attacher@sha256:e3334d505bebc44afba610e2c218ca7b4993cac61fc0951d75033ccc971a1347
Image: divyen/driver:pr-740
Image ID: docker-pullable://divyen/driver@sha256:fb63aa643e53e167352c8d2de1642d61e36fe339061ad607eb904c5e239d8f5b
Image: quay.io/k8scsi/livenessprobe:v2.2.0
Image ID: docker-pullable://quay.io/k8scsi/livenessprobe@sha256:d657c5644aefe12d4bbdffb900602df65c67dbaea99b26b2005465b88b1bc96e
Image: divyen/syncer:pr-740
Image ID: docker-pullable://divyen/syncer@sha256:566bad89b962f656f6480ea99bd4bbdcf46f0f2091d01935679e382dfbea70f4
Image: quay.io/k8scsi/csi-provisioner:v2.1.0
$ make test-e2e
cannot find package "." in:
/Users/chethanv/Downloads/csi-external/vsphere-csi-driver/vendor/cnsctl
hack/run-e2e-test.sh
go: found github.com/onsi/ginkgo/ginkgo in github.com/onsi/ginkgo v1.14.2
go: golang.org/x/sys upgrade => v0.0.0-20210124154548-22da62e12c0c
go: github.com/nxadm/tail upgrade => v1.4.6
go: github.com/fsnotify/fsnotify upgrade => v1.4.9
Jan 28 18:34:33.978: INFO: The --provider flag is not set. Continuing as if --provider=skeleton had been used.
W0128 18:34:33.977932 74658 test_context.go:414] Unable to find in-cluster config, using default host : http://127.0.0.1:8080
$ make test-e2e
cannot find package "." in:
/Users/chethanv/Downloads/csi-external/vsphere-csi-driver/vendor/cnsctl
hack/run-e2e-test.sh
go: found github.com/onsi/ginkgo/ginkgo in github.com/onsi/ginkgo v1.14.2
go: github.com/nxadm/tail upgrade => v1.4.6
go: golang.org/x/sys upgrade => v0.0.0-20210124154548-22da62e12c0c
go: github.com/fsnotify/fsnotify upgrade => v1.4.9
Jan 27 18:06:02.254: INFO: The --provider flag is not set. Continuing as if --provider=skeleton had been used.
W0127 18:06:02.253313 24167 test_context.go:414] Unable to find in-cluster config, using default host : http://127.0.0.1:8080
@chethanv28
chethanv28 / e2e test logs
Created December 15, 2020 00:00
e2e test logs
$ make test-e2e
hack/run-e2e-test.sh
go: finding github.com/onsi/ginkgo/ginkgo latest
Dec 14 15:00:46.028: INFO: The --provider flag is not set. Continuing as if --provider=skeleton had been used.
Running Suite: CNS CSI Driver End-to-End Tests
==============================================
Random Seed: 1607986837 - Will randomize all specs
Will run 25 of 42 specs
SS
@chethanv28
chethanv28 / e2e_test_logs
Created December 10, 2020 00:37
e2e test logs
This file has been truncated, but you can view the full file.
$ make test-e2e
make: *** hack/images/ci: No such file or directory. Stop.
hack/run-e2e-test.sh
go: finding github.com/onsi/ginkgo/ginkgo latest
Dec 9 11:39:44.808: INFO: The --provider flag is not set. Continuing as if --provider=skeleton had been used.
Running Suite: CNS CSI Driver End-to-End Tests
==============================================
Random Seed: 1607542772 - Will randomize all specs
Will run 25 of 42 specs
@chethanv28
chethanv28 / e2e tests orphan volume fix
Created December 9, 2020 19:17
e2e tests orphan volume fix
make test-e2e
make: *** hack/images/ci: No such file or directory. Stop.
hack/run-e2e-test.sh
go: finding github.com/onsi/ginkgo/ginkgo latest
Dec 9 09:50:00.357: INFO: The --provider flag is not set. Continuing as if --provider=skeleton had been used.
Running Suite: CNS CSI Driver End-to-End Tests
==============================================
Random Seed: 1607536187 - Will randomize all specs
Will run 1 of 42 specs