Commit Graph

10302 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
2fb37e2489 Merge pull request #127670 from Jefftree/port-kcm-feature
Port all remaining features to versioned
2024-09-30 15:54:13 +01:00
Matthieu MOREL
0d2ad0ee43 fix: clean up testifylint configuration in golangci-lint
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-09-29 11:45:21 +02:00
Kubernetes Prow Robot
0c713c7bd6 Merge pull request #127285 from bzsuni/bz/etcd/update/v3.5.16
Update etcd from v3.5.15 to v3.5.16
2024-09-28 15:16:02 +01:00
Kubernetes Prow Robot
ee74baec6e Merge pull request #126764 from liggitt/mergo
reimplement merge to drop mergo dependency
2024-09-28 07:40:02 +01:00
Kubernetes Prow Robot
f49fadb4ed Merge pull request #127472 from skitt/fix-client-go-extensions-broken
Run staging verify scripts from the main make verify
2024-09-28 03:56:08 +01:00
Jordan Liggitt
745ae75a15 Update vendor 2024-09-27 22:43:28 -04:00
Jefftree
d918804a5a reorder retrygeneratename and fix feature gate to lint versioned features 2024-09-27 20:29:16 +00:00
Kubernetes Prow Robot
a8c955ab42 Merge pull request #127606 from thockin/skip_test_target_normalization
Skip Go target normalization in integration tests
2024-09-27 04:42:01 +01:00
Stephen Kitt
3124a13587 hack: configure Go environments where necessary
These scripts rely on the system's default go; this changes that using
kube::golang::setup_env so that the appropriate go is used when the
system's isn't sufficient.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2024-09-26 23:32:33 +02:00
Stephen Kitt
beb51e1759 make verify: run checks in all module hack directories
This ensures that all verification scripts are run throughout the
repository.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2024-09-26 08:46:04 +02:00
Kubernetes Prow Robot
239802e4f7 Merge pull request #127574 from bouaouda-achraf/e2e-test-add-network-subnet-param
feat(test-e2e): support custom network and subnet on remote e2e mode
2024-09-26 03:50:08 +01:00
Tim Hockin
cf280dd6c2 Skip Go target normalization in integration tests 2024-09-25 13:15:48 -07:00
Tim Hockin
061c4f4f70 Stop setting GO111MODULE=off in tests 2024-09-25 10:00:57 -07:00
Kubernetes Prow Robot
8ccc878de0 Merge pull request #127583 from mmorel-35/testifylint/disable/require-error
chore: disable require-error rule from testifylint
2024-09-24 23:08:00 +01:00
Kubernetes Prow Robot
63fc917521 Merge pull request #127480 from thockin/skip_test_target_normalization
Skip test target normalization
2024-09-24 21:08:01 +01:00
Tim Hockin
8912df652b Use Go workspaces + go list to find test targets
Plain old UNIX find requires us to do all sorts of silly filtering.
2024-09-24 09:04:13 -07:00
ACHRAF BOUAOUDA
2a07104757 fix(e2e-node-tests): duplicate flag "--runtime-config" on run_remote.go 2024-09-24 17:26:43 +02:00
Matthieu MOREL
64e9fd50ed chore: disable require-error rule from testifylint
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-09-24 07:17:52 +02:00
Davanum Srinivas
1dc29b74b9 Avoid collecting dmesg when running as daemon
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-09-23 21:32:05 -04:00
Tim Hockin
7d89e9b4c0 Only normalize user-provided test targets 2024-09-23 16:25:29 -07:00
Achraf BOUAOUDA
d900efafcc feat(test-e2e): support custom network and subnet on remote e2e mode 2024-09-24 00:25:41 +02:00
Kubernetes Prow Robot
4c2e239047 Merge pull request #126799 from kiashok/update-cadvisor-hcsshim
Update cadvisor and hcsshim versions
2024-09-23 02:39:58 +01:00
Kirtana Ashok
3fba9930b7 Update cadvisor and hcsshim versions
Signed-off-by: Kirtana Ashok <kiashok@microsoft.com>
2024-09-22 11:50:45 -07:00
Matthieu MOREL
552cebfa7e fix: enable blank-import rule from testifylint
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-09-22 11:36:42 +02:00
Kubernetes Prow Robot
7c156c57f3 Merge pull request #127363 from bouaouda-achraf/gcloud-info-format-error
fix(e2e-node-tests): project and zone in the prerequisites check
2024-09-20 00:25:20 +01:00
Achraf BOUAOUDA
e645e06a7f fix(e2e-node-tests): project and zone in the prerequisites check 2024-09-19 12:23:08 +02:00
Oksana Baranova
2474369227 kubelet: migrate pleg to contextual logging
Signed-off-by: Oksana Baranova <oksana.baranova@intel.com>
2024-09-13 12:13:26 +03:00
Jordan Liggitt
102a9dbab1 Pin godebug default to go1.23 2024-09-11 15:34:37 -04:00
Jordan Liggitt
65ef531390 Update go.mod to go 1.23 2024-09-11 15:34:37 -04:00
bzsuni
5b6ef4302e Update etcd from v3.5.15 to v3.5.16
Signed-off-by: bzsuni <bingzhe.sun@daocloud.io>
2024-09-11 10:51:34 +08:00
Akhil Mohan
b0bf3fba54 rewrite publishing-bot verify script in go
- setup scripts to trigger publishing-bot verify
- add golang verify script and remove python verification code
- pin k8s.io/publishing-bot to v0.5.0

