Commit Graph

108198 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
340ba56567
Merge pull request #109989 from tallclair/image-type
Use typed ImageID for imageutils images
2022-05-13 00:13:48 -07:00
Kubernetes Prow Robot
2d08104ee3
Merge pull request #110013 from enj/enj/i/remove_azure_gcp_auth_plugins
Remove gcp and azure auth plugins
2022-05-12 14:57:55 -07:00
Kubernetes Prow Robot
46469f62db
Merge pull request #109971 from stevekuznetsov/skuznets/isolate-continue
storage: move continue token definition to storage
2022-05-12 14:57:48 -07:00
Kubernetes Prow Robot
0e567664ed
Merge pull request #110009 from azylinski/fix-create-cr-scope
Fix requests scope classification
2022-05-12 13:47:48 -07:00
Kubernetes Prow Robot
1be1ec4aa3
Merge pull request #109970 from stevekuznetsov/skuznets/isolate-versioner
storage: move the APIObjectVersioner definition to storage
2022-05-12 12:32:44 -07:00
Kubernetes Prow Robot
6e04ca634d
Merge pull request #109729 from MikeSpreitzer/wrap-weighted-histograms
Wrap weighted histograms
2022-05-12 12:32:32 -07:00
Steve Kuznetsov
e50cb6c8d3
storage: move test utiltiies out of test files
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2022-05-12 11:52:40 -07:00
Tim Allclair
ab29782d24 Use typed ImageID for imageutils images 2022-05-12 08:51:07 -07:00
Kubernetes Prow Robot
dd1a7893d4
Merge pull request #109997 from aojea/downward_e2e
don't skip Feature:EphemeralStorage based on skipper
2022-05-12 08:09:26 -07:00
Kubernetes Prow Robot
3688442c75
Merge pull request #108115 from haircommander/cadvisor-pod-stats
kubelet/stats: update cadvisor stats provider with new log location
2022-05-12 08:09:13 -07:00
Mike Spreitzer
d23254b7ea More revisions after review 2022-05-12 10:27:58 -04:00
Monis Khan
916cf16cf1
Remove gcp and azure auth plugins
Signed-off-by: Monis Khan <mok@vmware.com>
2022-05-12 10:06:54 -04: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
Artur Żyliński
690c912369 Fix requests scope classification
create (POST) custom resources should be scope:resource
2022-05-12 14:27:51 +02:00
Mike Spreitzer
c87cd36d3e Finish making Gauge and TimingHistogram implement the same interface 2022-05-12 08:00:54 -04: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
Antonio Ojea
9b1f99bee8 don't skip Feature:EphemeralStorage based on skipper 2022-05-12 10:20:52 +02: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
Steve Kuznetsov
fa2a6d6339
storage: isolate the test resource
This test resource only exists to test the versioning logic, but it
cannot live in the general testing package, or import cycles will exist.

Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2022-05-11 09:18:15 -07:00
Steve Kuznetsov
eb3aa5be10
storage: move continue token definition to storage
The means by which we encode and decode the continue token during a
paginated LIST call is not specific to etcd3. In order to allow for a
generic suite of tests against any storage.Interface implementation, we
need this logic to live outside of the etcd3 package, or import cycles
will exist.

Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2022-05-11 08:59:41 -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
Steve Kuznetsov
3939f3003e
storage: move the APIObjectVersioner definition to storage
The means by which we extract and parse the version of an API object is
not specific to etcd3. In order to allow for a generic suite of tests
against any storage.Interface imlpementation, we need this logic to live
outside of the etcd3 package, or import cycles will exist.

Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2022-05-11 08:19:32 -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