@@ -86,7 +86,7 @@ configvar CSI_PROW_BUILD_PLATFORMS "linux amd64 amd64; linux ppc64le ppc64le -pp
8686# which is disabled with GOFLAGS=-mod=vendor).
8787configvar GOFLAGS_VENDOR " $( [ -d vendor ] && echo ' -mod=vendor' ) " " Go flags for using the vendor directory"
8888
89- configvar CSI_PROW_GO_VERSION_BUILD " 1.19 " " Go version for building the component" # depends on component's source code
89+ configvar CSI_PROW_GO_VERSION_BUILD " 1.20 " " Go version for building the component" # depends on component's source code
9090configvar CSI_PROW_GO_VERSION_E2E " " " override Go version for building the Kubernetes E2E test suite" # normally doesn't need to be set, see install_e2e
9191configvar CSI_PROW_GO_VERSION_SANITY " ${CSI_PROW_GO_VERSION_BUILD} " " Go version for building the csi-sanity test suite" # depends on CSI_PROW_SANITY settings below
9292configvar CSI_PROW_GO_VERSION_KIND " ${CSI_PROW_GO_VERSION_BUILD} " " Go version for building 'kind'" # depends on CSI_PROW_KIND_VERSION below
@@ -196,7 +196,7 @@ kindest/node:v1.18.20@sha256:738cdc23ed4be6cc0b7ea277a2ebcc454c8373d7d8fb991a7fc
196196# If the deployment script is called with CSI_PROW_TEST_DRIVER=<file name> as
197197# environment variable, then it must write a suitable test driver configuration
198198# into that file in addition to installing the driver.
199- configvar CSI_PROW_DRIVER_VERSION " v1.8 .0" " CSI driver version"
199+ configvar CSI_PROW_DRIVER_VERSION " v1.11 .0" " CSI driver version"
200200configvar CSI_PROW_DRIVER_REPO https://github.com/kubernetes-csi/csi-driver-host-path " CSI driver repo"
201201configvar CSI_PROW_DEPLOYMENT " " " deployment"
202202configvar CSI_PROW_DEPLOYMENT_SUFFIX " " " additional suffix in kubernetes-x.yy[suffix].yaml files"
@@ -245,7 +245,7 @@ configvar CSI_PROW_SANITY_CONTAINER "hostpath" "Kubernetes container with CSI dr
245245
246246# The version of dep to use for 'make test-vendor'. Ignored if the project doesn't
247247# use dep. Only binary releases of dep are supported (https://github.com/golang/dep/releases).
248- configvar CSI_PROW_DEP_VERSION v0.5.1 " golang dep version to be used for vendor checking"
248+ configvar CSI_PROW_DEP_VERSION v0.5.4 " golang dep version to be used for vendor checking"
249249
250250# Each job can run one or more of the following tests, identified by
251251# a single word:
@@ -469,7 +469,7 @@ install_dep () {
469469 if dep version 2> /dev/null | grep -q " version:.*${CSI_PROW_DEP_VERSION} $" ; then
470470 return
471471 fi
472- run curl --fail --location -o " ${CSI_PROW_WORK} /bin/dep" " https://github.com/golang/dep/releases/download/v0.5.4 /dep-linux-amd64" &&
472+ run curl --fail --location -o " ${CSI_PROW_WORK} /bin/dep" " https://github.com/golang/dep/releases/download/${CSI_PROW_DEP_VERSION} /dep-linux-amd64" &&
473473 chmod u+x " ${CSI_PROW_WORK} /bin/dep"
474474}
475475
@@ -1008,7 +1008,10 @@ run_e2e () (
10081008 # the full Kubernetes E2E testsuite while only running a few tests.
10091009 move_junit () {
10101010 if ls " ${ARTIFACTS} " /junit_[0-9]* .xml 2> /dev/null > /dev/null; then
1011- run_filter_junit -t=" External.Storage|CSI.mock.volume" -o " ${ARTIFACTS} /junit_${name} .xml" " ${ARTIFACTS} " /junit_[0-9]* .xml && rm -f " ${ARTIFACTS} " /junit_[0-9]* .xml
1011+ mkdir -p " ${ARTIFACTS} /junit/${name} " &&
1012+ mkdir -p " ${ARTIFACTS} /junit/steps" &&
1013+ run_filter_junit -t=" External.Storage|CSI.mock.volume" -o " ${ARTIFACTS} /junit/steps/junit_${name} .xml" " ${ARTIFACTS} " /junit_[0-9]* .xml &&
1014+ mv " ${ARTIFACTS} " /junit_[0-9]* .xml " ${ARTIFACTS} /junit/${name} /"
10121015 fi
10131016 }
10141017 trap move_junit EXIT
@@ -1085,13 +1088,14 @@ kubectl exec "$pod" -c "${CSI_PROW_SANITY_CONTAINER}" -- /bin/sh -c "\${CHECK_PA
10851088EOF
10861089
10871090 chmod u+x " ${CSI_PROW_WORK} " /* dir_in_pod.sh
1091+ mkdir -p " ${ARTIFACTS} /junit/steps"
10881092
10891093 # This cannot run in parallel, because -csi.junitfile output
10901094 # from different Ginkgo nodes would go to the same file. Also the
10911095 # staging and target directories are the same.
10921096 run_with_loggers " ${CSI_PROW_WORK} /csi-sanity" \
10931097 -ginkgo.v \
1094- -csi.junitfile " ${ARTIFACTS} /junit_sanity.xml" \
1098+ -csi.junitfile " ${ARTIFACTS} /junit/steps/ junit_sanity.xml" \
10951099 -csi.endpoint " dns:///$( docker inspect -f ' {{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' csi-prow-control-plane) :$( kubectl get " services/${CSI_PROW_SANITY_SERVICE} " -o " jsonpath={..nodePort}" ) " \
10961100 -csi.stagingdir " /tmp/staging" \
10971101 -csi.mountdir " /tmp/mount" \
@@ -1121,7 +1125,8 @@ make_test_to_junit () {
11211125 # Plain make-test.xml was not delivered as text/xml by the web
11221126 # server and ignored by spyglass. It seems that the name has to
11231127 # match junit*.xml.
1124- out=" ${ARTIFACTS} /junit_make_test.xml"
1128+ out=" ${ARTIFACTS} /junit/steps/junit_make_test.xml"
1129+ mkdir -p " $( dirname " $out " ) "
11251130 testname=
11261131 echo " <testsuite>" >> " $out "
11271132
@@ -1385,8 +1390,8 @@ main () {
13851390 fi
13861391
13871392 # Merge all junit files into one. This gets rid of duplicated "skipped" tests.
1388- if ls " ${ARTIFACTS} " /junit_* .xml 2> /dev/null >&2 ; then
1389- run_filter_junit -o " ${CSI_PROW_WORK } /junit_final.xml" " ${ARTIFACTS} " /junit_ * .xml && rm " ${ARTIFACTS} " / junit_* .xml && mv " ${CSI_PROW_WORK} /junit_final.xml " " ${ARTIFACTS} "
1393+ if ls " ${ARTIFACTS} " /junit/steps/ junit_* .xml 2> /dev/null >&2 ; then
1394+ run_filter_junit -o " ${ARTIFACTS } /junit_final.xml" " ${ARTIFACTS} " /junit/steps/ junit_* .xml
13901395 fi
13911396
13921397 return " $ret "
0 commit comments