Kubernetes Prow Robot
789dc88fd5
Merge pull request #114567 from aojea/e2e_dns_context
...
e2e dns don't fail if configmap does not exist
2022-12-18 16:05:53 -08:00
Kubernetes Prow Robot
948d5b8d52
Merge pull request #114565 from aojea/fix_e2e_after_contexts
...
cleanup e2e kubectl cli tests
2022-12-18 16:05:42 -08:00
Kubernetes Prow Robot
76522eb1a3
Merge pull request #114559 from liggitt/gofmt
...
Fix indentation/spacing in comments to render correctly in godoc
2022-12-18 13:47:45 -08:00
Antonio Ojea
5d8f745e86
e2e dns don't fail if configmap does not exist
...
don't fail on cleanup if the configmap for kube-dns does not exist
Change-Id: Ia56d9f590baba374e0b687aeda71d547899b1713
2022-12-18 19:23:36 +00:00
Antonio Ojea
e05e96bfdd
e2e kubect run tests
...
These tests create their own pods, however, they were inside a block
that was always creating a pod, that was not used later on the tests,
but can influence on the conditions asserted to succeed the test.
Change-Id: I3bb9a0f123fb0766d75934ef8e197f92e3f5f3b8
2022-12-18 16:22:15 +00:00
Kubernetes Prow Robot
7cf7cc2dfb
Merge pull request #114564 from pohly/e2e-ginkgo-timeout-fixes
...
e2e ginkgo timeout fixes
2022-12-18 08:11:42 -08:00
Patrick Ohly
2296fc4b1f
e2e apps: fix "context canceled" error
...
Using the ctx of the ginkgo.BeforeEach in callbacks that are invoked after the
BeforeEach is done causes "context canceled" errors. Previously, this code used
context.TODO(). The best solution is to create a new context and cancel it
during test cleanup, then that context can be used for the API calls and as
stop channel.
2022-12-18 16:10:15 +01:00
Patrick Ohly
02b6b6520a
e2e kubectl: increase wait timeout
...
After adding error checking in df5d84ae81
, the "[sig-cli] Kubectl client
Simple pod should return command exit codes [Slow] running a failing command
without --restart=Never, but with --rm" test was found to time out.
Doubling the timeout might help. Alternatively, the entire
WaitForPodToDisappear could get removed, which would make this scenario similar
to the others which also don't wait.
2022-12-18 16:10:15 +01:00
Antonio Ojea
c1580e960d
e2e kubectl test cleanup
...
the test uses a BeforeEach block to create a pod with the name defined
but the simplePodName variables, however, some test use the value of
the variable directly.
To avoid future problems use the variable name instead of the value on
all tests.
Change-Id: I21a01019d91fe5ae7e35566184420001978ce355
2022-12-18 13:57:41 +00:00
Jordan Liggitt
78cb3862f1
Fix indentation/spacing in comments to render correctly in godoc
2022-12-17 23:27:38 -05:00
Kubernetes Prow Robot
2ca74f2885
Merge pull request #114545 from TommyStarK/integration-tests-code-coverage-hint
...
Makefile: Add example of how to run integration tests and get code coverage report
2022-12-17 12:57:43 -08:00
Kubernetes Prow Robot
3459646741
Merge pull request #114553 from pacoxu/github.com/Microsoft/hcsshim
...
update github.com/Microsoft/hcsshim to v0.8.25
2022-12-17 11:51:42 -08:00
Paco Xu
1cfbc8768b
github.com/Microsoft/hcsshim to v0.8.25
2022-12-17 22:08:54 +08:00
Kubernetes Prow Robot
fdafd50085
Merge pull request #113318 from pacoxu/learner-mode
...
kubeadm: enable etcd's learner mode when joining etcd members
2022-12-16 21:55:41 -08:00
Paco Xu
37f5da904b
kubeadm: remove nested loops for member promotion
2022-12-17 12:40:15 +08:00
Kubernetes Prow Robot
7f7bf68c7c
Merge pull request #111178 from lucming/cleanup
...
clean up code
2022-12-16 19:17:52 -08:00
Kubernetes Prow Robot
112a7a590c
Merge pull request #110723 from yangjunmyfm192085/fixklog
...
Fix incorrect log information and log structure
2022-12-16 19:17:41 -08:00
Kubernetes Prow Robot
038d983769
Merge pull request #114505 from aojea/service_warnings
...
Services API: warnings on IP addresses
2022-12-16 18:07:52 -08:00
Kubernetes Prow Robot
2f2021e208
Merge pull request #114412 from thockin/api_warn_workloads_name_not_dnslabel
...
Issue API warnings when workload names are not DNS labels
2022-12-16 18:07:41 -08:00
Kubernetes Prow Robot
a93eda9db3
Merge pull request #112923 from pohly/e2e-ginkgo-timeouts
...
e2e: ginkgo timeouts: use context provided by ginkgo
2022-12-16 16:59:52 -08:00
Kubernetes Prow Robot
9edd4d86c8
Merge pull request #114522 from zshihang/master
...
lock LegacyServiceAccountTokenNoAutoGeneration
2022-12-16 14:24:32 -08:00
Kubernetes Prow Robot
1ccf71ec03
Merge pull request #114515 from endocrimes/dani/reviewer
...
sig-node-reviewers: add endocrimes
2022-12-16 14:24:20 -08:00
Kubernetes Prow Robot
f11e9aaf10
Merge pull request #113929 from howardjohn/endpointslice/use-optimized-set
...
endpoints: remove obsolete ServiceSelectorCache
2022-12-16 14:24:09 -08:00
Kubernetes Prow Robot
0f7409a230
Merge pull request #114190 from tkashem/cors-refactor
...
refactor CORS handler
2022-12-16 13:08:09 -08:00
Tim Hockin
8f62b94991
cronjob: API warn when name is not DNS label
2022-12-16 13:08:08 -08:00
Tim Hockin
fec8e721b2
job: API warn when name is not DNS label
2022-12-16 13:07:42 -08:00
Tim Hockin
b65cec86eb
deployment: API warn when name is not DNS label
2022-12-16 13:07:13 -08:00
Tim Hockin
820e2fff0d
rs: API warn when name is not DNS label
2022-12-16 13:06:43 -08:00
Tim Hockin
e27cf75094
rc: API warn when name is not DNS label
2022-12-16 13:06:10 -08:00
Tim Hockin
c555d290c1
pod: API warn when name is not DNS label
2022-12-16 13:05:17 -08:00
Tim Hockin
276c7e860d
Change DNS Label validation to check for dots
...
This will produce a better error message for the more common case of
using a DNS subdomain where a label is needed.
2022-12-16 13:01:02 -08:00
Patrick Ohly
2f6c4f5eab
e2e: use Ginkgo context
...
All code must use the context from Ginkgo when doing API calls or polling for a
change, otherwise the code would not return immediately when the test gets
aborted.
2022-12-16 20:14:04 +01:00
Kubernetes Prow Robot
53906cbe89
Merge pull request #114360 from dengyufeng2206/120802pull
...
Reduce redundant conversions
2022-12-16 11:06:09 -08:00
Kubernetes Prow Robot
d1879644a6
Merge pull request #113463 from wzshiming/clean/ioutil-ipvs
...
Replace the ioutil by the os and io for the pkg/proxy/ipvs
2022-12-16 11:05:58 -08:00
Shihang Zhang
4fd09a06d6
lock LegacyServiceAccountTokenNoAutoGeneration
2022-12-16 10:45:35 -08:00
Patrick Ohly
bf1d1dfd0f
e2e storage: pass around topologyTest pointer
...
Copying the instance makes no sense because the fields are meant to be shared
between test and cleanup code.
2022-12-16 19:42:26 +01:00
TommyStarK
f38ccc1d40
Makefile: Add example of how to run integration tests and get code coverage report.
...
Signed-off-by: TommyStarK <thomasmilox@gmail.com>
2022-12-16 18:00:44 +01:00
Kubernetes Prow Robot
093c5964f7
Merge pull request #114289 from gnufied/add-recovery-expansion-tests
...
Add recovery expansion tests
2022-12-16 06:16:28 -08:00
Kubernetes Prow Robot
94fd106a17
Merge pull request #110453 from claudiubelu/unittests-4
...
unittests: Fixes unit tests for Windows (part 4)
2022-12-16 06:16:16 -08:00
Paco Xu
b3deecfb17
add etcd as learner mode and promote when fg EtcdLearnerMode is enabled
...
- use etcd backoff to wait; still has many warning messages
Signed-off-by: Paco Xu <paco.xu@daocloud.io>
2022-12-16 21:09:59 +08:00
Kubernetes Prow Robot
64b6cec843
Merge pull request #114533 from songxiao-wang87/runwxs-test7
...
don't assert error inside wait.Poll loops
2022-12-16 04:52:36 -08:00
Kubernetes Prow Robot
6577fd2203
Merge pull request #114217 from jingxu97/snapshotfix
...
Fix issues in volumesnapshot test for ephemeral storage
2022-12-16 04:52:17 -08:00
Antonio Ojea
1b804fc87c
Services API: warnings
...
The Services API should warn users about some IP addresses
representations, mainly because some of them are not allowed
by the golang std parsers since go 1.17
Specifically:
- IPv4 addresses with leading zeros, that may cause security risks
- IPv6 addresses in non canonical format, that may cause problems
with controllers hotlooping or cause security issues
Change-Id: Ife50a651d1b22dc4c318e42bd3e5f2e5f88ecbcd
2022-12-16 11:54:05 +00:00
Julianne DeMars
94fd5bd553
Skip resize if fs is readonly ( #114325 )
...
* skip resize if fs is readonly
* run formatter + add log line for early return case
* fix error
2022-12-16 03:26:27 -08:00
Kubernetes Prow Robot
4ee4d815ee
Merge pull request #114097 from songxiao-wang87/runwxs-test4
...
docs: fix typos in CHANGELOG/CHANGELOG-1.25.md
2022-12-16 03:26:16 -08:00
Kubernetes Prow Robot
e6926831c1
Merge pull request #114532 from pacoxu/fix-dry-run-backup
...
kubeadm upgrade: fix dry run of backing up kubelet config file
2022-12-16 02:06:18 -08:00
Paco Xu
0d2952202e
kubeadm upgrade: fix dry run of backing up kubelet config file
...
Signed-off-by: Paco Xu <paco.xu@daocloud.io>
2022-12-16 17:02:28 +08:00
songxiao-wang87
16c813d9b8
Making a run test.
...
Signed-off-by: songxiao-wang87 <wang.xiaosong23@zte.com.cn>
2022-12-16 08:30:45 +00:00
Kubernetes Prow Robot
3f6738b8e6
Merge pull request #114518 from Huang-Wei/bug-all-filters
...
Fix a regression that scheduler always go through all Filter plugins
2022-12-15 15:03:47 -08:00
Kubernetes Prow Robot
a05f93f31d
Merge pull request #114510 from thockin/statefulset_name_dns_label
...
StatefulSet validation needs to allow old names
2022-12-15 15:03:35 -08:00