Signed-off-by: Akhil Mohan <akhilerm@gmail.com>
2024-09-06 09:30:51 +05:30
Kubernetes Prow Robot
2049360379 Merge pull request #125534 from pohly/gotestsum
filter `go test` output live with gotestsum
2024-09-05 21:18:49 +01:00
Jordan Liggitt
83f2b390b7 Add guard for dependencies recursively depending on kubernetes or staging modules 2024-09-04 16:58:04 -04:00
cpanato
b0c17b124f Bump images, dependencies and versions to go 1.23.0
Signed-off-by: cpanato <ctadeu@gmail.com>
2024-09-02 10:42:04 -06:00
Jefftree
8dd2c7de47 Remove v2beta1 aggregated discovery from being generated 2024-08-29 18:08:11 +00:00
Sascha Grunert
931b9b3a70 Update cni-plugins to v1.5.1
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2024-08-28 12:58:36 +02:00
Kubernetes Prow Robot
f1a922c8e6 Merge pull request #126787 from Jefftree/update-kube-openapi
Bump k8s.io/kube-openapi and k8s.io/gengo
2024-08-27 23:39:02 +01:00
Jefftree
40f3453ace Update unwanted dependencies 2024-08-27 15:40:54 +00:00
Mykhailo Bobrovskyi
4ec1080bfc Add release notes to the body of the pull request on create cherry-pick. 2024-08-26 20:58:51 +03:00
Kubernetes Prow Robot
5ac315faf4 Merge pull request #126494 from bart0sh/PR153-migrate-DRA-Manager-to-contextual-logging
Migrate pkg/kubelet/cm/dra to contextual logging
2024-08-26 13:14:26 +01:00
Ed Bartosh
e1bc8defac kubelet: Migrate DRA Manager to contextual logging
Co-authored-by: Patrick Ohly <patrick.ohly@intel.com>
2024-08-22 11:12:41 +03:00
Aaron Prindle
780cfa572b feat: add EMULATED_VERSION env var and --emulated-version flag params to k8s binaries flags in hack/local-up-cluster.sh 2024-08-20 21:18:34 +00:00
Kubernetes Prow Robot
d770dd695a Merge pull request #121888 from SD-13/e2e-gomega-be-true-or-false
Enhance boolean assertions when fail
2024-08-20 04:24:42 -07:00
Kubernetes Prow Robot
113b12c6fb Merge pull request #124439 from bells17/csi-translation-lib-structured-and-contextual-logging
Migrate k8s.io/csi-translation-lib/.* to structured logging
2024-08-19 18:13:54 -07:00
Patrick Ohly
a7da865aa8 test: filter "go test" output with gotestsum instead of grep
Filtering the output with grep leads to hard to read log output, e.g. from
pull-kubernetes-unit:

    +++ [0613 15:32:48] Running tests without code coverage and with -race
    {"Time":"2024-06-13T15:33:47.845457374Z","Action":"output","Package":"k8s.io/kubernetes/cluster/gce/cos","Test":"TestCreateMasterAuditPolicy","Output":"        /tmp/configure-helper-test47992121/kube-env: line 1: `}'\n"}
    {"Time":"2024-06-13T15:33:49.053732803Z","Action":"output","Package":"k8s.io/kubernetes/cluster/gce/cos","Output":"ok  \tk8s.io/kubernetes/cluster/gce/cos\t2.906s\n"}

We can do better than that. When feeding the output of the "go test" command(s)
into gotestsum *while it runs*, we can use --format=standard-quiet (= normal go
test output) or --format=standard-verbose (= `go test -v`) when FULL_LOG is
requested to get nicer output.

This works when testing everything at once. This was said to be not possible
when doing coverage profiling. But recent Go no longer has that limitation, so
the xargs trick gets removed. All that we need to do for coverage profiling is
to add some additional parameters and the conversion to HTML.
2024-08-19 16:14:05 +02:00
Kubernetes Prow Robot
0b3b733c84 Merge pull request #126709 from MadhavJivrajani/bump-go-tools
[go1.23] hack/tools: bump go-tools for go1.23.0
2024-08-15 21:01:51 -07:00
Madhav Jivrajani
6b7b36a4ad hack/tools: bump go-tools for go1.23.0
Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
2024-08-15 21:56:10 -05:00
Kubernetes Prow Robot
b860feb2a6 Merge pull request #126540 from skitt/avoid-double-mock-headers
Handle all mock header generation with mockery
2024-08-15 15:39:51 -07:00
Kubernetes Prow Robot
69dbf2eee9 Merge pull request #126665 from liggitt/version-build-id
Restore honoring --version build ID overrides
2024-08-13 22:12:17 -07:00
Kubernetes Prow Robot
cc4ed1d3fa Merge pull request #126234 from fengshunli/protobuf
hack/tools: bump google.golang.org/protobuf to v1.31.0 for v1.34.2
2024-08-13 21:03:10 -07:00