Claudiu Belu
9b8b378782
tests Windows: Fixes test failures related to COMPUTERNAMEs being truncated
...
Windows ComputerNames cannot exceed 15 characters. This causes a few tests to fail
when the node names exceed that limit. Additionally, the checks should be case
insensitive.
2022-12-13 08:37:39 -08:00
Kubernetes Prow Robot
976a940f4a
Merge pull request #109978 from wojtek-t/remove_storage_tracking
...
Cleanup no-longer used storage cleanup method
2022-05-12 06:31:25 -07:00
Kubernetes Prow Robot
7e083ba2a0
Merge pull request #109968 from kerthcet/feature/optimize-apifield-comment
...
cleanup: modify the comments of NodeInclusionPolicy
2022-05-12 06:31:14 -07:00
Kubernetes Prow Robot
076168b84d
Merge pull request #109990 from tnqn/fix-netpol-error
...
Correct errors in the netpol test suite
2022-05-12 03:43:26 -07:00
Kubernetes Prow Robot
9254f94da1
Merge pull request #109413 from lzhecheng/flexible-internal-static-ip
...
[e2e][azure] Make internalStaticIP flexible
2022-05-12 03:43:14 -07:00
Kubernetes Prow Robot
8aaea8e24c
Merge pull request #107787 from Jiawei0227/volumelimit
...
CSI migration doesn't count inline volumes for attach limit
2022-05-11 23:09:13 -07:00
Quan Tian
b792f7392f
Correct errors in the netpol test suite
...
It was confusing to see message saying "unable to update pod" when it
was actually trying to create a Pod.
Signed-off-by: Quan Tian <qtian@vmware.com>
2022-05-12 10:48:51 +08:00
Kubernetes Prow Robot
cae22d8b8a
Merge pull request #108797 from deads2k/release-1.25-removed-01-checker
...
update for APIs removed in 1.25
2022-05-11 19:25:13 -07:00
Kubernetes Prow Robot
2d6534cde9
Merge pull request #109969 from sttts/sttts-auth-group-adder-race
...
authn: fix cache mutation by AuthenticatedGroupAdder
2022-05-11 18:17:13 -07:00
Kubernetes Prow Robot
af99c75390
Merge pull request #109961 from pohly/e2e-framework-log-test-fix
...
e2e: fix unit test
2022-05-11 14:59:12 -07:00
Kubernetes Prow Robot
889922476a
Merge pull request #108011 from cici37/benchmark
...
Benchmark cel.UnstructuredToVal
2022-05-11 14:59:00 -07:00
Kubernetes Prow Robot
784cf76469
Merge pull request #109930 from wojtek-t/cleanup_etcd_healthcheck
...
Cleanup etcd healthcheck on shutdown
2022-05-11 13:27:25 -07:00
Kubernetes Prow Robot
efbbc29bfd
Merge pull request #109858 from panslava/skip-deleting-updating-rbs-services
...
GCE: skip updating and deleting external loadbalancer if service is managed by ingress-gce
2022-05-11 13:27:13 -07:00
Kubernetes Prow Robot
414990751e
Merge pull request #109519 from kerthcet/refactor/remove-unnecessary-code
...
cleanup: remove useless codes when checking Skip status
2022-05-11 13:27:02 -07:00
Dr. Stefan Schimanski
e09e81e4f6
authn: fix cache mutation by AuthenticatedGroupAdder
...
The cached token authenticator returns a cache value. The group adder changes it.
2022-05-11 22:04:50 +02:00
Wojciech Tyczyński
2dd44d6226
Cleanup no-longer used storage cleanup method
2022-05-11 20:11:37 +02:00
Kubernetes Prow Robot
564b204923
Merge pull request #109972 from wojtek-t/clean_shutdown_1
...
Clean shutdown of couple controllers in integration tests
2022-05-11 10:47:25 -07:00
Kubernetes Prow Robot
b91c5263f5
Merge pull request #109947 from alculquicondor/fix-job-orphan-pod-ut
...
Wait for cache to sync in job's TestWatchOrphanPods
2022-05-11 10:47:13 -07:00
Kubernetes Prow Robot
999b1bbe92
Merge pull request #108414 from aojea/cacher_context
...
cacher: don't accept requests if stopped
2022-05-11 10:47:02 -07:00
Kubernetes Prow Robot
c0f48d2a2e
Merge pull request #109781 from wojtek-t/fix_scheduler_tests
...
Close events recording sink in integration tests
2022-05-11 08:47:14 -07:00
Kubernetes Prow Robot
3bcbf3de11
Merge pull request #108884 from kerthcet/feature/implement-nodeInclusionPolicy
...
feat: implement node inclusion policy in scheduler
2022-05-11 08:47:02 -07:00
Wojciech Tyczyński
1fcc5d9eae
Clear shutdown in deployment integration test
2022-05-11 17:05:31 +02:00
Wojciech Tyczyński
ca68691feb
Clear shutdown in replicationcontroller integration test
2022-05-11 17:05:31 +02:00
Wojciech Tyczyński
c043535250
Clear shutdown in replicaset integration test
2022-05-11 17:05:31 +02:00
Kubernetes Prow Robot
c50579afb1
Merge pull request #109873 from wojtek-t/migrate_repair_to_new_events
...
Migrate ipallocator and portallocator to new Events API
2022-05-11 05:01:14 -07:00
Kubernetes Prow Robot
efb62b3538
Merge pull request #108080 from astoycos/issue-132
...
Fix Panic Condition
2022-05-11 05:01:02 -07:00
Wojciech Tyczyński
cb80082f66
Cleanup etcd healthcheck on shutdown
2022-05-11 12:15:05 +02:00
Patrick Ohly
1aa58532c8
test: enable unit tests under test/e2e
...
The test/e2e directory contains several unit tests that should run as part of
"make test":
./test/e2e/chaosmonkey/chaosmonkey_test.go
./test/e2e/storage/external/external_test.go
./test/e2e/storage/utils/utils_test.go
./test/e2e/framework/log_test.go
./test/e2e/framework/testfiles/testfiles_test.go
./test/e2e/framework/timer/timer_test.go
./test/e2e/framework/node/wait_test.go
./test/e2e/framework/pod/resource_test.go
./test/e2e/framework/config/config_test.go
./test/e2e/framework/ingress/ingress_utils_test.go
./test/e2e/framework/providers/gce/firewall_test.go
Because they were excluded by "./test/e2e/*", some of them became outdated.
./test/e2e/e2e_test.go is the only test that needs to be excluded because it is
the E2E test suite that depends on a functional cluster.
2022-05-11 11:48:58 +02:00
Patrick Ohly
e198c3a544
e2e: fix node wait test
...
Because these tests don't run in the CI, the test did not quite match the
actual code anymore. Apparently a retry mechanism was added after the test was
written.
2022-05-11 11:43:55 +02:00
Patrick Ohly
38348532a3
e2e: reformat log test
...
Using multi-line strings makes the test source code easier to read.
2022-05-11 11:29:56 +02:00
Patrick Ohly
228640ffab
e2e: fix logs unit test
...
The test had two problems:
- the expected line was off by one (probably modified import statements)
- when Gomega failed in TestFailureOutput, Ginkgo panicked because
its fail handler was called outside of a Ginkgo node
Now github.com/stretchr/testify/assert is used for comparing the output because
it works in a unit test without further customization and because the failure
messages are more useful.
2022-05-11 10:50:51 +02:00
kerthcet
41e46a1bb4
cleanup: remove unnecessary codes
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-05-11 16:07:12 +08:00
Kubernetes Prow Robot
b74d023e70
Merge pull request #109694 from RyanAoh/fix-108837
...
Be sure to update the status of StatefulSet even if the new replica creation fails
2022-05-10 21:28:50 -07:00
Kubernetes Prow Robot
5ebf1e8d93
Merge pull request #109950 from swetharepakula/fix-glbc-rbac
...
Add leases permissions to glbc rbac
2022-05-10 17:28:49 -07:00
kerthcet
790d983867
feat: implement NodeInclusionPolicy in TopologySpreadConstraint
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-05-11 07:51:18 +08:00
kerthcet
5e3df9a155
amend comment of NodeInclusionPolicy
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-05-11 07:48:46 +08:00
Swetha Repakula
2fcbb92681
Add leases permissions to glbc rbac
...
* required for leader election for ingress-gce
2022-05-10 15:49:15 -07:00
Kubernetes Prow Robot
cf64022a0f
Merge pull request #109896 from superbrothers/kubectl-delete-fix-discovery-cache-ttl
...
Fix discovery cache TTL to 6 hours
2022-05-10 14:33:36 -07:00
Kubernetes Prow Robot
517dd4ccfe
Merge pull request #109822 from claudiubelu/windows-node-name
...
tests: Include the Windows node name in the exception
2022-05-10 14:33:25 -07:00
David Eads
afb6c68d63
generated: remove no longer served APIs
2022-05-10 14:41:14 -04:00
Aldo Culquicondor
a5f5eab5fd
Wait for cache to sync in job's TestWatchOrphanPods
...
Otherwise the event handler might not be called.
Change-Id: I23c93c2251b411430a0f2469686db6355d84af2f
2022-05-10 14:18:21 -04:00
David Eads
d323a30f60
remove PDB v1beta1 usage where v1 is equivalent
2022-05-10 13:32:07 -04:00
David Eads
233e0cb8c3
enforce strict alpha handling for API serving
2022-05-10 13:32:07 -04:00
Kubernetes Prow Robot
33b2e16372
Merge pull request #107213 from mk46/portname_validation
...
Fixed port name validation error message.
2022-05-10 10:03:42 -07:00
Kubernetes Prow Robot
cc66198570
Merge pull request #108492 from kerthcet/feature/add-NodeInclustionPolicies
...
Add NodeInclusionPolicy to TopologySpreadConstraint in PodSpec
2022-05-10 08:41:43 -07:00
Andrew Stoycos
6aa779f4ed
Fix Panic Condition
...
Currenlty an event recorder can send an event to a
broadcaster that is already stopped, resulting
in a panic. This ensures the broadcaster holds
a lock while it is shutting down and then forces
any senders to drop queued events following
broadcaster shutdown.
It also updates the Action, ActionOrDrop, Watch,
and WatchWithPrefix functions to return an error
in the case where data is sent on the closed bradcaster
channel rather than panicing.
Lastly it updates unit tests to ensure the fix works correctly
fixes: https://github.com/kubernetes/kubernetes/issues/108518
Signed-off-by: Andrew Stoycos <astoycos@redhat.com>
2022-05-10 09:52:08 -04:00
Kubernetes Prow Robot
aa4150cc44
Merge pull request #109928 from zlabjp/fix-reserved-allocator-dup
...
Fix ServiceIPStaticSubrange assigns duplicate IP addresses
2022-05-10 05:18:15 -07:00
Kubernetes Prow Robot
e38dba7a15
Merge pull request #109925 from MikeSpreitzer/more-better-bench
...
Simplify and extend the benchmarks of prometheusextension timing histograms
2022-05-10 05:18:08 -07:00
Kubernetes Prow Robot
8245695028
Merge pull request #109919 from stevekuznetsov/skuznets/clarify-integration-namespace
...
test/integration: clarify namespace utilities
2022-05-10 05:17:56 -07:00
Kubernetes Prow Robot
ccb7118c22
Merge pull request #109914 from stevekuznetsov/skuznets/generic-watch-cancel-test
...
storage/testing: move cancelled watch test to generic package
2022-05-10 05:17:44 -07:00