kubernetes-sigs / dra-example-driver

Example DRA driver that developers can fork and modify to get them started writing their own.
Apache License 2.0
46 stars 31 forks source link

failing to complete build-dra-driver.sh #36

Closed selinnilesy closed 11 months ago

selinnilesy commented 11 months ago

Hi, After completing create-cluster.sh succesfully, my system fails to complete build-dra-driver.sh on Ubuntu 22.04 with a go-lang related vcs error. Any help would be much appreciated.

Error message:

error obtaining VCS status: exit status 128 Use -buildvcs=false to disable VCS stamping. error: cannot use -w with standard input make: [Makefile:76: fmt] Error 123 make: [Makefile:154: docker-generate] Error 2

Complete Output :

selin@selin-minicsl:~$ sudo ./k8s-dra-driver/demo/build-dra-driver.sh

1 [internal] load .dockerignore

1 ...

2 [internal] load build definition from Dockerfile.devel

2 transferring dockerfile: 962B 0.0s done

2 DONE 0.3s

1 [internal] load .dockerignore

1 transferring context: 2B done

1 DONE 0.3s

3 [internal] load metadata for docker.io/library/golang:1.20.4

3 DONE 1.0s

4 [1/5] FROM docker.io/library/golang:1.20.4@sha256:690e4135bf2a4571a572bfd5ddfa806b1cb9c3dea0446ebadaf32bc2ea09d4f9

4 resolve docker.io/library/golang:1.20.4@sha256:690e4135bf2a4571a572bfd5ddfa806b1cb9c3dea0446ebadaf32bc2ea09d4f9

4 resolve docker.io/library/golang:1.20.4@sha256:690e4135bf2a4571a572bfd5ddfa806b1cb9c3dea0446ebadaf32bc2ea09d4f9 0.2s done

4 sha256:6a90a37099af57552e523ac8cd1fb470b85dd559c2f9e8453e62dc3bf9163a49 6.99kB / 6.99kB done

4 sha256:3fccedea46315261e4b6205bcffe91ece1e2aea60c23aab0f033f35461849b42 1.58kB / 1.58kB done

4 sha256:bd73737482dd5575526c7207872963479808d979ab2741c321706b8553918474 2.10MB / 55.05MB 0.2s

4 sha256:690e4135bf2a4571a572bfd5ddfa806b1cb9c3dea0446ebadaf32bc2ea09d4f9 2.36kB / 2.36kB done

4 sha256:6710592d62aa1338ac1c1c363dedc255659f666cc41441c7e0f735c484db10ff 0B / 15.76MB 0.2s

4 sha256:75256935197ed1bb3b994a77c01efa00349b901014448a260fafd9c3719a741d 0B / 54.58MB 0.2s

4 sha256:bd73737482dd5575526c7207872963479808d979ab2741c321706b8553918474 6.29MB / 55.05MB 0.3s

4 sha256:6710592d62aa1338ac1c1c363dedc255659f666cc41441c7e0f735c484db10ff 2.10MB / 15.76MB 0.3s

4 sha256:bd73737482dd5575526c7207872963479808d979ab2741c321706b8553918474 12.58MB / 55.05MB 0.4s

4 sha256:6710592d62aa1338ac1c1c363dedc255659f666cc41441c7e0f735c484db10ff 5.24MB / 15.76MB 0.4s

4 sha256:75256935197ed1bb3b994a77c01efa00349b901014448a260fafd9c3719a741d 3.15MB / 54.58MB 0.4s

4 sha256:bd73737482dd5575526c7207872963479808d979ab2741c321706b8553918474 16.78MB / 55.05MB 0.5s

4 sha256:6710592d62aa1338ac1c1c363dedc255659f666cc41441c7e0f735c484db10ff 9.44MB / 15.76MB 0.5s

4 sha256:75256935197ed1bb3b994a77c01efa00349b901014448a260fafd9c3719a741d 6.29MB / 54.58MB 0.5s

4 sha256:bd73737482dd5575526c7207872963479808d979ab2741c321706b8553918474 19.92MB / 55.05MB 0.6s

4 sha256:6710592d62aa1338ac1c1c363dedc255659f666cc41441c7e0f735c484db10ff 15.76MB / 15.76MB 0.7s

4 sha256:75256935197ed1bb3b994a77c01efa00349b901014448a260fafd9c3719a741d 12.58MB / 54.58MB 0.7s

4 sha256:bd73737482dd5575526c7207872963479808d979ab2741c321706b8553918474 27.26MB / 55.05MB 0.8s

4 sha256:6710592d62aa1338ac1c1c363dedc255659f666cc41441c7e0f735c484db10ff 15.76MB / 15.76MB 0.7s done

4 sha256:75256935197ed1bb3b994a77c01efa00349b901014448a260fafd9c3719a741d 15.73MB / 54.58MB 0.8s

