Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the bug that update-vendor.sh reports error when grep match failed #89579

Merged
merged 1 commit into from Mar 30, 2020

Conversation

SataQiu
Copy link
Member

@SataQiu SataQiu commented Mar 27, 2020

What type of PR is this?
/kind bug

What this PR does / why we need it:
Fix the bug that update-vendor.sh reports error when grep match failed.
Without this patch, when grep match fails, the script will output:

!!! Error in ./hack/update-vendor.sh:301
  Error in ./hack/update-vendor.sh:301. 'grep ' k8s.io/kubernetes'' exited with status 0 1
Call stack:
  1: ./hack/update-vendor.sh:301 main(...)
Exiting with status 1

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

NONE

Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:

NONE

@k8s-ci-robot k8s-ci-robot added release-note-none Denotes a PR that doesn't merit a release note. kind/bug Categorizes issue or PR as related to a bug. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. needs-priority Indicates a PR lacks a `priority/foo` label and requires one. labels Mar 27, 2020
@SataQiu
Copy link
Member Author

SataQiu commented Mar 27, 2020

/assign @liggitt

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 27, 2020
@SataQiu
Copy link
Member Author

SataQiu commented Mar 27, 2020

/priority important-soon
/sig testing

@k8s-ci-robot k8s-ci-robot added priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. sig/testing Categorizes an issue or PR as relevant to SIG Testing. and removed needs-priority Indicates a PR lacks a `priority/foo` label and requires one. needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. labels Mar 27, 2020
@liggitt
Copy link
Member

liggitt commented Mar 27, 2020

I'm not seeing failures in https://testgrid.k8s.io/presubmits-kubernetes-blocking#pull-kubernetes-dependencies... can you describe where you're seeing problems with this?

@SataQiu
Copy link
Member Author

SataQiu commented Mar 28, 2020

@liggitt I wonder why there is no error in https://testgrid.k8s.io/presubmits-kubernetes-blocking#pull-kubernetes-dependencies.
I ran into this problem on CentOS 7 and MacOS Catalina, and the full log is :

