Commit Graph

109018 Commits

Author SHA1 Message Date
Steve Kuznetsov
1f24bd91c3
storage/testing: move cancelled watch test to generic package
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2022-05-09 09:19:07 -07:00
Kubernetes Prow Robot
b53be1d66e
Merge pull request #109879 from zzr93/master
wake up only when pod being added to activeQ
2022-05-09 09:09:18 -07:00
Dan Winship
24e1e3d9ee proxy/iptables: port packet-flow tests to use new parsing stuff 2022-05-09 11:29:08 -04:00
Dan Winship
913f4bc0ba pkg/util/iptables/testing: Fix FakeIPTables
FakeIPTables barely implemented any of the iptables interface, and the
main part that it did implement, it implemented incorrectly. Fix it:

- Implement EnsureChain, DeleteChain, EnsureRule, and DeleteRule, not
  just SaveInto/Restore/RestoreAll.

- Restore/RestoreAll now correctly merge the provided state with the
  existing state, rather than simply overwriting it.

- SaveInto now returns the table that was requested, rather than just
  echoing back the Restore/RestoreAll.
2022-05-09 11:29:08 -04:00
Dan Winship
10a72a9e03 pkg/util/iptables/testing: Add IPTables dump-parsing helpers 2022-05-09 11:29:06 -04:00
Steve Kuznetsov
c0fc817255
etcd3/store: call a generic cancelled watch test
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2022-05-09 08:23:03 -07:00
Steve Kuznetsov
774870611c
etcd3/store: update cancelled watch test to be generic
There's no reason to create the watch using the underlying watcher.

Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2022-05-09 08:22:04 -07:00
Dan Winship
f0f47ae590 proxy/iptables: tweak sortIPTablesRules some more
Sort the ":CHAINNAME" lines in the same order as the "-A CHAINNAME"
lines (meaning, KUBE-NODEPORTS and KUBE-SERVICES come first).