4 sha256:948a624948bad16368a8875d007bc505810d290412e61357e0e44549e775dd3c 0B / 86.03MB 0.8s

4 sha256:bd73737482dd5575526c7207872963479808d979ab2741c321706b8553918474 32.51MB / 55.05MB 1.0s

4 sha256:75256935197ed1bb3b994a77c01efa00349b901014448a260fafd9c3719a741d 23.07MB / 54.58MB 1.0s

4 sha256:948a624948bad16368a8875d007bc505810d290412e61357e0e44549e775dd3c 8.39MB / 86.03MB 1.0s

4 sha256:75256935197ed1bb3b994a77c01efa00349b901014448a260fafd9c3719a741d 26.21MB / 54.58MB 1.1s

4 sha256:bd73737482dd5575526c7207872963479808d979ab2741c321706b8553918474 40.89MB / 55.05MB 1.3s

4 sha256:75256935197ed1bb3b994a77c01efa00349b901014448a260fafd9c3719a741d 34.60MB / 54.58MB 1.3s

4 sha256:948a624948bad16368a8875d007bc505810d290412e61357e0e44549e775dd3c 18.87MB / 86.03MB 1.3s

4 sha256:75256935197ed1bb3b994a77c01efa00349b901014448a260fafd9c3719a741d 37.75MB / 54.58MB 1.4s

4 sha256:bd73737482dd5575526c7207872963479808d979ab2741c321706b8553918474 49.28MB / 55.05MB 1.5s

4 sha256:75256935197ed1bb3b994a77c01efa00349b901014448a260fafd9c3719a741d 41.94MB / 54.58MB 1.5s

4 sha256:948a624948bad16368a8875d007bc505810d290412e61357e0e44549e775dd3c 27.26MB / 86.03MB 1.5s

4 sha256:75256935197ed1bb3b994a77c01efa00349b901014448a260fafd9c3719a741d 45.09MB / 54.58MB 1.6s

4 sha256:bd73737482dd5575526c7207872963479808d979ab2741c321706b8553918474 55.05MB / 55.05MB 1.7s done

4 sha256:75256935197ed1bb3b994a77c01efa00349b901014448a260fafd9c3719a741d 54.58MB / 54.58MB 1.8s

4 sha256:948a624948bad16368a8875d007bc505810d290412e61357e0e44549e775dd3c 40.89MB / 86.03MB 1.8s

4 sha256:75256935197ed1bb3b994a77c01efa00349b901014448a260fafd9c3719a741d 54.58MB / 54.58MB 1.8s done

4 extracting sha256:bd73737482dd5575526c7207872963479808d979ab2741c321706b8553918474 0.1s

4 sha256:cd56b3199c0c96901ea545187395ab9d886e75aeb4d953f018a21c5782dc9498 0B / 156B 1.9s

4 sha256:948a624948bad16368a8875d007bc505810d290412e61357e0e44549e775dd3c 48.23MB / 86.03MB 2.0s

4 sha256:cd56b3199c0c96901ea545187395ab9d886e75aeb4d953f018a21c5782dc9498 156B / 156B 2.0s

4 sha256:147e02c24f40116f23669411aa9b2a6b2f964ddce0e045d3933cc4ad19337cb3 0B / 100.15MB 2.0s

4 sha256:948a624948bad16368a8875d007bc505810d290412e61357e0e44549e775dd3c 55.57MB / 86.03MB 2.1s

4 sha256:cd56b3199c0c96901ea545187395ab9d886e75aeb4d953f018a21c5782dc9498 156B / 156B 2.0s done

4 sha256:948a624948bad16368a8875d007bc505810d290412e61357e0e44549e775dd3c 62.91MB / 86.03MB 2.2s

4 sha256:147e02c24f40116f23669411aa9b2a6b2f964ddce0e045d3933cc4ad19337cb3 5.24MB / 100.15MB 2.3s

4 sha256:948a624948bad16368a8875d007bc505810d290412e61357e0e44549e775dd3c 72.35MB / 86.03MB 2.4s

4 sha256:948a624948bad16368a8875d007bc505810d290412e61357e0e44549e775dd3c 77.62MB / 86.03MB 2.5s

4 sha256:147e02c24f40116f23669411aa9b2a6b2f964ddce0e045d3933cc4ad19337cb3 12.58MB / 100.15MB 2.5s

4 sha256:948a624948bad16368a8875d007bc505810d290412e61357e0e44549e775dd3c 86.03MB / 86.03MB 2.7s

4 sha256:147e02c24f40116f23669411aa9b2a6b2f964ddce0e045d3933cc4ad19337cb3 22.02MB / 100.15MB 2.7s

4 sha256:948a624948bad16368a8875d007bc505810d290412e61357e0e44549e775dd3c 86.03MB / 86.03MB 2.7s done

4 sha256:147e02c24f40116f23669411aa9b2a6b2f964ddce0e045d3933cc4ad19337cb3 39.85MB / 100.15MB 3.0s

