Commit Graph

106211 Commits

Author SHA1 Message Date
ravisantoshgudimetla
65ff81757d Wire contexts to Disruption controllers 2022-02-04 10:32:04 -05:00
Kubernetes Prow Robot
adbda068c1
Merge pull request #106015 from ahrtr/replace_ioutil_with_io_os_test
Replace ioutil with os and io for the test
2022-02-03 04:31:44 -08:00
Kubernetes Prow Robot
a5e70054bd
Merge pull request #107162 from ardaguclu/invalidate-cache-after-delete
Add manually invalidate cache documentation into delete
2022-02-02 23:51:45 -08:00
Kubernetes Prow Robot
1f88942501
Merge pull request #107832 from adisky/fix-ubuntu-containerd-install
[CI Job failure] Fix job containerd-e2e-ubuntu
2022-02-02 20:51:45 -08:00
Kubernetes Prow Robot
baad1caee9
Merge pull request #107900 from smarterclayton/pr-107854
kubelet: Pods that have terminated before starting should not block startup
2022-02-02 15:51:45 -08:00
ahrtr
fe95aa614c io/ioutil has already been deprecated in golang 1.16, so replace all ioutil with io and os 2022-02-03 05:32:12 +08:00
Gunju Kim
3ce5c944a8
kubelet: Clean up a static pod that has been terminated before starting
- Allow a podWorker to start if it is blocked by a pod that has been
  terminated before starting
- When a pod can't start AND has already been terminated, exit cleanly
- Add a unit test that exercises race conditions in pod workers
2022-02-02 16:05:32 -05:00
Kubernetes Prow Robot
2d0fa78f2f
Merge pull request #107915 from fromanirh/e2e-tm-cpum-check-node-allocatable
E2E: {cpu,topology} manager: improve debuggability
2022-02-02 10:40:18 -08:00
Kubernetes Prow Robot
206922ee2b
Merge pull request #107913 from mmiranda96/fix/stats-summary-validation-timeout
[Summary API [NodeConformance]] Increase timeout for initial /stats/summary validation
2022-02-02 10:40:05 -08:00
Kubernetes Prow Robot
cf9b5ab95a
Merge pull request #107876 from jlsong01/fix-concurrent-scheme-usage
Fix concurrent usage issue of the same scheme
2022-02-02 09:20:21 -08:00
Kubernetes Prow Robot
8f80ae88f2
Merge pull request #107532 from marseel/add_bootstrap_to_kubemark
Add option to bootstrap kubeconfig for hollow-node
2022-02-02 06:44:21 -08:00
Francesco Romani
7004a718d9 e2e: node: {cpu,topo}mgr: round up test requirement
A cpu/topology manager e2e test wants to require one exclusive CPU
and a share of CPU time; let's round up the allocatable CPU requirements
(from 1 to 2) to reduce the chances of false negatives.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2022-02-02 15:17:09 +01:00
Francesco Romani
c92d9f7974 e2e: node: {cpu,topo}mgr: don't assume cpu capacity >= 2
Even though CI machines _usually_ have at least two cpus,
let's rather not assume this holds true, and let's actually
check the allocatable CPUs, skipping even the simplest
tests if the assumption is broken, to avoid false negatives.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2022-02-02 15:17:05 +01:00
Francesco Romani
2d1503dae3 e2e: node: {cpu,topo}mgr: make logic on allocatable
The existing cpu/topology manager tests correctly check for the
node resources and skip if the detected resources are not enough
to run the tests, to avoid false negatives.

Unfortunately they do the check against the node capacity, while
the correct approach is to check the allocatable resources.
The existing check is correct only on a narrow set of cases;
otherwise can still lead to false negatives.

This PR fixes that.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2022-02-02 14:10:46 +01:00
Francesco Romani
60585da68f e2e: node: {cpu,top}omgr: report node capacity/allocatable
Make sure to log out the cpu capacity and allocatable for
the node running the tests, to make the troubleshooting
of test failures easier.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2022-02-02 14:10:44 +01:00
jlsong01
d66b3edd65 allocate a unique scheme for each test to fix concurrent usage issue 2022-02-02 15:22:59 +08:00
Kubernetes Prow Robot
d4b49be81a
Merge pull request #105300 from nckturner/ccm-flags
Allow cloud controller manager flags to be set in ./hack/local-up-cluster.sh
2022-02-01 23:02:21 -08:00
Mike Miranda
c6d903eb27 Increase timeout for initial /stats/summary validation 2022-02-02 06:17:44 +00:00
Kubernetes Prow Robot
a4f559bfe1
Merge pull request #107904 from sabbey37/update_azure_auth
Update azure auth plugin deprecation to warning
2022-02-01 20:30:22 -08:00
Kubernetes Prow Robot
f11dbaea2f
Merge pull request #106883 from calvin0327/move-well-know-systemConstant
kubeadm: move well-known system constants to constants.go
2022-02-01 17:28:21 -08:00
Kubernetes Prow Robot
229270700b
Merge pull request #107903 from endocrimes/dani/remove-dkc-tests
e2e_node: Remove Dynamic Kubelet Config tests
2022-02-01 16:26:21 -08:00
sabbey37
c94b4bb2ac Update azure auth plugin deprecation to warning 2022-02-01 15:35:36 -05:00
Danielle Lancashire
c2fa286334 e2e_node: Remove Dynamic Kubelet Config tests
These tests don't currently run in any job, and the feature has been
removed from the kubelet (remaining references exist for API Server
compatibility to allow upgrading API Servers before Kubelets).