(This will simplify IPTablesDump because it won't need to keep track
of the declaration order and the rule order separately.)
2022-05-09 11:19:28 -04:00
Dan Winship
f2fa1033d0 pkg/util/iptables/testing: Add better IPTables rule-parsing helpers
There were previously some strange iptables-rule-parsing functions
that were only used by two unit tests in pkg/proxy/ipvs. Get rid of
them and replace them with some much better iptables-rule-parsing
functions.
2022-05-09 11:19:26 -04:00
Steve Kuznetsov
f894f8196d
etcd3/store: update creation test to use storage client
There is no functional difference between checking for an empty key
using the database client and doing so with the storage interface. Using
the latter allows this test to be more portable.

Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2022-05-09 07:59:38 -07:00
Antonio Ojea
eba27127db integration: force close httpserver on exit 2022-05-09 16:18:26 +02:00
Kubernetes Prow Robot
543893cbb0
Merge pull request #109899 from wojtek-t/cleanup_apiserver_holder
Minor cleanup in  apiserver startup in integration tests
2022-05-09 06:33:31 -07:00
Kubernetes Prow Robot
d9780798ba
Merge pull request #109849 from pacoxu/fix-data-race
fix data race in device manager plugin hander
2022-05-09 06:33:20 -07:00
Kubernetes Prow Robot
4717a59097
Merge pull request #109734 from kidddddddddddddddddddddd/enhance_assertions_auth
test/e2e/auth: enhance assertions
2022-05-09 03:29:18 -07:00
Wojciech Tyczyński
d1c9042f57 Unify apiserver startup in integration tests 2022-05-09 12:08:38 +02:00
Kubernetes Prow Robot
d45cff7116
Merge pull request #109872 from ialidzhikov/nit/changelog
Clean up wrong release note
2022-05-09 01:35:19 -07:00
Wojciech Tyczyński
f1d901861b Migrate ipallocator and portallocator to new Events API 2022-05-09 09:37:47 +02:00
ahrtr
584d994133 replace all the deprecated ioutil with io and os 2022-05-09 15:27:13 +08:00
Kubernetes Prow Robot
e8ac6d8a8e
Merge pull request #109897 from Huang-Wei/apiserver-sched-int-test
Refactor scheduler integration test that starts APIServer in a non-standarized manner
2022-05-09 00:07:18 -07:00
Patrick Ohly
93199ee1ed dependencies: bump CSI to v1.6.0
The main difference is that GetCapacityResponse.MaximumVolumeSize is no longer
marked as "alpha".
2022-05-09 08:26:20 +02:00
Wei Huang
c96109a321
Refactor scheduler integration test that starts APIServer in a non-standarized manner 2022-05-08 22:28:13 -07:00
Kazuki Suda
d2b4c017c8
Fix discovery cache TTL to 6 hours
Signed-off-by: Kazuki Suda <kazuki.suda@gmail.com>
2022-05-09 13:47:52 +09:00
Kubernetes Prow Robot
bf52c1fd46
Merge pull request #109891 from pohly/log-dependency-update
dependencies: logr and zapr v1.2.3
2022-05-08 17:59:18 -07:00
zzr93
923a99db95 unify wake up variable names to activated 2022-05-08 12:09:13 +08:00
Kensei Nakada
d2ec06c828
Add sanposhiho to SIG Scheduling reviewers 2022-05-08 12:39:47 +09:00
Kubernetes Prow Robot
7af5a7bfc5
Merge pull request #109602 from lavalamp/remove-clustername
Finish clustername removal
2022-05-07 08:01:16 -07:00
Mikhail Mazurskiy
6d74474972 Don't clone headers twice
CloneRequest() clones headers too
2022-05-07 22:33:50 +10:00
Kubernetes Prow Robot
c8b3b293c0
Merge pull request #109756 from kidddddddddddddddddddddd/FilterOutPods_O_len
remove pkg/scheduler/framework/FilterOutPods since it's not used anymore
2022-05-07 04:41:17 -07:00
Kubernetes Prow Robot
570f1092f4
Merge pull request #109542 from sanposhiho/fix-test-case-scheduler-perf
scheduler_perf: Remove test cases for Preemption which always fail
2022-05-07 03:33:29 -07:00
Kubernetes Prow Robot
fcffb6de7e
Merge pull request #108089 from mysunshine92/nodeController-20220212
fix typo for nodelifecycle controller
2022-05-07 03:33:18 -07:00
Kubernetes Prow Robot
9d0bb09fae
Merge pull request #109845 from danwinship/proxy-chain-variables
unexport mistakenly-exported kube-proxy constants
2022-05-06 21:15:28 -07:00
Kubernetes Prow Robot
c8cdf08191
Merge pull request #109684 from yibozhuang/test-cleanup
cleanup: move scheduler unit tests to use PodWrapper
2022-05-06 21:15:16 -07:00
kidddddddddddddddddddddd
6791ba2590 test/e2e/auth: enhance assertions 2022-05-07 11:58:06 +08:00
Mike Spreitzer
b2c0c22e8f A bit more tidying up 2022-05-06 23:45:21 -04:00
kidddddddddddddddddddddd
a42f06263f remove FilterOutPods 2022-05-07 11:28:24 +08:00
zzr93
94ed4d0761 wake up only when pod being added to activeQ 2022-05-07 11:23:06 +08:00
Paco Xu
0ec7e38ef0 fix data race in device manager plugin hander 2022-05-07 11:18:23 +08:00
Kubernetes Prow Robot
af4dceeac2
Merge pull request #109308 from danwinship/traffic-policy-docs
Clarify ExternalTrafficPolicy/InternalTrafficPolicy definitions
2022-05-06 17:23:16 -07:00
Jack Francis
b2e40d8f32 azure: remove GA IPv6DualStack feature-gate 2022-05-06 14:40:51 -07:00
Daniel Smith
a427cd6569 compat 2022-05-06 21:25:20 +00:00
ialidzhikov
22c2fd9388 Clean up wrong release note
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2022-05-06 21:54:01 +03:00
Kubernetes Prow Robot
b15d3b629f
Merge pull request #109859 from jasonbraganza/jasonbraganza-exclude-verify-licenses-from-umbrella-job
add verify-licenses.sh to the EXCLUDED_PATTERNS in make-rules/verify.sh
2022-05-06 11:27:04 -07:00
Kubernetes Prow Robot
83b25e371f
Merge pull request #109834 from aojea/split_scheduling_integration
integration: refactor and split scheduler tests
2022-05-06 09:07:32 -07:00
Kubernetes Prow Robot
f7457747f6
Merge pull request #109833 from stevekuznetsov/skuznets/move-simple-tests
storage/etcd3: factor tests to accept `storage.Interface`
2022-05-06 09:07:25 -07:00
Kubernetes Prow Robot
7e6a8bc3db
Merge pull request #109252 from kerthcet/fix/goroutine-leak-in-integration-tests
fix: resolve goroutine leak in integration tests
2022-05-06 09:07:17 -07:00
Kubernetes Prow Robot
03a46ac94b
Merge pull request #108727 from sanposhiho/fix-bug-clone
Copy recordPluginMetrics in CycleState.Clone
2022-05-06 09:07:05 -07:00
Kubernetes Prow Robot
e84f62e695
Merge pull request #109836 from tnqn/fix-apiservice-error
Fix OpenAPI loading error caused by empty APIService
2022-05-06 07:57:16 -07:00
Kubernetes Prow Robot
8ca76bad17
Merge pull request #108420 from humblec/secretRef-introduction
csi: modularize validation of secretRef object fields for PV
2022-05-06 07:57:04 -07:00
Mario Jason Braganza
066fd90f26
add verify-licenses.sh to the EXCLUDED_PATTERNS in make-rules/verify.sh 2022-05-06 19:03:03 +05:30
Paco Xu
aa0642790b do not skip DownwardAPIHugePages 2022-05-06 21:24:58 +08:00