4 sha256:147e02c24f40116f23669411aa9b2a6b2f964ddce0e045d3933cc4ad19337cb3 48.23MB / 100.15MB 3.1s

4 sha256:147e02c24f40116f23669411aa9b2a6b2f964ddce0e045d3933cc4ad19337cb3 56.62MB / 100.15MB 3.2s

4 sha256:147e02c24f40116f23669411aa9b2a6b2f964ddce0e045d3933cc4ad19337cb3 68.16MB / 100.15MB 3.5s

4 sha256:147e02c24f40116f23669411aa9b2a6b2f964ddce0e045d3933cc4ad19337cb3 73.40MB / 100.15MB 3.6s

4 sha256:147e02c24f40116f23669411aa9b2a6b2f964ddce0e045d3933cc4ad19337cb3 79.69MB / 100.15MB 3.7s

4 sha256:147e02c24f40116f23669411aa9b2a6b2f964ddce0e045d3933cc4ad19337cb3 95.42MB / 100.15MB 3.9s

4 sha256:147e02c24f40116f23669411aa9b2a6b2f964ddce0e045d3933cc4ad19337cb3 100.15MB / 100.15MB 4.1s done

4 extracting sha256:bd73737482dd5575526c7207872963479808d979ab2741c321706b8553918474 2.7s done

4 extracting sha256:6710592d62aa1338ac1c1c363dedc255659f666cc41441c7e0f735c484db10ff 0.1s

4 extracting sha256:6710592d62aa1338ac1c1c363dedc255659f666cc41441c7e0f735c484db10ff 0.5s done

4 extracting sha256:75256935197ed1bb3b994a77c01efa00349b901014448a260fafd9c3719a741d

4 extracting sha256:75256935197ed1bb3b994a77c01efa00349b901014448a260fafd9c3719a741d 2.8s done

4 extracting sha256:948a624948bad16368a8875d007bc505810d290412e61357e0e44549e775dd3c 0.1s

4 extracting sha256:948a624948bad16368a8875d007bc505810d290412e61357e0e44549e775dd3c 2.8s done

4 extracting sha256:147e02c24f40116f23669411aa9b2a6b2f964ddce0e045d3933cc4ad19337cb3 0.1s

4 extracting sha256:147e02c24f40116f23669411aa9b2a6b2f964ddce0e045d3933cc4ad19337cb3 5.4s done

4 extracting sha256:cd56b3199c0c96901ea545187395ab9d886e75aeb4d953f018a21c5782dc9498 done

4 DONE 18.0s

5 [2/5] RUN go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.52.0

5 0.793 go: downloading github.com/golangci/golangci-lint v1.52.0

5 1.467 go: downloading github.com/fatih/color v1.15.0

5 1.468 go: downloading github.com/gofrs/flock v0.8.1

5 1.473 go: downloading github.com/spf13/cobra v1.6.1

5 1.476 go: downloading github.com/spf13/pflag v1.0.5

5 1.509 go: downloading github.com/spf13/viper v1.12.0

5 1.511 go: downloading gopkg.in/yaml.v3 v3.0.1

5 1.583 go: downloading golang.org/x/tools v0.7.0

5 1.585 go: downloading github.com/hashicorp/go-version v1.6.0

5 1.588 go: downloading github.com/ldez/gomoddirectives v0.2.3

5 1.593 go: downloading github.com/mitchellh/go-homedir v1.1.0

5 1.632 go: downloading github.com/hashicorp/go-multierror v1.1.1

5 1.763 go: downloading github.com/mattn/go-colorable v0.1.13

5 1.825 go: downloading github.com/sirupsen/logrus v1.9.0

5 1.844 go: downloading github.com/stretchr/testify v1.8.2

5 1.883 go: downloading github.com/go-xmlfmt/xmlfmt v1.1.2

5 1.903 go: downloading github.com/golangci/revgrep v0.0.0-20220804021717-745bb2f7c2e6

5 1.946 go: downloading github.com/mattn/go-isatty v0.0.17

5 2.001 go: downloading github.com/fsnotify/fsnotify v1.5.4

5 2.003 go: downloading github.com/mitchellh/mapstructure v1.5.0

5 2.049 go: downloading github.com/spf13/afero v1.8.2

5 2.120 go: downloading github.com/spf13/cast v1.5.0

5 2.148 go: downloading github.com/spf13/jwalterweatherman v1.1.0

5 2.165 go: downloading golang.org/x/mod v0.9.0

5 2.180 go: downloading 4d63.com/gocheckcompilerdirectives v1.2.1

5 2.219 go: downloading 4d63.com/gochecknoglobals v0.2.1

5 2.231 go: downloading github.com/Abirdcfly/dupword v0.0.11

5 2.262 go: downloading github.com/Antonboom/errname v0.1.9

5 2.264 go: downloading github.com/Antonboom/nilnil v0.1.3