[root@CentOS kubernetes]# ./hack/update-vendor.sh 
+++ [0328 00:14:27] logfile at /tmp/update-vendor.pdIh/update-vendor.log
+++ [0328 00:14:27] go.mod: update staging references
go: finding bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690
go: finding cloud.google.com/go v0.38.0
go: finding github.com/Azure/azure-sdk-for-go v40.2.0+incompatible
go: finding github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78
go: finding github.com/Azure/go-autorest/autorest v0.9.6
go: finding github.com/Azure/go-autorest/autorest/adal v0.8.2
go: finding github.com/Azure/go-autorest/autorest/date v0.2.0
go: finding github.com/Azure/go-autorest/autorest/mocks v0.3.0
go: finding github.com/Azure/go-autorest/autorest/to v0.2.0
go: finding github.com/Azure/go-autorest/autorest/validation v0.1.0
go: finding github.com/Azure/go-autorest/logger v0.1.0
go: finding github.com/Azure/go-autorest/tracing v0.5.0
go: finding github.com/BurntSushi/toml v0.3.1
go: finding github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802
go: finding github.com/GoogleCloudPlatform/k8s-cloud-provider v0.0.0-20190822182118-27a4ced34534
go: finding github.com/JeffAshton/win_pdh v0.0.0-20161109143554-76bb4ee9f0ab
go: finding github.com/MakeNowJust/heredoc v0.0.0-20170808103936-bb23615498cd
go: finding github.com/Microsoft/go-winio v0.4.15-0.20190919025122-fc70bd9a86b5
go: finding github.com/Microsoft/hcsshim v0.0.0-20190417211021-672e52e9209d
go: finding github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46
go: finding github.com/OpenPeeDeeP/depguard v1.0.1
go: finding github.com/PuerkitoBio/purell v1.1.1
go: finding github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578
go: finding github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6
go: finding github.com/agnivade/levenshtein v1.0.1
go: finding github.com/ajstarks/svgo v0.0.0-20180226025133-644b8db467af
go: finding github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc
go: finding github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf
go: finding github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883
go: finding github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239
go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e
go: finding github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6
go: finding github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a
go: finding github.com/auth0/go-jwt-middleware v0.0.0-20170425171159-5493cabe49f7
go: finding github.com/aws/aws-sdk-go v1.28.2
go: finding github.com/bazelbuild/bazel-gazelle v0.19.1-0.20191105222053-70208cbdc798
go: finding github.com/bazelbuild/buildtools v0.0.0-20190917191645-69366ca98f89
go: finding github.com/bazelbuild/rules_go v0.0.0-20190719190356-6dae44dc5cab
go: finding github.com/beorn7/perks v1.0.0
go: finding github.com/bgentry/speakeasy v0.1.0
go: finding github.com/bifurcation/mint v0.0.0-20180715133206-93c51c6ce115
go: finding github.com/blang/semver v3.5.0+incompatible
go: finding github.com/boltdb/bolt v1.3.1
go: finding github.com/bradfitz/go-smtpd v0.0.0-20170404230938-deb6d6237625
go: finding github.com/caddyserver/caddy v1.0.3
go: finding github.com/cenkalti/backoff v2.1.1+incompatible
go: finding github.com/census-instrumentation/opencensus-proto v0.2.1
go: finding github.com/cespare/prettybench v0.0.0-20150116022406-03b8cfe5406c
go: finding github.com/chai2010/gettext-go v0.0.0-20160711120539-c6fed771bfd5
go: finding github.com/checkpoint-restore/go-criu v0.0.0-20190109184317-bdb7599cd87b
go: finding github.com/cheekybits/genny v0.0.0-20170328200008-9127e812e1e9
go: finding github.com/cilium/ebpf v0.0.0-20191113100448-d9fb101ca1fb
go: finding github.com/client9/misspell v0.3.4
go: finding github.com/clusterhq/flocker-go v0.0.0-20160920122132-2b8b7259d313
go: finding github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa
go: finding github.com/codegangsta/negroni v1.0.0
go: finding github.com/container-storage-interface/spec v1.2.0
go: finding github.com/containerd/console v1.0.0
go: finding github.com/containerd/containerd v1.3.3
go: finding github.com/containerd/ttrpc v1.0.0
go: finding github.com/containerd/typeurl v1.0.0
go: finding github.com/containernetworking/cni v0.7.1
go: finding github.com/coredns/corefile-migration v1.0.6
go: finding github.com/coreos/etcd v3.3.10+incompatible
go: finding github.com/coreos/go-etcd v2.0.0+incompatible
go: finding github.com/coreos/go-oidc v2.1.0+incompatible
go: finding github.com/coreos/go-semver v0.3.0
go: finding github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e
go: finding github.com/coreos/pkg v0.0.0-20180108230652-97fdf19511ea
go: finding github.com/cpuguy83/go-md2man v1.0.10
go: finding github.com/creack/pty v1.1.7
go: finding github.com/cyphar/filepath-securejoin v0.2.2
go: finding github.com/davecgh/go-spew v1.1.1
go: finding github.com/daviddengcn/go-colortext v0.0.0-20160507010035-511bcaf42ccd
go: finding github.com/dgrijalva/jwt-go v3.2.0+incompatible
go: finding github.com/dnaeon/go-vcr v1.0.1
go: finding github.com/docker/distribution v2.7.1+incompatible
go: finding github.com/docker/docker v0.7.3-0.20190327010347-be7ac8be2ae0
go: finding github.com/docker/go-connections v0.3.0
go: finding github.com/docker/go-units v0.4.0
go: finding github.com/docker/libnetwork v0.8.0-dev.2.0.20190925143933-c8a5fca4a652
go: finding github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96
go: finding github.com/dustin/go-humanize v1.0.0
go: finding github.com/elazarl/goproxy v0.0.0-20180725130230-947c36da3153
go: finding github.com/emicklei/go-restful v2.9.5+incompatible
go: finding github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473
go: finding github.com/envoyproxy/protoc-gen-validate v0.1.0
go: finding github.com/euank/go-kmsg-parser v2.0.0+incompatible
go: finding github.com/evanphx/json-patch v4.2.0+incompatible
go: finding github.com/exponent-io/jsonpath v0.0.0-20151013193312-d6023ce2651d
go: finding github.com/fatih/camelcase v1.0.0
go: finding github.com/fatih/color v1.7.0
go: finding github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568
go: finding github.com/fogleman/gg v1.2.1-0.20190220221249-0403632d5b90
go: finding github.com/fsnotify/fsnotify v1.4.7
go: finding github.com/ghodss/yaml v1.0.0
go: finding github.com/gliderlabs/ssh v0.1.1
go: finding github.com/go-acme/lego v2.5.0+incompatible
go: finding github.com/go-bindata/go-bindata v3.1.1+incompatible
go: finding github.com/go-critic/go-critic v0.3.5-0.20190526074819-1df300866540
go: finding github.com/go-ini/ini v1.9.0
go: finding github.com/go-kit/kit v0.8.0
go: finding github.com/go-lintpack/lintpack v0.5.2
go: finding github.com/go-logfmt/logfmt v0.3.0
go: finding github.com/go-logr/logr v0.1.0
go: finding github.com/go-ole/go-ole v1.2.1
go: finding github.com/go-openapi/analysis v0.19.5
go: finding github.com/go-openapi/errors v0.19.2
go: finding github.com/go-openapi/jsonpointer v0.19.3
go: finding github.com/go-openapi/jsonreference v0.19.3
go: finding github.com/go-openapi/loads v0.19.4
go: finding github.com/go-openapi/runtime v0.19.4
go: finding github.com/go-openapi/spec v0.19.3
go: finding github.com/go-openapi/strfmt v0.19.3
go: finding github.com/go-openapi/swag v0.19.5
go: finding github.com/go-openapi/validate v0.19.5
go: finding github.com/go-ozzo/ozzo-validation v3.5.0+incompatible
go: finding github.com/go-stack/stack v1.8.0
go: finding github.com/go-toolsmith/astcast v1.0.0
go: finding github.com/go-toolsmith/astcopy v1.0.0
go: finding github.com/go-toolsmith/astequal v1.0.0
go: finding github.com/go-toolsmith/astfmt v1.0.0
go: finding github.com/go-toolsmith/astinfo v0.0.0-20180906194353-9809ff7efb21
go: finding github.com/go-toolsmith/astp v1.0.0
go: finding github.com/go-toolsmith/pkgload v1.0.0
go: finding github.com/go-toolsmith/strparse v1.0.0
go: finding github.com/go-toolsmith/typep v1.0.0
go: finding github.com/gobwas/glob v0.2.3
go: finding github.com/godbus/dbus v0.0.0-20190422162347-ade71ed3457e
go: finding github.com/gogo/protobuf v1.3.1
go: finding github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0
go: finding github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
go: finding github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903
go: finding github.com/golang/mock v1.3.1
go: finding github.com/golang/protobuf v1.3.2
go: finding github.com/golangci/check v0.0.0-20180506172741-cfe4005ccda2
go: finding github.com/golangci/dupl v0.0.0-20180902072040-3e9179ac440a
go: finding github.com/golangci/errcheck v0.0.0-20181223084120-ef45e06d44b6
go: finding github.com/golangci/go-misc v0.0.0-20180628070357-927a3d87b613
go: finding github.com/golangci/go-tools v0.0.0-20190318055746-e32c54105b7c
go: finding github.com/golangci/goconst v0.0.0-20180610141641-041c5f2b40f3
go: finding github.com/golangci/gocyclo v0.0.0-20180528134321-2becd97e67ee
go: finding github.com/golangci/gofmt v0.0.0-20181222123516-0b8337e80d98
go: finding github.com/golangci/golangci-lint v1.18.0
go: finding github.com/golangci/gosec v0.0.0-20190211064107-66fb7fc33547
go: finding github.com/golangci/ineffassign v0.0.0-20190609212857-42439a7714cc
go: finding github.com/golangci/lint-1 v0.0.0-20190420132249-ee948d087217
go: finding github.com/golangci/maligned v0.0.0-20180506175553-b1d89398deca
go: finding github.com/golangci/misspell v0.0.0-20180809174111-950f5d19e770
go: finding github.com/golangci/prealloc v0.0.0-20180630174525-215b22d4de21
go: finding github.com/golangci/revgrep v0.0.0-20180526074752-d9c87f5ffaf0
go: finding github.com/golangci/unconvert v0.0.0-20180507085042-28b1c447d1f4
go: finding github.com/golangplus/bytes v0.0.0-20160111154220-45c989fe5450
go: finding github.com/golangplus/fmt v0.0.0-20150411045040-2a5d6d7d2995
go: finding github.com/golangplus/testing v0.0.0-20180327235837-af21d9c3145e
go: finding github.com/google/btree v1.0.0
go: finding github.com/google/cadvisor v0.36.1-0.20200323171535-8af10c683a96
go: finding github.com/google/go-cmp v0.4.0
go: finding github.com/google/go-github v17.0.0+incompatible
go: finding github.com/google/go-querystring v1.0.0
go: finding github.com/google/gofuzz v1.1.0
go: finding github.com/google/martian v2.1.0+incompatible
go: finding github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57
go: finding github.com/google/renameio v0.1.0
go: finding github.com/google/uuid v1.1.1
go: finding github.com/googleapis/gax-go/v2 v2.0.4
go: finding github.com/googleapis/gnostic v0.1.0
go: finding github.com/gophercloud/gophercloud v0.1.0
go: finding github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1
go: finding github.com/gorilla/context v1.1.1
go: finding github.com/gorilla/mux v1.7.3
go: finding github.com/gorilla/websocket v1.4.0
go: finding github.com/gostaticanalysis/analysisutil v0.0.3
go: finding github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7
go: finding github.com/grpc-ecosystem/go-grpc-middleware v1.0.1-0.20190118093823-f849b5445de4
go: finding github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0
go: finding github.com/grpc-ecosystem/grpc-gateway v1.9.5
go: finding github.com/hashicorp/go-syslog v1.0.0
go: finding github.com/hashicorp/golang-lru v0.5.1
go: finding github.com/hashicorp/hcl v1.0.0
go: finding github.com/heketi/heketi v9.0.1-0.20190917153846-c2e2a4ab7ab9+incompatible
go: finding github.com/heketi/tests v0.0.0-20151005000721-f3775cbcefd6
go: finding github.com/hpcloud/tail v1.0.0
go: finding github.com/imdario/mergo v0.3.5
go: finding github.com/inconshreveable/mousetrap v1.0.0
go: finding github.com/jellevandenhooff/dkim v0.0.0-20150330215556-f50fe3d243e1
go: finding github.com/jimstudt/http-authentication v0.0.0-20140401203705-3eca13d6893a
go: finding github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af
go: finding github.com/jonboulle/clockwork v0.1.0
go: finding github.com/json-iterator/go v1.1.8
go: finding github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024
go: finding github.com/jtolds/gls v4.20.0+incompatible
go: finding github.com/julienschmidt/httprouter v1.2.0
go: finding github.com/jung-kurt/gofpdf v1.0.3-0.20190309125859-24315acbbda5
go: finding github.com/karrick/godirwalk v1.7.5
go: finding github.com/kisielk/errcheck v1.2.0
go: finding github.com/kisielk/gotool v1.0.0
go: finding github.com/klauspost/compress v1.4.1
go: finding github.com/klauspost/cpuid v1.2.0
go: finding github.com/konsorten/go-windows-terminal-sequences v1.0.2
go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515
go: finding github.com/kr/pretty v0.2.0
go: finding github.com/kr/pty v1.1.5
go: finding github.com/kr/text v0.1.0
go: finding github.com/kylelemons/godebug v0.0.0-20170820004349-d65d576e9348
go: finding github.com/libopenstorage/openstorage v1.0.0
go: finding github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de
go: finding github.com/lithammer/dedent v1.1.0
go: finding github.com/logrusorgru/aurora v0.0.0-20181002194514-a7b3b318ed4e
go: finding github.com/lpabon/godbc v0.1.1
go: finding github.com/lucas-clemente/aes12 v0.0.0-20171027163421-cd47fb39b79f
go: finding github.com/lucas-clemente/quic-clients v0.1.0
go: finding github.com/lucas-clemente/quic-go v0.10.2
go: finding github.com/lucas-clemente/quic-go-certificates v0.0.0-20160823095156-d2f86524cced
go: finding github.com/magiconair/properties v1.8.1
go: finding github.com/mailru/easyjson v0.7.0
go: finding github.com/marten-seemann/qtls v0.2.3
go: finding github.com/mattn/go-colorable v0.0.9
go: finding github.com/mattn/go-isatty v0.0.9
go: finding github.com/mattn/go-runewidth v0.0.2
go: finding github.com/mattn/goveralls v0.0.2
go: finding github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369
go: finding github.com/mholt/certmagic v0.6.2-0.20190624175158-6a42ef9fe8c2
go: finding github.com/miekg/dns v1.1.4
go: finding github.com/mindprince/gonvml v0.0.0-20190828220739-9ebdce4bb989
go: finding github.com/mistifyio/go-zfs v2.1.2-0.20190413222219-f784269be439+incompatible
go: finding github.com/mitchellh/go-homedir v1.1.0
go: finding github.com/mitchellh/go-ps v0.0.0-20170309133038-4fdf99ab2936
go: finding github.com/mitchellh/go-wordwrap v1.0.0
go: finding github.com/mitchellh/mapstructure v1.1.2
go: finding github.com/moby/term v0.0.0-20200312100748-672ec06f55cd
go: finding github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: finding github.com/modern-go/reflect2 v1.0.1
go: finding github.com/mohae/deepcopy v0.0.0-20170603005431-491d3605edfb
go: finding github.com/morikuni/aec v1.0.0
go: finding github.com/mozilla/tls-observatory v0.0.0-20180409132520-8791a200eb40
go: finding github.com/mrunalp/fileutils v0.0.0-20171103030105-7d4729fb3618
go: finding github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822
go: finding github.com/mvdan/xurls v1.1.0
go: finding github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223
go: finding github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f
go: finding github.com/naoina/go-stringutil v0.1.0
go: finding github.com/naoina/toml v0.1.1
go: finding github.com/nbutton23/zxcvbn-go v0.0.0-20171102151520-eafdab6b0663
go: finding github.com/olekukonko/tablewriter v0.0.0-20170122224234-a0225b3f23b5
go: finding github.com/onsi/ginkgo v1.11.0
go: finding github.com/onsi/gomega v1.7.0
go: finding github.com/opencontainers/go-digest v1.0.0-rc1
go: finding github.com/opencontainers/image-spec v1.0.1
go: finding github.com/opencontainers/runc v1.0.0-rc10
go: finding github.com/opencontainers/runtime-spec v1.0.1
go: finding github.com/opencontainers/selinux v1.3.3
go: finding github.com/pelletier/go-toml v1.2.0
go: finding github.com/peterbourgon/diskv v2.0.1+incompatible
go: finding github.com/pkg/errors v0.9.1
go: finding github.com/pmezard/go-difflib v1.0.0
go: finding github.com/pquerna/cachecontrol v0.0.0-20171018203845-0dec1b30a021
go: finding github.com/prometheus/client_golang v1.0.0
go: finding github.com/prometheus/client_model v0.2.0
go: finding github.com/prometheus/common v0.4.1
go: finding github.com/prometheus/procfs v0.0.5
go: finding github.com/quasilyte/go-consistent v0.0.0-20190521200055-c6f3937de18c
go: finding github.com/quobyte/api v0.1.2
go: finding github.com/remyoudompheng/bigfft v0.0.0-20170806203942-52369c62f446
go: finding github.com/robfig/cron v1.1.0
go: finding github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af
go: finding github.com/rogpeppe/go-internal v1.3.0
go: finding github.com/rubiojr/go-vhd v0.0.0-20160810183302-0bfd3b39853c
go: finding github.com/russross/blackfriday v1.5.2
go: finding github.com/ryanuber/go-glob v0.0.0-20170128012129-256dc444b735
go: finding github.com/satori/go.uuid v1.2.0
go: finding github.com/seccomp/libseccomp-golang v0.9.1
go: finding github.com/sergi/go-diff v1.0.0
go: finding github.com/shirou/gopsutil v0.0.0-20180427012116-c95755e4bcd7
go: finding github.com/shirou/w32 v0.0.0-20160930032740-bb4de0191aa4
go: finding github.com/shurcooL/go v0.0.0-20180423040247-9e1955d9fb6e
go: finding github.com/shurcooL/go-goon v0.0.0-20170922171312-37c2f522c041
go: finding github.com/sirupsen/logrus v1.4.2
go: finding github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d
go: finding github.com/smartystreets/goconvey v1.6.4
go: finding github.com/soheilhy/cmux v0.1.4
go: finding github.com/sourcegraph/go-diff v0.5.1
go: finding github.com/spf13/afero v1.2.2
go: finding github.com/spf13/cast v1.3.0
go: finding github.com/spf13/cobra v0.0.5
go: finding github.com/spf13/jwalterweatherman v1.1.0
go: finding github.com/spf13/pflag v1.0.5
go: finding github.com/spf13/viper v1.3.2
go: finding github.com/storageos/go-api v0.0.0-20180912212459-343b3eff91fc
go: finding github.com/stretchr/objx v0.2.0
go: finding github.com/stretchr/testify v1.4.0
go: finding github.com/syndtr/gocapability v0.0.0-20180916011248-d98352740cb2
go: finding github.com/tarm/serial v0.0.0-20180830185346-98f6abe2eb07
go: finding github.com/thecodeteam/goscaleio v0.1.0
go: finding github.com/tidwall/pretty v1.0.0
go: finding github.com/timakin/bodyclose v0.0.0-20190721030226-87058b9bfcec
go: finding github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8
go: finding github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8
go: finding github.com/ultraware/funlen v0.0.2
go: finding github.com/urfave/cli v1.20.0
go: finding github.com/urfave/negroni v1.0.0
go: finding github.com/valyala/bytebufferpool v1.0.0
go: finding github.com/valyala/fasthttp v1.2.0
go: finding github.com/valyala/quicktemplate v1.1.1
go: finding github.com/valyala/tcplisten v0.0.0-20161114210144-ceec8f93295a
go: finding github.com/vektah/gqlparser v1.1.2
go: finding github.com/vishvananda/netlink v1.0.0
go: finding github.com/vishvananda/netns v0.0.0-20191106174202-0a2b9b5464df
go: finding github.com/vmware/govmomi v0.20.3
go: finding github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2
go: finding github.com/xlab/handysort v0.0.0-20150421192137-fb3537ed64a1
go: finding github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77
go: finding go.etcd.io/bbolt v1.3.3
go: finding go.etcd.io/etcd v0.5.0-alpha.5.0.20200224211402-c65a9e2dd1fd
go: finding go.mongodb.org/mongo-driver v1.1.2
go: finding go.opencensus.io v0.21.0
go: finding go.uber.org/atomic v1.3.2
go: finding go.uber.org/multierr v1.1.0
go: finding go.uber.org/zap v1.10.0
go: finding go4.org v0.0.0-20180809161055-417644f6feb5
go: finding golang.org/x/build v0.0.0-20190927031335-2835ba2e683f
go: finding golang.org/x/crypto v0.0.0-20200220183623-bac4c82f6975
go: finding golang.org/x/exp v0.0.0-20190312203227-4b39c73a6495
go: finding golang.org/x/image v0.0.0-20190227222117-0694c2d4d067
go: finding golang.org/x/lint v0.0.0-20190409202823-959b441ac422
go: finding golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6
go: finding golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e
go: finding golang.org/x/net v0.0.0-20200202094626-16171245cfb2
go: finding golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45
go: finding golang.org/x/perf v0.0.0-20180704124530-6e6d33e29852
go: finding golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e
go: finding golang.org/x/sys v0.0.0-20190813064441-fde4db37ae7a
go: finding golang.org/x/text v0.3.2
go: finding golang.org/x/time v0.0.0-20191024005414-555d28b269f0
go: finding golang.org/x/tools v0.0.0-20190821162956-65e3620a7ae7
go: finding golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543
go: finding gonum.org/v1/gonum v0.6.2
go: finding gonum.org/v1/netlib v0.0.0-20190331212654-76723241ea4e
go: finding gonum.org/v1/plot v0.0.0-20190515093506-e2840ee46a6b
go: finding google.golang.org/api v0.6.1-0.20190607001116-5213b8090861
go: finding google.golang.org/appengine v1.5.0
go: finding google.golang.org/genproto v0.0.0-20191230161307-f3c370f40bfb
go: finding google.golang.org/grpc v1.26.0
go: finding gopkg.in/airbrake/gobrake.v2 v2.0.9
go: finding gopkg.in/alecthomas/kingpin.v2 v2.2.6
go: finding gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15
go: finding gopkg.in/cheggaaa/pb.v1 v1.0.25
go: finding gopkg.in/errgo.v2 v2.1.0
go: finding gopkg.in/fsnotify.v1 v1.4.7
go: finding gopkg.in/gcfg.v1 v1.2.0
go: finding gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2
go: finding gopkg.in/inf.v0 v0.9.1
go: finding gopkg.in/mcuadros/go-syslog.v2 v2.2.1
go: finding gopkg.in/natefinch/lumberjack.v2 v2.0.0
go: finding gopkg.in/resty.v1 v1.12.0
go: finding gopkg.in/square/go-jose.v2 v2.2.2
go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7
go: finding gopkg.in/warnings.v0 v0.1.1
go: finding gopkg.in/yaml.v2 v2.2.8
go: finding gotest.tools v2.2.0+incompatible
go: finding gotest.tools/gotestsum v0.3.5
go: finding gotest.tools/v3 v3.0.2
go: finding grpc.go4.org v0.0.0-20170609214715-11d0a25b4919
go: finding honnef.co/go/tools v0.0.1-2019.2.2
go: finding k8s.io/gengo v0.0.0-20200114144118-36b2048a9120
go: finding k8s.io/heapster v1.2.0-beta.1
go: finding k8s.io/klog v1.0.0
go: finding k8s.io/kube-openapi v0.0.0-20200121204235-bf4fb3bd569c
go: finding k8s.io/repo-infra v0.0.1-alpha.1
go: finding k8s.io/system-validators v1.0.4
go: finding k8s.io/utils v0.0.0-20200324210504-a9aa75ae1b89
go: finding modernc.org/cc v1.0.0
go: finding modernc.org/golex v1.0.0
go: finding modernc.org/mathutil v1.0.0
go: finding modernc.org/strutil v1.0.0
go: finding modernc.org/xc v1.0.0
go: finding mvdan.cc/interfacer v0.0.0-20180901003855-c20040233aed
go: finding mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b
go: finding mvdan.cc/unparam v0.0.0-20190209190245-fbb59629db34
go: finding rsc.io/pdf v0.1.1
go: finding sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.7
go: finding sigs.k8s.io/kustomize v2.0.3+incompatible
go: finding sigs.k8s.io/structured-merge-diff/v3 v3.0.0
go: finding sigs.k8s.io/yaml v1.2.0
go: finding sourcegraph.com/sqs/pbtypes v0.0.0-20180604144634-d3ebe8f20ae4
go: finding vbom.ml/util v0.0.0-20160121211510-db5cfe13f5cc
+++ [0328 00:15:04] go.mod: propagate to staging modules
+++ [0328 00:15:05] go.mod: sorting staging modules
+++ [0328 00:15:34] go.mod: tidying
go: finding github.com/PuerkitoBio/purell v1.0.0
go: finding github.com/PuerkitoBio/urlesc v0.0.0-20160726150825-5bd2802263f2
go: finding github.com/emicklei/go-restful v0.0.0-20170410110728-ff4f55a20633
go: finding github.com/ghodss/yaml v0.0.0-20150909031657-73d445a93680
go: finding github.com/go-openapi/jsonpointer v0.0.0-20160704185906-46af16f9f7b1
go: finding github.com/go-openapi/jsonreference v0.0.0-20160704190145-13c6e3589ad9
go: finding github.com/go-openapi/spec v0.0.0-20160808142527-6aced65f8501
go: finding github.com/go-openapi/swag v0.0.0-20160704191624-1d0bd113de87
go: finding github.com/kr/pty v1.1.1
go: finding github.com/mailru/easyjson v0.0.0-20160728113105-d5b7844b561a
go: finding github.com/munnerz/goautoneg v0.0.0-20120707110453-a547fc61f48d
go: finding github.com/stretchr/objx v0.1.0
go: finding golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2
go: finding golang.org/x/sync v0.0.0-20190423024810-112230192c58
go: finding k8s.io/gengo v0.0.0-20190128074634-0689ccc1d7d6
go: finding github.com/golang/protobuf v0.0.0-20161109072736-4bd1920723d7
go: finding github.com/google/gofuzz v1.0.0
go: finding github.com/googleapis/gnostic v0.0.0-20170729233727-0c5108395e2d
go: finding github.com/onsi/ginkgo v0.0.0-20170829012221-11459a886d9c
go: finding github.com/onsi/gomega v0.0.0-20170829124025-dcabb60a477c
go: finding golang.org/x/crypto v0.0.0-20190611184440-5c40567a22f8
go: finding sigs.k8s.io/structured-merge-diff/v3 v3.0.0-20200116222232-67a7b8c61874
go: finding cloud.google.com/go v0.26.0
go: finding github.com/golang/mock v1.1.1
go: finding github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4
go: finding golang.org/x/exp v0.0.0-20190121172915-509febef88a4
go: finding golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3
go: finding golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be
go: finding google.golang.org/appengine v1.1.0
go: finding honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc
go: finding github.com/golang/mock v1.2.0
go: finding golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f
go: finding google.golang.org/api v0.4.0
go: finding google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7
go: finding google.golang.org/grpc v1.19.0
go: finding honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a
go: finding github.com/stretchr/objx v0.1.1
go: finding github.com/coreos/go-semver v0.2.0
go: finding github.com/magiconair/properties v1.8.0
go: finding github.com/spf13/jwalterweatherman v1.0.0
go: finding github.com/mattn/go-isatty v0.0.4
go: finding github.com/spf13/cobra v0.0.3
go: finding github.com/globalsign/mgo v0.0.0-20181015135952-eeefdecb41b8
go: finding github.com/pborman/uuid v1.2.0
!!! Error in ./hack/update-vendor.sh:301
  Error in ./hack/update-vendor.sh:301. 'grep ' k8s.io/kubernetes'' exited with status 0 1
