Kubernetes Prow Robot
d250877696
Merge pull request #84188 from danwinship/service-sanitycheck-fix-2
...
Comment out an e2eservice sanity check for now
2019-10-23 12:51:19 -07:00
Kubernetes Prow Robot
0f1a8054f9
Merge pull request #83579 from deads2k/dynamic-cert-file-ca-bundle
...
Dynamic cert file ca bundle
2019-10-23 12:49:27 -07:00
David Eads
6beb96261e
wire up a means to dynamically reload ca bundles for kube-apiserver
2019-10-23 11:01:56 -04:00
Dan Winship
cc8d3335b7
Make e2eservice.CheckAffinity wait longer, to avoid flakes
2019-10-23 10:28:54 -04:00
draveness
35d772e354
feat: graduate ScheduleDaemonSetPods to GA
2019-10-23 21:34:47 +08:00
Jordan Liggitt
c6fe4f0ac4
Use v1 CRD deletion endpoints in e2e tests
2019-10-23 09:01:38 -04:00
wojtekt
bf34ba0cdf
Fix timeouts for networking tests in large clusters
2019-10-23 14:44:45 +02:00
Sean Sullivan
b43992f752
Updates file to reference cli-runtime printer package
2019-10-22 23:45:08 -07:00
Cheng Pan
b281d45749
Increase ClaimProvisionTimeout to 7 minutes
2019-10-23 05:40:06 +00:00
Kubernetes Prow Robot
ca0e694d63
Merge pull request #84174 from Random-Liu/upgrade-all-node-pools
...
Upgrade all node pools for gke upgrade test.
2019-10-22 20:10:36 -07:00
Jordan Liggitt
8d0e4a4492
Revert "move hostPID tests to common"
...
This reverts commit 20ac24929b
.
2019-10-22 21:28:44 -04:00
Cristian Dima
da759609dc
in pkg/controller/service rename service_controller.go to controller.go
2019-10-23 01:52:19 +03:00
Brendan Chang
862e814f82
Use sigyaml for the metav1 fuzz targets
2019-10-22 16:41:49 -04:00
Dan Winship
6a5caea2f6
Comment out an e2eservice sanity check for now
2019-10-22 10:27:51 -04:00
Odin Ugedal
fe8f75c500
Fix startup probe test by checking updated values
2019-10-22 10:04:56 +02:00
Yecheng Fu
7c7ba19781
Revert "Disable local block volume reconstruction test"
...
This reverts commit 7c240a18b6
.
2019-10-22 14:28:20 +08:00
Kubernetes Prow Robot
3ff376923d
Merge pull request #83971 from yutedz/err-start-master
...
Log the error before calling closeFn
2019-10-21 22:31:21 -07:00
Lantao Liu
983fd27454
Upgrade all node pools for gke upgrade test.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-10-21 22:28:53 -07:00
Kubernetes Prow Robot
10490a645c
Merge pull request #84159 from danwinship/service-sanitycheck-fix
...
Fix sanity-checking of LoadBalancer services in e2eservice.TestJig
2019-10-21 21:12:32 -07:00
Kubernetes Prow Robot
ffffd6b6f5
Merge pull request #84148 from gongguan/filter_plugin
...
[migration phase 1] Add filter plugin for cloud provider storage predicate
2019-10-21 21:12:19 -07:00
Kubernetes Prow Robot
9039e6b754
Merge pull request #83398 from bclau/tests/fix-windows-image-pulling
...
tests: Simplifies image pulling tests
2019-10-21 19:55:21 -07:00
Kubernetes Prow Robot
c981bce007
Merge pull request #83368 from Jefftree/move-hostpid-tests
...
Move hostPID tests to common
2019-10-21 17:09:22 -07:00
Ted Yu
79dfd42718
Log the error even if closeFn crashes
2019-10-21 16:41:54 -07:00
Brendan Chang
d2074fcdb8
Add fuzz targets for Duration, MicroTime, and Time
2019-10-21 19:00:39 -04:00
louisgong
70ca08ec89
filter plugin for cloud provider storage predicate
2019-10-21 23:56:23 +08:00
Dan Winship
0aae11db48
Fix sanity-checking of LoadBalancer services in e2eservice.TestJig
2019-10-21 10:33:38 -04:00
Kubernetes Prow Robot
ac6c77c440
Merge pull request #84121 from zouyee/renamefit
...
rename FilterPlugin NodeResources
2019-10-20 20:45:37 -07:00
Kubernetes Prow Robot
ba4adeff20
Merge pull request #84090 from oomichi/move-LaunchHostExecPod
...
Move LaunchHostExecPod() to e2e network
2019-10-20 17:47:37 -07:00
zouyee
04340eaa34
rename FilterPlugin NodeResources
...
Signed-off-by: Zou Nengren <zouyee1989@gmail.com>
2019-10-20 12:51:16 +08:00
Kubernetes Prow Robot
e1685b5b59
Merge pull request #84074 from zouyee/proirity
...
LeastRequestedPriority/MostRequestedPriority/BalancedResourceAllocation as Score plugins
2019-10-19 17:21:37 -07:00
Kubernetes Prow Robot
7e53c9d808
Merge pull request #83756 from hex108/permit
...
Refactor scheduler's framework permit API
2019-10-19 06:47:37 -07:00
zouyee
408c9da2a6
LeastRequestedPriority/MostRequestedPriority/BalancedResourceAllocation as Score plugins
...
Signed-off-by: Zou Nengren <zouyee1989@gmail.com>
2019-10-19 20:49:05 +08:00
Kubernetes Prow Robot
0c91af21b4
Merge pull request #84047 from draveness/feature/node-unschedulable-filter
...
feat: implement node unschedulable as a filter plugin
2019-10-19 04:03:37 -07:00
draveness
00a12c787c
feat: implement node unschedulable as a filter plugin
2019-10-19 17:29:25 +08:00
Kubernetes Prow Robot
ff7a09928b
Merge pull request #84070 from neolit123/1.17-remove-test-owners-ref
...
remove usage of the test/test_owners.* files
2019-10-19 02:13:36 -07:00
Jun Gong
38b7668bb3
Refactor scheduler's framework permit API
2019-10-19 16:22:39 +08:00
Kubernetes Prow Robot
0f7873ad5c
Merge pull request #82308 from zhlhahaha/kubectl_flag
...
Add kubectlPath flag to e2e_node.test
2019-10-18 23:47:37 -07:00
Kubernetes Prow Robot
52063ef8c9
Merge pull request #84094 from yutedz/stor-max-size
...
Clarify the role for SupportedSizeRange
2019-10-18 21:54:30 -07:00
Kubernetes Prow Robot
578d061666
Merge pull request #84064 from cblecker/go-1.12.11
...
Update to use go1.12.12
2019-10-18 21:54:02 -07:00
Kubernetes Prow Robot
91627f4962
Merge pull request #83805 from wk8/wk8/gmsa_e2e_tweak
...
Amending the GMSA e2e test to allow it to run against Windows-only clusters
2019-10-18 21:53:50 -07:00
Kubernetes Prow Robot
0a6e5e65b9
Merge pull request #83750 from mwwolters/json_fuzz
...
A go-fuzz target for Serializer.Encode/Decode, tested with go-fuzz
2019-10-18 21:53:37 -07:00
Kubernetes Prow Robot
aab740ffc2
Merge pull request #82703 from draveness/feature/graduate-taint-nodes-by-condition-to-ga
...
feat: update taint nodes by condition to GA
2019-10-18 20:01:37 -07:00
draveness
1163a1d51e
feat: update taint nodes by condition to GA
2019-10-19 09:17:41 +08:00
Michelle Au
1634ada147
remove hostnetwork from hostpath csi manifest
2019-10-18 18:14:17 -07:00
Ted Yu
0ae181cf0c
Clarify the role for SupportedSizeRange
2019-10-18 14:58:56 -07:00
Kubernetes Prow Robot
103afd2ba7
Merge pull request #83549 from danwinship/service-jig-sanitycheck
...
more e2eservice.TestJig cleanups
2019-10-18 12:37:31 -07:00
Kubernetes Prow Robot
b5c74a3f26
Merge pull request #82817 from zouyee/scpq
...
fix Security Context should run with an image specified user ID
2019-10-18 12:37:22 -07:00
Kubernetes Prow Robot
edfffffdac
Merge pull request #82656 from odinuge/hugetlb-drop-caches
...
Compact memory before requesting huge pages
2019-10-18 12:37:08 -07:00
Christoph Blecker
e570e3e88d
Update to use go1.12.12
2019-10-18 10:37:34 -07:00
Kenichi Omichi
5285cf3eb2
Move LaunchHostExecPod() to e2e network
...
LaunchHostExecPod() is called only from e2e network.
So it is not necessary to keep the function as a part of e2e framework.
This moves it to the place which calls the function.
2019-10-18 17:29:01 +00:00
Kubernetes Prow Robot
27c679baca
Merge pull request #83982 from lichuqiang/frame_mig1
...
[migration phase 1] MatchInterPodAffinity as filter plugin
2019-10-18 09:23:58 -07:00
Mark Wolters
78c57cb2a3
Added go-fuzz target for json serializer Encode/Decode.
2019-10-18 09:11:43 -07:00
Dan Winship
52b366457f
Add Namespace to e2eservice.TestJig, make all methods use jig namespace and name
...
Many TestJig methods made the caller pass a serviceName argument, even
though the jig already has a name, and every caller was passing the
same name to each function as they had passed to NewTestJig().
Likewise, many methods made the caller pass a namespace argument, but
only a single test used more than one namespace, and it can easily be
rewritten to use two test jigs as well.
2019-10-18 08:37:19 -04:00
Dan Winship
a0ad420018
Make e2eservice.TestJig methods return errors rather than failing
...
This is the preferred style for framework methods, and it lets us
write tests to confirm that certain things *don't* work.
2019-10-18 08:36:40 -04:00
Dan Winship
4dcc6229b1
Call jig.SanityCheckService automatically after changes
2019-10-18 08:35:55 -04:00
Kubernetes Prow Robot
422256110e
Merge pull request #84073 from draveness/feature/cleanup-framework-plugins
...
feat: several cleanups in the scheduling package
2019-10-18 04:43:57 -07:00
lichuqiang
671f7690fe
[migration phase 1] MatchInterPodAffinity as filter plugin
2019-10-18 16:26:34 +08:00
Kubernetes Prow Robot
d1a79f136b
Merge pull request #84054 from ahg-g/ahg-gp
...
GeneralPredicate as framework plugin config
2019-10-17 21:19:58 -07:00
draveness
39af760930
feat: several cleanups in the scheduling package
...
+ Remove unused variable in tests.
+ Use more common statement for interface conformance check.
+ Fix several comments in the framework plugins.
2019-10-18 11:14:05 +08:00
Kubernetes Prow Robot
91050062f9
Merge pull request #83894 from notpad/feature/migration_nodevolumelimit
...
[migration phase 1] CSIMaxVolumeLimitChecker as filter plugin
2019-10-17 19:50:41 -07:00
Kubernetes Prow Robot
ae474606f1
Merge pull request #83831 from yuxiaobo96/k8s-check2
...
Remove direct references to prometheus from transformation_testcase.go
2019-10-17 19:49:58 -07:00
Dan Winship
85ebedd93e
Remove an unneccessary e2eservice.TestJig method
2019-10-17 21:47:34 -04:00
Kubernetes Prow Robot
1f8b3bfd98
Merge pull request #83811 from immutableT/single-kms-mock
...
Use single kms-plugin mock in unit and integration tests.
2019-10-17 18:17:57 -07:00
Lubomir I. Ivanov
2c54160021
remove usage of the test/test_owners.* files
...
- remove update_owners.py; seems responsible for generating
test_owners files
- remove the existing test/test_owners.* files
- remove verify-test-owners.sh and references to it
2019-10-18 03:01:21 +03:00
Kubernetes Prow Robot
7ed388caa6
Merge pull request #83744 from neolit123/1.17-move-test-owners-sig-cl-gcp
...
test/e2e: move some tests from cluster-lifecycle to cloud-provider-gcp
2019-10-17 16:33:58 -07:00
Kubernetes Prow Robot
e129a6bc3f
Merge pull request #80004 from Miciah/prefer-to-delete-doubled-up-pods-of-a-replicaset
...
Prefer to delete doubled-up pods of a ReplicaSet
2019-10-17 15:09:58 -07:00
immutablet
4d24b41410
Use single kms-plugin mock in unit and integration tests.
2019-10-17 13:46:03 -07:00
Kubernetes Prow Robot
397f8b4248
Merge pull request #84020 from BenTheElder/bentheelder-checks-types
...
add myself to typecheck / go-srcimporter owners, move rmmh to emeritus
2019-10-17 09:52:38 -07:00
Miciah Masters
980b6406b2
Prefer to delete doubled-up pods of a ReplicaSet
...
When scaling down a ReplicaSet, delete doubled up replicas first, where a
"doubled up replica" is defined as one that is on the same node as an
active replica belonging to a related ReplicaSet. ReplicaSets are
considered "related" if they have a common controller (typically a
Deployment).
The intention of this change is to make a rolling update of a Deployment
scale down the old ReplicaSet as it scales up the new ReplicaSet by
deleting pods from the old ReplicaSet that are colocated with ready pods of
the new ReplicaSet. This change in the behavior of rolling updates can be
combined with pod affinity rules to preserve the locality of a Deployment's
pods over rollout.
A specific scenario that benefits from this change is when a Deployment's
pods are exposed by a Service that has type "LoadBalancer" and external
traffic policy "Local". In this scenario, the load balancer uses health
checks to determine whether it should forward traffic for the Service to a
particular node. If the node has no local endpoints for the Service, the
health check will fail for that node. Eventually, the load balancer will
stop forwarding traffic to that node. In the meantime, the service proxy
drops traffic for that Service. Thus, in order to reduce risk of dropping
traffic during a rolling update, it is desirable preserve node locality of
endpoints.
* pkg/controller/controller_utils.go (ActivePodsWithRanks): New type to
sort pods using a given ranking.
* pkg/controller/controller_utils_test.go (TestSortingActivePodsWithRanks):
New test for ActivePodsWithRanks.
* pkg/controller/replicaset/replica_set.go
(getReplicaSetsWithSameController): New method. Given a ReplicaSet, return
all ReplicaSets that have the same owner.
(manageReplicas): Call getIndirectlyRelatedPods, and pass its result to
getPodsToDelete.
(getIndirectlyRelatedPods): New method. Given a ReplicaSet, return all
pods that are owned by any ReplicaSet with the same owner.
(getPodsToDelete): Add an argument for related pods. Use related pods and
the new getPodsRankedByRelatedPodsOnSameNode function to take into account
whether a pod is doubled up when sorting pods for deletion.
(getPodsRankedByRelatedPodsOnSameNode): New function. Return an
ActivePodsWithRanks value that wraps the given slice of pods and computes
ranks where each pod's rank is equal to the number of active related pods
that are colocated on the same node.
* pkg/controller/replicaset/replica_set_test.go (newReplicaSet): Set
OwnerReferences on the ReplicaSet.
(newPod): Set a unique UID on the pod.
(byName): New type to sort pods by name.
(TestGetReplicaSetsWithSameController): New test for
getReplicaSetsWithSameController.
(TestRelatedPodsLookup): New test for getIndirectlyRelatedPods.
(TestGetPodsToDelete): Augment the "various pod phases and conditions, diff
= len(pods)" test case to ensure that scale-down still selects doubled-up
pods if there are not enough other pods to scale down. Add a "various pod
phases and conditions, diff = len(pods), relatedPods empty" test case to
verify that getPodsToDelete works even if related pods could not be
determined. Add a "ready and colocated with another ready pod vs not
colocated, diff < len(pods)" test case to verify that a doubled-up pod gets
preferred for deletion. Augment the "various pod phases and conditions,
diff < len(pods)" test case to ensure that not-ready pods are preferred
over ready but doubled-up pods.
* pkg/controller/replicaset/BUILD: Regenerate.
* test/e2e/apps/deployment.go
(testRollingUpdateDeploymentWithLocalTrafficLoadBalancer): New end-to-end
test. Create a deployment with a rolling update strategy and affinity
rules and a load balancer with "Local" external traffic policy, and verify
that set of nodes with local endponts for the service remains unchanged
during rollouts.
(setAffinity): New helper, used by
testRollingUpdateDeploymentWithLocalTrafficLoadBalancer.
* test/e2e/framework/service/jig.go (GetEndpointNodes): Factor building the
set of node names out...
(GetEndpointNodeNames): ...into this new method.
2019-10-17 11:52:32 -04:00
Kubernetes Prow Robot
fef819254a
Merge pull request #83998 from draveness/feature/node-affinity-score-plugin
...
feat(scheduler): implement node affinity as score plugin
2019-10-17 08:24:38 -07:00
Abdullah Gharaibeh
517116921b
GeneralPredicate as plugin config
2019-10-17 11:13:57 -04:00
notpad
f06925b0ee
[migration phase 1] CSIMaxVolumeLimitChecker as filter plugin
2019-10-17 22:04:02 +08:00
Kubernetes Prow Robot
534051acec
Merge pull request #84036 from Huang-Wei/tbe-int-test-issue
...
Ensure TaintBasedEviction int test not rely on TaintNodeByConditions
2019-10-17 05:12:50 -07:00
draveness
3d74da4d53
feat(scheduler): implement node affinity as score plugin
2019-10-17 17:02:10 +08:00
Kubernetes Prow Robot
cedacc9cae
Merge pull request #84025 from oomichi/move-CreateNginxPod
...
Move CreateNginxPod() to specific e2e
2019-10-17 01:47:48 -07:00
Kubernetes Prow Robot
bdc3f96838
Merge pull request #83989 from wojtek-t/remove_coordination_v1beta1
...
Swtich nodelifecyclecontroller to coordination/v1
2019-10-17 01:47:29 -07:00
Kubernetes Prow Robot
3719fcdffa
Merge pull request #82072 from draveness/feature/use-context-instead-of-channel
...
feat(scheduler): use context in scheduler package
2019-10-17 01:46:39 -07:00
Wei Huang
fbcc3c183a
Ensure TaintBasedEviction int test not rely on TaintNodeByConditions
2019-10-17 01:25:12 -07:00
Kubernetes Prow Robot
c3d8ad06a5
Merge pull request #84002 from cofyc/fix74552-cleanup
...
e2e: remove duplicated test specs
2019-10-16 22:25:41 -07:00
Kubernetes Prow Robot
9aed79b585
Merge pull request #83812 from oomichi/move-Initialized
...
Move Initialized() to e2e framework util
2019-10-16 22:25:21 -07:00
Kubernetes Prow Robot
cae9bbd059
Merge pull request #81358 from bclau/tests/replace-redis-image
...
tests: Replaces Redis image with Agnhost
2019-10-16 22:24:51 -07:00
Howard Zhang
1c9da19bf5
Add kubectlPath flag to e2e_node.test
...
e2e_node.test does not set default kubectlPath, which lead to test
errors as following:
[Fail] [sig-storage] EmptyDir volumes [It] pod should support
shared volumes between containers [Conformance]
When the test trying to read file in shared volume, it uses
"kubeclt exec namespace -c container_name -- cat file_name".
However, as variable framework.TestContext.KubectlPath not set,
kubectl binary can not be found in the test and the tast fails.
This patch move kubectlPath flag from RegisterClusterFlags to
RegisterCommonFlags, thus default value for
framework.TestContext.KubectlPath will be set,and
user can also use --kubectl-path flag to set kubectl path.
Signed-off-by: Howard Zhang <howard.zhang@arm.com>
2019-10-17 11:29:44 +08:00
draveness
47a6c5b693
feat(scheduler): use context in the scheduler package
...
+ Use context instead of stopCh
+ Add context to the scheduling framework interface
2019-10-17 09:03:55 +08:00
Kenichi Omichi
9e17a0e9f3
Move CreateNginxPod() to specific e2e
...
CreateNginxPod() is called from flexvolume_online_resize only and
that seems storage specific function because that requires a PVC.
So this moves the function to the place which calls it for the code
cleanup.
2019-10-17 00:10:38 +00:00
Benjamin Elder
0f807d5048
add myself to typecheck / go-srcimporter owners, move rmmh to emeritus
2019-10-16 15:17:22 -07:00
Kubernetes Prow Robot
cb19b56831
Merge pull request #83419 from deads2k/insecure-backend-proxy
...
Insecure backend proxy
2019-10-16 13:58:38 -07:00
Kubernetes Prow Robot
0e2383df15
Merge pull request #83893 from draveness/feature/node-prefer-avoid-pods
...
feat(scheduler): implement NodePreferAvoidPods as score plugin
2019-10-16 11:37:30 -07:00
Kubernetes Prow Robot
d1188a6802
Merge pull request #83946 from jsafrane/disable-local-reconstruction
...
Disable local block volume reconstruction test
2019-10-16 09:36:08 -07:00
Kubernetes Prow Robot
461c9b3c8c
Merge pull request #83935 from draveness/feature/fix-scheduler-perf
...
fix: scheduler perf test with pod informer
2019-10-16 09:35:33 -07:00
David Eads
867ee1d5ff
add insecurebackendproxy
2019-10-16 11:43:17 -04:00
Yecheng Fu
1ff13e0782
e2e: remove duplicatd test suites
2019-10-16 19:42:11 +08:00
Claudiu Belu
8880a4f74f
tests: Extends agnhost netexec udp buffers
...
Currently, the UDP buffer sizes are set to 1024 bytes. Larger requests will not be
read entirely by the UDP handlers, which can lead to tests relying on this to fail.
2019-10-16 04:21:45 -07:00
wojtekt
cf9203501e
Swtich nodelifecyclecontroller to coordination/v1
2019-10-16 10:59:02 +02:00
Kubernetes Prow Robot
63cf2e260b
Merge pull request #83819 from mrbobbytables/emeritus-jbeda
...
Move jbeda to emeritus status.
2019-10-15 23:06:20 -07:00
Kubernetes Prow Robot
6b3d154787
Merge pull request #83816 from oomichi/remove-test_verify.go
...
Remove test_verify from e2e framework package
2019-10-15 23:06:09 -07:00
Kubernetes Prow Robot
d160c68aa4
Merge pull request #83978 from mikedanese/fuzz
...
add fuzzing targets for sig-yaml and yaml.v2
2019-10-15 21:10:07 -07:00
Mike Danese
647d6582bf
add fuzzing targets for sig-yaml and yaml.v2
...
This is in prepration to add continous fuzzing of various targets via
https://github.com/google/oss-fuzz .
2019-10-16 00:40:50 +00:00
Boqin Qin
24dcd8eaac
framework: Fix a goroutine leak bug in resource_usage_gatherer.go
2019-10-15 16:09:31 -04:00
Kubernetes Prow Robot
cb3b715de2
Merge pull request #83804 from jpbetz/etcd-3_3_17_server
...
Upgrade to etcd server 3.3.17
2019-10-15 12:50:09 -07:00
Jan Safranek
7c240a18b6
Disable local block volume reconstruction test
...
Quite hacky, hoping to fix the volume plugin soon.
2019-10-15 13:59:36 +02:00
draveness
e5a23f8dda
fix: scheduler perf test with pod informer
2019-10-15 13:54:45 +08:00
Kubernetes Prow Robot
46a29a0cc3
Merge pull request #71674 from grayluck/firewall-event-msg
...
Change XPN firewall change msg. Should be required by security admin
2019-10-14 21:09:51 -07:00
Kubernetes Prow Robot
63bd1d7a5c
Merge pull request #80725 from aramase/dualstack-phase2-e2e
...
E2E tests for dualstack phase2
2019-10-14 17:45:51 -07:00
draveness
2d7044a556
feat(scheduler): implement NodePreferAvoidPods as score plugin
2019-10-14 21:21:24 +08:00
Krzysztof Siedlecki
92f56ab692
enabling fluentd on kubemark
2019-10-14 14:48:48 +02:00
Joe Betz
c92bd5e7b5
Upgrade to etcd server 3.3.17
2019-10-13 17:17:15 -07:00
notpad
4ff7251026
[migration phase 1] VolumeZoneChecker as filter plugin
2019-10-14 07:45:40 +08:00
Kubernetes Prow Robot
2e55cf01d1
Merge pull request #83854 from mrbobbytables/update-test-vsphere-owners
...
Prune inactive owners from test/e2e/framework/providers/vsphere/OWNERS.
2019-10-13 13:20:36 -07:00
Kubernetes Prow Robot
dd5cb6426d
Merge pull request #83849 from draveness/feature/node-locality-as-score-plugin
...
feat: implement imagelocality as a score plugin
2019-10-13 06:36:35 -07:00
Bob Killen
e37d702208
Prune inactive owners from autoscaling related OWNERS files.
2019-10-13 08:52:14 -04:00
Bob Killen
340eefe76b
Prune inactive owners from test/e2e/framework/providers/vsphere/OWNERS.
2019-10-13 08:39:38 -04:00
yuxiaobo
3346d3d18f
Remove direct references to prometheus from transformation_testcase.go
...
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
2019-10-13 20:36:39 +08:00
draveness
6f6618fc5d
feat: implement imagelocality as a score plugin
2019-10-13 19:58:21 +08:00
Kubernetes Prow Robot
ceceacaa77
Merge pull request #83573 from ahmad-diaa/remove-factory-package
...
Move Factory Package to Scheduler
2019-10-13 00:32:36 -07:00
Kubernetes Prow Robot
743031d793
Merge pull request #83817 from oomichi/rename-framework-funcs
...
Rename e2e framework functions used locally
2019-10-12 17:34:37 -07:00
Ahmad Diaa
4448a1cea9
move factory package to scheduler
2019-10-12 23:03:07 +02:00
Lubomir I. Ivanov
0b3d50b6dc
test/e2e: move GKE/GCE tests from /lifecycle to /cloud/gcp
...
Move GKE/GCE tests from the sig-cluster-lifecycle
ownership to the sig-cloud-provider-gcp ownership
(ideally the GCP sub-project).
2019-10-12 21:40:07 +03:00
Lubomir I. Ivanov
ed5c2979b7
test/test_owners.csv: remove sig-cluster-lifecycle ownership
...
These tests either no longer exists or a now owned by a different
SIG or in the case of SIG Cloud Provider -> the GCP sub project.
2019-10-12 21:40:07 +03:00
Kubernetes Prow Robot
fbcfabe8ae
Merge pull request #83808 from oomichi/rename-volume-fixtures
...
Rename Generate[Read|Write]FileCmd()s on e2e framework
2019-10-11 22:40:38 -07:00
Kubernetes Prow Robot
a7a6ca80d8
Merge pull request #83731 from notpad/feature/migration_nodiskconflict
...
[migration phase 1] NoDiskConflict as filter plugin
2019-10-11 21:16:52 -07:00
tanjunchen
33dda68788
fix staticcheck in test/e2e/common directory
2019-10-12 11:30:47 +08:00
Kubernetes Prow Robot
8553d50426
Merge pull request #83793 from oomichi/psp
...
Fix package name of psp on e2e framework
2019-10-11 18:05:04 -07:00
Kenichi Omichi
0126d35df1
Rename e2e framework functions used locally
...
The following functions are used locally in e2e framework subpackages.
- RunSSHCommandViaBastion
- MakeNginxPod
- LogPodTerminationMessages
- CheckPodsCondition
- SetNodeAffinityRequirement
This renames them to clarify them as local ones.
2019-10-12 00:06:49 +00:00
Kenichi Omichi
ab208e9063
Remove test_verify from e2e framework package
...
test_verify.go contained the function TestPodSuccessOrFail() only,
and the function is used in the package only.
This moves the function to create.go and remove test_verify.go.
2019-10-12 00:01:20 +00:00
notpad
9e426a6be1
[migration phase 1] NoDiskConflict as filter plugin
2019-10-12 08:00:44 +08:00
Kenichi Omichi
06d41a485c
Move Initialized() to e2e framework util
...
The function is used at e2e framework util module only.
So this moves the function to the module for trying to remove
dependencies to subpackages from core e2e framework.
2019-10-11 22:29:03 +00:00
Kenichi Omichi
e13fb0cbe5
Rename Generate[Read|Write]FileCmd()s
...
These functions are only used in fixtures.go module.
So it is not necessary to define them for exposing.
This renames these functions for making them local functions clearly.
2019-10-11 21:54:35 +00:00
Bob Killen
e65d8bb11f
Move jbeda to emeritus status.
2019-10-11 17:46:18 -04:00
Jean Rouge
d17624ad82
Amending the GMSA e2e test to allow it to run against Windows-only clusters
...
e2e Windows tests can be run against Windows-only clusters, which
currently will cause the GMSA test to fail, as it needs to be able to
deploy pods to at least one Linux node, for the GMSA webhook; this patch leverages the new
`--tolerate-master` flag that was added to the GMSA webhook deploy
script in https://github.com/kubernetes-sigs/windows-gmsa/pull/18 .
Signed-off-by: Jean Rouge <rougej+github@gmail.com>
2019-10-11 14:16:04 -07:00
Kubernetes Prow Robot
a847874655
Merge pull request #83792 from liggitt/flake-pre-stop
...
Mark 'wait until preStop hook completes the process' flaky
2019-10-11 13:42:38 -07:00
Kubernetes Prow Robot
2125c26a40
Merge pull request #83647 from BenTheElder/tainting-nodes-is-disruptive
...
tag test that taints a node as disruptive
2019-10-11 13:42:18 -07:00
Kenichi Omichi
c0430d3f8e
Fix package name of psp on e2e framework
...
psp is imported as separated package from main framework but the
name was framework. This made confusion, so this renames it to psp.
2019-10-11 18:21:28 +00:00
Kubernetes Prow Robot
48d0088510
Merge pull request #83702 from mattjmcnaughton/mattjmcnaughton/staticcheck-fix-e2e-lifecycle
...
Address staticcheck failures for test/e2e/lifecycle/bootstrap
2019-10-11 10:53:57 -07:00
Jordan Liggitt
73dce3adec
Mark 'wait until preStop hook completes the process' flaky
2019-10-11 13:09:32 -04:00
Kubernetes Prow Robot
77b86c4adf
Merge pull request #83764 from cofyc/fix83635
...
[migration phase 1] Implement CheckVolumeBinding as a filter plugin
2019-10-11 09:29:52 -07:00
Kubernetes Prow Robot
c980000176
Merge pull request #83663 from draveness/feature/add-shared-informers-factory
...
feat(scheduler): expose SharedInformerFactory to the framework handle
2019-10-11 09:29:40 -07:00
mattjmcnaughton
b92a51285b
Address staticcheck failures for test/e2e/lifecycle/bootstrap
...
Make small, non-functional changes to make the
`test/e2e/lifecycle/bootstrap` pass staticcheck.
2019-10-11 10:28:15 -04:00
Yecheng Fu
e8795562f9
[migration phase 1] Implement CheckVolumeBinding as a filter plugin
2019-10-11 20:35:11 +08:00
Kubernetes Prow Robot
833e8dc10b
Merge pull request #83736 from krzysied/kubemark_node_labels
...
Kubemark node labels
2019-10-11 05:17:47 -07:00
Krzysztof Siedlecki
8f9d9961a2
fixing sed separator
2019-10-11 10:54:01 +02:00
Kubernetes Prow Robot
c1a735c642
Merge pull request #83601 from ahg-g/ahg-migration-priority
...
Implemented taints and tolerations priority function as a Score plugin
2019-10-11 00:05:50 -07:00
Kubernetes Prow Robot
f985367ba4
Merge pull request #83755 from roycaihw/e2e-kubelet-resource-monitor
...
kubelet e2e: run resource monitor only if the actual number of nodes is small
2019-10-10 22:49:49 -07:00
draveness
ee4dec65b5
feat(scheduler): expose SharedInformerFactory to the framework handle
2019-10-11 10:23:21 +08:00
Kubernetes Prow Robot
d69dfa7e13
Merge pull request #83729 from danwinship/drop-getreadyschedulablenodesordie
...
Drop framework.GetReadySchedulableNodesOrDie
2019-10-10 19:00:43 -07:00
Kubernetes Prow Robot
a5e6ac0a95
Merge pull request #83694 from ahg-g/ahg-adv-config
...
[migration phase 1] Make scheduler cache, volume binder and listers available when registering default plugins
2019-10-10 19:00:21 -07:00
Kubernetes Prow Robot
242d806672
Merge pull request #83587 from timothysc/testing-OWNERS
...
Audit of test/* OWNERS files
2019-10-10 19:00:00 -07:00
Kubernetes Prow Robot
1e94c12d41
Merge pull request #80880 from DirectXMan12/bug/length-is-measured-in-bytes
...
Validation: len is measured in bytes
2019-10-10 18:59:20 -07:00
Haowei Cai
f5d6951c96
kubelet e2e: run resource monitor only if the actual number of nodes is
...
small
2019-10-10 17:02:51 -07:00
Kubernetes Prow Robot
77f86630d4
Merge pull request #82491 from openSUSE/pod-status-check
...
Validate container status in e2e pod status checks
2019-10-10 16:27:20 -07:00
Anish Ramasekar
50e2182faf
e2e test for dualstack phase2
...
dual-stack phase2 tests
update e2elog to framework
run update-bazel
update comment
fix go vet error
Review feedback
update method
Review feedback
2019-10-10 16:24:39 -07:00
Abdullah Gharaibeh
7429b0fe86
Implemented taints and tolerations priority function as a Score plugin
2019-10-10 17:49:40 -04:00
Timothy St. Clair
97055841b1
Audit of test/* OWNERS files
2019-10-10 15:52:51 -05:00
Kubernetes Prow Robot
1bb7835f0a
Merge pull request #83609 from avalluri/fix-storage-e2e-tests
...
Remove e2e/common package usage in volumemode testsuite
2019-10-10 13:41:52 -07:00
Kubernetes Prow Robot
3db6d3abcf
Merge pull request #83551 from dims/move-external-facing-kubelet-apis-to-staging
...
Move external facing kubelet apis to staging
2019-10-10 13:41:36 -07:00
Abdullah Gharaibeh
456df97745
made scheduler cache and volume binder available when instantiating factories for default plugins
2019-10-10 16:21:29 -04:00
Solly Ross
40aea0c70d
Validation: len is measured in bytes
...
The `TooLong` validation message mentioned characters, but the `len`
function actually measures bytes, no characters. This switches it over
to use bytes.
Characters are mostly an illusory concept anyway -- a vain attempt to
shield our minds against the lovecraftian nightmares that comes from
attemping to truly comprehend that eldritch treatise known as the
Unicode standard. Which is to say: measuring things in characters is
hard and mostly ambiguous, and probably not what we meant to do.
2019-10-10 09:48:49 -07:00
Kubernetes Prow Robot
46dd075bab
Merge pull request #83718 from serathius/aliases
...
Introduce sig-instrumentation aliases in OWNERS_ALISES and simplify OWNERS files
2019-10-10 09:04:05 -07:00
Kubernetes Prow Robot
4eb1ca46ed
Merge pull request #83667 from k-toyoda-pi/use_log_e2e_storage_topology
...
Use log functions of core framework on testsuites/topology.go
2019-10-10 07:31:57 -07:00
Sascha Grunert
5a8b695fef
Validate AgnhostPod readyness status in e2e tests
...
We now additionally check if the agnhost pods are ready before
marking the pod as running to increase the overall test stability.
Relates to: https://github.com/kubernetes/kubernetes/pull/82420
Fixes: https://github.com/kubernetes/kubernetes/issues/82445
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2019-10-10 14:11:06 +02:00
Marek Siarkowicz
c601d34eba
Introduce sig-instrumentation aliases in OWNERS_ALISES and simplify OWNERS files
2019-10-10 14:04:20 +02:00
Kevin Taylor
cb8a7c1a4c
Promote VolumeSubpathEnvExpansion feature gate to GA
2019-10-10 09:34:40 +01:00
Amarnath Valluri
3333806734
Remove e2e/common package usage in volumemode testsuite
...
Change 04300826fd
has introduced
"e2e/common" package dependency on volumemode testusuite. This results in
pulling all tests defined in common package while running storage e2e tests,
which are not necessary.
The only interested part from common package is the WaitTimeoutForEvent().
2019-10-10 09:30:12 +03:00
toyoda
1ae7726ff6
Use log functions of core framework on test/e2e/storage/testsuites/topology.go
2019-10-10 09:16:19 +09:00
Kubernetes Prow Robot
4d6deea241
Merge pull request #83681 from mattjmcnaughton/mattjmcnaughton/fix-staticcheck-test-e2e-node
...
Address `staticcheck` failures for `test/e2e/node/...`
2019-10-09 14:51:07 -07:00
Dan Winship
779a842b3c
Drop framework.GetReadySchedulableNodesOrDie
...
It is now fully replaced by e2enode.GetReadySchedulableNodes,
e2enode.GetBoundedReadySchedulableNodes, and
e2enode.GetRandomReadySchedulableNode.
2019-10-09 15:20:26 -04:00
mattjmcnaughton
69a473be38
Address staticcheck
failures for test/e2e/node/...
...
Fix the `staticcheck` failures for `test/e2e/node`. All of the
staticcheck errors were for variables which were never used. When these
values were `err`, we added processing for the errors. When they were
values that were just never used, we stopped giving them a name.
2019-10-09 10:26:11 -04:00
Dan Winship
6a040438ea
Update test/e2e/storage for new GetReadySchedulableNodes stuff
2019-10-09 08:12:56 -04:00
Benjamin Elder
f3d962ad64
tag test that taints a node as disruptive
2019-10-08 18:22:17 -07:00
Kubernetes Prow Robot
72d052a444
Merge pull request #81797 from yastij/move-metrics-util
...
move util/metrics to component-base
2019-10-08 17:08:05 -07:00
Kubernetes Prow Robot
05474a6d84
Merge pull request #78306 from hoyho/feat/e2e-storage-dynamic-size
...
feat(e2e): refactor hard-coded provision size
2019-10-08 17:07:51 -07:00
Kubernetes Prow Robot
384e03ad92
Merge pull request #83616 from alejandrox1/add-alejandrox1-test-eviewer
...
Added alejandrox1 as test/* reviewer
2019-10-08 13:31:51 -07:00
Kubernetes Prow Robot
e856613dd5
Merge pull request #83211 from Jefftree/move_privilege_test
...
Move privilege e2e test to common
2019-10-08 10:57:23 -07:00
alejandrox1
dc90f99891
Added alejandrox1 as test/* reviewer
...
Signed-off-by: alejandrox1 <alarcj137@gmail.com>
2019-10-08 11:16:12 -04:00
Yassine TIJANI
c1487840bc
move util/metrics to component-base
...
Signed-off-by: Yassine TIJANI <ytijani@vmware.com>
2019-10-08 14:42:31 +02:00
Kubernetes Prow Robot
8098bae921
Merge pull request #83451 from jsafrane/block-reconstruct
...
Fix block volume reconstruction
2019-10-08 03:45:18 -07:00
Kubernetes Prow Robot
cb177dc6a1
Merge pull request #83570 from matthyx/startup_probe_test
...
Mark startupProbe test as NodeAlphaFeature and fix podClient
2019-10-07 23:36:18 -07:00
Kubernetes Prow Robot
53d500eca3
Merge pull request #83510 from alejandrox1/framework-err-handling
...
Refactored e2e-test-framework util.go
2019-10-07 23:35:52 -07:00
Kubernetes Prow Robot
c4108c9b4a
Merge pull request #83090 from Klaven/rm_validator_errors
...
Removal of kubernetes error dependencies
2019-10-07 23:35:25 -07:00
Kubernetes Prow Robot
72cd1c14ef
Merge pull request #83325 from yutedz/static-mirror-pod
...
Check whether mirror pod is ciritical in managerImpl#evictPod
2019-10-07 22:15:40 -07:00
hoyho
b5c1432328
Add unit test for function getSizeRangesIntersection
2019-10-08 01:33:43 +08:00
hoyho
23320c958e
feat(e2e): refactor hard-coded provision size
...
test/e2e/storage/testsuites creates volumes dynamically. Initially, the size of those volumes was
hard-coded in the test, which prevented using the tests with storage backends that couldn't support
that hard-coded size
2019-10-08 01:33:19 +08:00
Matthias Bertschy
84d0951969
Mark startupProbe test as NodeAlphaFeature and fix podClient instanciation
2019-10-07 16:13:06 +02:00
Kubernetes Prow Robot
48b90db9c3
Merge pull request #83495 from tanjunchen/fix-typo
...
remove the repeat word in documents
2019-10-06 15:05:08 -07:00
Davanum Srinivas
6ecc0f83af
update bazel BUILD files
...
Change-Id: Ia3917cec1453c0b22a958faf8c22bccd79242d14
2019-10-06 15:29:23 -04:00
Davanum Srinivas
d30c489c54
Move pkg/kubelet/pluginregistration and deviceplugin
...
Change-Id: I06adcb43bd278b430ffad2010869e1524c8cc4ff
2019-10-06 15:28:38 -04:00
tanjunchen
de3cf23414
remove the repeat word in documents
2019-10-06 23:32:01 +08:00
Claudiu Belu
3c8822133a
tests: Simplifies image pulling tests
...
Melds the "pull image from gcr.io" and "pull image from docker hub" tests
into a single test that pulls the agnhost image from the configured
e2eRegistry.
This also removes the need to maintain and update the image
"gcr.io/kubernetes-e2e-test-images/windows-nanoserver:v1". It should have been
a manifest list that also includes future Windows releases, like Windows Server 1903.
Additionally, the image has ~300 MB, meaning that with this change, it won't have to
wait as much to spawn a pod.
Removes "should not be able to pull non-existing image from gcr.io", since
the test "should not be able to pull image from invalid registry" test already
exists, and both of them test the same effect: cannot spawn a pod with an
image that does not exist.
2019-10-06 04:41:38 -07:00
Kubernetes Prow Robot
1f81255070
Merge pull request #83460 from ahg-g/ahg-first-predicate
...
[migration phase 1] Implement PodToleratesNodeTaint as a filter plugin
2019-10-05 14:07:11 -07:00
alejandrox1
352254129b
Refactored e2e-test-framework util.go
...
This cleans up the framework.util.go file and moves various Expect*
functions into their own file for better organization.
Signed-off-by: alejandrox1 <alarcj137@gmail.com>
2019-10-05 15:02:46 -04:00
Abdullah Gharaibeh
66386fdf49
Added the first predicate as a filter plugin: PodToleratesNodeTaints.
2019-10-05 08:43:17 -04:00
Kubernetes Prow Robot
a8e8e54f7a
Merge pull request #81816 from jennybuckley/apply-cap-managers
...
[server-side apply] Cap the number of managedFields entries for updates at 10
2019-10-05 03:15:11 -07:00
Kubernetes Prow Robot
b140b43107
Merge pull request #82176 from pohly/ginkgo-stack-fix
...
Ginkgo update + stack fix
2019-10-05 00:59:25 -07:00
Kubernetes Prow Robot
285dd49444
Merge pull request #81885 from mattjmcnaughton/mattjmcnaughton/fix-staticcheck-kubelet-test-integration
...
Fix `test/integration/kubelet` staticcheck failures
2019-10-05 00:59:13 -07:00
Kubernetes Prow Robot
87adebea04
Merge pull request #83456 from BenTheElder/jobs-may-restart
...
check that N job pods succeeded instead of exactly N pods existing a…
2019-10-04 21:51:47 -07:00
Abdullah Gharaibeh
043166f54b
Modified the name of the Extensions method in the scheduler's framework.
2019-10-04 15:53:06 -04:00
Kubernetes Prow Robot
eba349b855
Merge pull request #83430 from draveness/feature/rename-plugincontext-to-cyclestate
...
feat(scheduler): rename PluginContext to CycleState
2019-10-04 10:22:32 -07:00
Jefftree
40976754b5
Move privilege e2e test to common
2019-10-04 09:54:52 -07:00
mattjmcnaughton
bd6d411010
Fix test/integration/kubelet
staticcheck failures
...
`test/integration/kubelet` was failing staticcheck because it was
calling `t.Fatal` from the non-main Go routine. Address this by sending
errors causing t.Fatal back to a channel. The main thread can then
iterate through this channel, and call t.Fatal if there are any errors
in the channel.
2019-10-04 11:37:59 -04:00
Jan Safranek
612fb1793e
Test global block directory in reconstruction tests
2019-10-04 14:03:40 +02:00
Kubernetes Prow Robot
ec05944b13
Merge pull request #83108 from jsafrane/hostexec-volumemode
...
Use pod + nsenter instead of SSH in block volume tests
2019-10-04 02:46:29 -07:00
Kubernetes Prow Robot
791bfac90f
Merge pull request #83084 from yutedz/ns-prune
...
Prune should respect namespace option
2019-10-04 02:46:12 -07:00
draveness
c73ff9749b
feat(scheduler): rename PluginContext to CycleState
2019-10-04 17:30:36 +08:00
jennybuckley
61b19c7298
Cap the number of managedFields entries for updates at 10
2019-10-03 16:24:58 -07:00
jennybuckley
d72260b9da
Refactor fieldmanager to be more modular
2019-10-03 16:24:58 -07:00
Benjamin Elder
4967f74599
check that N job pods succceeded instead of exactly N pods existing and succeeding
2019-10-03 11:03:44 -07:00
Kubernetes Prow Robot
0a17315e18
Merge pull request #83418 from ahg-g/ahg-first-priority
...
Refactor scheduler.New so that all framework-related parameters are options
2019-10-03 10:00:11 -07:00
Abdullah Gharaibeh
30e7016ccf
Refactor scheduler.New so that all framework-related parameters are passed as options
2019-10-03 11:39:59 -04:00
Kubernetes Prow Robot
5fbda60c14
Merge pull request #82077 from deads2k/poststart
...
add ability to pre-configure poststarthooks for apiservers
2019-10-03 08:16:10 -07:00
Marek Siarkowicz
887e84e330
Remove Prometheus addon and it's tests
...
Prometheus addon was developed for exterimental and test purpose only.
As readme states it should not be used by anyone.
2019-10-03 14:15:58 +02:00
Kubernetes Prow Robot
bce9d225b1
Merge pull request #83432 from yutedz/ns-deletion-timeout
...
Reset default namespace deletion timeout to 5 minutes
2019-10-03 04:34:22 -07:00
Kubernetes Prow Robot
4afcba42be
Merge pull request #83261 from liggitt/yaml-limits
...
limit yaml/json decode size
2019-10-02 20:28:08 -07:00
Ted Yu
79359773f6
Reset default namespace deletion timeout to 5 minutes
2019-10-02 19:48:06 -07:00
Kubernetes Prow Robot
8e39c60919
Merge pull request #83376 from liyanhui1228/fix_test
...
Fix sig-node test by adding back the numNodes
2019-10-02 18:54:08 -07:00
Jordan Liggitt
8ef4566cef
Limit YAML/JSON decode size
2019-10-02 21:52:19 -04:00
Jefftree
20ac24929b
move hostPID tests to common
2019-10-02 13:36:08 -07:00
David Zhu
35d799c3a4
Remove block volume capability from GCE PD CSI Driver because not supported in v0.5.2
2019-10-02 10:11:47 -07:00
Kubernetes Prow Robot
8a12334683
Merge pull request #83386 from draveness/feature/get-rid-of-max-priority
...
feat(scheduler): remove MaxPriority in the scheduler api
2019-10-02 06:19:09 -07:00
Kubernetes Prow Robot
514ea6f8f8
Merge pull request #83383 from wongma7/222nfs
...
Bump nfs provisioner version to v2.2.2
2019-10-02 03:03:08 -07:00
Kubernetes Prow Robot
9ac9a1d397
Merge pull request #83355 from beautytiger/dev-191001-sh-fix
...
fix wrong test in generic-resources.sh
2019-10-01 21:23:06 -07:00
draveness
9769d49bb5
feat(scheduler): remove MaxPriority in the scheduler api
2019-10-02 11:24:25 +08:00
Kubernetes Prow Robot
e31cc95276
Merge pull request #83381 from davidz627/fix/blockFail
...
Run block tests for gce-pd csi driver. Improve skip block test function name
2019-10-01 20:03:06 -07:00
Matthew Wong
74adfc31b9
Bump nfs provisioner version to v2.2.2
2019-10-01 15:46:19 -07:00
Kubernetes Prow Robot
867fef5851
Merge pull request #82424 from jsafrane/mount-propagation-remove-ssh
...
Use pod + nsenter instead of SSH in mount propagation tests
2019-10-01 15:27:08 -07:00
David Zhu
8ff56a50a2
Run block tests for gce-pd csi driver. Improve skip block test function name
2019-10-01 15:23:19 -07:00
Angela Li
c06413b6f1
Fix sig-node test by adding back the numNodes
2019-10-01 13:59:38 -07:00
Kubernetes Prow Robot
dc0013a506
Merge pull request #83365 from notpad/feature/83244
...
A consistent interface for plugin extended functionality
2019-10-01 13:01:11 -07:00
Kubernetes Prow Robot
9d59ed80f5
Merge pull request #83262 from Huang-Wei/sched-extender-api-refactor
...
Refactor scheduler extender-related API fields
2019-10-01 13:00:50 -07:00
Patrick Ohly
72609fc5f4
bazel update
2019-10-01 21:30:12 +02:00
Patrick Ohly
4620d0b2b8
e2e log: move back to framework, part II
...
This continues the work in
https://github.com/kubernetes/kubernetes/pull/81426 by also moving the
logger_test.go, moving the log helper code from util.go to log.go (a
more logical place, as it is only used there) and updating comments.
2019-10-01 21:30:12 +02:00
Patrick Ohly
ecd7ae55bc
e2e log: Ginkgo 1.10.1 fixes stack skip
...
Now Ginkgo properly skips the initial stack entry.
2019-10-01 21:27:29 +02:00
Patrick Ohly
f70c81c9f2
e2e log: consistent logging of stack backtrace and failure, part II
...
After merging
259bb3bef5 (diff-eb7b79470992813ea1905e96c298b47b)
ExpectEqual and some of the other wrappers logged the failure twice,
once inside the wrapper itself and once in the failure handler.
Logging the stack backtrace is useful because many assertions still
don't contain an explanation and therefore knowing where they occur is
crucial. Now all failures are logged with a "Full Stack Trace", not
just those with a wrapper. The stack is pruned to skip over wrapper
functions and removes Ginkgo internal functions to keep the stack
trace smaller.
Failures occuring in the wrappers were recorded as occuring in those
wrappers. Now the wrappers are skipped and the caller is recorded
instead.
The full stack trace recorded by Ginkgo 1.10.0 is currently off by one
entry. This needs to be fixed in Ginkgo, then the test can be updated.
2019-10-01 21:27:29 +02:00
Patrick Ohly
6cecc0ab37
e2e log: skip log.Failf in stack information
...
The function itself isn't relevant.
2019-10-01 21:25:59 +02:00
Patrick Ohly
02ce619078
e2e log: fix full stacktrace with Ginkgo 1.10.0
...
Ginkgo 1.10.0 includes the relevant fix for dumping the full stack
(https://github.com/onsi/ginkgo/pull/590 ), so when using that release
we can simplify the logging unit test.
By changing the skipping, we can avoid the rather volatile util.go
entries. However, that gomega is part of the stack trace still needs
to be fixed in Gingko.
2019-10-01 21:25:59 +02:00
Ted Yu
0939f90103
Check whether mirror pod is ciritical in managerImpl#evictPod
2019-10-01 11:12:18 -07:00
Wei Huang
a01259ef6f
bazel and codegen files
2019-10-01 09:51:40 -07:00
Wei Huang
cbdb4e3fdb
refactor scheduler extender related API
...
- move extender related API from pkg/scheduler/api to pkg/scheduler/apis/extender/v1
- alias extenderv1 to pkg/scheduler/apis/extender/v1
- use NodeScore and NodeScoreList in non-extender logic
2019-10-01 09:51:24 -07:00
notpad
fc55e74741
A consistent interface for plugin extended functionality
2019-10-01 23:59:48 +08:00
mattjmcnaughton
42f8596b13
Fix staticcheck failures in test/utils/...
...
The `err` return value was being overwritten in an unintended way, which
means the function may not return the proper error value. This diff
ensures it does.
2019-10-01 09:46:45 -04:00
David Eads
f14f4c933e
add ability to pre-configure poststarthooks for apiservers
2019-10-01 09:08:18 -04:00
Guangming Wang
c0a4c09040
fix wrong test in generic-resources.sh
...
Signed-off-by: Guangming Wang <guangming.wang@daocloud.io>
2019-10-01 20:45:17 +08:00
Kubernetes Prow Robot
c2c821534b
Merge pull request #81093 from johnSchnake/useImageUtilsForLookup
...
Use imageutils instead of hardcoded image paths
2019-10-01 02:37:32 -07:00
Kubernetes Prow Robot
78940cd5ef
Merge pull request #81419 from mgdevstack/checkServiceReachability
...
Update e2e testing nodePort service listening on same port but different protocols
2019-10-01 01:21:40 -07:00
Jan Safranek
0c3293a3aa
Use pod + nsenter instead of SSH in mount propagation tests
...
Not all Kubernetes clusters allow ssh to nodes during test.
2019-10-01 10:19:25 +02:00
Kubernetes Prow Robot
820b796c66
Merge pull request #83301 from justinsb/e2e_tag_volume_we_create
...
e2e: on aws, tag volumes we want the cluster to mount
2019-09-30 20:17:38 -07:00
Kubernetes Prow Robot
bc2971277d
Merge pull request #83148 from YuikoTakada/81427_e2e_common
...
use log functions of core framework
2019-09-30 20:17:31 -07:00
Kubernetes Prow Robot
8826378be5
Merge pull request #83331 from aojea/getporturl_ipv6
...
Allow ipv6 urls in GetPortURL()
2019-09-30 16:13:31 -07:00
Kubernetes Prow Robot
2d491ace8d
Merge pull request #82439 from smarterclayton/async_ns_cleanup
...
test/e2e: Delete test namespaces asynchronously
2019-09-30 14:35:31 -07:00
Kubernetes Prow Robot
3d40c4cea2
Merge pull request #83322 from wojtek-t/remove_scalability_tests
...
Remove deprecated scalability tests
2019-09-30 11:47:59 -07:00
Kubernetes Prow Robot
48199d3c0f
Merge pull request #83219 from alejandrox1/framework-util-skip
...
Cleaned up skip* functions from framework/util.go
2019-09-30 11:47:39 -07:00
Antonio Ojea
5e6eb467ac
Allow ipv6 urls in GetPortURL()
2019-09-30 20:32:36 +02:00
yankaiz
bd03c3a096
Change XPN firewall change message, should be required by security admin.
...
Add l7lbSrcRngsFlag to gce_loadbalancer.go so that ingress can have
fewer source ranges for l7 health checks.
2019-09-30 11:19:42 -07:00
wojtekt
59533f0cd1
Remove deprecated scalability tests
2019-09-30 16:04:09 +02:00
Justin SB
747d4481db
e2e: on aws, tag volumes we want the cluster to mount
...
Locked down IAM configurations will prevent mounting of arbitrary
volumes, so when we create volumes that we intend the cluster to
mount, we must set the appropriate EC2 tags.
2019-09-30 00:51:49 -04:00
Kubernetes Prow Robot
7066107ae3
Merge pull request #83117 from zouyee/valid
...
using short flags instead of validate
2019-09-29 16:47:37 -07:00
Kubernetes Prow Robot
14e5adfc85
Merge pull request #82683 from davidz627/fix/translationStruct
...
Refactor CSI Translation Library into a struct that is injected into various components to simplify unit testing
2019-09-29 10:11:37 -07:00
Marek Counts
114d7855f3
Removal of kubernetes error dependancies
...
removed kubernetes error deps
2019-09-28 15:09:48 +00:00
Kubernetes Prow Robot
39286f3962
Merge pull request #83255 from misterikkit/vsphere_stress
...
E2E: Add missing Bootstrap() call
2019-09-28 00:13:38 -07:00
Mayank Gaikwad
99475f9499
Update e2e testing nodePort service listening on same port but different protocols
2019-09-28 06:36:27 +05:30
John Schnake
2dab911ac2
Use imageutils instead of hardcoded image paths
...
A number of tests were using hardcoded image paths instead of
going through the imageutils package. The reason for centralizing
the logic there is to keep an eye on what images we use and where
they come from.
2019-09-27 15:01:08 -05:00
David Zhu
92cb06a2e7
Refactor CSI Translation Library into a struct that is injected into various components to simplify unit testing in future
2019-09-27 12:59:53 -07:00
Clayton Coleman
67283da28b
test/e2e: Delete test namespaces asynchronously
...
Now that namespace deletion is reliable, use the suite tear down
to catch non terminated namespaces and stop waiting within each test
for deletion.
Serial tests that need a clean set of namespaces must use the
appropriate flag to control whether they wait for clean namespaces
on startup.
2019-09-27 15:58:05 -04:00
Jonathan Basseri
378a074212
E2E: Add missing Bootstrap() call
...
One of the vsphere storage test suites was hitting a nil panic because
it did not call Bootstrap().
2019-09-27 11:01:27 -07:00
Jordan Liggitt
c7932e18b5
Deflake TestWatchBasedManager
2019-09-27 12:23:35 -04:00
Kubernetes Prow Robot
d92a250636
Merge pull request #81685 from oomichi/e2elog-framework-p-r
...
Use log functions of core framework on [r-u]
2019-09-26 19:27:37 -07:00
alejandrox1
f525e02e59
Cleaned up skip* functions from framework/util.go
...
This is an effort to clean up the framework util.go file so that it
makes more sense and it is more managable.
Signed-off-by: alejandrox1 <alarcj137@gmail.com>
2019-09-26 21:20:29 -04:00
Kubernetes Prow Robot
354a812086
Merge pull request #82171 from mgdevstack/linuxOnly-sessionAffinity
...
Add LinuxOnly tag to e2e testing session affinity
2019-09-26 16:55:50 -07:00
Kubernetes Prow Robot
66755bda05
Merge pull request #83139 from cblecker/here-we-go-again
...
Update to use go1.12.10
2019-09-26 14:40:38 -07:00
Kubernetes Prow Robot
c449359119
Merge pull request #74977 from mgdevstack/master-conformance-pqdn
...
Promote DNS e2e verifying PQDN resolution for cluster
2019-09-26 14:39:36 -07:00
Kubernetes Prow Robot
c0ad143f64
Merge pull request #82632 from wojtek-t/node_lease_conformance
...
Promote lease API test to Conformance
2019-09-26 13:02:49 -07:00
Kubernetes Prow Robot
b622b15ad4
Merge pull request #79814 from k-toyoda-pi/e2e_add_kubectl_describe_cronjob
...
Add e2e test for kubectl describe cronjob
2019-09-26 13:02:34 -07:00
Kenichi Omichi
6499f93266
Use log functions of core framework on [r-u]
...
This makes sub packages of e2e test framework to use log functions
of core framework instead for avoiding circular dependencies.
2019-09-26 18:17:10 +00:00
Kubernetes Prow Robot
5e4abfb946
Merge pull request #83042 from draveness/feature/remove-score-with-normalize-extension
...
feat(scheduler): consolidate ScoreWithNormalizePlugin into ScorePlugin
2019-09-26 10:49:20 -07:00
Kubernetes Prow Robot
aac13fc4eb
Merge pull request #82106 from oomichi/circular-kubelet
...
Cleanup DumpAllNamespaceInfo() in e2e test
2019-09-25 23:59:06 -07:00
YuikoTakada
9ed2f632cc
use log functions of core framework
2019-09-26 02:45:07 +00:00
draveness
314ec4e504
feat(scheduler): consolidate ScoreWithNormalizePlugin into ScorePlugin
2019-09-26 10:19:06 +08:00
Christoph Blecker
15bba1feed
Update to use go1.12.10
2019-09-25 17:13:43 -07:00
Ted Yu
88e2f8e04f
Prune should respect namespace
2019-09-25 16:43:08 -07:00
Kubernetes Prow Robot
ff8716f4cf
Merge pull request #83116 from neolit123/1.16-OWNERS
...
kubeadm: update OWNERS for 1.16
2019-09-25 13:52:48 -07:00
Kubernetes Prow Robot
62965b9e47
Merge pull request #83067 from vivekbagade/lifecycle
...
Adding lifecycle to RC, RCSet, Deployment, and Job testutils
2019-09-25 13:51:51 -07:00
Kubernetes Prow Robot
f4ff0e37d9
Merge pull request #78418 from mysunshine92/fix-typo-e2e-node
...
fix typos in /test/e2e_node
2019-09-25 13:50:06 -07:00
Kubernetes Prow Robot
0b4cccc9d1
Merge pull request #82912 from ahg-g/ahg-prefilter-update
...
An interface that allows pre-filter plugins to update their pre-calculated status
2019-09-25 11:06:40 -07:00
Kubernetes Prow Robot
4568c61526
Merge pull request #82664 from johnSchnake/disruptiveConformanceTest
...
Allow disruptive conformance tests and tag 2 as such
2019-09-25 11:06:27 -07:00
Kubernetes Prow Robot
df271a1799
Merge pull request #82291 from danwinship/getnodes
...
migrate from framework.GetReadySchedulableNodesOrDie to e2enode.GetReadySchedulableNodes
2019-09-25 11:04:43 -07:00
Kubernetes Prow Robot
c37c0b9dff
Merge pull request #82037 from ii/update-configmap-test
...
Update ConfigMap test
2019-09-25 11:04:01 -07:00
Kubernetes Prow Robot
327f53ba57
Merge pull request #83064 from liggitt/propagate-context
...
Propagate context to remote authorize/authenticate webhook calls
2019-09-25 09:32:01 -07:00
zouyee
11746bcc19
using short flags instead with validate
...
Signed-off-by: Zou Nengren <zouyee1989@gmail.com>
2019-09-25 23:08:50 +08:00
Lubomir I. Ivanov
bbee054adc
kubeadm: update OWNERS for 1.16
2019-09-25 18:07:38 +03:00
Jan Safranek
c1c0ba1c76
Use pod + nsenter instead of SSH in block volume tests
...
listPodVolumePluginDirectory was moved to break import cycle.
2019-09-25 13:34:27 +02:00
Vivek Bagade
24f15a5823
Adding lifecycle to RC, RCSet, Deployment, and Job testutils
2019-09-25 10:53:28 +02:00
John Schnake
d0ab1f06fb
Allow disruptive conformance tests and marks 2
...
- Adjusts tooling to allow disrutpive tests to be marked conformance
- Updates the corresponding tests
- Marks 2 tests as disruptive
2019-09-24 14:17:37 -05:00
Kubernetes Prow Robot
ba19458dae
Merge pull request #82910 from hwdef/del-unused-var2
...
fix(test): delete unused unused var or const
2019-09-24 11:45:29 -07:00
Dan Winship
ec4c1a1c05
Add e2enode.GetRandomReadySchedulableNode, replace some uses of framework.GetReadySchedulableNodesOrDie
...
For tests that want a single ready, schedulable node
2019-09-24 13:03:40 -04:00
Dan Winship
3c445b2ad0
Add e2enode.GetBoundedReadySchedulableNodes, replace some uses of framework.GetReadySchedulableNodesOrDie
...
For tests that want at-most-N nodes
2019-09-24 13:03:40 -04:00
Dan Winship
71b02dd422
Fix up e2enode.GetReadySchedulableNodes, replace many uses of framework.GetReadySchedulableNodesOrDie
...
Remove the "OrDie" from the name (since it doesn't "or die") and add
an extra check that there is at least 1 node available, since many
callers already did that themselves, and many others should have.
2019-09-24 13:03:39 -04:00
Abdullah Gharaibeh
37b9e6d1ea
An interface that allows pre-filter plugins to update their pre-calculated.
...
This is needed to allow efficient preemption simulations: during preemption, we remove/add pods from each node before running the filter plugins again to evaluate whether removing/adding specific pods will allow the incoming pod to be scheduled on the node. Instead of calling prefilter again, we should allow the plugin to do incremental update to its pre-computed state.
2019-09-24 13:01:50 -04:00
Kubernetes Prow Robot
4d18142120
Merge pull request #82998 from zouyee/lookforstring
...
cleanup unused function LookForStringInFile
2019-09-24 08:58:23 -07:00
Kubernetes Prow Robot
637b24d8ad
Merge pull request #82717 from hwdef/use-log-func2
...
use log func in test/e2e/apimachinery
2019-09-24 08:57:58 -07:00
Kubernetes Prow Robot
5eb830a819
Merge pull request #81978 from carlory/fix-test-02
...
cleanup test code in upgrades and autoscaling pkg
2019-09-24 08:57:43 -07:00
Kubernetes Prow Robot
7c09b0b1ec
Merge pull request #81911 from ahmad-diaa/use-scheduler-in-createConfiguratorArgsWithPodInformer
...
Use scheduler.New() Instead of factory.NewConfigFactory() in Integration Test scheduler_test.go
2019-09-24 08:57:28 -07:00
Jordan Liggitt
92eb072989
Propagate context to Authorize() calls
2019-09-24 11:14:54 -04:00