5 2.307 go: downloading github.com/BurntSushi/toml v1.2.1

5 2.350 go: downloading github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24

5 2.351 go: downloading github.com/GaijinEntertainment/go-exhaustruct/v2 v2.3.0

5 2.374 go: downloading github.com/OpenPeeDeeP/depguard v1.1.1

5 2.380 go: downloading github.com/alexkohler/prealloc v1.0.0

5 2.396 go: downloading github.com/alingse/asasalint v0.0.11

5 2.410 go: downloading github.com/ashanbrown/forbidigo v1.5.1

5 2.465 go: downloading github.com/ashanbrown/makezero v1.1.1

5 2.467 go: downloading github.com/bkielbasa/cyclop v1.2.0

5 2.470 go: downloading github.com/blizzy78/varnamelen v0.8.0

5 2.485 go: downloading github.com/bombsimon/wsl/v3 v3.4.0

5 2.506 go: downloading github.com/breml/bidichk v0.2.4

5 2.518 go: downloading github.com/breml/errchkjson v0.3.1

5 2.523 go: downloading github.com/butuzov/ireturn v0.1.1

5 2.529 go: downloading github.com/charithe/durationcheck v0.0.10

5 2.530 go: downloading github.com/curioswitch/go-reassign v0.2.0

5 2.569 go: downloading github.com/daixiang0/gci v0.10.1

5 2.717 go: downloading github.com/denis-tingaikin/go-header v0.4.3

5 2.718 go: downloading github.com/firefart/nonamedreturns v1.0.4

5 2.719 go: downloading github.com/fzipp/gocyclo v0.6.0

5 2.719 go: downloading github.com/esimonov/ifshort v1.0.4

5 2.753 go: downloading github.com/go-critic/go-critic v0.7.0

5 2.794 go: downloading github.com/golangci/check v0.0.0-20180506172741-cfe4005ccda2

5 2.843 go: downloading github.com/golangci/dupl v0.0.0-20180902072040-3e9179ac440a

5 2.878 go: downloading github.com/golangci/go-misc v0.0.0-20220329215616-d24fe342adfe

5 2.890 go: downloading github.com/golangci/gofmt v0.0.0-20220901101216-f2edd75033f2

5 2.916 go: downloading github.com/golangci/lint-1 v0.0.0-20191013205115-297bf364a8e0

5 2.932 go: downloading github.com/golangci/maligned v0.0.0-20180506175553-b1d89398deca

5 2.932 go: downloading github.com/golangci/misspell v0.4.0

5 2.965 go: downloading github.com/golangci/unconvert v0.0.0-20180507085042-28b1c447d1f4

5 2.987 go: downloading github.com/gordonklaus/ineffassign v0.0.0-20230107090616-13ace0543b28

5 2.999 go: downloading github.com/gostaticanalysis/forcetypeassert v0.1.0

5 3.000 go: downloading github.com/gostaticanalysis/nilerr v0.1.1

5 3.013 go: downloading github.com/hexops/gotextdiff v1.0.3

5 3.035 go: downloading github.com/jgautheron/goconst v1.5.1

5 3.055 go: downloading github.com/jingyugao/rowserrcheck v1.1.1

5 3.056 go: downloading github.com/jirfag/go-printf-func-name v0.0.0-20200119135958-7558a9eaa5af

5 3.056 go: downloading github.com/julz/importas v0.1.0

5 3.072 go: downloading github.com/junk1tm/musttag v0.5.0

5 3.095 go: downloading github.com/kisielk/errcheck v1.6.3

5 3.097 go: downloading github.com/kkHAIKE/contextcheck v1.1.4

5 3.101 go: downloading github.com/kulti/thelper v0.6.3

5 3.109 go: downloading github.com/kunwardeep/paralleltest v1.0.6

5 3.138 go: downloading github.com/kyoh86/exportloopref v0.1.11

5 3.143 go: downloading github.com/ldez/tagliatelle v0.4.0

5 3.146 go: downloading github.com/leonklingele/grouper v1.1.1

5 3.149 go: downloading github.com/lufeee/execinquery v1.2.1

5 3.183 go: downloading github.com/maratori/testableexamples v1.0.0

5 3.192 go: downloading github.com/maratori/testpackage v1.1.1

5 3.195 go: downloading github.com/matoous/godox v0.0.0-20230222163458-006bad1f9d26

5 3.221 go: downloading github.com/mbilski/exhaustivestruct v1.2.0

5 3.225 go: downloading github.com/mgechev/revive v1.3.1

5 3.344 go: downloading github.com/moricho/tparallel v0.3.0

5 3.345 go: downloading github.com/nakabonne/nestif v0.3.1

5 3.345 go: downloading github.com/nishanths/exhaustive v0.9.5

5 3.384 go: downloading github.com/nishanths/predeclared v0.2.2

5 3.399 go: downloading github.com/nunnatsa/ginkgolinter v0.9.0

