Antonio Ojea
cd9b22aabc
apiserver endpoint reconciler ip families
...
The apiserver may be configured to generate the Service
kubernetes.default and its endpoints addresses.
This service is single-stack, hence, the endpoints and the ClusterIP
must have the same IP family.
2021-12-13 15:43:41 +01:00
Jordan Liggitt
0b90b6ec5e
Add field paths to expected unknown/duplicate errors
2021-12-13 09:38:13 -05:00
Ciprian Hacman
574f788711
Skip LB test for IPv6 clusters
2021-12-13 11:43:06 +02:00
Antonio Ojea
a4bbf92577
cap nunmber of tries on e2e nodePort stop service test
...
The tests were asserting that after a NodePort Service was removed,
no new traffic was still reaching the endpoints.
However, the number of tries was so large that another test running
in parallel could create a working Service on that NodePort, making
the test fails.
Use only 10 tries to confirm that the Service stopped working.
2021-12-13 10:33:35 +01:00
Kubernetes Prow Robot
ba200841fd
Merge pull request #106366 from cyclinder/evictions_number_stable
...
adding evictions_total metric and marking evictions_number deprecated
2021-12-12 23:19:59 -08:00
cyclinder
b88b51c6e5
adding evictions_total metric and marking evictions_number deprecated
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-12-13 10:36:02 +08:00
Claudiu Belu
e68b530733
tests: Lowers the number of pods returned by estimateMaximumPods
...
The Conformance test "should orphan pods created by rc if delete options say so"
is spawning 80% of the Cluster's Pod Availability (on a 2 node setup, with 30 Pods
capacity each, it spawns 48 pods).
Because of this, tests that are running in parallel with this test has a higher
chance to flake, causing them to timeout because they didn't get to spawn the
necessary Pods within the expected 1 minute time.
Lowering the percentage should reduce the ammount of flakes we see.
2021-12-11 08:54:02 -08:00
Kubernetes Prow Robot
aed75bf2ed
Merge pull request #106880 from ii/promote-proxy-301-redirect
...
Promote Pod- & ServiceProxy Test to Conformance - +12 endpoint coverage
2021-12-10 21:31:57 -08:00
Carlos Panato
4bda9697ee
[go1.17] Update to go1.17.5
...
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2021-12-10 16:58:29 +01:00
Wojciech Tyczyński
b7257a4d6a
Graduate EfficientWatchResumption feature to GA
2021-12-10 10:20:51 +01:00
Davanum Srinivas
9405e9b55e
Check in OWNERS modified by update-yamlfmt.sh
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-12-09 21:31:26 -05:00
Kubernetes Prow Robot
b5a610064c
Merge pull request #106920 from neolit123/1.24-update-kubeadm-owners
...
kubeadm: update OWNERS for 1.24
2021-12-09 18:01:22 -08:00
Kubernetes Prow Robot
ab4448dd2f
Merge pull request #104177 from DangerOnTheRanger/e2e-resize-node-flake-fix
...
Fix node resizing E2E test flake
2021-12-09 18:01:11 -08:00
David Porter
95264a418d
kubelet: set failed phase during graceful shutdown
...
Revert to previous behavior in 1.21/1.20 of setting pod phase to failed
during graceful node shutdown.
Setting pods to failed phase will ensure that external controllers that
manage pods like deployments will create new pods to replace those that
are shutdown. Many customers have taken a dependency on this behavior
and it was breaking change in 1.22, so this change reverts back to the
previous behavior.
Signed-off-by: David Porter <david@porter.me>
2021-12-09 13:17:40 -08:00
Lubomir I. Ivanov
0290eb63b6
kubeadm: update OWNERS for 1.24
2021-12-09 21:07:56 +02:00
Kubernetes Prow Robot
cdf3ad823a
Merge pull request #97252 from dims/drop-dockershim
...
Completely remove in-tree dockershim from kubelet
2021-12-08 12:51:46 -08:00
Kubernetes Prow Robot
c7c922cb86
Merge pull request #106764 from NikhilSharmaWe/betterOutputAPImc
...
Changed code to improve output for files under test/e2e/apimachinery
2021-12-08 00:44:05 -08:00
Kubernetes Prow Robot
f356ae4ad9
Merge pull request #101719 from SergeyKanzhelev/removeReallyCrashForTesting
...
Remove ReallyCrashForTesting and cleaned up some references to Handle…
2021-12-07 23:39:45 -08:00
Ahmed Aghadi
93d858c46e
Improve checks for test/e2e/network and test/e2e/network/netpol ( #106655 )
2021-12-07 22:07:56 -08:00
Kubernetes Prow Robot
68bd9994ae
Merge pull request #106833 from cpanato/go117
...
[go1.17] Update to go1.17.4
2021-12-07 19:28:44 -08:00
Kubernetes Prow Robot
d7f8234b6d
Merge pull request #106747 from ahg-g/ahg-test
...
Added an integration test for NodeResourcesFit scoring
2021-12-07 19:28:06 -08:00
Kubernetes Prow Robot
874dc871a5
Merge pull request #106676 from HecarimV/fix-typo-2021112506
...
fix typo in /test/integration
2021-12-07 18:27:30 -08:00
Kubernetes Prow Robot
4e00604934
Merge pull request #106641 from verult/delegate-fsgroup-disable-onrootmismatch-e2e
...
DelegateFSGroupToCSIDriver e2e: skip tests with chgrp
2021-12-07 18:26:59 -08:00
Kubernetes Prow Robot
793a67ec48
Merge pull request #106609 from mauriciopoppe/volume-metrics-fix-status-count-storage-e2e
...
Add status count to the existing storage_operation_duration_seconds histogram, remove volume_provision metric check
2021-12-07 18:26:51 -08:00
Kubernetes Prow Robot
bf5b5496a0
Merge pull request #106522 from aojea/e2e_disable_nodeport_lb
...
Add e2e tests for disable nodeport lb feature
2021-12-07 18:25:53 -08:00
Stephen Heywood
27a247df85
Promote pod and service Proxy e2e test to Conformance
2021-12-08 15:21:40 +13:00
Kubernetes Prow Robot
f7b6d58806
Merge pull request #106427 from verb/1.23-nit-e2e-logging
...
Fix format string argument mismatch in e2e framework log message
2021-12-07 17:27:03 -08:00
Kubernetes Prow Robot
19fe56cb39
Merge pull request #106322 from amacaskill/volume-source-cloning-e2e
...
Fix failing volume cloning e2e test for GCE PD CSI Driver
2021-12-07 17:26:33 -08:00
Kubernetes Prow Robot
4aba017280
Merge pull request #106307 from cynepco3hahue/e2e_node_fix_memory_manager_multi_NUMA
...
e2e_node: provide an option to specify hugepages on the specific NUMA node
2021-12-07 17:26:25 -08:00
Kubernetes Prow Robot
ec0d1edc17
Merge pull request #106233 from NikhilSharmaWe/betterOutputInstrumentation
...
Changed code to improve output for files under test/e2e/instrumentation
2021-12-07 17:26:18 -08:00
Paul Morie
48a84fe9c7
conformance: correct typo for cronjob forbidconcurrent
2021-12-07 16:55:03 -05:00
Davanum Srinivas
bc78dff42e
update files to drop dockershim
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-12-07 15:15:13 -05:00
Ziyin Lu
f1da79091f
docs: fix error link path in storage e2e test doc
2021-12-06 11:25:34 -05:00
Carlos Panato
2adf0e116c
[go1.17] Update to go1.17.4
...
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2021-12-06 09:40:54 +01:00
justinsb
5a179f9382
e2e: Stop using deprecated zone nodeSelector
...
Update to the non-deprecated label names.
2021-12-04 13:34:55 -05:00
justinsb
5a3671e57b
e2e tests: log zone when creating volume
...
Given the test failures we are encountering with zones, add the zone
to the log message when creating a zonal PV.
2021-12-04 13:08:11 -05:00
Mauricio Poppe
04805ca330
Add status count to the storage_operation_duration_seconds volume metric
2021-12-03 18:49:49 +00:00
Patrick Ohly
a39b3877e9
storage e2e: update mock deployment
...
These changes were created automatically with the updated update-hostpath.sh
script.
2021-12-02 16:18:26 +01:00
Patrick Ohly
48e9a39842
storage e2e: update snapshotter sidecard RBAC
...
The same change was already done for csi-driver-host-path master, but not
released yet because csi-snapshotter v5.0.0 itself was not ready yet.
We need this update in k/k because some canary jobs already use the new
snapshotter sidecar which causes permission issues.
2021-12-02 15:06:14 +01:00
Patrick Ohly
0605a394bf
storage e2e: hostpath driver v1.7.3
...
This is an automatic update of the testing manifests that mirrors the v1.7.3
release. All of these changes were created with
test/e2e/testing-manifests/storage-csi$ ./update-hostpath.sh v1.7.3
2021-12-02 15:02:57 +01:00
Amarnath Valluri
e68c9f3dec
test/e2e/storage: replace mock driver with hostpath driver
...
This is a first step towards removing the mock CSI driver completely from
e2e testing in favor of hostpath plugin. With the recent hostpath plugin
changes(PR #260 , #269 ), it supports all the features supported by the mock
csi driver.
Using hostpath-plugin for testing also covers CSI persistent feature
usecases.
2021-12-02 14:41:08 +01:00
Alexis MacAskill
8102bbe05a
skip parallel volume cloning test for gce pd and fix disk not ready error for gce pd
2021-12-01 17:49:48 +00:00
Nikhil Sharma
0cd58b825f
Changed code to improve output for files under test/e2e/apimachinery
2021-12-01 17:08:30 +05:30
Abdullah Gharaibeh
33a04dc5f5
Added an integration test for NodeResourcesFit scoring
2021-11-30 12:13:30 -05:00
Sergey Kanzhelev
a11453efbc
remove ReallyCrashForTesting and cleaned up some references to HandleCrash behavior
2021-11-29 20:00:10 +00:00
calvin
d591b62b4a
remove the kubeadm feature gate.
2021-11-29 18:11:02 +08:00
shuheiktgw
79484ed7b6
Check key existence in the getPrivateSSHKey function
2021-11-27 15:00:24 +09:00
HaoJie Liu
1dc1a37294
fix typo in /test/integration
2021-11-25 18:59:31 +08:00
boenn
cec2aae1e5
rebase master
2021-11-25 11:21:12 +08:00
Cheng Xing
4de40e90d4
DelegateFSGroupToCSIDriver e2e: skip tests with chgrp
2021-11-24 11:41:53 -08:00
Jordan Liggitt
88ab0d03b7
Revert "update expected ordering"
...
This reverts commit fbc8ac9c96
.
2021-11-24 11:19:27 -05:00
Dave Chen
8609358975
Graduate PreferNominatedNode
to GA
...
Signed-off-by: Dave Chen <dave.chen@arm.com>
2021-11-24 14:50:53 +08:00
Kubernetes Prow Robot
e53cf07724
Merge pull request #106611 from verult/delegate-fsgroup-disable-onrootmismatch-e2e
...
Delegate FSGroup CSI driver e2e: verify fsgroup is passed to CSI calls
2021-11-23 17:52:20 -08:00
Kubernetes Prow Robot
c3e6b66643
Merge pull request #106533 from haircommander/summary-page-fault-test
...
test: update major page fault values for summary test
2021-11-23 15:09:45 -08:00
AHMED AGHADI
c4c7847593
Improve checks for test/e2e/common/storage
2021-11-23 19:26:07 +05:30
shuheiktgw
db4a743b77
Check the private SSH key existence in the node e2e tests
2021-11-23 17:20:42 +09:00
Kubernetes Prow Robot
e31aafc4fd
Merge pull request #106348 from endocrimes/dani/rm-gpu
...
e2e_node: unify device tests
2021-11-22 19:46:16 -08:00
Cheng Xing
bca1b79728
Delegate FSGroup CSI driver e2e: verify fsgroup is passed to CSI calls using mock driver tests
2021-11-22 17:00:39 -08:00
Kubernetes Prow Robot
f572e4d5b4
Merge pull request #106518 from SergeyKanzhelev/tryProbeFix
...
Fix the bug with GRPC probe
2021-11-22 15:38:54 -08:00
Jonathan Lebon
3ebd93cd02
test-e2e-node: support pure SSH mode
...
Right now, `run_remote.go` only supports GCE instances. But actually
running the tests is completely independent of GCE and could work just
as well on any SSH-accessible machine.
This patch adds a new `--mode` switch, which defaults to `gce` for
backwards compatibility, but can be set to `ssh`. In that mode, the GCE
API is not used at all, and we simply connect to the hosts given via
`--hosts`.
This is still better than `run_local.go` because the latter mixes build
environment with test environment, which doesn't fit well with
container-optimized operating systems.
This is part of an effort to setup the e2e node tests on Fedora CoreOS
(see https://github.com/coreos/fedora-coreos-tracker/issues/990 ).
Patch best viewed with whitespace ignored.
2021-11-22 10:13:15 -05:00
Jonathan Lebon
591f4cdb77
run_remote.go: factor out prepareGceImages()
...
Mostly a pure code move. Only changed the `klog.Fatalf` to `fmt.Errorf`.
Prep for future patch.
2021-11-22 10:12:29 -05:00
Jonathan Lebon
032dbd2063
run_remote.go: move registerGceHostIP() call to testImage()
...
I.e. don't assume that `testHost` is called on a GCE host. Prep for
future patch.
2021-11-22 10:12:28 -05:00
Jonathan Lebon
36233b985b
run_remote.go: factor out registerGceHostIP()
...
Prep for future patch.
2021-11-22 10:12:28 -05:00
Aohan Yang
ad4fe13528
fix the error when cleaning up jobs for cronjob
2021-11-22 17:06:22 +08:00
Jordan Liggitt
d4d34085e4
Clean up field validation test logs
2021-11-21 21:29:06 -05:00
Jordan Liggitt
8fa1c612fd
Speed up field validation tests
2021-11-21 21:29:06 -05:00
Antonio Ojea
020cf2d7aa
e2e disable node port on loadbalancers
2021-11-20 20:24:37 +01:00
Kubernetes Prow Robot
21d3acc787
Merge pull request #106544 from ehashman/fix-flake-restart
...
Deflake "Kubelet should correctly account for terminated pods after restart"
2021-11-20 00:04:59 -08:00
Kubernetes Prow Robot
9a1d90165d
Merge pull request #106462 from jpbetz/cel-e2e2
...
Add e2e test for CEL Validation Rules
2021-11-19 22:04:59 -08:00
Sergey Kanzhelev
f390d49e24
fix the grpc probes
2021-11-20 00:23:53 +00:00
Kubernetes Prow Robot
c82a0f8ddc
Merge pull request #106562 from SergeyKanzhelev/BumpEtcdVersion
...
bumpt etcd image version for e2e tests
2021-11-19 16:02:08 -08:00
Kubernetes Prow Robot
1da209faab
Merge pull request #106220 from NikhilSharmaWe/betterOutputWindows
...
Changed code to improve output for test/e2e/windows
2021-11-19 16:01:56 -08:00
Kubernetes Prow Robot
8f9dd0a14c
Merge pull request #105916 from kevindelgado/validation-unify-all
...
Server Side Strict Field Validation
2021-11-19 14:27:22 -08:00
Sergey Kanzhelev
6e591ab8ed
bumpt etcd image version for e2e tests
2021-11-19 22:00:28 +00:00
Kevin Delgado
e50e2bbc88
Server Side Field Validation
...
Implements server side field validation behind the
`ServerSideFieldValidation` feature gate. With the
feature enabled, any create/update/patch request
with the `fieldValidation` query param set to
"Strict" will error if the object in the request
body have unknown fields. A value of "Warn"
(also the default when the feautre is enabled)
will succeed the request with a warning.
When the feature is disabled (or the query param
has a value of "Ignore"), the request will succeed
as it previously had with no indications of any
unknown or duplicate fields.
2021-11-19 21:24:36 +00:00
Elana Hashman
6ddf86d422
Set startTimeout back to 3m, restore wait loop at end of test
2021-11-19 11:30:43 -08:00
Joe Betz
0b96f53f52
Add e2e test for CEL Validation Rules
2021-11-18 21:01:40 -05:00
Kubernetes Prow Robot
9b180d8913
Merge pull request #105481 from claudiubelu/tests/e2e-prepull-images
...
tests: Prepull images
2021-11-18 17:22:51 -08:00
Elana Hashman
b4a8861af3
Tweak resource requests for Kubelet restart test
2021-11-18 14:57:22 -08:00
Nikhil Sharma
b75acac9df
Changed code to improve output for test/e2e/windows
2021-11-19 04:06:05 +05:30
Kubernetes Prow Robot
51b94de68f
Merge pull request #105451 from claudiubelu/tests/log-pod-logs
...
tests: Fetch the pod logs in failed cases
2021-11-18 13:33:36 -08:00
Kubernetes Prow Robot
203d145b6a
Merge pull request #106281 from ii/promote-delete-service-collection
...
Promote DeleteCollection service e2e test to conformance - +1 endpoint
2021-11-18 07:47:03 -08:00
Peter Hunt
76df8acb80
test: update major page fault values for summary test
...
as well as use a variable instead of a constant
Signed-off-by: Peter Hunt <pehunt@redhat.com>
2021-11-18 09:24:41 -05:00
Kubernetes Prow Robot
b8af116327
Merge pull request #99728 from mattcary/control
...
StatefulSet PVC auto-delete implementation
2021-11-18 03:37:02 -08:00
Antonio Ojea
2ea3d320b0
integration tests service node port control
...
When a service is created with AllocateLoadBalancerNodePorts to false
it should not allocate node ports.
If the same service is updated to set AllocateLoadBalancerNodePorts
to true, it should allocate node ports.
When a service is updated from ClusterIP type to LoadBalancer type,
and AllocateLoadBalancerNodePorts is set to false, it should not
allocate node ports.
2021-11-18 09:38:30 +01:00
Kubernetes Prow Robot
3b9bd229b2
Merge pull request #106493 from endocrimes/dani/endocrimes-test-reviewer
...
node e2e: endocrimes as reviewer
2021-11-17 22:41:01 -08:00
Kubernetes Prow Robot
fbffe056dd
Merge pull request #106511 from spiffxp/demote-events-test
...
demote kubelet events test from Conformance
2021-11-17 19:57:20 -08:00
Kubernetes Prow Robot
2062f57c00
Merge pull request #106503 from leiyiz/skip-storage-test
...
skip tests that uses default storage class
2021-11-17 19:57:13 -08:00
Kubernetes Prow Robot
d766ab88f7
Merge pull request #106501 from ehashman/cri-graduation-v1
...
Make CRI v1 the default and allow a fallback to v1alpha2
2021-11-17 19:57:01 -08:00
Kubernetes Prow Robot
91b7fb4dc9
Merge pull request #102915 from wzshiming/feat/graceful-shutdown-based-on-pod-priority
...
Graceful Node Shutdown Based On Pod Priority
2021-11-17 18:45:03 -08:00
Kubernetes Prow Robot
ec0d3de078
Merge pull request #106508 from aojea/flake_events
...
bump e2e period to wait for events
2021-11-17 16:55:16 -08:00
Matthew Cary
53b3a6c1d9
controller change for statefulset auto-delete (tests)
...
Change-Id: I16b50e6853bba65fc89c793d2b9b335581c02407
2021-11-17 16:48:50 -08:00
Aaron Crickenberger
357ad91d78
demote kubelet events test from Conformance
...
This test has been part of the Conformance suite since at least
Kubernetes 1.2 (2015-10-xx). Some years later, around 2018-10-xx, we
drafted a rigorous set of rules for tests to follow in order to be
eligible for promotion to Conformance. We explicitly disallowed any
tests that check for specific Events, since they are not an API, and we
make no guarantees about their contents nor their delivery.
Unfortunately, we neglected to go through the existing corpus of
Conformance tests with a fine-toothed comb after drafting these rules.
The very nature of what this test is attempting to exercise and verify
is specific Events, and their delivery, thus making it ineligible for
Conformance. We should have caught and demoted this test back then.
Better late than never?
2021-11-17 15:36:30 -08:00
Kubernetes Prow Robot
b657f62826
Merge pull request #106471 from jsturtevant/flake-memory-limits
...
Use client set to get nodes configuration
2021-11-17 15:24:54 -08:00
Antonio Ojea
d32b437b06
bump e2e period to wait for events
2021-11-17 23:46:52 +01:00
Kubernetes Prow Robot
e4952f32b7
Merge pull request #106463 from SergeyKanzhelev/grpcProbe
...
Implement grpc probe action
2021-11-17 12:43:54 -08:00
Léiyì Zhang
496ccc06ad
skip tests that uses default storage class when there is no default storage class installed
2021-11-17 19:14:16 +00:00
Sascha Grunert
de37b9d293
Make CRI v1
the default and allow a fallback to v1alpha2
...
This patch makes the CRI `v1` API the new project-wide default version.
To allow backwards compatibility, a fallback to `v1alpha2` has been added
as well. This fallback can either used by automatically determined by
the kubelet.
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-11-17 11:05:05 -08:00
Kermit Alexander
57b3727966
Use PodStartShort for node deletion timeout.
2021-11-17 17:40:56 +00:00
Sergey Kanzhelev
b7affcced1
implement :grpc probe action
2021-11-17 17:31:23 +00:00
Danielle Lancashire
1f04f4ecbd
test/e2e/node: Add endocrimes as reviewer
2021-11-17 15:43:41 +01:00
Danielle Lancashire
e60ad8ebc6
e2e_node: add endocrimes as reviewer
2021-11-17 15:35:35 +01:00
Antonio Ojea
d126b14838
migrate nolint coments to golangci-lint
2021-11-17 13:58:53 +01:00
Hanna Lee
07a883d8e6
Remove //lint:ignore pragmas that aren't being used anymore
2021-11-17 08:56:54 +01:00
Hanna Lee
a707061828
Simplify multiplication
2021-11-17 08:56:02 +01:00
Hanna Lee
2933df3645
Fix order of operations
2021-11-17 08:56:02 +01:00
Hanna Lee
c8fde197f5
Add more //nolint:staticcheck for failures caught in PR tests
2021-11-17 08:56:02 +01:00
Hanna Lee
04fadd8b03
Fix SA5011 errors by making control flow abort obvious to linter
2021-11-17 08:56:00 +01:00
Hanna Lee
979c4254eb
Fix integer division
2021-11-17 08:53:19 +01:00
Kubernetes Prow Robot
f784891854
Merge pull request #105945 from Jefftree/openapi-v3-test
...
OpenAPI v3
2021-11-16 21:14:05 -08:00
Shiming Zhang
7c656b55e4
Update shutdown cases
2021-11-17 11:47:12 +08:00
Shiming Zhang
df7e4c1a3d
Add e2e for GracefulNodeShutdownBasedOnPodPriority
2021-11-17 11:47:12 +08:00
Kubernetes Prow Robot
c0b5ed7556
Merge pull request #105611 from damemi/simplified-multipoint-extension
...
Scheduler simplified MultiPoint plugin config
2021-11-16 17:44:12 -08:00
James Sturtevant
12264d2ce9
Use client set to get nodes configuration
2021-11-16 17:42:15 -08:00
Kermit Alexander
3180012c1b
Add integration tests for OpenAPI v3.
2021-11-16 17:38:54 -08:00
Kubernetes Prow Robot
e14bdbaa1c
Merge pull request #105057 from jiahuif-forks/feature/enum-types-feature-enablement
...
Add Support for OpenAPIEnum in OpenAPI v2
2021-11-16 16:35:55 -08:00
Kubernetes Prow Robot
6805e6ee41
Merge pull request #104722 from leiyiz/migration
...
turning on the CSIMigrationGCE feature flag
2021-11-16 15:28:32 -08:00
Mike Dame
420c5308bb
Add MultiPoint scheduler plugin config field
2021-11-16 14:56:33 -05:00
Léiyì Zhang
2298dc612c
skip in-tree and default Dynamic Provisioner test when there's no default storage class
2021-11-16 19:26:30 +00:00
Kubernetes Prow Robot
c84da4e3e6
Merge pull request #106051 from jpbetz/cel-port
...
Feature implementation: Validation rules for Custom Resource Definitions using the CEL expression language
2021-11-15 22:35:26 -08:00
Kubernetes Prow Robot
152c60fef7
Merge pull request #106434 from ehashman/timeout-restart-test
...
Fix timeout flake in restart kubelet e2e
2021-11-15 19:53:37 -08:00
Joe Betz
ba6db69c39
Add integration tests for CRD validation rules feature
2021-11-15 21:49:32 -05:00
Cheng Xing
23509a0852
Remove feature gate check when skipping OnRootMismatch fsgroupchangepolicy tests
2021-11-15 14:32:57 -08:00
Elana Hashman
303b05cded
Fix timeout flake in restart kubelet e2e
2021-11-15 13:42:58 -08:00
Kubernetes Prow Robot
7ac768324c
Merge pull request #106425 from verb/1.23-ec-e2e-flake
...
De-flake ephemeral containers e2e test
2021-11-15 13:05:12 -08:00
Kubernetes Prow Robot
159fcbb01e
Merge pull request #106408 from cynepco3hahue/e2e_node_quota_isci_test_fix_panic_nil_pointer_exception
...
e2e_node: fix nil pointer exception under quota lsci test
2021-11-15 11:27:02 -08:00
Kubernetes Prow Robot
1c127d3682
Merge pull request #105706 from uthark/oatamanenko/upgrade-etcd-3.5.1
...
Upgrade etcd to 3.5.1
2021-11-15 10:04:59 -08:00
Lee Verberne
c5d6a30a7b
Fix format string argument count in e2e logging
2021-11-15 13:01:25 -05:00
Lee Verberne
28bd71c291
De-flake ephemeral containers e2e test
...
The test waits for the container to be running, but the test command
sleeps for 2 seconds before writing output, creating a race.
2021-11-15 12:14:47 -05:00
Jiahui Feng
52d8b53663
add e2e test for enforcing enums in schema.
2021-11-15 09:10:43 -08:00
Kubernetes Prow Robot
8d301e97f7
Merge pull request #106315 from josephburnett/e2e-v2
...
Use HPA v2 in E2E tests.
2021-11-15 07:20:48 -08:00
Antonio Ojea
5eb584d1cb
Node tests fixes ( #106371 )
...
* capture loop variable
* capture the loop variable and don't fail on not found errors
* capture loop variable
* Revert "Mark restart_test as flaky"
This reverts commit 990e9506de
.
* skip e2e node restart test with dockershim
* Update test/e2e_node/restart_test.go
Co-authored-by: Mike Miranda <mikemp96@gmail.com>
* capture loop using index
Co-authored-by: Mike Miranda <mikemp96@gmail.com>
2021-11-14 19:54:47 -08:00
Kubernetes Prow Robot
991bb65ecc
Merge pull request #106395 from verult/delegate-fsgroup-disable-onrootmismatch-e2e
...
Skip OnRootMismatch tests if the CSI driver supports VOLUME_MOUNT_GROUP.
2021-11-14 16:12:47 -08:00
Artyom Lukianov
cf2f21dd3e
e2e_node: fix nil pointer exception under quota lsci test
...
Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2021-11-14 11:50:19 +02:00
Nikhil Sharma
dde904b57d
Changed code to improve output for files under test/e2e/instrumentation
2021-11-13 13:08:28 +05:30
Cheng Xing
4836fd1510
Skip OnRootMismatch tests if the CSI driver supports VOLUME_MOUNT_GROUP.
2021-11-12 18:27:22 -08:00
Kubernetes Prow Robot
c1b9ada067
Merge pull request #105459 from shivanshu1333/bug/master/105426
...
Fixed using reference in for loop
2021-11-12 17:36:47 -08:00
Kubernetes Prow Robot
5bc6cfac2b
Merge pull request #106170 from kidlj/cleanup_e2e_framework_import_e2elog_package
...
test/e2e: cleanup e2e core framework's import from sub package e2elog
2021-11-12 13:38:29 -08:00
Kubernetes Prow Robot
1f6aa87a93
Merge pull request #105744 from jsturtevant/windows-containerd-networkstats
...
Get Windows network stats directly for Containerd
2021-11-12 12:36:41 -08:00
Kubernetes Prow Robot
5f0a94b23c
Merge pull request #104743 from gjkim42/ensure-pod-uniqueness
...
Ensure there is one running static pod with the same full name
2021-11-12 12:36:28 -08:00
Neha Lohia
fa1b6765d5
move pkg/util/node to component-helpers/node/util ( #105347 )
...
Signed-off-by: Neha Lohia <nehapithadiya444@gmail.com>
2021-11-12 07:52:27 -08:00
Shivanshu Raj Shrivastava
d9b21cd1de
fixed using reference to loop iterator
2021-11-12 17:22:36 +05:30
Kubernetes Prow Robot
c9a245fa48
Merge pull request #106266 from ahg-g/ahg-metrics
...
Move a number of scheduler metrics to STABLE
2021-11-11 15:15:37 -08:00
Kubernetes Prow Robot
0c27c643a8
Merge pull request #106362 from ehashman/append-to-node-log
...
Append node e2e logs to file where possible
2021-11-11 14:16:08 -08:00
Kubernetes Prow Robot
bbc3a9aace
Merge pull request #106359 from mmiranda96/fix/mark-restart-test-flaky
...
Mark restart_test as flaky
2021-11-11 12:00:33 -08:00
Kubernetes Prow Robot
7663bffd51
Merge pull request #106321 from neolit123/1.23-fix-e2e-test-failures-1
...
kubeadm: fix test failures in the e2e_kubeadm suite
2021-11-11 12:00:08 -08:00
Elana Hashman
5401551d12
Append node e2e logs to file where possible
...
Functionality added in systemd 240:
1977d1477f/NEWS (L3919-L3921)
2021-11-11 11:16:51 -08:00
Mike Miranda
990e9506de
Mark restart_test as flaky
2021-11-11 17:25:27 +00:00
Danielle Lancashire
03de802434
e2e_node: unify device tests
...
The device_plugin_tests have not run successfully in a very long time,
initially being marked flaky and then eventually becoming stale.
The gpu_device_plugin_tests have been used to test the same behaviour,
but are incredibly high maintenance due to external changes in behaviour
from GCP/Nvidia that we have no control over.
This commit takes the existing device plugin tests, makes them look more
like the GPU tests, and removes the cases that have been unsupported for
a long time (namely restarting containers while the plugin is
unavailable).
It also removes the GPU plugin tests, as we do not get more signal by
using real devices here.
2021-11-11 14:10:27 +01:00
Lee Verberne
d31d0cc29a
Remove kubectl from ephemeral container e2e
...
It's not available in the node e2e environment.
2021-11-11 08:04:43 -05:00
Lee Verberne
e1e97a0e47
Add NodeFeature tag to ephemeral containers e2e
2021-11-11 05:54:01 -05:00
Mike Dame
80c01707e0
Wire contexts to Batch controllers ( #105491 )
...
* Wire contexts to Batch controllers
* (hold) feedback + updates that overlap with Apps controllers
* fixup errors
2021-11-10 14:56:46 -08:00
Kubernetes Prow Robot
1ff64edffb
Merge pull request #104636 from hbagdi/ingress-class-namespaced-params-ga
...
Graduate IngressClassNamespacedParams to GA
2021-11-10 12:53:26 -08:00
Lubomir I. Ivanov
7fa7f6d400
kubeadm: fix failure in e2e_kubeadm related to kubelet-config
...
The featureGates field in ClusterConfiguration ends up
as a map[interface{}]interface{} in the test suite
and cannot be casted to map[string]bool directly.
Adapt the test to use map[interface{}]interface{}.
2021-11-10 21:56:22 +02:00
Kubernetes Prow Robot
fb3df2e73c
Merge pull request #106301 from pohly/log-kube-proxy-go-runner
...
build: use debian-iptables:bullseye-v1.1.0
2021-11-10 11:51:53 -08:00
Kubernetes Prow Robot
dac695f91f
Merge pull request #106299 from SergeyKanzhelev/PodReadinessGateNodeConformance
...
PodReadinessGate is stable feature and test runs all green
2021-11-10 11:51:46 -08:00
James Sturtevant
d7bdbb075f
Add check for network stats to e2e tests
2021-11-10 11:50:04 -08:00
Jiahui Feng
a8175212aa
integration test for OpenAPI feature enablement.
2021-11-10 11:06:03 -08:00
Kubernetes Prow Robot
f3bf7e1ced
Merge pull request #106298 from SergeyKanzhelev/fetchShareProcessTestFromOrphans
...
fish out ShareProcessNamespace from orphans tab
2021-11-10 10:20:02 -08:00
Kubernetes Prow Robot
ebf6823dc8
Merge pull request #106226 from NikhilSharmaWe/betterOutputLifecycle
...
Changed code to improve output for files under test/e2e/lifecycle
2021-11-10 10:19:27 -08:00
Abdullah Gharaibeh
a241c45dc7
move a number of scheduler metrics to STABLE
2021-11-10 12:51:17 -05:00
Harry Bagdi
d09a8c0a88
Graduate IngressClassNamespacedParams to GA
2021-11-10 08:58:39 -08:00
Joseph Burnett
13ea13a57d
Use HPA v2 in E2E tests.
2021-11-10 16:06:03 +00:00
Antonio Ojea
9723fbf3f1
conformance tests should have at least 2 untainted nodes
2021-11-10 16:32:30 +01:00
Kubernetes Prow Robot
b817efb042
Merge pull request #106306 from pawbana/change_bucketing_for_request_latency_metric
...
Changed buckets for apiserver_request_duration_seconds metric
2021-11-10 06:35:27 -08:00
Artyom Lukianov
ba06be98e5
e2e_node: provide an option to specify hugepages on the specific NUMA node
...
On the multi NUMA node environment, kernel splits hugepages allocated under
/sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages file equally between NUMA nodes.
That makes it harder to predict where several pods will start because the number
of hugepages on each NUMA node will depend on the amount of NUMA nodes under the environment.
The memory manager test will allocate hugepages on the specific NUMA node to make
the test more predictable on the multi NUMA nodes environment.
Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2021-11-10 15:57:46 +02:00
Kubernetes Prow Robot
ea2011d72a
Merge pull request #106251 from cynepco3hahue/e2e_node_fix_hugepages
...
e2e_node: does not rely on Kubelet automatic restart service under hugepages tests
2021-11-10 04:31:26 -08:00
Paweł Banaszewski
a8bd20a5af
Changed buckets for apiserver_request_duration_seconds metric
2021-11-10 11:53:49 +00:00
Kubernetes Prow Robot
9351ea291a
Merge pull request #105873 from MikeSpreitzer/more-seat-metrics
...
More seat metrics for APF
2021-11-10 02:23:26 -08:00
Patrick Ohly
3cfef61112
build: use debian-iptables:bullseye-v1.1.0
...
The newer image contains go-runner, which is relevant for removing the
deprecated klog flags in the kube-proxy image.
2021-11-10 09:24:42 +01:00
Sergey Kanzhelev
fc42da8eb8
PodReadinessGate is stable feature and test runs all green
2021-11-10 07:34:14 +00:00
Sergey Kanzhelev
d3dd1499fc
fish out ShareProcessNamespace from orphans tab
2021-11-10 07:25:02 +00:00
Kubernetes Prow Robot
c04157895c
Merge pull request #106273 from claudiubelu/integration/windows-log-network-consistentcy
...
tests: Logs the stdout and stderr for network consistency Windows tests on error
2021-11-09 16:31:39 -08:00
Sergey Kanzhelev
b0c73f5f77
There are no more Feature:Performance tests any longer, removing the fallback option
2021-11-10 00:04:48 +00:00
Kubernetes Prow Robot
b27c41f66d
Merge pull request #106263 from endocrimes/dani/skip-dkc
...
e2e_node: Skip dynamic config tests when the feature is disabled
2021-11-09 15:30:53 -08:00
Kubernetes Prow Robot
e4adf7f31c
Merge pull request #106116 from fromanirh/e2e-podresources-fix
...
E2E podresources: fix test checking esclusive cpus allocation
2021-11-09 13:59:59 -08:00
Stephen Heywood
675be94024
Promote DeleteCollection service e2e test to conformance
2021-11-10 10:19:46 +13:00
Jiahui Feng
9c05de2f31
prune enum when OpenAPIEnums is disabled.
2021-11-09 13:00:00 -08:00
Kubernetes Prow Robot
5848dbaa80
Merge pull request #105741 from neolit123/1.23-kubeadm-kubelet-config-map-change
...
kubeadm: introduce the UnversionedKubeletConfigMap feature gate
2021-11-09 11:27:48 -08:00
Francesco Romani
bf9bab5bc6
e2e: podresources: wait for local node ready again
...
Let's wait for the local node (aka the kubelet)
to be ready before to query podresources again,
to avoid false negatives.
Co-authored-by: Artyom Lukianov <alukiano@redhat.com>
Signed-off-by: Francesco Romani <fromani@redhat.com>
2021-11-09 19:02:19 +01:00
Nikhil Sharma
fc0ec62626
Changed code to improve output for files under test/e2e/lifecycle
2021-11-09 22:24:27 +05:30
Nikhil Sharma
02b702f706
Changed code to improve output for files under test/e2e/autoscaling
2021-11-09 22:04:02 +05:30
Danielle Lancashire
caa701b7a3
e2e_node: Skip dynamic config tests when disabled
...
DKC is being removed and we don't want it to continue flaking the rest
of our tests. Lets disable them when dkc is disabled rather than hard
failing. This fits more in line with our other E2Es, and reduces the
maintenance load in test-infra.
2021-11-09 13:40:18 +01:00
Francesco Romani
14105c09fb
e2e: node: wait for kvm plugin removal
...
we need to make sure the system state is completely cleaned up
again, to avoid to mess up with the shared node state, before
we transition from one test to another.
Signed-off-by: Francesco Romani <fromani@redhat.com>
2021-11-09 11:43:55 +01:00
Francesco Romani
4b46c3a0d2
e2e: node: podresources: fix exclusive cpus check
...
Since commit 42dd01aa3f
the cpuRequest is in millicores, hence
we need to properly check translating to exclusive cpus
when verifying the resource allocation.
Signed-off-by: Francesco Romani <fromani@redhat.com>
2021-11-09 11:16:54 +01:00
Francesco Romani
a6e8f7530a
e2e: node: podresources: add internal helpers
...
the intent is to make the code more readable, no intended
changes in behaviour. Now it should be a bit more explicit
why the code is checking some values.
Signed-off-by: Francesco Romani <fromani@redhat.com>
2021-11-09 11:16:54 +01:00
Artyom Lukianov
61fe924208
e2e_node: do not relay on Kubelet automatic restart service under hugepages tests
...
Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2021-11-09 10:33:48 +02:00
wangyysde
d2abddd909
rename v2beta2 to v2
...
Signed-off-by: wangyysde <net_use@bzhy.com>
Generation swagger.json.
Use v2 path for hpa_cpu_field.
run update-codegen.sh
Signed-off-by: wangyysde <net_use@bzhy.com>
2021-11-09 10:34:54 +08:00
Kubernetes Prow Robot
cda360c59f
Merge pull request #104613 from ravisantoshgudimetla/reconcile-labels
...
[kubelet]: Reconcile OS and arch labels periodically
2021-11-08 14:15:19 -08:00
Kubernetes Prow Robot
03fc2eeda2
Merge pull request #106210 from cynepco3hahue/e2e_node_fixes_after_dynamic_confiuration
...
e2e_node: fixes after dynamic configuration removal
2021-11-08 13:12:09 -08:00
Kubernetes Prow Robot
0940dd6fc4
Merge pull request #106163 from aojea/conntrack_readiness
...
kube-proxy consider endpoint readiness to delete UDP stale conntrack entries
2021-11-08 13:11:44 -08:00
Kubernetes Prow Robot
61138d3740
Merge pull request #105854 from NikhilSharmaWe/non-serial
...
Added non-serialized metrics for windows, for 3 pods
2021-11-08 13:11:32 -08:00
Kubernetes Prow Robot
8b463cd141
Merge pull request #105406 from marosset/kubelet-metrics-for-host-process-containers
...
Adding kubelet metrics for started and failed to start HostProcess containers
2021-11-08 13:11:20 -08:00
Kubernetes Prow Robot
ae550b62da
Merge pull request #106122 from rezakrimi/issue/105862
...
making some apiserver metrics stable
2021-11-08 10:55:19 -08:00
Nikhil Sharma
8c896612e9
Added non-serialized metrics for windows, for 3 pods
2021-11-08 23:13:53 +05:30
Arda Güçlü
34f0148414
Add prune test into test/cmd/diff.sh
2021-11-08 19:53:47 +03:00
Lubomir I. Ivanov
17cc064f7f
kubeadm: update e2e tests for the kubelet-config
...
Add means to parse the value of UnversionedKubletConfigMap
feature gate if present and based on that decide what
configmap to look for.
2021-11-08 17:31:29 +02:00
Kubernetes Prow Robot
c9baa14d70
Merge pull request #105794 from margocrawf/master
...
--as-uid flag in kubectl and kubeconfigs.
2021-11-08 07:03:13 -08:00
Artyom Lukianov
117141eee3
e2e_node: fix tests after Kubelet dynamic configuration removal
...
- CPU manager
- Memory Manager
- Topology Manager
Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2021-11-08 09:42:24 +02:00
Carlos Panato
abbf8c3bed
[go1.17] Update to go1.17.3
...
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2021-11-07 16:29:35 +01:00
ravisantoshgudimetla
3af5d37be7
[node][e2e test]: Make sure reconcile labels is working fine
2021-11-06 19:21:58 -04:00
Claudiu Belu
0251d28f60
tests: Logs the stdout and stderr for network consistency Windows tests on error
...
Some of the networking tests are flaking, and logging the command stdout and stderr
might show us some additional information about the the underlying issue when it
occurs.
2021-11-06 13:54:59 -07:00
Claudiu Belu
35e23afa50
tests: Prepull images commonly used test images
...
Some tests have a short timeout for starting the pods (1 minute), but if
those tests happen to be the first ones to run, and the images have to be
pulled, then the test could timeout, especially with larger images. This
commit will allow us to prepull commonly used E2E test images, so this issue
can be avoided.
2021-11-05 14:22:50 -07:00
Margo Crawford
7e079f5144
--as-uid flag in kubectl and kubeconfigs.
...
This corresponds to previous work to allow impersonating UIDs:
* Introduce Impersonate-UID header: #99961
* Add UID to client-go impersonation config #104483
Signed-off-by: Margo Crawford <margaretc@vmware.com>
2021-11-05 13:23:49 -07:00
Antonio Ojea
909925b492
kube-proxy: fix stale detection logic
...
The logic to detect stale endpoints was not assuming the endpoint
readiness.
We can have stale entries on UDP services for 2 reasons:
- an endpoint was receiving traffic and is removed or replaced
- a service was receiving traffic but not forwarding it, and starts
to forward it.
Add an e2e test to cover the regression
2021-11-05 20:14:56 +01:00
Reza Karimi
894e31f41a
making some apiserver metrics stable
2021-11-05 14:50:05 +00:00
Kubernetes Prow Robot
aa964e097c
Merge pull request #106150 from pohly/log-runner-kubemark
...
kubemark: replace deprecated --log-file parameter with runner
2021-11-05 04:01:52 -07:00
Jian Li
2e4d7a5198
test/e2e: cleanup e2e core framework's import from sub package e2elog
2021-11-05 16:29:35 +08:00
Kubernetes Prow Robot
8ce440c45c
Merge pull request #105949 from robscott/topology-e2e
...
Initial Topology Hints e2e Tests
2021-11-04 17:12:04 -07:00
Kubernetes Prow Robot
adcd2feb5e
Merge pull request #104153 from cynepco3hahue/e2e_node_provide_static_kubelet_config
...
e2e node: provide static kubelet config
2021-11-04 17:11:53 -07:00
Kubernetes Prow Robot
27d3a9ec57
Merge pull request #104481 from AlexeyPerevalov/E2eIsKubeletConfiguration
...
e2e_node: Properly check for DynamicKubeletConfig
2021-11-04 16:11:53 -07:00
Mark Rossetti
ef324d6bbd
Adding kubelet metrics for started and failed to start HostProcess containers
...
Signed-off-by: Mark Rossetti <marosset@microsoft.com>
2021-11-04 14:39:57 -07:00
Kubernetes Prow Robot
508e67937e
Merge pull request #106038 from NikhilSharmaWe/betterOutputNode
...
Changed code to improve output for files under test/e2e/node
2021-11-04 14:38:23 -07:00
Patrick Ohly
c3cd9a3902
kubemark: static binary, replace deprecated --log-file parameter
...
The --log-file parameter will be deprecated as of Kubernetes 1.23 and should be
avoided. The replacement for distroless images is the image with go-runner, a
tool that handles output redirection.
For kubemark to run in that image it must be built as static binary.
2021-11-04 20:52:56 +01:00
Kubernetes Prow Robot
c2706035f2
Merge pull request #105941 from rezakrimi/issue/105861
...
Make some scheduler metrics stable
2021-11-04 10:06:03 -07:00
Nikhil Sharma
0316542704
Changed code to improve output for files under test/e2e/node
2021-11-04 20:09:59 +05:30
Artyom Lukianov
50fdcdfc59
e2e_node: refactor code to use a single method to update the kubelet config
...
Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2021-11-04 15:44:35 +02:00
Artyom Lukianov
ca35bdb403
e2e_node: remove DynamicKubeletConfig tests from serial lane
...
Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2021-11-04 15:26:19 +02:00
Artyom Lukianov
b6211657bf
e2e_node: drop usage of DynamicKubeletConfig
...
Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2021-11-04 15:26:19 +02:00
Artyom Lukianov
a5ed6c824a
e2e_node: provide methods to update kubelet config via file
...
Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2021-11-04 15:26:19 +02:00
Kubernetes Prow Robot
3b76c75831
Merge pull request #106108 from bobbypage/graceful-shutdown-test-fixes
...
Fixes for graceful node shutdown test
2021-11-03 23:04:04 -07:00
David Porter
ddd0d8a3da
test: fixes for graceful node shutdown test
...
* Bump the pod status and node status update timeouts to avoid flakes
* Add a small delay after dbus restart to ensure dbus has enough time to
restart to startup prior to sending shutdown signal
* Change check of pod being terminated by graceful shutdown. Previously,
the pod phase was checked to see if it was `Failed` and the pod reason
string matched. This logic needs to change after 1.22 graceful node
shutdown change introduced in PR #102344 which changed behavior to no
longer put the pods into a failed phase. Instead, the test now checks
that containers are not ready, and the pod status message and reason
are set appropriately.
Signed-off-by: David Porter <david@porter.me>
2021-11-03 18:40:26 -07:00
Kubernetes Prow Robot
662ea77c6a
Merge pull request #105996 from marosset/host-process-volume-mount-e2e
...
Adding e2e tests to validate volume mounts in HostProcessContainers on Windows
2021-11-03 17:24:05 -07:00
Kubernetes Prow Robot
6717bdbcd7
Merge pull request #106034 from ii/delete-service-collection
...
Create e2e delete service collection test - +1 endpoint
2021-11-03 15:24:39 -07:00
Kubernetes Prow Robot
8e2d7a3d64
Merge pull request #105983 from jiahuif-forks/dep/bump-smd
...
Upgrade sigs.k8s.io/structured-merge-diff/v4 to v4.2.0
2021-11-03 15:24:32 -07:00
Mark Rossetti
5dffdfc0d5
Adding e2e tests to validate volume mounts in HostProcessContainers on Windows
...
Signed-off-by: Mark Rossetti <marosset@microsoft.com>
2021-11-03 14:01:53 -07:00
Kubernetes Prow Robot
4dfd739403
Merge pull request #105997 from robscott/mirroring-selector
...
Fixing how EndpointSlice Mirroring handles Service selector transitions
2021-11-03 12:48:32 -07:00
Kubernetes Prow Robot
29c6e83227
Merge pull request #105201 from marosset/hostprocess-command-line-tests
...
HostProcess e2e tests to validate command / workingDir parameters
2021-11-03 11:48:32 -07:00
Claudiu Belu
afb8569620
tests: Fetch the pod logs in failed cases
...
For some test failures, checking the pod logs could potentially
yield some interesting information, which could be used to further
investigate certain failures / flakes (for example, if there are some
networking issues, we could at least see if requests reach the containers,
(agnhost logs the connections / requests), or if there were any
other issues during the container's startup).
2021-11-03 11:10:26 -07:00
Kubernetes Prow Robot
a2960dc277
Merge pull request #106120 from jsafrane/fix-test-name
...
Fix ephemeral test description
2021-11-03 09:11:25 -07:00
Reza Karimi
bb15f02039
issue#105861: making scheduler metrics stable
2021-11-03 15:34:50 +00:00
Jan Safranek
f0bc04f169
Fix ephemeral test description
...
It looks like it tests two pods sharing the same volume, but the goal is
actually the opposite - two pods with the same inline volume definition
should get separate volumes.
2021-11-03 14:26:08 +01:00
Nikhil Sharma
2e1899244f
Changed code to improve output for files under test/e2e/framework
2021-11-03 17:29:05 +05:30
Kubernetes Prow Robot
9af2ece18a
Merge pull request #106089 from liggitt/podsecurity-beta
...
PodSecurity: promote config and feature gate to beta
2021-11-02 22:22:57 -07:00
Kubernetes Prow Robot
1f8084789e
Merge pull request #105508 from claudiubelu/tests/refactor-deployments
...
tests: Use E2E framework deployments
2021-11-02 19:00:57 -07:00
Kubernetes Prow Robot
b489b03946
Merge pull request #105575 from endocrimes/dani/cleanup-launcher
...
Allow the e2e_node runner to receive a KubeletConfiguration rather than requiring flags
2021-11-02 18:00:10 -07:00
Kubernetes Prow Robot
359b722c19
Merge pull request #102882 from fromanirh/device-manager-checkpoints
...
devicemanager: checkpoint: support pre-1.20 data
2021-11-02 16:56:57 -07:00
Stephen Heywood
38207e460c
Create e2e delete service collection test
...
The test validates the following endpoint
- deleteCoreV1CollectionNamespacedService
2021-11-03 10:17:23 +13:00
Benjamin Elder
6d532084e5
removed unused test/e2e_kubeadm/runner/local/run_local.go
2021-11-02 11:53:25 -07:00
Kubernetes Prow Robot
ec8e6e8778
Merge pull request #106002 from kerthcet/feature/refactor-NodeResourcesFit-plugin
...
refactor scheudler's node resource plugins
2021-11-02 10:52:34 -07:00
Rob Scott
d4ebc6ff1e
Transitioning from multiple execs to reading logs
2021-11-02 10:44:47 -07:00
Jiahui Feng
fbc8ac9c96
update expected ordering
...
in apply test.
2021-11-02 10:00:00 -07:00
kerthcet
e5dd375b14
refactor scheudler's node resource plugins
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2021-11-03 00:52:23 +08:00
Kubernetes Prow Robot
d8b6dc3e06
Merge pull request #106001 from NikhilSharmaWe/betterOutputKubectl
...
Changed code to improve output for files under test/e2e/kubectl
2021-11-02 09:20:58 -07:00
Danielle Lancashire
4ae64bd799
e2e_node: add a default kubeletconfig fallback
2021-11-02 15:10:29 +01:00
Danielle Lancashire
a4cf3a90a2
e2e_node: support passing kubelet-config-file to local runs
2021-11-02 15:10:29 +01:00
Danielle Lancashire
6e9e436026
e2e_node: kubelet config: move to file where possible
2021-11-02 15:10:28 +01:00
Danielle Lancashire
4097a3d472
e2e_node: allow customizing the base kubeletconfig
...
This commit forces Kubelet Configuration files to always be generated
and when possible will use the kubeletconfig file that has been provided
by the test orchestrator
2021-11-02 15:09:56 +01:00
Danielle Lancashire
f1deb0ba2e
e2e_node: remote: add kubeletconfig to archive
...
This commit enables the remote runner to provide a KubeletConfiguration
file to the test suite when uploading it to a remote host, thet test
runner will then use this configuration to run the Kubelet with the
provided config.
2021-11-02 15:08:39 +01:00
Danielle Lancashire
26980cf701
e2e_node: cleanup entrypoint
2021-11-02 15:08:39 +01:00
Danielle Lancashire
7dbbfe38e1
e2e_node: remote runner: junitFilePrefix -> junitFileName
2021-11-02 15:08:39 +01:00
Jordan Liggitt
01fa142ef5
PodSecurity: promote to beta
2021-11-02 09:43:24 -04:00
Kubernetes Prow Robot
2a821d787b
Merge pull request #105525 from damemi/wire-contexts-core
...
Wire contexts to Core controllers
2021-11-02 03:32:58 -07:00
Mark Rossetti
fa2c855ea5
batching test cases and improving logs in host-process-container command line test
2021-11-01 20:41:33 -07:00
Mark Rossetti
522bf81d83
HostProcess e2e tests to validate command / workingDir paramters
...
Signed-off-by: Mark Rossetti <marosset@microsoft.com>
2021-11-01 15:40:54 -07:00
Tim Allclair
6c273020d3
[PodSecurity] Avoid the LegcayRegistry for metrics serving
2021-11-01 14:23:00 -07:00
Tim Allclair
21692e1683
[PodSecurity] Add error & exemption metrics
2021-11-01 14:22:58 -07:00
Tim Allclair
e46928c0b1
[PodSecurity] Fix up metrics & add tests
...
Update pod security metrics to match the spec in the KEP.
2021-11-01 14:11:19 -07:00
Mike Spreitzer
154bf6aab3
Add metrics about watch counts seen by APF
2021-11-01 16:02:49 -04:00
Mike Dame
4960d0976a
Wire contexts to Core controllers
2021-11-01 10:29:00 -04:00
Kubernetes Prow Robot
fc6890f902
Merge pull request #105989 from bobbypage/gpu-test-config
...
Fix COS GPU driver installation
2021-10-29 22:59:17 -07:00
Rob Scott
76c19a24db
Initial Topology Hints e2e Tests
2021-10-29 17:37:10 -07:00
Tim Hockin
11a25bfeb6
De-share the Handler struct in core API ( #105979 )
...
* De-share the Handler struct in core API
An upcoming PR adds a handler that only applies on one of these paths.
Having fields that don't work seems bad.
This never should have been shared. Lifecycle hooks are like a "write"
while probes are more like a "read". HTTPGet and TCPSocket don't really
make sense as lifecycle hooks (but I can't take that back). When we add
gRPC, it is EXPLICITLY a health check (defined by gRPC) not an arbitrary
RPC - so a probe makes sense but a hook does not.
In the future I can also see adding lifecycle hooks that don't make
sense as probes. E.g. 'sleep' is a common lifecycle request. The only
option is `exec`, which requires having a sleep binary in your image.
* Run update scripts
2021-10-29 13:15:11 -07:00
Rob Scott
794f0cb7f1
Fixing how EndpointSlice Mirroring handles Service selector transitions
2021-10-29 11:03:28 -07:00
Nikhil Sharma
a69a6aa4b5
Changed code to improve output for files under test/e2e/kubectl
2021-10-29 12:35:49 +05:30
David Porter
e1a951afe5
Fix COS GPU driver installation
...
* Rely on the built in GPU driver installer in COS as recommended in
public docs - https://cloud.google.com/container-optimized-os/docs/how-to/run-gpus
* Run `nvidia-smi` after installation to verify installation
2021-10-28 17:49:50 -07:00
Kubernetes Prow Robot
c592bd40f2
Merge pull request #105609 from pohly/generic-ephemeral-volume-ga
...
generic ephemeral volume GA
2021-10-28 17:36:50 -07:00
James Sturtevant
d6db275cd3
[windows] Test: Check for failed sandbox pod when testing for RunAsUserName ( #105943 )
...
* Check for failed sandbox and failed workload containers
* Add test to confirm containers won't start
2021-10-28 14:04:59 -07:00
Kubernetes Prow Robot
1814c9c7fb
Merge pull request #105926 from 249043822/br-flakytest1
...
Fix:Flaky test] [sig-node] Kubelet should correctly account for terminated pods after restart
2021-10-28 10:20:34 -07:00
Kubernetes Prow Robot
64a5715a2d
Merge pull request #105774 from NikhilSharmaWe/betterOutput
...
Better output
2021-10-28 10:20:26 -07:00
Kubernetes Prow Robot
6edcb60d9f
Merge pull request #104915 from alculquicondor/job-ready
...
Track ready pods in Job status
2021-10-28 09:20:26 -07:00
Kubernetes Prow Robot
e450e3331f
Merge pull request #105482 from endocrimes/dani/kubeletconfig
...
e2e_node: remove unnecessary dynamic config changes
2021-10-28 07:04:27 -07:00
Shuanglu
9bcfa71e31
Fix Daemonset controller role missing 'update pod' permission ( #104758 )
...
* fix_dsc_rbac_pod_update
* add test for DaemonSet Controller updates label of the pod after "DedupCurHistories"
* rebase
* update parameter of dsc.Run
2021-10-28 05:24:26 -07:00
KeZhang
257efda87a
Fix:Flaky test] [sig-node] Kubelet should correctly account for terminated pods after restart
2021-10-28 08:31:14 +08:00
Kenichi Omichi
db87fe139c
Fix container name on NewDeployment()
...
The paramter is used as a container name, not an image name in the
function.
To avoid confusion, this fxies the name.
2021-10-27 22:46:11 +00:00
Kubernetes Prow Robot
00aab6312f
Merge pull request #105910 from deads2k/retry-pv-create
...
retry PV create in e2e-test on API quota failure
2021-10-27 15:23:09 -07:00
Nikhil Sharma
031dc016e6
Changed code to improve output for files under test/e2e/upgrades/apps
2021-10-27 11:41:18 +05:30
Kubernetes Prow Robot
fa6bb7cad0
Merge pull request #105921 from SergeyKanzhelev/setHostnameAsFQDNIsNodeConformance
...
setHostnameAsFQDN is a GA feature that does not depend on environment
2021-10-26 21:57:26 -07:00
Kubernetes Prow Robot
7c715dbc68
Merge pull request #105637 from Namanl2001/ssh
...
adding `--ssh-key` and `--ssh-user` for kubetest2
2021-10-26 16:33:45 -07:00
Kubernetes Prow Robot
0fec47582c
Merge pull request #105911 from pohly/generic-ephemeral-volume-test
...
volume e2e: block volume metrics fix, II
2021-10-26 10:39:30 -07:00
Patrick Ohly
194b31019d
volume e2e: block volume metrics fix, II
...
Copying from pvcBlock swapped name and namespace (breaking the PVC test case)
and some references to the pvcBlock variable were left unchanged (incorrect
annotations for test failures).
2021-10-26 17:36:02 +02:00
David Eads
c8f87a6a24
retry PV create in e2e-test on API quota failure
2021-10-26 09:47:16 -04:00
Kubernetes Prow Robot
20ff5381ce
Merge pull request #105507 from claudiubelu/tests/refactor-daemonset
...
tests: Refactors daemonset utils into framework
2021-10-26 05:01:30 -07:00
Francesco Romani
b382b6cd0a
node: e2e: add test for the checkpoint recovery
...
Add a e2e test to exercise the checkpoint recovery flow.
This means we need to actually create a old (V1, pre-1.20) checkpoint,
but if we do it only in the e2e test, it's still fine.
Signed-off-by: Francesco Romani <fromani@redhat.com>
2021-10-26 09:55:11 +02:00
Kubernetes Prow Robot
e8fcd0de98
Merge pull request #105755 from bobbypage/npd-test-cg2
...
Support cgroupv2 in node problem detector test
2021-10-25 17:59:29 -07:00
Sergey Kanzhelev
cf0a387774
setHostnameAsFQDN is a GA feature that does not depend on environment
2021-10-26 00:24:12 +00:00
Kubernetes Prow Robot
fec7005de5
Merge pull request #105805 from stevekuznetsov/skuznets/fix-watch-e2e
...
e2e: conformance: correctly produce MODIFIED events
2021-10-25 14:38:27 -07:00
Kubernetes Prow Robot
770bc04740
Merge pull request #105878 from pohly/generic-ephemeral-volume-test
...
volume e2e: block volume metrics fix
2021-10-25 11:25:14 -07:00
Kubernetes Prow Robot
29552618e3
Merge pull request #105869 from ahg-g/ahg-jobtestfix
...
Fixes TestNodeSelectorUpdate flaky test
2021-10-25 09:38:34 -07:00
Kubernetes Prow Robot
f08ad3e0ed
Merge pull request #105273 from claudiubelu/tests/fixes-pod-collection-flake
...
tests: Wait for pod collection to enter a Running state
2021-10-25 07:34:23 -07:00
Abdullah Gharaibeh
74e1b07a5e
Fixes TestNodeSelectorUpdate flaky test
2021-10-25 10:33:50 -04:00
Patrick Ohly
4c7a8c494e
volume e2e: block volume metrics fix
...
The same PVC name handling as for non-block volumes is also needed for block
volumes.
2021-10-25 12:44:58 +02:00
Kubernetes Prow Robot
7fbb384e15
Merge pull request #105682 from pohly/generic-ephemeral-volume-raw-block
...
storage validation: accept generic ephemeral volumes as volume device
2021-10-22 18:04:50 -07:00
Kubernetes Prow Robot
54ad99f523
Merge pull request #105752 from yselkowitz/s390x-test-images
...
test: use newer test images for better s390x coverage
2021-10-22 11:14:54 -07:00
haichao li
679f520acc
Update glusterdynamic-provisioner to provide support for arm64 ( #105754 )
...
Signed-off-by: Haichao Li <Haichao.li@arm.com>
Change-Id: I69ca60e57cbe8cd98e4b7bb723a635c300e308dc
2021-10-22 10:10:49 -07:00
Kubernetes Prow Robot
491d9ae754
Merge pull request #94786 from ii/proxy-301-redirect
...
Write Pod- & ServiceProxy Test - +12 endpoint coverage
2021-10-22 10:10:37 -07:00
Kubernetes Prow Robot
14c0f84654
Merge pull request #105824 from pohly/generic-ephemeral-volume-test
...
storage e2e: fix volume metric test for PVC
2021-10-21 12:41:56 -07:00
Claudiu Belu
b87cc616b5
tests: Refactors daemonset utils into framework
...
Creates test/e2e/framework/daemonset, which contains commonly
used daemonset-related operations, deduplicating the code for it.
2021-10-21 18:54:38 +03:00
Patrick Ohly
d6aa7e321f
storage e2e: fix volume metric test for PVC
...
The fix for the ephemeral volume
case (7538d089d5
) broke the other variant with
PVC because pvc.Name is only set *after* creating the PVC.
2021-10-21 17:09:49 +02:00
Manjunath A Kumatagi
71ed83963f
Change the copyright year
2021-10-21 20:34:29 +05:30