Remove them for good test hygiene.
2022-02-01 21:28:14 +01:00
Kubernetes Prow Robot
f95c70080f
Merge pull request #106062 from ahrtr/replace_ioutil_with_io_os_cmd
Replace the deprecated io/ioutil with os and io for cmd
2022-02-01 11:35:50 -08:00
Gunju Kim
7c3dd0eb7b
Add an e2e test for updating a static pod while it restarts 2022-02-01 13:22:56 -05:00
Kubernetes Release Robot
0b5dbbeef1 CHANGELOG: Update directory for v1.24.0-alpha.2 release 2022-02-01 13:29:01 +00:00
Marcel Zięba
27336259ba Add option to bootstrap kubeconfig for hollow-node 2022-02-01 11:56:02 +00:00
Kubernetes Prow Robot
954fa57f0e
Merge pull request #107470 from jlsong01/optimize_cj_status_update
Optimize cronjob controller status updates
2022-02-01 00:14:18 -08:00
ahrtr
972dc46a1f replace deprecated io/ioutil with os and io for cmd 2022-02-01 13:59:41 +08:00
Kubernetes Prow Robot
6dd234d85c
Merge pull request #107386 from ZeusPerez/fix-kubetest-errors-when-executing-local-provider
Fix kubetest errors when executing local provider
2022-01-31 19:56:17 -08:00
Kubernetes Prow Robot
3b7e8da669
Merge pull request #100883 from xychu/add-lessthan-ut
Add tests for LessThanOrEqual
2022-01-31 18:07:52 -08:00
Jyoti Mahapatra
a1b52fb17a
extend sa token if audience is apiserver (#105954)
Signed-off-by: Jyoti Mahapatra <jyotima@amazon.com>
2022-01-31 16:01:52 -08:00
Kubernetes Prow Robot
7c2e612569
Merge pull request #106597 from claudiubelu/remove-windows-docker-tag
tests: Removes [Excluded:WindowsDocker] tag from Windows
2022-01-31 10:42:03 -08:00
Kubernetes Prow Robot
2fb24de42b
Merge pull request #107775 from denkensk/add-postfilter-info-to-event
Add details about preemption in the event for scheduling failed
2022-01-31 09:38:23 -08:00
Alex Wang
52275fc831 add preemption info in scheduling failed event 2022-02-01 00:37:16 +08:00
Kubernetes Prow Robot
0038bcfad4
Merge pull request #107863 from bryfry/master
apiserver: correct references to service-account-signing-key-file flag
2022-01-30 23:04:23 -08:00
Nick Turner
5adc316c13 Allow cloud controller manager flags to be set 2022-01-31 05:00:38 +00:00
Aditi Sharma
a251acdfc7 Source containerd env for repo installation
Signed-off-by: Aditi Sharma <adi.sky17@gmail.com>
2022-01-31 09:29:46 +05:30
Kubernetes Prow Robot
1c03e36f9a
Merge pull request #107869 from justinsb/e2e_feature_must_be_square_bracketed
e2e: Feature tags must be in square brackets
2022-01-30 17:38:23 -08:00
Kubernetes Prow Robot
ce52600a3a
Merge pull request #107847 from thockin/decorator-in-update-loop
apiserver: Call .Decorator inside update func
2022-01-30 12:42:24 -08:00
Tim Hockin
e927ce85b6 service REST: Call Decorator(old) on update path
This is causing a bug when upgrading from older releases to 1.23 because
of Service's maybe-too-clever default-on-read logic.

Service depends on `Decorator()` to be called upon read, to
back-populate old saved objects which do not have `.clusterIPs[]` set.
This works on read, but the cache saves the pre-decorated type (as it is
documented)

In 1.23, this code was refactored and it seems some edge-case handling
was inadvertently removed (I have not confirmed exactly what happened).

Test by aojea
2022-01-30 11:25:17 -08:00
justinsb
a905d7bfaf e2e: Feature tags must be in square brackets
Otherwise the feature regexes that we use don't detect them.

This was relatively hidden because we don't have many e2e tests that
test multizone.
2022-01-30 13:10:04 -05:00
bryfry
038ad9b3a5 correct references to service-account-signing-key-file flag 2022-01-30 04:24:25 +00:00
Kubernetes Prow Robot
2e68fd2857
Merge pull request #107841 from aojea/fix_race_socks5
deflake TestRoundTripSocks5AndNewConnection unit test
2022-01-29 02:48:01 -08:00
Kubernetes Prow Robot
807cee8ad2
Merge pull request #107575 from andyzhangx/azurefile-volumeid-uuid
fix Azurefile volumeid conflict issue in csi migration
2022-01-28 19:04:02 -08:00
Kubernetes Prow Robot
a5d28a638f
Merge pull request #107816 from DuC-cnZj/master
fix flushBackoffQCompleted: remove defer
2022-01-28 10:16:31 -08:00
Antonio Ojea
5a43a45232 deflake TestRoundTripSocks5AndNewConnection unit test
The test was asserting the error from the proxy server, to avoid false
positives it was using a channel to communicate that the test has been
 ended and the error was legit.

However, the channel was executed using a defer statement, and the connection
on the server could be closed accidentally by the connection request,
that was done later and used another defer statement to close it.
Since the connection defer was done later, it was executed before the
channel close.
2022-01-28 18:27:31 +01:00
Kubernetes Prow Robot
f49a15ae50
Merge pull request #107831 from liggitt/key-pod-by-uid
Include pod UID in secret/configmap cache key
2022-01-28 00:16:30 -08:00
Kubernetes Prow Robot
83ca745412
Merge pull request #107797 from tkashem/revert-107456
Revert "Merge pull request #107456 from tkashem/apf-ssa"
2022-01-27 23:14:30 -08:00
Kubernetes Prow Robot
1c216c6ec8
Merge pull request #107777 from hxietkg/hxietkg/windows-numberofworkers-3
Increase number of workers to 3 for Windows
2022-01-27 20:50:30 -08:00