5 3.411 go: downloading github.com/polyfloyd/go-errorlint v1.4.0

5 3.429 go: downloading github.com/ryancurrah/gomodguard v1.3.0

5 3.430 go: downloading github.com/ryanrolds/sqlclosecheck v0.4.0

5 3.432 go: downloading github.com/sanposhiho/wastedassign/v2 v2.0.7

5 3.468 go: downloading github.com/sashamelentyev/interfacebloat v1.1.0

5 3.475 go: downloading github.com/sashamelentyev/usestdlibvars v1.23.0

5 3.500 go: downloading github.com/securego/gosec/v2 v2.15.0

5 3.540 go: downloading github.com/shazow/go-diff v0.0.0-20160112020656-b6b7b6733b8c

5 3.569 go: downloading github.com/sivchari/containedctx v1.0.2

5 3.599 go: downloading github.com/sivchari/nosnakecase v1.7.0

5 3.599 go: downloading github.com/sivchari/tenv v1.7.1

5 3.602 go: downloading github.com/sonatard/noctx v0.0.2

5 3.603 go: downloading github.com/sourcegraph/go-diff v0.7.0

5 3.628 go: downloading github.com/ssgreg/nlreturn/v2 v2.2.1

5 3.631 go: downloading github.com/stbenjam/no-sprintf-host-port v0.1.1

5 3.647 go: downloading github.com/tdakkota/asciicheck v0.2.0

5 3.652 go: downloading github.com/tetafro/godot v1.4.11

5 3.660 go: downloading github.com/timakin/bodyclose v0.0.0-20221125081123-e39cf3fc478e

5 3.676 go: downloading github.com/timonwong/loggercheck v0.9.4

5 3.689 go: downloading github.com/tomarrell/wrapcheck/v2 v2.8.1

5 3.706 go: downloading github.com/tommy-muehle/go-mnd/v2 v2.5.1

5 3.713 go: downloading github.com/ultraware/funlen v0.0.3

5 3.733 go: downloading github.com/ultraware/whitespace v0.0.5

5 3.753 go: downloading github.com/uudashr/gocognit v1.0.6

5 3.757 go: downloading github.com/yagipy/maintidx v1.0.0

5 3.781 go: downloading github.com/yeya24/promlinter v0.2.0

5 3.793 go: downloading gitlab.com/bosi/decorder v0.2.3

5 3.810 go: downloading honnef.co/go/tools v0.4.3

5 4.145 go: downloading mvdan.cc/gofumpt v0.4.0

5 4.147 go: downloading mvdan.cc/interfacer v0.0.0-20180901003855-c20040233aed

5 4.147 go: downloading mvdan.cc/unparam v0.0.0-20221223090309-7455f1af531d

5 4.150 go: downloading github.com/hashicorp/errwrap v1.0.0

5 4.190 go: downloading golang.org/x/sys v0.6.0

5 4.193 go: downloading github.com/davecgh/go-spew v1.1.1

5 4.223 go: downloading github.com/pmezard/go-difflib v1.0.0

5 4.244 go: downloading github.com/stretchr/objx v0.5.0

5 4.252 go: downloading golang.org/x/text v0.7.0

5 4.401 go: downloading github.com/subosito/gotenv v1.4.1

5 4.456 go: downloading github.com/hashicorp/hcl v1.0.0

5 4.528 go: downloading gopkg.in/ini.v1 v1.67.0

5 4.528 go: downloading github.com/magiconair/properties v1.8.6

5 4.559 go: downloading github.com/pelletier/go-toml/v2 v2.0.5

5 4.582 go: downloading golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e

5 4.681 go: downloading github.com/gobwas/glob v0.2.3

5 4.733 go: downloading github.com/google/go-cmp v0.5.9

5 4.790 go: downloading gopkg.in/yaml.v2 v2.4.0

5 4.797 go: downloading github.com/pelletier/go-toml v1.9.5

5 4.836 go: downloading golang.org/x/sync v0.1.0

5 4.865 go: downloading go.uber.org/zap v1.24.0

5 4.966 go: downloading github.com/go-toolsmith/astcast v1.1.0

5 5.036 go: downloading github.com/go-toolsmith/astcopy v1.1.0

5 5.062 go: downloading github.com/go-toolsmith/astequal v1.1.0

5 5.081 go: downloading github.com/go-toolsmith/astfmt v1.1.0

5 5.098 go: downloading github.com/go-toolsmith/astp v1.1.0

5 5.114 go: downloading github.com/go-toolsmith/strparse v1.1.0

5 5.138 go: downloading github.com/go-toolsmith/typep v1.1.0

5 5.138 go: downloading github.com/quasilyte/go-ruleguard v0.3.19

5 5.139 go: downloading github.com/quasilyte/regex/syntax v0.0.0-20210819130434-b3f0c404a727

5 5.167 go: downloading github.com/kisielk/gotool v1.0.0