Call stack:
  1: ./hack/update-vendor.sh:301 main(...)
Exiting with status 1
+++ [0328 00:16:03] go.mod: adding generated comments
+++ [0328 00:16:03] vendor: running 'go mod vendor'
+++ [0328 00:16:05] vendor: updating BUILD files
+++ [0328 00:16:15] vendor: updating LICENSES file
+++ [0328 00:16:19] vendor: creating OWNERS file

The error does not interrupt program execution (just some log output), but it is not needed here.

@SataQiu
Copy link
Member Author

SataQiu commented Mar 30, 2020

Hi @BenTheElder , I think I need your help.
Could you try to execute ./hack/update-vendor.sh on your machine?
Not sure if this is really a bug...

@SataQiu
Copy link
Member Author

SataQiu commented Mar 30, 2020

/cc @BenTheElder

@liggitt
Copy link
Member

liggitt commented Mar 30, 2020

this matches what is done on line 272

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 30, 2020
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: liggitt, SataQiu

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit b712fcb into kubernetes:master Mar 30, 2020
@k8s-ci-robot k8s-ci-robot added this to the v1.19 milestone Mar 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/bug Categorizes issue or PR as related to a bug. lgtm "Looks good to me", indicates that a PR is ready to be merged. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. release-note-none Denotes a PR that doesn't merit a release note. sig/testing Categorizes an issue or PR as relevant to SIG Testing. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants