Commit Graph

127668 Commits

Author SHA1 Message Date
Antonio Ojea
db3ae754b1 e2e network: adapt dual stack tests for endpoint slices only 2025-01-22 10:20:28 +00:00
Madhav Bhargava
a78983906f
Adding support for providing version for functions in kube_codegen.sh (#129658)
* adding support for providing version for functions in kube_codegen.sh

* addressed review comments

* addressed review comments
2025-01-22 00:04:36 -08:00
Kubernetes Prow Robot
25be4a4bd4
Merge pull request #129720 from alculquicondor/patch-7
Nominate macsko to SIG Scheduling approvers
2025-01-21 19:00:36 -08:00
Kubernetes Prow Robot
0f81ade306
Merge pull request #129739 from tallclair/kubelet-server-cleanup
Kubelet server handler cleanup
2025-01-21 17:46:37 -08:00
Tim Allclair
bda81f1b68 Kubelet server handler cleanup 2025-01-21 16:31:52 -08:00
Kubernetes Prow Robot
a271299643
Merge pull request #129717 from esotsal/fix-128837
testing: Fix pod delete timeout failures after InPlacePodVerticalScaling Graduate to Beta commit
2025-01-21 15:50:47 -08:00
Kubernetes Prow Robot
0d988d7209
Merge pull request #129619 from ffromani/sig-node-approvers-ffromani
Self-nominating ffromani as approver for sig-node container and resource managers
2025-01-21 15:50:36 -08:00
Kubernetes Prow Robot
3d2ee2fbb7
Merge pull request #129609 from carlory/cleanup-exec-utils
Move some exec helper functions from framework/volume to framework/pod
2025-01-21 09:00:37 -08:00
carlory
c68fc01b77 return an error instead of recording a test failure
Signed-off-by: carlory <baofa.fan@daocloud.io>
2025-01-21 23:43:48 +08:00
Kubernetes Prow Robot
a716ea756d
Merge pull request #129635 from macsko/cache_calculateresource_result_when_adding_pod_to_nodeinfo
Use cached calculateResource result when removing pod from NodeInfo in preemption
2025-01-21 04:16:37 -08:00
Maciej Skoczeń
0452ae402a Use cached calculateResource result when removing pod from NodeInfo in preemption 2025-01-21 10:02:57 +00:00
Kubernetes Prow Robot
eed4930b31
Merge pull request #128896 from danwinship/e2e-endpoints
Remove all references to v1.Endpoints from non-network e2e tests
2025-01-21 00:08:38 -08:00
Sotiris Salloumis
c5fc4193bb Fix pod delete issues in podresize tests 2025-01-21 07:25:14 +01:00
Dan Winship
969ecabc0f Remove all references to v1.Endpoints from non-network e2e tests
kube-proxy does not look at Endpoints ever, so it is incorrect for a
test to assume that there is any correlation between whether Endpoints
exist and whether a Service is working. Tests should only be using the
v1.Endpoints API if they are explicitly testing the behavior of
v1.Endpoints, the Endpoints controller, or the EndpointSlice mirroring
controller. There is no reason for any non SIG Network tests to be
testing any of those things, so there should be no references to
v1.Endpoints in test/e2e outside of test/e2e/network.

Also, simplify some pointlessly complicated e2eservice code.
2025-01-20 17:04:46 -05:00
Dan Winship
da5bf27bc5 Remove no-longer-used TestUnderTemporaryNetworkFailure()
This was previously used by some autoscaling tests that have since
been removed. It is somewhat sketchy (and inherently [Disruptive]),
and depends on iptables (so would need to be updated to use nftables
at some point if we were keeping it). Given that it's now unused, just
remove it (as well as some helper functions that are no longer used by
anyone else as well).
2025-01-20 17:04:32 -05:00
Aldo Culquicondor
7266759b67
Nominate macsko to SIG Scheduling approvers 2025-01-20 14:16:00 -05:00
Kubernetes Prow Robot
e69a5ed9b3
Merge pull request #129200 from carlory/remove-GetDeviceNameFromMount
Remove GetDeviceNameFromMount from HostUtils
2025-01-20 10:00:35 -08:00
Kubernetes Prow Robot
ddfd02d568
Merge pull request #129687 from carlory/cleanup-gke
remove gke
2025-01-20 08:46:43 -08:00
Kubernetes Prow Robot
3305fcccf7
Merge pull request #126777 from carlory/fix-image-plugin
Fix GetVolumeName for image volumeplugin
2025-01-20 08:46:36 -08:00
Kubernetes Prow Robot
3a4c2a0bbb
Merge pull request #129271 from aroradaman/dual_stack_healthz
Dual stack healthz server
2025-01-20 07:32:42 -08:00
Kubernetes Prow Robot
beeb1d2b84
Merge pull request #128850 from toVersus/fix/sidecar-container-named-port
Fix named ports of restartable init containers don't propagate to EndpointSlice
2025-01-20 07:32:35 -08:00
carlory
aaac13fc6a remove gke from e2e 2025-01-20 21:50:46 +08:00
Kubernetes Prow Robot
78ad9a7b97
Merge pull request #129707 from soltysh/expand_portforward_errors
e2e: expand error conditions when test-ing port-forward
2025-01-20 05:36:40 -08:00
Maciej Szulik
5cd7325cd7
e2e: expand error conditions when test-ing port-forward
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2025-01-20 13:21:43 +01:00
Kubernetes Prow Robot
32130691a4
Merge pull request #129678 from carlory/fsgroup
remove feature label FSGroup
2025-01-20 03:04:36 -08:00
Kubernetes Prow Robot
4766d191f4
Merge pull request #129577 from ning0515/fix-125332
Only set worker to nil when the key exists.
2025-01-20 01:14:36 -08:00
Kubernetes Prow Robot
2c9153576e
Merge pull request #129538 from hzxuzhonghu/http2-clean
Cleanup: only initiate http2 server options when http2 is not disabled
2025-01-19 21:02:36 -08:00
Kubernetes Prow Robot
8b1fe81dfa
Merge pull request #129681 from carlory/remove-Recreate
Remove unnecessary feature label Recreate
2025-01-19 09:32:35 -08:00
Kubernetes Prow Robot
d12c3c3742
Merge pull request #129662 from utam0k/qhint-prefix
Put the target plugin names in the Qhint integration test cases
2025-01-19 06:08:35 -08:00
utam0k
e1fdced21f
Put the target plugin names in the Qhint integration test cases
Signed-off-by: utam0k <k0ma@utam0k.jp>
2025-01-19 21:55:11 +09:00
carlory
aecf3238bf fix lint errors
Signed-off-by: carlory <baofa.fan@daocloud.io>
2025-01-19 20:46:37 +08:00
Kubernetes Prow Robot
1c32094c03
Merge pull request #129258 from skitt/securejoin-0.3.5
Bump filepath-securejoin to 0.3.5
2025-01-18 11:44:34 -08:00
Kubernetes Prow Robot
c4358f3ec2
Merge pull request #129672 from carlory/flexvolume-feature-label
add a comment to features.Flexvolumes
2025-01-18 07:50:34 -08:00
Kubernetes Prow Robot
b92b3d33e2
Merge pull request #129644 from neolit123/1.33-update-text-at-end-of-reset
kubeadm: improve message in 'reset'
2025-01-18 06:38:41 -08:00
Kubernetes Prow Robot
fcc1e9002a
Merge pull request #129450 from carlory/kubeadm-exec-check
kubeadm: update preflight check
2025-01-18 06:38:34 -08:00
carlory
8b4eae24ab Move some exec helper functions from framework/volume to framework/pod 2025-01-18 21:42:42 +08:00
carlory
d3974065c8 Remove GetDeviceNameFromMount from HostUtils
Signed-off-by: carlory <baofa.fan@daocloud.io>
2025-01-18 21:23:54 +08:00
carlory
612fcdaf73 add a comment for features.Flexvolumes 2025-01-18 21:18:49 +08:00
Kubernetes Prow Robot
ecbe8319f4
Merge pull request #129692 from alexanderConstantinescu/kep-3836-133
KEP-3836: 1.33 - remove feature gate KubeProxyDrainingTerminatingNodes
2025-01-17 17:53:09 -08:00
Kubernetes Prow Robot
b480e3130f
Merge pull request #129669 from aramase/aramase/f/credential_provider_config_dup_validation
credential provider config: validate duplicate names early and preserve provider order
2025-01-17 17:53:03 -08:00
Kubernetes Prow Robot
5d478a6227
Merge pull request #129581 from carlory/e2e-honor-pv-relaim-policy
storage e2e tests: add more tests for pv relaim policy
2025-01-17 17:52:56 -08:00
Kubernetes Prow Robot
5da75638ee
Merge pull request #129545 from pohly/test-ginkgo-progress
hack/ginkgo-e2e.sh: forward TERM/INT to Ginkgo
2025-01-17 17:52:48 -08:00
Kubernetes Prow Robot
e54dedc93e
Merge pull request #129376 from carlory/update-fg
run hack/update-featuregates.sh
2025-01-17 17:52:41 -08:00
Kubernetes Prow Robot
46708fa09e
Merge pull request #128809 from bitoku/pod-test
Change way to create a pod in test
2025-01-17 17:52:34 -08:00
Kubernetes Prow Robot
6b54ed3c7e
Merge pull request #128905 from carlory/fix-128849
fix flaky behavior due to the test ordering between DynamicProvisioner and Retroactive StorageClass Assignment
2025-01-17 15:28:34 -08:00
Kubernetes Prow Robot
b66142831a
Merge pull request #128700 from jsafrane/selinux-changepolicy-e2e
selinux: Add e2e tests for SElinuxChangePolicy
2025-01-17 12:22:35 -08:00
Kubernetes Prow Robot
9e0353b81e
Merge pull request #122016 from carlory/ref-pr-80043
removed the dependency on `k8s.io/util/nsenter`
2025-01-17 11:06:35 -08:00
Kubernetes Prow Robot
6a65718f8e
Merge pull request #124300 from walker-tom/update-envfromsource-docs
Update EnvFromSource.Prefix doc to mention Secret as well as ConfigMap
2025-01-17 08:56:35 -08:00
Alexander Constantinescu
45529062e7 KEP-3836: 1.33 - remove feature gate 2025-01-17 17:04:40 +01:00
Patrick Ohly
ce9e398641 hack/ginkgo-e2e.sh: forward TERM/INT to Ginkgo
What happens at the moment in e.g. pull-kubernetes-e2e-kind in case of a
timeout is that ginkgo-e2e.sh gets killed with SIGTERM. This is not propagated
to the E2E test suite processes, therefore there is no "Interrupted by User"
report and no JUnit file, depending on timing during the process shutdown.

Running the Ginkgo CLI with job control enabled creates a new process group,
which then can be used to kill the Ginko CLI and the E2E test suite
processes. With these changes, more information is produced. Some of it seems
a bit redundant, but it's better than none:

*** hack/ginkgo-e2e.sh: received termination signal -> asking Ginkgo to stop.
***
*** Beware that a timeout may have been caused by some earlier test,
*** not necessarily the one which gets interrupted now.
*** See the "Spec runtime" for information about how long the
*** interrupted test was running.

  ------------------------------
  Interrupted by User
  First interrupt received; Ginkgo will run any cleanup and reporting nodes but will skip all remaining specs.  Interrupt again to skip cleanup.
  Here's a current progress report:
    [sig-node] DRA [Feature:DynamicResourceAllocation] [FeatureGate:DynamicResourceAllocation] [Beta] ResourceSlice Controller creates slices (Spec Runtime: 9
.065s)
      k8s.io/kubernetes/test/e2e/dra/dra.go:812
      In [It] (Node Runtime: 9.044s)
        k8s.io/kubernetes/test/e2e/dra/dra.go:812
        At [By Step] Creating slices (Step Runtime: 8.884s)
          k8s.io/kubernetes/test/e2e/dra/dra.go:847
...
        Begin Additional Progress Reports >>
          There is no failure as the matcher passed to Consistently has not yet failed
        << End Additional Progress Reports
  ------------------------------
• [INTERRUPTED] [11.955 seconds]
[sig-node] DRA [Feature:DynamicResourceAllocation] [FeatureGate:DynamicResourceAllocation] [Beta] ResourceSlice Controller [It] creates slices [sig-node, Feature:DynamicResourceAllocation, FeatureGate:DynamicResourceAllocation, Feature:Beta]
k8s.io/kubernetes/test/e2e/dra/dra.go:812

  Timeline >>
  STEP: Creating a kubernetes client @ 01/09/25 17:18:59.769
...
  [FAILED] in [It] - k8s.io/kubernetes/test/e2e/dra/dra.go:881 @ 01/09/25 17:19:08.835
  I0109 17:19:11.703212 302727 helper.go:125] Waiting up to 7m0s for all (but 0) nodes to be ready
  STEP: dump namespace information after failure @ 01/09/25 17:19:11.706
  STEP: Collecting events from namespace "dra-7998". @ 01/09/25 17:19:11.706
  STEP: Found 0 events. @ 01/09/25 17:19:11.708
...
  STEP: Destroying namespace "dra-7998" for this suite. @ 01/09/25 17:19:11.72
  << Timeline

  [INTERRUPTED] Interrupted by User
  In [It] at: k8s.io/kubernetes/test/e2e/dra/dra.go:812 @ 01/09/25 17:19:08.833

  This is the Progress Report generated when the interrupt was received:
    [sig-node] DRA [Feature:DynamicResourceAllocation] [FeatureGate:DynamicResourceAllocation] [Beta] ResourceSlice Controller creates slices (Spec Runtime: 9
.065s)
...

  [FAILED] An interrupt occurred and then the following failure was recorded in the interrupted node before it exited:
  Context was cancelled (cause: Interrupted by User) after 0.329s.
  There is no failure as the matcher passed to Consistently has not yet failed
  In [It] at: k8s.io/kubernetes/test/e2e/dra/dra.go:881 @ 01/09/25 17:19:08.835
------------------------------
Checking for custom logdump instances, if any
----------------------------------------------------------------------------------------------------
k/k version of the log-dump.sh script is deprecated!
Please migrate your test job to use test-infra's repo version of log-dump.sh!
Migration steps can be found in the readme file.
----------------------------------------------------------------------------------------------------
Sourcing kube-util.sh
Detecting project
Skeleton Provider: detect-project not implemented
Dumping logs from master locally to '/tmp/test'
Master SSH not supported for local
Dumping logs from nodes locally to '/tmp/test'
Node SSH not supported for local

Summarizing 1 Failure:
  [INTERRUPTED] [sig-node] DRA [Feature:DynamicResourceAllocation] [FeatureGate:DynamicResourceAllocation] [Beta] ResourceSlice Controller [It] creates slices [sig-node, Feature:DynamicResourceAllocation, FeatureGate:DynamicResourceAllocation, Feature:Beta]
  k8s.io/kubernetes/test/e2e/dra/dra.go:812

Ran 1 of 6644 Specs in 12.208 seconds
FAIL! - Interrupted by User -- 0 Passed | 1 Failed | 0 Pending | 6643 Skipped
--- FAIL: TestE2E (12.74s)
FAIL

Ginkgo ran 1 suite in 13.379078611s
2025-01-17 16:28:41 +01:00