5 5.180 go: downloading github.com/gostaticanalysis/comment v1.4.2

5 5.213 go: downloading github.com/gostaticanalysis/analysisutil v0.7.1

5 5.246 go: downloading github.com/ettle/strcase v0.1.1

5 5.246 go: downloading github.com/fatih/structtag v1.2.0

5 5.284 go: downloading github.com/Masterminds/semver v1.5.0

5 5.306 go: downloading github.com/nbutton23/zxcvbn-go v0.0.0-20210217022336-fa2cb2858354

5 5.325 go: downloading github.com/prometheus/client_golang v1.12.1

5 5.423 go: downloading github.com/prometheus/client_model v0.2.0

5 5.424 go: downloading golang.org/x/exp/typeparams v0.0.0-20230224173230-c95f2b4c22f2

5 5.428 go: downloading mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b

5 5.440 go: downloading go.uber.org/atomic v1.7.0

5 5.443 go: downloading go.uber.org/multierr v1.6.0

5 5.450 go: downloading github.com/quasilyte/gogrep v0.5.0

5 5.465 go: downloading github.com/quasilyte/stdinfo v0.0.0-20220114132959-f7386bf02567

5 5.469 go: downloading github.com/chavacava/garif v0.0.0-20230227094218-b8c73b2037b8

5 5.480 go: downloading github.com/olekukonko/tablewriter v0.0.5

5 5.492 go: downloading github.com/beorn7/perks v1.0.1

5 5.494 go: downloading github.com/cespare/xxhash/v2 v2.1.2

5 5.517 go: downloading github.com/golang/protobuf v1.5.2

5 5.522 go: downloading github.com/prometheus/common v0.32.1

5 5.592 go: downloading github.com/prometheus/procfs v0.7.3

5 5.593 go: downloading google.golang.org/protobuf v1.28.0

5 5.618 go: downloading github.com/mattn/go-runewidth v0.0.9

5 5.661 go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.1

5 DONE 35.9s

6 [3/5] RUN go install github.com/matryer/moq@latest

6 0.854 go: downloading github.com/matryer/moq v0.3.3

6 1.098 go: downloading golang.org/x/tools v0.3.0

6 1.622 go: downloading golang.org/x/sys v0.2.0

6 1.623 go: downloading golang.org/x/mod v0.7.0

6 DONE 3.7s

7 [4/5] RUN go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.9.2

7 0.602 go: downloading sigs.k8s.io/controller-tools v0.9.2

7 0.764 go: downloading github.com/spf13/cobra v1.4.0

7 0.767 go: downloading github.com/gobuffalo/flect v0.2.5

7 0.773 go: downloading k8s.io/apiextensions-apiserver v0.24.0

7 0.863 go: downloading k8s.io/apimachinery v0.24.0

7 1.009 go: downloading golang.org/x/tools v0.1.10-0.20220218145154-897bd77cd717

7 1.171 go: downloading k8s.io/api v0.24.0

7 1.178 go: downloading github.com/fatih/color v1.12.0

7 1.181 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b

7 1.238 go: downloading sigs.k8s.io/yaml v1.3.0

7 1.401 go: downloading github.com/gogo/protobuf v1.3.2

7 1.767 go: downloading k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9

7 1.768 go: downloading github.com/google/gofuzz v1.1.0

7 1.834 go: downloading k8s.io/klog/v2 v2.60.1

7 1.861 go: downloading sigs.k8s.io/structured-merge-diff/v4 v4.2.1

7 1.861 go: downloading github.com/mattn/go-colorable v0.1.8

7 1.874 go: downloading github.com/mattn/go-isatty v0.0.12

7 1.886 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158

7 1.898 go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1

7 1.922 go: downloading sigs.k8s.io/json v0.0.0-20211208200746-9f7c6b3444d2

7 1.929 go: downloading gopkg.in/inf.v0 v0.9.1

7 1.974 go: downloading github.com/go-logr/logr v1.2.0

7 1.985 go: downloading golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3

7 1.987 go: downloading github.com/json-iterator/go v1.1.12

7 2.016 go: downloading golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd

7 2.110 go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd

7 2.124 go: downloading github.com/modern-go/reflect2 v1.0.2

7 2.349 go: downloading golang.org/x/text v0.3.7

7 DONE 10.6s

8 [5/5] RUN go install k8s.io/code-generator/cmd/client-gen@v0.26.1

8 0.795 go: downloading k8s.io/code-generator v0.26.1

8 2.446 go: downloading k8s.io/gengo v0.0.0-20220902162205-c0856e24416d

8 2.446 go: downloading k8s.io/klog/v2 v2.80.1

8 2.519 go: downloading github.com/go-logr/logr v1.2.3

8 2.521 go: downloading golang.org/x/tools v0.2.0

8 3.016 go: downloading golang.org/x/mod v0.6.0

8 3.017 go: downloading golang.org/x/sys v0.3.0

8 DONE 5.4s

9 exporting to image

9 exporting layers

9 exporting layers 8.3s done

9 writing image sha256:1d39f199fbd3d6a409797032f02f77e6001358b64d28636c7cd1648ed4e65535 0.0s done

9 naming to nvcr.io/nvidia/cloud-native/k8s-dra-driver-build:golang1.20.4 0.0s done

9 DONE 8.4s

Running 'make generate' in docker container nvcr.io/nvidia/cloud-native/k8s-dra-driver-build:golang1.20.4 docker run \ --rm \ -e HOME=/home/selin/k8s-dra-driver \ -e GOCACHE=/home/selin/k8s-dra-driver/.cache/go \ -e GOPATH=/home/selin/k8s-dra-driver/.cache/gopath \ -v /home/selin/k8s-dra-driver:/home/selin/k8s-dra-driver \ -w /home/selin/k8s-dra-driver \ --user $(id -u):$(id -g) \ nvcr.io/nvidia/cloud-native/k8s-dra-driver-build:golang1.20.4 \ make generate rm -rf /home/selin/k8s-dra-driver/pkg/nvidia.com/resource/clientset for dir in api/utils/selector api/nvidia.com/resource/gpu/nas/v1alpha1 api/nvidia.com/resource/gpu/v1alpha1; do \ rm -f /home/selin/k8s-dra-driver/${dir}/zz_generated.deepcopy.go; \ done rm -rf /home/selin/k8s-dra-driver/deployments/helm/k8s-dra-driver/crds client-gen \ --go-header-file=/home/selin/k8s-dra-driver/hack/boilerplate.go.txt \ --clientset-name "versioned" \ --build-tag "ignore_autogenerated" \ --output-package "github.com/NVIDIA/k8s-dra-driver/pkg/nvidia.com/resource/clientset" \ --input-base "github.com/NVIDIA/k8s-dra-driver/api/nvidia.com/resource" \ --output-base "/home/selin/k8s-dra-driver/pkg/tmp_clientset" \ --input "gpu/nas/v1alpha1,gpu/v1alpha1" \ --plural-exceptions "DeviceClassParameters:DeviceClassParameters,GpuClaimParameters:GpuClaimParameters,MigDeviceClaimParameters:MigDeviceClaimParameters,ComputeInstanceParameters:ComputeInstanceParameters" mkdir -p /home/selin/k8s-dra-driver/pkg/nvidia.com/resource mv /home/selin/k8s-dra-driver/pkg/tmp_clientset/github.com/NVIDIA/k8s-dra-driver/pkg/nvidia.com/resource/clientset \ /home/selin/k8s-dra-driver/pkg/nvidia.com/resource/clientset rm -rf /home/selin/k8s-dra-driver/pkg/tmp_clientset go mod vendor go: downloading golang.org/x/mod v0.12.0 go: downloading k8s.io/apimachinery v0.27.0-beta.0 go: downloading github.com/NVIDIA/go-nvml v0.12.0-1 go: downloading github.com/NVIDIA/nvidia-container-toolkit v1.14.1 go: downloading github.com/container-orchestrated-devices/container-device-interface v0.6.1 go: downloading github.com/sirupsen/logrus v1.9.3 go: downloading github.com/urfave/cli/v2 v2.25.7 go: downloading gitlab.com/nvidia/cloud-native/go-nvlib v0.0.0-20230818092907-09424fdc8884 go: downloading k8s.io/api v0.27.0-beta.0 go: downloading k8s.io/client-go v0.27.0-beta.0 go: downloading k8s.io/dynamic-resource-allocation v0.27.0-beta.0 go: downloading k8s.io/klog/v2 v2.90.1 go: downloading k8s.io/kubelet v0.27.0-beta.0 go: downloading k8s.io/mount-utils v0.26.3 go: downloading github.com/prometheus/client_golang v1.14.0 go: downloading k8s.io/component-base v0.27.0-beta.0 go: downloading github.com/spf13/pflag v1.0.5 go: downloading github.com/gogo/protobuf v1.3.2 go: downloading gopkg.in/inf.v0 v0.9.1 go: downloading github.com/google/gofuzz v1.1.0 go: downloading sigs.k8s.io/structured-merge-diff/v4 v4.2.3 go: downloading github.com/fsnotify/fsnotify v1.6.0 go: downloading github.com/opencontainers/runtime-spec v1.1.0 go: downloading github.com/opencontainers/runtime-tools v0.9.1-0.20221107090550-2e043c6bd626 go: downloading golang.org/x/sys v0.12.0 go: downloading sigs.k8s.io/yaml v1.3.0 go: downloading k8s.io/utils v0.0.0-20230209194617-a36077c30491 go: downloading github.com/cpuguy83/go-md2man/v2 v2.0.2 go: downloading github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 go: downloading github.com/go-logr/logr v1.2.3 go: downloading google.golang.org/grpc v1.52.0 go: downloading github.com/moby/sys/mountinfo v0.6.2 go: downloading github.com/beorn7/perks v1.0.1 go: downloading github.com/cespare/xxhash/v2 v2.1.2 go: downloading github.com/golang/protobuf v1.5.3 go: downloading github.com/prometheus/client_model v0.3.0 go: downloading github.com/prometheus/common v0.37.0 go: downloading github.com/prometheus/procfs v0.8.0 go: downloading google.golang.org/protobuf v1.28.1 go: downloading github.com/google/go-cmp v0.5.9 go: downloading github.com/imdario/mergo v0.3.6 go: downloading golang.org/x/term v0.6.0 go: downloading golang.org/x/net v0.8.0 go: downloading github.com/google/gnostic v0.5.7-v3refs go: downloading golang.org/x/time v0.1.0 go: downloading github.com/evanphx/json-patch v4.12.0+incompatible go: downloading sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd go: downloading github.com/json-iterator/go v1.1.12 go: downloading gopkg.in/yaml.v2 v2.4.0 go: downloading github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635 go: downloading github.com/russross/blackfriday/v2 v2.1.0 go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.2 go: downloading google.golang.org/genproto v0.0.0-20221227171554-f9683d7f8bef go: downloading github.com/blang/semver/v4 v4.0.0 go: downloading github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da go: downloading github.com/spf13/cobra v1.6.1 go: downloading github.com/davecgh/go-spew v1.1.1 go: downloading github.com/go-logr/zapr v1.2.3 go: downloading go.uber.org/zap v1.21.0 go: downloading golang.org/x/oauth2 v0.0.0-20221014153046-6fdb5e3db783 go: downloading k8s.io/kube-openapi v0.0.0-20230308215209-15aac26d736a go: downloading github.com/pkg/errors v0.9.1 go: downloading gopkg.in/yaml.v3 v3.0.1 go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd go: downloading github.com/modern-go/reflect2 v1.0.2 go: downloading github.com/inconshreveable/mousetrap v1.0.1 go: downloading go.uber.org/atomic v1.9.0 go: downloading go.uber.org/multierr v1.8.0 go: downloading golang.org/x/text v0.8.0 go: downloading google.golang.org/appengine v1.6.7 go: downloading github.com/google/uuid v1.3.0 go: downloading github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 go: downloading github.com/go-openapi/jsonreference v0.20.1 go: downloading github.com/go-openapi/swag v0.22.3 go: downloading github.com/emicklei/go-restful/v3 v3.9.0 go: downloading github.com/go-openapi/jsonpointer v0.19.6 go: downloading github.com/mailru/easyjson v0.7.7 go: downloading github.com/josharian/intern v1.0.0 for dir in api/utils/selector api/nvidia.com/resource/gpu/nas/v1alpha1 api/nvidia.com/resource/gpu/v1alpha1; do \ controller-gen \ object:headerFile=/home/selin/k8s-dra-driver/hack/boilerplate.go.txt,year=2023 \ paths=/home/selin/k8s-dra-driver/${dir}/ \ output:object:dir=/home/selin/k8s-dra-driver/${dir}; \ done for dir in api/nvidia.com/resource/gpu/nas/v1alpha1 api/nvidia.com/resource/gpu/v1alpha1; do \ controller-gen crd:crdVersions=v1 \ paths=/home/selin/k8s-dra-driver/${dir} \ output:crd:dir=/home/selin/k8s-dra-driver/deployments/helm/k8s-dra-driver/crds; \ done go list -f '{{.Dir}}' github.com/NVIDIA/k8s-dra-driver/... \ | xargs gofmt -s -l -w error obtaining VCS status: exit status 128 Use -buildvcs=false to disable VCS stamping. error obtaining VCS status: exit status 128 Use -buildvcs=false to disable VCS stamping. error obtaining VCS status: exit status 128 Use -buildvcs=false to disable VCS stamping. error: cannot use -w with standard input make: [Makefile:76: fmt] Error 123 make: [Makefile:154: docker-generate] Error 2

klueska commented 11 months ago

Did you mean to open this issue against: https://github.com/NVIDIA/k8s-dra-driver

Your command suggest so...

In any case, I am not able to reproduce this in this repo, however I was able to reproduce it for https://github.com/NVIDIA/k8s-dra-driver. I'm going to move the issue over there.

klueska commented 11 months ago

I can't seem to move it. I will close it here. Please open a new issue there.

klueska commented 11 months ago

For what it's worth, I was able to resolve this by removing the sudo in front of the command

selinnilesy commented 11 months ago

Apologies for the confusion about git repo. I have manipulated the access rights and the installment completed.

I am aware of the ongoing work on MPS with Kubernetes, but what is the current situation within the driver repo? Meaning, assuming an healthy installation, are we currently able to deploy our K8s pods with the given scripts that enable MPS sharing of a GPU?

Thanks!