Kubernetes Prow Robot
77ee754b4c
Merge pull request #81540 from roycaihw/webhook-e2e-dial-timeout
...
Handle tcp dial timeout in webhook e2e test
2019-08-20 02:00:01 -07:00
Kubernetes Prow Robot
6f13032fb4
Merge pull request #81524 from jennybuckley/apply-group-updates-by-manager
...
Group managedFieldsEntries for update by manager name
2019-08-20 01:59:46 -07:00
Kubernetes Prow Robot
8f887cad45
Merge pull request #81497 from jpbetz/crd-e2e-v1
...
Upgrade e2e tests to use CRD v1 APIs
2019-08-20 01:59:33 -07:00
Claudiu Belu
aade8f8591
test images: Adds README containing image building process
...
Adds tests/images/README.md, which contains information regarding
the image modification / building process.
2019-08-20 00:22:51 -07:00
Kubernetes Prow Robot
461a628101
Merge pull request #81558 from liggitt/admissionregistration-v1-e2e
...
Use v1 admissionregistration APIs in e2e
2019-08-19 20:44:18 -07:00
Kubernetes Prow Robot
081db915d3
Merge pull request #81426 from oomichi/make-e2elog-back
...
Add log.go back to core of e2e test framework
2019-08-19 20:43:47 -07:00
Jun Gong
d9a7439ca0
Refactor NewXXXPlugin in framework_test to avoid package variable and do some other refactor
2019-08-20 09:52:26 +08:00
Joe Betz
5abf6b5d3e
Bump agnhost image version to 2.5
2019-08-19 18:31:23 -07:00
Joe Betz
1d429a615c
Update e2e tests to use CRD v1 API
2019-08-19 18:31:14 -07:00
Tim Allclair
49f50484b8
Delete duplicate resource.Quantity.Copy()
2019-08-19 17:23:14 -07:00
Haowei Cai
c8cd0bcd0e
accept dial timeout in webhook e2e
2019-08-19 15:39:42 -07:00
Hemant Kumar
f5175d9f76
Fix e2e for block volume expansion
2019-08-19 17:50:14 -04:00
jennybuckley
87eabcdbfa
Group update managedFieldsEntries by manager name
2019-08-19 13:50:15 -07:00
Masaki Kimura
2be543d879
Add messages for framework.Expect* in volumeMode tests
2019-08-19 16:39:17 +00:00
Masaki Kimura
00456d0a11
Speed up block volume e2e test by checking events
2019-08-19 16:39:11 +00:00
Masaki Kimura
04300826fd
Rename WaitTimeoutForPodEvent to WaitTimeoutForEvent and move it to common/events.go
2019-08-19 16:11:30 +00:00
Kubernetes Prow Robot
091a5dc53b
Merge pull request #81314 from jpbetz/crd-test-image
...
Upgrade ConversionReview e2e test image to also support v1
2019-08-17 19:08:04 -07:00
Kubernetes Prow Robot
f12a40df19
Merge pull request #81547 from BenTheElder/typecheck-cleanup
...
typecheck cleanup
2019-08-17 16:44:04 -07:00
Jordan Liggitt
0999bae14c
Use v1 admissionregistration APIs in e2e
2019-08-17 16:45:43 -04:00
Kubernetes Prow Robot
3f00331452
Merge pull request #80944 from apelisse/add-update-bench
...
Add benchmark for updates and get with/without server-side apply
2019-08-17 13:30:06 -07:00
Joe Betz
3f519b0ee2
Upgrade ConversionReview e2e test image to also support v1
2019-08-17 10:28:39 -07:00
Odin Ugedal
4f31d322a4
Fix GCE typo in test output
2019-08-17 13:11:19 +02:00
Kubernetes Prow Robot
fb64b76036
Merge pull request #81008 from bclau/test-images/agnhost-enhancements
...
test images: Adds version and bind-tools to agnhost
2019-08-17 02:42:07 -07:00
Benjamin Elder
6b038f3d1e
swap BenTheElder for rmmh in typecheck / go-srcimporter reviewers
2019-08-17 00:33:24 -07:00
Benjamin Elder
f1a7e78d4b
remove unnecessary ignore
2019-08-17 00:22:48 -07:00
Kubernetes Prow Robot
732b8ca58c
Merge pull request #81535 from spiffxp/mv-resource-tracking-tests-out-of-release-blocking
...
Demote regular resource tracking tests from release-blocking
2019-08-16 21:44:35 -07:00
Kubernetes Prow Robot
5b685ffd27
Merge pull request #81472 from damemi/taint-toleration-80922
...
Taints and tolerations e2e test re-work
2019-08-16 21:44:21 -07:00
Kubernetes Prow Robot
ef397e5b36
Merge pull request #79604 from liggitt/crd-v1
...
promote CRD to v1
2019-08-16 21:44:08 -07:00
Kubernetes Prow Robot
6b50f1ae38
Merge pull request #81514 from liggitt/agnhost-cleanup
...
Delete agnhost binary
2019-08-16 19:10:35 -07:00
Kubernetes Prow Robot
654df1da15
Merge pull request #81470 from ethan-daocloud/patch-10
...
cleanup: fix typos in error message in e2e test
2019-08-16 19:10:07 -07:00
Kubernetes Prow Robot
73b66e8ccb
Merge pull request #81207 from ahmad-diaa/flatten-sched-struct
...
Flatten Scheduler Struct
2019-08-16 17:02:54 -07:00
Kubernetes Prow Robot
e319abf274
Merge pull request #81163 from jsafrane/skip-unused-volumes
...
Skip unused volumes in VolumeManager
2019-08-16 17:02:36 -07:00
Matthew Wong
9da84cfbdf
Bump nfs-provisioner to include GetReference fix
2019-08-16 16:54:08 -07:00
Aaron Crickenberger
194e91bd17
Demote HPA tests from release-blocking
...
Add a Feature:HPA tag to these tests so they're not picked up by
the release-blocking job that focuses on [Serial] tests (but
excludes [Feature:.*] tests)
They take a combined 70 minutes on average. If they really need
to be in release-blocking as implemented, we should consider a
separate job to focus just on this feature.
2019-08-16 16:53:34 -07:00
Aaron Crickenberger
79cff6cd10
Demote regular resource tracking tests from release-blocking
...
Add a Feature:RegularResourceUsageTracking tag to these tests so
they're not picked up by the release-blocking job that focuses
on [Serial] tests (but excludes [Feature:.*] tests)
They take a combined 65 minutes on average. If they really need
to be in release-blocking as implemented, we should consider a
separate job to focus just on this feature.
2019-08-16 16:26:28 -07:00
Antoine Pelisse
4de7b6ddfb
Add benchmark for updates and get with/without server-side apply
2019-08-16 15:18:22 -07:00
Kubernetes Prow Robot
8f0d626228
Merge pull request #81375 from msau42/reduce-storage-e2es
...
Skip preprovisioned and inline volume tests if driver supports dynamic provisioning
2019-08-16 10:26:24 -07:00
Jordan Liggitt
fec2d3717a
CRD v1: require schema
2019-08-16 13:13:39 -04:00
Kenichi Omichi
c76291b8d3
Move HandleFlags to e2e package
...
HandleFlags() was used at e2e package and it depends on sub e2e
framework "config" in core e2e framework. That was invalid dependency.
So this moves HandleFlags() to e2e package for simple dependency.
2019-08-16 16:43:50 +00:00
Mayank Gaikwad
78741f149a
Modify dns e2e to individualise GCE specific dns checks into seperate e2e
2019-08-16 22:12:29 +05:30
Jordan Liggitt
8ae7696028
ignore agnhost binary
2019-08-16 10:54:44 -04:00
Jordan Liggitt
145882dfda
Delete agnhost binary
2019-08-16 10:21:25 -04:00
Kubernetes Prow Robot
1955467f9d
Merge pull request #80117 from j-griffith/cloning_e2e_tests
...
Add e2e tests for CSI PVCDataSources
2019-08-16 06:44:31 -07:00
Ahmad Diaa
61ab77ef7a
use factory.Config fields directly in scheduler struct
2019-08-16 15:21:28 +02:00
Kubernetes Prow Robot
e283836fb2
Merge pull request #81489 from BenTheElder/go-1.12.9
...
update go to 1.12.9
2019-08-16 03:32:44 -07:00
Kubernetes Prow Robot
bb55368fc6
Merge pull request #81478 from oomichi/move-ConfirmStatefulPodCount
...
Move ConfirmStatefulPodCount to e2e test
2019-08-16 03:32:31 -07:00
Dave Chen
129fa77aae
Initialize flags to support extra flags
...
Signed-off-by: Dave Chen <dave.chen@arm.com>
2019-08-16 14:05:21 +08:00
Yongli Chen
b158098401
replace ping with connect in msg
2019-08-15 20:44:55 -07:00
Yongli Chen
68e553ae6c
use agnhost image
...
add back ServeHostnameImage
2019-08-15 20:40:07 -07:00
Benjamin Elder
54c6744f8c
update go to 1.12.9
2019-08-15 17:37:06 -07:00
Kenichi Omichi
5e1743cfb1
Add log.go back to core of e2e test framework
...
We tried to separate logger functionality as subpackage of e2e test
framework, but we've recognized that should be core functionality
and we should keep it as core of e2e test framework after facing
circular dependency issues.
So this adds log.go back to core of e2e test framework. In addition,
this makes volume sub package use the core logger as a sample.
2019-08-16 00:06:04 +00:00
Michelle Au
62f0b7df7b
Disable kubelet restart tests for file volmode
...
Change-Id: I016cba4aba11d6e8574d4bc2d1f26284a068e562
2019-08-15 15:08:14 -07:00
Michelle Au
33c213577e
Skip preprovisioned and inline volume tests if driver supports dynamic provisioning.
...
Also remove FS VolMode disruptive tests because they are already covered
through the subpath disruptive test cases.
Change-Id: Ice4b30b0d8fdcb1f7fd61e54d27f53557de9f13a
2019-08-15 15:07:47 -07:00
j-griffith
47facf91b9
Add e2e tests for CSI PVCDataSources
...
address unit test comments
2019-08-15 13:25:10 -06:00
Kubernetes Prow Robot
d8c8c8eded
Merge pull request #79931 from skarthiksrinivas/vsphere_volume_selectednode
...
Provision vSphere volume as per selectedNode
2019-08-15 11:06:35 -07:00
Kenichi Omichi
a5a23d2845
Move ConfirmStatefulPodCount to e2e test
...
ConfirmStatefulPodCount() was used at e2e statefulset test only,
and that added dependency on another sub framework to statefulset
sub framework. This moves ConfirmStatefulPodCount() to the e2e test
for clean dependency.
2019-08-15 17:36:04 +00:00
Jordan Liggitt
6278447bde
CRD v1: install/register types
2019-08-15 12:26:13 -04:00
Mike Dame
a9f1314b60
Taints and tolerations e2e test re-work
...
Includes the changes from #80922 (that were reverted), and updates the test to appropriately add intolerable taints to all nodes except the target node
2019-08-15 11:00:24 -04:00
Guangming Wang
05d322bbb0
cleanup: fix typos in error message in e2e test
...
Signed-off-by: Guangming Wang <guangming.wang@daocloud.io>
2019-08-15 22:34:25 +08:00
Kubernetes Prow Robot
fec7d35f26
Merge pull request #81391 from oomichi/cleanup-GetGPUDevicePluginImage
...
Move GetGPUDevicePluginImage to the test
2019-08-15 07:20:48 -07:00
Kubernetes Prow Robot
273e9262bb
Merge pull request #80342 from draveness/feature/remove-critical-pod-annotation
...
feat: cleanup pod critical pod annotations feature
2019-08-15 07:20:34 -07:00
Kubernetes Prow Robot
7a35f8c92d
Merge pull request #81015 from draveness/feature/update-normalize-score-extension-point
...
feat: return error when score is out of range
2019-08-15 02:32:35 -07:00
Jan Safranek
2c79ffe274
Add test for unused volumes
2019-08-15 10:48:41 +02:00
Jan Safranek
5b69362ff0
Skip unused volumes in VolumeManager
...
DesiredStateOfWorldPopulator should skip a volume that is not used in any
pod. "Used" means either mounted (via volumeMounts) or used as raw block
device (via volumeDevices).
Especially when block feature is disabled, a block volume must not get into
DesiredStateOfWorld, because it would be formatted and mounted there.
2019-08-15 10:48:38 +02:00
Jan Safranek
8d580262f9
Refactor makeMountsMap into GetPodVolumeNames
...
The function will be handy in subsequent patches. Also change custom maps
into sets.String.
2019-08-15 10:48:38 +02:00
Kubernetes Prow Robot
661e4d5b38
Merge pull request #81271 from jpbetz/webhok-agnhost-v1
...
Upgrade AdmissionReview e2e test image to also support v1
2019-08-14 23:12:32 -07:00
Kubernetes Prow Robot
44c0f64411
Merge pull request #80801 from SataQiu/fix-cert-length
...
Follow up #80734 : update RSA keys to 2048 bits
2019-08-14 21:44:44 -07:00
Kubernetes Prow Robot
1c4a7dbe7b
Merge pull request #78245 from k-toyoda-pi/add_test_cronjob_failedJobsHistoryLimit
...
add e2e test for cronjob failedJobsHistoryLimit
2019-08-14 21:44:31 -07:00
Kubernetes Prow Robot
0d579bfecf
Merge pull request #79796 from jsafrane/block-test-mismatch
...
Add test for mismatched usage of filesystem/block volumes
2019-08-14 19:00:37 -07:00
Kubernetes Prow Robot
3526a6162e
Merge pull request #81390 from cblecker/go-1.12.8
...
Update to go 1.12.8
2019-08-14 16:53:15 -07:00
Kubernetes Prow Robot
93e9abe6af
Merge pull request #81381 from jpbetz/admission-e2e-operations
...
Add admission e2e tests for untested stable operations
2019-08-14 16:53:02 -07:00
Joe Betz
4f7543e42a
Upgrade AdmissionReview e2e test image to also support v1
2019-08-14 14:57:55 -07:00
Kubernetes Prow Robot
12f1898e51
Merge pull request #81328 from hex108/fix_permit_plugin
...
Fix flaky test TestPreemptWithPermitPlugin
2019-08-14 12:46:38 -07:00
Kubernetes Prow Robot
95a5781b9d
Merge pull request #81304 from j-griffith/update_hostpathplugin_to_rc4
...
Update CSI hostpathplugin to include cloning fix
2019-08-14 12:46:11 -07:00
Kubernetes Prow Robot
9ac0470a31
Merge pull request #81240 from jpbetz/crd-base-operations-conformance
...
Add CRD e2e tests for untested stable operations
2019-08-14 12:45:57 -07:00
Joe Betz
3121773af7
Add admission e2e tests for untested stable operations
2019-08-14 09:54:49 -07:00
Kubernetes Prow Robot
f6a70ef271
Merge pull request #80376 from ehashman/issue-66790-2
...
Drop deprecated cadvisor metric labels
2019-08-14 09:10:38 -07:00
draveness
9fb0df5096
feat(scheduler): return error when score is out of range
2019-08-14 19:16:41 +08:00
Mayank Gaikwad
7c64fc9d98
Promote e2e verifying service type updates
2019-08-14 16:07:59 +05:30
Kubernetes Prow Robot
5dad5c726f
Merge pull request #81341 from mgdevstack/unflake-service-reach
...
Add service reachability polling to avoid flakiness
2019-08-14 00:40:39 -07:00
Joe Betz
472555152c
Add CRD e2e tests for list, delete collection, and status sub-resource operations
2019-08-13 23:08:11 -07:00
Kubernetes Prow Robot
4441f1d9c3
Merge pull request #81330 from tedyu/hide-auth-hdr
...
Hide bearer token in logs
2019-08-13 21:38:49 -07:00
Christoph Blecker
f2a4522be1
Update to go 1.12.8
2019-08-13 20:20:45 -07:00
Kubernetes Prow Robot
1e82e1ca1f
Merge pull request #81099 from oomichi/remove-golint-e2e-framework
...
Rename MetricsForE2E for golint failure
2019-08-13 19:36:24 -07:00
Mayank Gaikwad
eddd7da462
Add service reachability polling to avoid flakiness
2019-08-14 06:22:33 +05:30
Kenichi Omichi
cd24b24725
Remove fail argument from ReadOrDie()
...
Every caller of ReadOrDie() specified ginkgo.Fail as fail argument,
and that was intentional to avoid depending on Ginkgo.
However that just spreaded the dependency on Ginkgo to caller sides.
Especially that was unnecessary e2e test framework "ingress" depended
on Ginkgo only for the above reason.
Now we are cleaning up the dependencies on e2e tests, so let's just
remove such dependencies.
2019-08-14 00:35:51 +00:00
Kenichi Omichi
2efa60b849
Move GetGPUDevicePluginImage to the test
...
GetGPUDevicePluginImage() was called in some e2e node test only.
So it is not worth keeping the function as a part of e2e test
framework. This moves GetGPUDevicePluginImage() to the e2e node
test for code cleanup.
2019-08-14 00:01:50 +00:00
Kenichi Omichi
2cd45b2c54
Move ProxyRequest to kubelet e2e fw
...
In e2e test framework, ProxyRequest() is called in kubelet e2e test
framework only. In addition, the function works for kubelet as tests
which call the function do. So this moves the function into kubelet
e2e test framework to make the dependency simple.
2019-08-13 23:25:47 +00:00
Patrick Ohly
7bbc06fcd4
storage: check CSIDriver.Spec.VolumeLifecycleModes
...
Using a "normal" CSI driver for an inline ephemeral volume may have
unexpected and potentially harmful effects when the driver gets a
NodePublishVolume call that it isn't expecting. To prevent that mistake,
driver deployments for a driver that supports such volumes must:
- deploy a CSIDriver object for the driver
- set CSIDriver.Spec.VolumeLifecycleModes such that it contains "ephemeral"
The default for that field is "persistent", so existing deployments
continue to work and are automatically protected against incorrect
usage.
For the E2E tests we need a way to specify the driver mode. The
existing cluster-driver-registrar doesn't support that and also was
deprecated, so we stop using it altogether and instead deploy and
patch a CSIDriver object.
2019-08-13 23:12:52 +02:00
Wei Huang
3cd7277361
Apply zero TerminationGracePeriodSeconds to preemption victims
2019-08-13 13:39:17 -07:00
Han Kang
2e23788fda
rename healthz methodNames to be more consistent w/ present day usages
2019-08-13 12:52:30 -07:00
Ted Yu
010d838264
Hide bearer token in logs
2019-08-13 09:36:15 -07:00
Kubernetes Prow Robot
77fca12f66
Merge pull request #81296 from msau42/update-csi-e2e
...
Update csi-provisioner and snapshotter to get selflink fix
2019-08-13 07:56:34 -07:00
Kubernetes Prow Robot
43fa5ca693
Merge pull request #81087 from johnSchnake/addSkipsIfSSHNotPresent
...
Ensure tests which rely on SSH behavior are skipped if unavailable
2019-08-13 07:56:07 -07:00
Kubernetes Prow Robot
2e72cdd7b1
Merge pull request #81081 from p0lyn0mial/gc_transition_delete
...
changes the way `gc` detect that an object needs to be deleted
2019-08-13 02:28:33 -07:00
Kubernetes Prow Robot
193c30fd01
Merge pull request #81069 from aojea/GlusterDynamicProvisioner
...
Add IPv6 support to e2e GlusterDynamicProvisioner
2019-08-13 02:28:20 -07:00
Kubernetes Prow Robot
b680c7c898
Merge pull request #80906 from serathius/static-analysis-prototype
...
Static analysis prototype
2019-08-13 02:27:41 -07:00
Jun Gong
d0d46fdc7b
Fix flaky test TestPreemptWithPermitPlugin
2019-08-13 11:48:32 +08:00
Kubernetes Prow Robot
61af419d38
Merge pull request #81291 from danwinship/service-test-cleanup-1
...
Inline/simplify two used-only-once service test helper functions
2019-08-12 20:12:38 -07:00
Kubernetes Prow Robot
feb6da78f9
Merge pull request #81235 from oomichi/make-simple-dependency-endpoints
...
Remove core dependency from endpoints e2e fw
2019-08-12 20:12:25 -07:00
Kubernetes Prow Robot
890b50f98b
Merge pull request #80952 from tedyu/storage-ret-err
...
Propagate error from NewREST
2019-08-12 18:21:52 -07:00
Michelle Au
7c1f55f400
Update csi-provisioner and snapshotter to get selflink fix
...
Change-Id: I5aa44d5d530dad04968429369aff65e369a86e2e
2019-08-12 15:28:40 -07:00
Kubernetes Prow Robot
f2c82f49e8
Merge pull request #81295 from ravisantoshgudimetla/revert-80922-fix-priority-toleration
...
Revert "Toleration priority function score computation"
2019-08-12 15:00:16 -07:00
Kubernetes Prow Robot
e1f667765b
Merge pull request #81251 from oomichi/followup-pr81231
...
Remove runDeployment() from e2e test
2019-08-12 14:59:50 -07:00
Ted Yu
87b2a3129b
Propagate error from NewREST
2019-08-12 13:55:35 -07:00
Kubernetes Prow Robot
5d5b6d779d
Merge pull request #81252 from draveness/patch-3
...
doc: add Draven as a reviewer to test package
2019-08-12 12:11:42 -07:00
Kubernetes Prow Robot
8756c9d18b
Merge pull request #80842 from chendave/guide
...
doc: fix couple of issues for the doc of agnhost
2019-08-12 12:11:29 -07:00
j-griffith
11f14de6e2
Update CSI hostpathplugin to include cloning fix
...
Update to hostpathplugin:v1.2.0-rc4 to include storageClass comparison
fix.
2019-08-12 13:09:17 -06:00
RaviSantosh Gudimetla
afce8f7f44
Revert "Toleration priority function score computation"
2019-08-12 12:03:04 -04:00
Dan Winship
6a42e102b7
Inline/simplify two used-only-once service test helper functions
2019-08-12 09:51:54 -04:00
Lukasz Szaszkiewicz
34eda804ca
adds an integration test for double deletion with a custom finalizer
2019-08-12 14:35:49 +02:00
Marek Siarkowicz
a5377a684c
Implement stable metric validation and verification
...
Based on KEP:
https://github.com/kubernetes/enhancements/blob/master/keps/sig-instrumentation/20190605-metrics-validation-and-verification.md
Add //test/instrumentation:stable_metric_test that compares metrics
in source code to those available in
"test/instrumentation/testdata/stable-metrics-list.yaml".
2019-08-12 12:01:35 +02:00
Claudiu Belu
a8c63d132b
tests: Fixes DNS tests for Windows
...
A previous commit replaced the usage of hostname -i with getent hosts
in DNS probe commands (for testing IPv6), which breaks the Windows tests
(getent hosts is a Linux-specific command that looks into the /etc/hosts
file, which, on Windows, is not managed by Kubelet).
This commit addresses this issue by executing getent hosts on IPv6 clusters
and hostname -i on IPv4 clusters (Windows does not support IPv6 at this
moment).
2019-08-11 11:19:31 -07:00
Kubernetes Prow Robot
0610bf0c7e
Merge pull request #81241 from oomichi/cleanup-unused-BusyBoxImage
...
Remove unused BusyBoxImage
2019-08-11 11:11:10 -07:00
Kubernetes Prow Robot
3e962cb61a
Merge pull request #81157 from openSUSE/localhost-nodeport-e2e-fix
...
[e2e] Fix node port service reachability test for nodes running on localhost
2019-08-10 04:19:14 -07:00
Draven
5f9ba3fae4
doc: add Draven as a reviewer to test package
2019-08-10 11:28:15 +08:00
Kenichi Omichi
9e17433ccf
Remove runDeployment() from e2e test
...
As https://github.com/kubernetes/kubernetes/pull/81231/files#r312670943
this removes runDeployment() by just moving some code into the test.
2019-08-10 00:10:09 +00:00
Kubernetes Prow Robot
6ed4ed1ff0
Merge pull request #81231 from oomichi/make-simple-dependency-deployment
...
Remove core dependency from deployment e2e fw
2019-08-09 16:33:39 -07:00
Kenichi Omichi
bb6da9e356
Remove unused BusyBoxImage
...
The core e2e framework contains BusyBoxImage. The sub e2e "pod"
framework also contains it but not used at all.
So this removes this unused BusyBoxImage for code cleanup.
2019-08-09 22:09:21 +00:00
Kubernetes Prow Robot
31bade3822
Merge pull request #81046 from liggitt/admission-side-effects
...
Limit v1 webhooks to None and NoneOnDryRun side effects classes
2019-08-09 13:55:27 -07:00
Kenichi Omichi
19c474fc4d
Remove core dependency from endpoints e2e fw
...
WaitForEndpoint() of the endpoints e2e framework was used in
test/e2e/network/proxy.go only. In addition, the endpoints e2e
framework imported the core of e2e framework only for the function.
So this moves the function into test/e2e/network/proxy.go then we
can remove dependency of core framework from the sub e2e framework.
2019-08-09 20:22:56 +00:00
Kenichi Omichi
bf221a09b5
Remove core dependency from deployment e2e fw
...
RunDeployment() of the deployment e2e framework was used in
autoscaling_utils only. In addition, the deployment e2e framework
imported the core of e2e framework only for the function.
So this moves the function into autoscaling_utils then we can remove
dependency of core framework from the deployment e2e framework.
2019-08-09 19:31:14 +00:00
Sascha Grunert
715627d95e
Fix node port service reachability test for nodes running on localhost
...
If a node's internal address points to 127.0.0.1, then we skip the node
port reachability test.
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2019-08-09 08:36:23 +02:00
Kubernetes Prow Robot
eadf68ebd9
Merge pull request #81203 from oomichi/remove-printOnce
...
Remove printOnce() on e2e tests
2019-08-08 19:36:17 -07:00
Kubernetes Prow Robot
386035a988
Merge pull request #81176 from spiffxp/test-owners-maint
...
Update test/OWNERS
2019-08-08 19:36:04 -07:00
Kubernetes Prow Robot
e73bc5613a
Merge pull request #78715 from liggitt/cleanup-crd-proto
...
Remove unnecessary serializer override for CRD status, test proto requests on CRD status
2019-08-08 19:35:38 -07:00
Kubernetes Prow Robot
01dc5b1da3
Merge pull request #80939 from draveness/feature/use-workqueue-in-volume-binding
...
fix: use workqueue to speed up of volume binding tests
2019-08-08 17:57:51 -07:00
Kubernetes Prow Robot
9d3d20114a
Merge pull request #78331 from mgdevstack/master-promote-resourcequota
...
Promote resourceQuota e2e verifying 'object count quota' and 'quota scope' to Conformance
2019-08-08 17:57:25 -07:00
draveness
495faa22db
feat: cleanup pod critical pod annotations feature
2019-08-09 08:41:23 +08:00
Kubernetes Prow Robot
a3e9dbe4d1
Merge pull request #80803 from serathius/static-analysis-directories
...
Setup directories for Metrics validation and verification KEP
2019-08-08 16:12:05 -07:00
Kubernetes Prow Robot
e0dccace6f
Merge pull request #79216 from verb/debug-api-test
...
Add integration test for ephemeral containers
2019-08-08 16:11:26 -07:00
Aaron Crickenberger
7919dfe795
remove redundant reviewers in test/OWNERS
...
all of these folks are either approvers (in which case they will
get selected as potential reviewers), or emeritus_approvers (in
which case they've become inactive and would be poor choices for
reviewers)
2019-08-08 10:31:47 -07:00
Aaron Crickenberger
0f1d903c3b
promote andrewsykim to approver in test/OWNERS
...
out of 200 most recently updated merged PRs in 'kubernetes/kubernetes' involving 'andrewsykim'...
85 touched files matching regex '^test/'
of those, andrewsykim authored 8, and commented '/lgtm' on 34
I read through a number of reviews, they're substantive feedback
and not rubber stamps. Keep up the good work!
2019-08-08 10:31:40 -07:00
Kubernetes Prow Robot
072528e5f6
Merge pull request #80787 from ii/wip-configmap-contents-patch
...
Add validation to ConfigMap patch test
2019-08-08 10:04:11 -07:00
Jordan Liggitt
0feb99f9bd
Remove unnecessary serializer override for CRD status, test proto requests on CRD status
2019-08-08 12:49:08 -04:00
draveness
65f6da3467
fix: update provisional delay seconds to 10s
2019-08-09 00:45:20 +08:00
draveness
d2df5a19b1
fix: reduce the number of pods and volumes
2019-08-09 00:45:20 +08:00
draveness
bd3c8390c6
fix: use workqueue to speed up of volume binding tests
2019-08-09 00:45:20 +08:00
draveness
0d7636a92f
feat: add logs to volume binding test
2019-08-09 00:42:16 +08:00
Kubernetes Prow Robot
f0474ba868
Merge pull request #81050 from msau42/integration-test2
...
Move volume scheduling integration tests into a separate pkg
2019-08-08 07:59:19 -07:00
Kubernetes Prow Robot
cbdb20c10d
Merge pull request #81049 from MrHohn/svc-e2e-reachability-verbose
...
[e2e] Add verbose to reachability test commands
2019-08-08 06:28:10 -07:00
Kubernetes Prow Robot
1d83daf8a7
Merge pull request #81032 from liggitt/isolate-webhook-e2e
...
Scope e2e webhooks to avoid cross-test interference
2019-08-08 06:27:44 -07:00
Kubernetes Prow Robot
678bc948d3
Merge pull request #81006 from hex108/fix_test
...
Refine TestFilterPlugin
2019-08-08 06:27:18 -07:00
Jan Safranek
40b186785f
Use events to speed up the test
2019-08-08 14:24:52 +02:00
Jan Safranek
683b9782b2
Add test for mismatched usage of filesystem/block volumes
2019-08-08 14:24:52 +02:00
Kenichi Omichi
e8c41b8892
Remove printOnce() on e2e tests
...
Originally, printOnce() was implemented for printing debugging message
once for checking actual value is the same as expected value.
However even if an error doesn't happen in ExpectEqual(), printOnce()
is called internally. Then the second ExpectEqual() doesn't output
the debugging message if an error happens. This makes debugging
difficult, let's just remove it for debugging.
2019-08-08 07:29:56 +00:00
Kenichi Omichi
47a4d1a8ec
Rename MetricsForE2E for golint failure
...
This renames MetricsForE2E to ComponentCollection for solving golint
failure.
2019-08-08 04:15:36 +00:00
Kubernetes Prow Robot
a8d71390cf
Merge pull request #81053 from oomichi/cleanup-indent-e2e-framework-metrics
...
Reduce indents of resource_usage_gatherer
2019-08-07 14:45:36 -07:00
Kubernetes Prow Robot
f96fcd095f
Merge pull request #80947 from Nordix/kubeadm-ds-e2e-pod-network-cidr
...
kubeadm e2e networking test for dual-stack podSubnet check.
2019-08-07 14:44:58 -07:00
Michelle Au
d38bcde9b8
add scheduling utils
...
Change-Id: I238e6486473aef68f1600d8b574e971e86e70089
2019-08-07 11:21:02 -07:00
Michelle Au
323f000e4f
move volume scheduling tests
...
Change-Id: I80d9e806090099b9e53cc14a023735ed9f0a2b8b
2019-08-07 11:09:34 -07:00
John Schnake
37212fa934
Ensure tests which rely on SSH behavior are skipped if unavailable
...
A number of tests rely on SSH behavior but are not marked with
SkipUnlessSSHKeysPresent(). This means that the tests will run and
hang. This can be confusing for users because they may not know why
the tests failed. Instead, we should be reporting on the known issue
and skipping the test (hence why the helper Skip... function exists).
2019-08-07 10:24:39 -05:00
Kubernetes Prow Robot
28e88e3f19
Merge pull request #79659 from liggitt/test-webhook-watch-cache
...
Test webhooks with and without watch cache enabled
2019-08-07 07:02:50 -07:00
Kubernetes Prow Robot
1e962072f1
Merge pull request #79909 from vinicyusmacedo/simplify-e2e
...
Moving e2e boilerplate to separate functions
2019-08-07 04:46:50 -07:00
Kenichi Omichi
7f949e1fcc
Make nodeList schedulable
...
The conformance test "validates resource limits of pods that are
allowed to run" is failed if master node doesn't have taints.
The reason is that nodeList which should consist of schedulable
nodes is gotten with GetMasterAndWorkerNodes() and master nodes
were excluded from nodeList.
This makes nodeList be gotten with GetReadySchedulableNodesOrDie()
and nodeList can consist of schedulable nodes.
2019-08-07 10:34:52 +00:00
Antonio Ojea
10ef878e08
Add IPv6 support to e2e GlusterDynamicProvisioner
2019-08-07 09:47:36 +02:00
Kubernetes Prow Robot
3cb2eaa4ba
Merge pull request #80953 from Moriadry/feature/package-collides
...
Fix error collides with imported package name
2019-08-06 23:57:42 -07:00
Kubernetes Prow Robot
48b7301440
Merge pull request #80843 from draveness/feature/use-expect-equal-again
...
feat: update multiple files in e2e node with framework helpers
2019-08-06 23:57:16 -07:00
Kubernetes Prow Robot
ee8ed53e0e
Merge pull request #80790 from k-toyoda-pi/use_expectequal_e2e_node_a-d
...
Use framework.ExpectEqual() in test/e2e_node/[a-d]
2019-08-06 23:57:03 -07:00
Kubernetes Prow Robot
cc4301025d
Merge pull request #80655 from johnbelamaric/promote-nodeport-creation
...
Promote NodePort service creation e2e test to conformance
2019-08-06 23:56:50 -07:00
Jordan Liggitt
38ec458703
Test webhooks with and without watch cache enabled
2019-08-07 00:45:25 -04:00
Kubernetes Prow Robot
64a67184ce
Merge pull request #80654 from spiffxp/promote-taint-e2e-tests
...
Promote taint-based eviction e2e tests to Conformance
2019-08-06 21:05:43 -07:00
Kubernetes Prow Robot
1a01d10f5f
Merge pull request #80590 from alculquicondor/refactor/configurator-pod
...
Remove Configurator interface
2019-08-06 21:05:31 -07:00
Caleb Woodbine
7218182f11
Update configMap data checking
2019-08-07 03:35:36 +00:00
Kenichi Omichi
de66a736e8
Reduce indents of resource_usage_gatherer
...
test/e2e/framework/resource_usage_gatherer contained much indents
and they can be reduced with `continue` for code readability.
2019-08-07 01:23:18 +00:00
Jordan Liggitt
190c926d1f
Limit v1 webhooks to None and NoneOnDryRun side effects classes
2019-08-06 20:54:06 -04:00
Arvinderpal Wander
a0da7a1d89
kubeadm e2e networking test for dual-stack podSubnet check.
2019-08-06 17:42:36 -07:00
John Belamaric
60a51ce020
Promote NodePort service creation e2e test to conformance
2019-08-06 16:23:40 -07:00
Zihong Zheng
8d84a1ea76
[e2e] Add verbose to reachability test commands
2019-08-06 15:27:57 -07:00
Jordan Liggitt
a8918405e6
Scope e2e webhooks to avoid cross-test interference
2019-08-06 16:44:11 -04:00
Marek Siarkowicz
0260d4f287
Setup directories for Metrics validation and verification KEP
...
KEP link: https://github.com/kubernetes/enhancements/blob/master/keps/sig-instrumentation/20190605-metrics-validation-and-verification.md
2019-08-06 15:11:39 +02:00
Kubernetes Prow Robot
345e58b434
Merge pull request #75071 from mkimuram/issue/74552e2e
...
Fix volume reconstruction and add e2e tests
2019-08-06 06:05:55 -07:00
Jun Gong
a2f178ecd7
Refine TestFilterPlugin
2019-08-06 13:41:32 +08:00
moriadry
4b8080dda8
Fix error collides with imported package name
...
Fix error collides with imported package name
fix
fix
2019-08-06 12:20:29 +08:00
Kubernetes Prow Robot
65e5439faf
Merge pull request #80991 from davidz627/fix/testMani
...
Add davidz627 to testing manfiests csi owners
2019-08-05 19:58:28 -07:00
Kubernetes Prow Robot
3fdf5cf2ac
Merge pull request #80879 from ravisantoshgudimetla/fix-taint-manager
...
Wait for pods to be running before eviction starts
2019-08-05 19:58:07 -07:00
Kubernetes Prow Robot
da4248602d
Merge pull request #80516 from adelina-t/refactor_kubectl_test
...
Refactor kubectl retrieve logs test to use agnhost
2019-08-05 19:57:53 -07:00
Caleb Woodbine
b10743236e
Update function for data inequality verification
2019-08-06 01:53:08 +00:00
Kubernetes Prow Robot
4d337d2d32
Merge pull request #80990 from davidz627/fix/pdDriverMani
...
Bump GCE PD CSI Driver testing manifests to v0.5.2-gke.0 for volume limits fix
2019-08-05 18:18:44 -07:00
Kubernetes Prow Robot
f18d1ad6c1
Merge pull request #80821 from damemi/duplicate-e2e
...
Remove duplicate scheduler anti-affinity preemption e2e
2019-08-05 18:18:06 -07:00
Kubernetes Prow Robot
b409073e99
Merge pull request #80496 from alejandrox1/e2e-framework-import-restrictions
...
Added import restrictions file to e2e framework
2019-08-05 15:08:43 -07:00
David Zhu
f5e95d1897
Add davidz627 to testing manfiests csi owners
2019-08-05 14:04:22 -07:00
Kubernetes Prow Robot
a56f3ed0b8
Merge pull request #80706 from WanLinghao/refactor_e2e_kubelet_stats
...
Refactor and clean up e2e framework utils, this patch handles test/e2e/framework/kubelet_stats.go file
2019-08-05 13:36:16 -07:00
Kubernetes Prow Robot
cce048123d
Merge pull request #80610 from aojea/ipv6kubectl
...
Add ipv6 support to the e2e kubectl tests
2019-08-05 13:36:02 -07:00
David Zhu
6d6faff491
Bump GCE PD CSI Driver testing manifests to v0.5.2-gke.0 for volume limits fix
2019-08-05 13:23:17 -07:00
Vinicyus Macedo
0f21b692e4
Moved e2e boilerplate to framework
2019-08-05 16:23:56 -03:00
alejandrox1
f948ce176d
Added import restrictions file to e2e framework
...
Signed-off-by: alejandrox1 <alarcj137@gmail.com>
2019-08-05 14:27:12 -04:00
Kubernetes Prow Robot
cc270c138d
Merge pull request #78097 from draveness/feature/post-filter-extension-point
...
feat: implement "post-filter" extension point for scheduling framework
2019-08-03 09:43:51 -07:00
Kubernetes Prow Robot
7c86bdb8e5
Merge pull request #80928 from logicalhan/flake
...
increase timeout for maximum-startup-sequence-duration as a stopgap
2019-08-03 01:27:58 -07:00
Kubernetes Prow Robot
9827a6edc8
Merge pull request #80922 from ravisantoshgudimetla/fix-priority-toleration
...
Toleration priority function score computation
2019-08-02 20:28:44 -07:00
ravisantoshgudimetla
7c53ccfd68
Toleration priority function score computation
...
I think, if a pod doesn't have any tolerations, we don't prefer node without taints to
the one which has taints in https://github.com/kubernetes/kubernetes/blob/master/pkg/scheduler/algorithm/priorities/taint_toleration.go#L29 , so there is no point in testing that particular functionality. The side effect of the above is, since we're going round-robin in every scheduling cycle sometimes we're choosing first node and in the next cycle we'd move onto next node(where taints are not being applied), so it's causing problem unnecessarily
2019-08-02 14:18:25 -07:00
Han Kang
981a4c95d9
increase timeout for maximum-startup-sequence-duration to decrease probability of a flake
2019-08-02 13:48:02 -07:00
Kubernetes Prow Robot
c68eeb230a
Merge pull request #80902 from bskiba/fix-prom-to-sd-image
...
Fix registry for prometheus-to-sd
2019-08-02 12:40:48 -07:00
Kubernetes Prow Robot
cd04b13a1d
Merge pull request #80882 from ravisantoshgudimetla/add-logging
...
Don't supress the node update error while logging
2019-08-02 12:40:22 -07:00
ravisantoshgudimetla
b4ea510529
Wait for pods to be running before eviction starts
2019-08-02 11:00:26 -07:00
Kubernetes Prow Robot
6278b90731
Merge pull request #80805 from mgdevstack/flaky-execPod
...
Fix failing service e2e due to execPod unavailability
2019-08-02 08:43:52 -07:00
Kubernetes Prow Robot
f370abb230
Merge pull request #80595 from aojea/e2e_preserve
...
Add IPv6 support to preserve source pod IP test
2019-08-02 06:53:53 -07:00
Kubernetes Prow Robot
231a6a7850
Merge pull request #80861 from mborsz/addon
...
Update kube-addon-manager to v9.0.2
2019-08-02 04:53:58 -07:00
Beata Skiba
3e96208700
Fix registry for prometheus-to-sd
2019-08-02 13:36:08 +02:00
Kubernetes Prow Robot
666d58bccc
Merge pull request #80778 from oomichi/cleanup-resource-quota
...
Removed unsed return values of createResourceQuota
2019-08-02 02:35:53 -07:00
draveness
aeadd793cb
feat: update multiple files in e2e node with framework helpers
2019-08-02 14:39:05 +08:00
Kubernetes Prow Robot
9743d7f270
Merge pull request #80730 from jennybuckley/apply-raw
...
Use raw bytes instead of nested map in metav1.Fields
2019-08-01 20:11:52 -07:00
draveness
feb64858aa
feat: implement "post-filter" extension point for scheduling framework
2019-08-02 10:12:54 +08:00
ravisantoshgudimetla
2d8a021bb1
Don't supress the node update error while logging
2019-08-01 17:43:45 -07:00
Kubernetes Prow Robot
c981c65c90
Merge pull request #80231 from liggitt/admissionreview-v1
...
Promote admissionreview to v1
2019-08-01 17:20:05 -07:00
Kubernetes Prow Robot
e857ae090c
Merge pull request #80011 from Huang-Wei/eps-int-test
...
Even Pods Spread - 6. Integration Test
2019-08-01 17:19:51 -07:00
Antonio Ojea
48f1756b93
Add IPv6 support to preserve source pod IP test
...
Co-Authored-By: Benjamin Elder <bentheelder@google.com>
2019-08-02 00:16:05 +02:00
Kubernetes Prow Robot
3287bf7a3a
Merge pull request #80859 from wojtek-t/fix_selflinks_in_tests
...
Fix selflinks in tests
2019-08-01 15:01:30 -07:00
Jordan Liggitt
308c23cf89
Generated
2019-08-01 17:17:42 -04:00
Jordan Liggitt
dda9bcb082
AdmissionReview: Allow webhook admission to dispatch v1 or v1beta1
2019-08-01 17:17:42 -04:00
Kubernetes Prow Robot
bb707c8fe2
Merge pull request #80860 from AdamDang/patch-29
...
Typo fix: DaemonsSet->DaemonSet
2019-08-01 13:39:07 -07:00
Masaki Kimura
2306d2ff31
Refactor e2e tests
2019-08-01 20:09:47 +00:00
Jan Safranek
d79b7c754f
Add in-line filesystem volumes to MakeSecPod
2019-08-01 20:04:11 +00:00
Masaki Kimura
f1d2d9d670
Move disruptive tests to testsuites and add ones for block volume
2019-08-01 20:04:10 +00:00
Caleb Woodbine
b845fee7f7
Add ConfigMap patch e2e test with validation step
...
Test originally written by draveness for this PR:
https://github.com/kubernetes/kubernetes/pull/78924
This commit adds a validation step to the test.
2019-08-01 13:00:59 -07:00
Claudiu Belu
103498f538
test images: Adds version and bind-tools to agnhost
...
Adds bind-tools to the agnhost image. With this, dig will available
in the agnhost image, which can be used in DNS related tests.
Adds the --version flag to the agnhost binary, which will be useful for
debugging purposes (e.g.: when the image version does not match the binary
version).
Bumps version to 2.5.
2019-08-01 12:27:35 -07:00
Wei Huang
caab8b74ba
EvenPodsSpread: integration test
2019-08-01 10:42:27 -07:00
Kubernetes Prow Robot
9fdda3f610
Merge pull request #77534 from WanLinghao/psp_refactor
...
Refactor and clean up e2e framework utils, this patch handles test/e2e/framework/psp_util.go file
2019-08-01 09:46:15 -07:00
Kubernetes Prow Robot
e40cfd984d
Merge pull request #80378 from davidz627/fix/gceAM
...
Add a field 'RequiredAccessModes' to the driver info object that is propagated to pvc creation
2019-08-01 08:16:42 -07:00
Maciej Borsz
e442a427f5
Update kube-addon-manager to v9.0.2.
2019-08-01 16:15:51 +02:00
AdamDang
799fb862a5
Typo fix: DaemonsSet->DaemonSet
...
Typo fix: DaemonsSet->DaemonSet
2019-08-01 22:11:15 +08:00
wojtekt
bc00248e71
Fix selflinks in tests
2019-08-01 15:50:03 +02:00
Kubernetes Prow Robot
a1727472b2
Merge pull request #79195 from xychu/fix-shellchecks-d
...
Fix shellcheck failures in test/cmd/{d,l}.*.sh
2019-08-01 05:46:14 -07:00
Aldo Culquicondor
d935b1054c
Remove Configurator interface
...
The Configurator has been used as a holder for listers that tests need,
which is not its purpose. By making the tests obtain listers from more
appropriate places, such as informers, there is no need for various
accessors to the Configurator.
Also, FakeConfigurator is not being used anymore, so there's no need for
an interface instead of a plain pointer.
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2019-08-01 08:36:38 -04:00
WanLinghao
92b0310cc5
Refactor and clean up e2e framework utils, this patch handles test/e2e/framework/kubelet_stats.go file
2019-08-01 17:40:02 +08:00
Kubernetes Prow Robot
86ebaaa023
Merge pull request #80816 from msau42/update-hostpath-csi
...
fix snapshotter rbac rules
2019-08-01 00:52:41 -07:00
Kubernetes Prow Robot
e4dfed624a
Merge pull request #80427 from mlmhl/kubemark-e2e
...
fix kubemark e2e test script
2019-08-01 00:52:28 -07:00
Kubernetes Prow Robot
e694959038
Merge pull request #80708 from WanLinghao/util_pods_refacotr
...
Move pod related functions in file test/e2e/framework/util.go to its sub directory
2019-07-31 20:08:38 -07:00
Kubernetes Prow Robot
fb46ec8455
Merge pull request #80383 from liu-cong/normalizescore
...
Add NormalizeScore extension point for scheduler framework.
2019-07-31 20:08:24 -07:00
Kubernetes Prow Robot
a6dca16d99
Merge pull request #80144 from Huang-Wei/stateless-ApplyFeatureGates
...
scheduler: make ApplyFeatureGates() stateless
2019-07-31 20:08:14 -07:00
Mayank Gaikwad
bf1597f665
Fix failing service e2e due to execPod IP unavailability
2019-08-01 08:34:22 +05:30
Dave Chen
aba7e7597b
doc: fix couple of issues for the doc of agnhost
...
- The code for google analytics is not well-formatted, which cause its not
rendered well and properly not work as expected.
- webhook v1beta1 is out, the `TODO` in the guide could be removed.
Signed-off-by: Dave Chen <dave.chen@arm.com>
2019-08-01 10:54:57 +08:00
toyoda
c9ec5210e9
Use ExpectEqual in test/e2e_node/[a-d]
2019-08-01 09:27:52 +09:00
jennybuckley
addad99b6f
Use raw bytes in metav1.Fields instead of map
...
Also define custom proto unmarshaller that understands the old format
2019-07-31 16:05:54 -07:00
Kubernetes Prow Robot
39af3cccd6
Merge pull request #80769 from liggitt/admission-conformance
...
Convert e2e webhook tests to use v1 API
2019-07-31 13:48:28 -07:00
Kubernetes Prow Robot
a9a68c5e44
Merge pull request #80809 from bskiba/fix-exporter-image
...
Fix registry for PrometheusDummyExporter
2019-07-31 11:42:27 -07:00
Mike Dame
66b7d86a2f
Remove duplicate scheduler anti-affinity preemption e2e
2019-07-31 14:40:02 -04:00
Kubernetes Prow Robot
873e1fca75
Merge pull request #80795 from s-ito-ts/e2e_kubeadm
...
Use framework.ExpectEqual() under test/e2e_kubeadm
2019-07-31 08:55:01 -07:00
Kubernetes Prow Robot
ffc2947149
Merge pull request #80772 from seans3/move-scale-updater-staging
...
Refactor pkg/kubectl/{scale.go|rollingupdater.go} for move to staging
2019-07-31 06:56:35 -07:00
Beata Skiba
f629d26611
Fix registry for PrometheusDummyExporter
2019-07-31 15:38:36 +02:00
Kubernetes Prow Robot
14f4288ef4
Merge pull request #80739 from mlmhl/e2e
...
report error message when reset scheduler metrics in e2e test
2019-07-31 05:29:00 -07:00
Kubernetes Prow Robot
db2c55a86c
Merge pull request #80680 from SataQiu/clean-e2e-node
...
e2e_node: clean up non-recommended import
2019-07-31 05:28:21 -07:00
Kubernetes Prow Robot
e5cec2edc8
Merge pull request #80646 from danwinship/network-granular-checks
...
Un-[Slow] a bunch of networking tests
2019-07-31 03:04:21 -07:00
SataQiu
b5d5e7a9b4
update RSA keys to 2048 bits
2019-07-31 17:48:35 +08:00
s-ito-ts
1a33b58a9c
Use framework.ExpectEqual() under test/e2e_kubeadm
2019-07-31 06:56:50 +00:00
Sean Sullivan
c011df28a4
Refactor pkg/kubectl/{scale.go|rollingupdater.go} for move to staging
2019-07-30 23:15:15 -07:00
WanLinghao
e43572f02b
Move pod related functions file in test/e2e/framework/util.go to its sub direcotry
2019-07-31 13:53:41 +08:00
Kubernetes Prow Robot
17c533ac05
Merge pull request #80645 from verb/debug-api-test-owners
...
Assign OWNERS for pod integration tests to sig-node
2019-07-30 22:44:20 -07:00
Kenichi Omichi
23b7ec523d
Removed unsed return values of createResourceQuota
...
These values are not used at all, so let's remove them.
In addition, this adds framework.ExpectNoError() to the place
there was not error handling of createResourceQuota().
2019-07-31 01:53:44 +00:00
Jordan Liggitt
7f51beebb1
Fix hanging webhook error checking
2019-07-30 21:04:46 -04:00
Cong Liu
34373662d3
Add NormalizeScore extension point for scheduler framework.
2019-07-30 20:02:13 -04:00
Kubernetes Prow Robot
75d5189612
Merge pull request #80678 from seans3/move-polymorphic-staging
...
Move pkg/kubectl/polymorphichelpers staging
2019-07-30 16:11:11 -07:00
Jordan Liggitt
bfaea07b06
Convert e2e webhook tests to use v1 API
2019-07-30 18:13:11 -04:00
Adelina Tuvenie
f8a38220e3
Refactor kubectl retrieve logs test to use agnhost
...
Windows is having trouble running this test because the Redis
port for Windows is older than the one used by the test, as
described in the issue #80265 .
Changing the "Kubectl should retrieve and filter logs" test
to use the agnhost image to generate the logs.
Fixes: https://github.com/kubernetes/kubernetes/issues/80265
2019-07-30 21:57:43 +03:00
Wei Huang
eb3ed24853
scheduler: make ApplyFeatureGates() stateless
2019-07-30 11:41:57 -07:00
Sean Sullivan
9f3384f02f
Move pkg/kubectl/polymorphichelpers staging
2019-07-30 10:10:30 -07:00
Kubernetes Prow Robot
269183a7a8
Merge pull request #80666 from oomichi/cleanup-ResourceEventHandlerFuncs
...
Remove duplicated check in ObserveEventAfterAction
2019-07-30 10:09:43 -07:00
Kubernetes Prow Robot
e116b6f09d
Merge pull request #80615 from jeefy/e2e-test-fixes
...
Support passing `Args` for `newrc` function within `test/e2e`
2019-07-30 08:53:17 -07:00
Kubernetes Prow Robot
a1a8641eff
Merge pull request #80424 from chendave/doc
...
update guide to make the command works as expected
2019-07-30 05:33:31 -07:00
Kubernetes Prow Robot
d248bd099d
Merge pull request #80233 from alculquicondor/refactor/configurator
...
Remove NodeLister from Scheduler Configurator
2019-07-30 05:33:17 -07:00
Kubernetes Prow Robot
a23fc83fcd
Merge pull request #79751 from aojea/e2eDownwardAPI
...
Add e2e test for downward API with host network
2019-07-30 03:35:44 -07:00
Kubernetes Prow Robot
80d32e8ca2
Merge pull request #75000 from oomichi/cleanup-ingress
...
Fix error message of ListTargetHTTPSProxies
2019-07-30 03:34:50 -07:00
Kubernetes Prow Robot
614aab80f5
Merge pull request #78740 from oomichi/extend-check
...
Make the check strict to use ExpectNoError()
2019-07-30 01:59:04 -07:00
mlmhl
f2cf68b2a0
report error message when reset scheduler metrics in e2e test
2019-07-30 14:30:48 +08:00
Antonio Ojea
d20698a7a8
Debug values when test fail
2019-07-30 00:42:34 +02:00
Sean Sullivan
6c96a059dd
Move pkg/kubectl/cmd/util and subdirs to staging
2019-07-29 13:08:41 -07:00
skarthiksrinivas
73271c1970
Provision vSphere volume as per selectedNode
2019-07-28 22:03:02 -07:00
Kubernetes Prow Robot
c1d2ac43ee
Merge pull request #80259 from Nordix/kubeadm-e2e-networking-config
...
Kubeadm Networking Configuration E2E Tests
2019-07-28 18:21:53 -07:00
Jeffrey Sica
ea2f6c80d7
support args for newrc funcs
2019-07-28 11:45:43 -04:00
Dave Chen
5d268b9570
update guide to make the command works as expected
...
Signed-off-by: Dave Chen <dave.chen@arm.com>
2019-07-28 17:27:54 +08:00
SataQiu
641d330f89
e2e_node: clean up non-recommended import
2019-07-28 12:49:36 +08:00
Arvinderpal Wander
ca3bdfd793
kubeadm networking related tests.
...
* podSubnet check: if a podSubnet is specified in kubeadm-config
then the e2e test will check that pod-cidrs of individual nodes
fall within this range.
* serviceSubnet check: if a serviceSubnet is specified in
kubeadm-config then the e2e test will check that the kubernetes
service created in the default namespace got a service IP
from the configured range.
2019-07-27 07:30:26 -07:00
WanLinghao
d288bc0368
Refactor and clean up e2e framework utils, this patch handles test/e2e/framework/psp_util.go file
2019-07-27 16:24:08 +08:00
Kubernetes Prow Robot
0f32f9ef0e
Merge pull request #77100 from chardch/add-driver-version
...
Emit the nvidia driver version in gpu e2e test
2019-07-27 00:49:57 -07:00
Kubernetes Prow Robot
a63446d5c7
Merge pull request #80669 from oomichi/dig-predicates
...
Add message which shows how much CPU used
2019-07-26 23:23:57 -07:00
Michelle Au
b60a55dc4f
fix snapshotter rbac rules
...
Change-Id: Ic6ebec87fd6d230a8e6cc2998df4b20d7a04a02b
2019-07-26 21:55:37 -07:00
Kubernetes Prow Robot
5e7c707e3c
Merge pull request #80662 from BenTheElder/fix-bazel
...
fix building test/e2e_node/ with bazel 0.28.1
2019-07-26 21:33:56 -07:00
Kubernetes Prow Robot
7075853a70
Merge pull request #80254 from hex108/preempt_with_permit
...
Send a reject message to permit plugin when preempting a WaitingPod
2019-07-26 20:16:11 -07:00
Kenichi Omichi
c6c274e8c9
Add message which shows how much CPU used
...
"validates resource limits of pods that are allowed to run" test of
conformance tests are flake on some local environments.
The CPU workload pods don't seem work well and nodes have still CPU
capacity after running the workload pods. Then the conformance test
failed unexpectedly.
This adds message which shows how much CPU used by the workload pods
for investigating it easily.
2019-07-27 02:13:52 +00:00
Kenichi Omichi
18e3807cd7
Remove duplicated check in ObserveEventAfterAction
...
In ObserveEventAfterAction(), observedMatchingEvent is set if ok is
true. Now the ok is already checked with framework.ExpectEqual().
So this removes duplicated check for code cleanup.
2019-07-27 01:03:10 +00:00
Kubernetes Prow Robot
a300104f0a
Merge pull request #80578 from tsmetana/revert-pr78697
...
Revert "e2e: Skip multi-node PV test when pods scheduled on the same node
2019-07-26 16:52:10 -07:00
David Zhu
0313dc217e
Add a field 'RequiredAccessModes' to the driver info object that is propagated to pvc creation
2019-07-26 15:20:47 -07:00
Benjamin Elder
4542cb937f
fix building test/e2e_node/ with bazel 0.28.1
2019-07-26 14:32:40 -07:00
Kenichi Omichi
7ca57877b0
Fix error message of ListTargetHTTPSProxies
...
The error message of ListTargetHTTPSProxies operation contained
ListTargetHTTPProxies(HTTP instead of HTTPS) wrongly.
This fixes it.
2019-07-26 20:25:11 +00:00
Aaron Crickenberger
e0750bd8db
Promote taint-based eviction e2e tests to Conformance
2019-07-26 11:50:25 -07:00
Dan Winship
28526721b8
Un-[Slow] a bunch of networking tests
2019-07-26 12:25:03 -04:00
Lee Verberne
db5c348e43
Assign OWNERS for pod integration tests
2019-07-26 15:57:29 +00:00
Kubernetes Prow Robot
ee84c95bdb
Merge pull request #80634 from aojea/translatev4v6
...
Don´t translate to IPv6 empty addresses
2019-07-26 08:06:12 -07:00
Kubernetes Prow Robot
2c17bc39cb
Merge pull request #80617 from SataQiu/cleanup-e2e_kubeadm
...
e2e_kubeadm: clean up non-recommended import
2019-07-26 08:05:59 -07:00
Antonio Ojea
be8bedef7b
Don´t translate to IPv6 empty addresses
2019-07-26 12:43:26 +02:00
Kubernetes Prow Robot
fc4cbf743a
Merge pull request #80543 from davidz627/fix/makePV
...
Document and improve defaulting for MakePersistentVolume, dedupe some manual PV creations
2019-07-26 03:24:25 -07:00
Kubernetes Prow Robot
9e4b126e18
Merge pull request #80550 from spiffxp/promote-jobs-complete-after-restart
...
Promote job completion after failure e2e test to Conformance
2019-07-25 22:35:58 -07:00
SataQiu
fc2d6aea48
e2e_kubeadm: clean up non-recommended import
2019-07-26 12:02:26 +08:00
Kubernetes Prow Robot
8497639221
Merge pull request #80544 from spiffxp/promote-jobs-adopt-release-orphan-pods
...
Promote job pod orphaning/adotion e2e test to Conformance
2019-07-25 20:48:36 -07:00
Kubernetes Prow Robot
cc0137cdc6
Merge pull request #80398 from aojea/ipfamily
...
Add ip family autodetection to the testing framework
2019-07-25 18:12:00 -07:00
Kubernetes Prow Robot
2321d1e9e8
Merge pull request #80150 from ii/promote-statefulset-replica-scaling
...
Promote StatefulSet Replica scaling
2019-07-25 16:02:07 -07:00
Kubernetes Prow Robot
a3750501b0
Merge pull request #79983 from pohly/persistent-and-ephemeral-csi-volumes
...
persistent and ephemeral csi volumes
2019-07-25 16:01:54 -07:00
Kubernetes Prow Robot
ba989a1e2b
Merge pull request #77593 from tathagatachowdhury/tathagata-e2e-network-policy
...
Added code for e2e tests for network policy.
2019-07-25 16:01:27 -07:00
Antonio Ojea
8988965df1
Add ipv6 support to the e2e kubectl tests
2019-07-26 00:40:46 +02:00
Kubernetes Prow Robot
f243bd4787
Merge pull request #79955 from msau42/update-hostpath-csi
...
Update csi hostpath driver in e2e
2019-07-25 14:34:11 -07:00
Kubernetes Prow Robot
63a43402a3
Merge pull request #77532 from WanLinghao/perf_refactor
...
Refactor and clean up e2e framework utils, this patch handles test/e2e/framework/perf_util.go file
2019-07-25 13:02:45 -07:00
David Zhu
862ba3fc05
Document and improve defaulting for MakePersistentVolume, dedupe some manual PV creations
2019-07-25 10:57:29 -07:00
Patrick Ohly
4bc5d065c9
updated Bazel files
2019-07-25 16:45:46 +02:00
Patrick Ohly
608b0e7097
e2e storage: csi-mock tests for ephemeral inline volumes
...
The PodInfo tests can be extended to also cover the new
csi.storage.k8s.io/ephemeral flag. However, the presence of that flag
depends on whether inline volume support is enabled, so tests that run
with and without the feature have to detect that at runtime.
Other tests have a feature tag and thus can assume that they only run
when that feature is enabled. However, we need a newer csi-mock driver
before we can actually ask it to publish an ephemeral inline volume.
2019-07-25 16:45:46 +02:00
Patrick Ohly
555ff7ef10
CSI: allow drivers that can handle persistent and ephemeral volumes
...
The conceptual change is that the mode in which a volume gets handled
is derived from it's spec, not from the ability of the driver. In
practice, that is already how the code worked because it didn't
actually look at CSIDriver.Spec.Mode at all.
Therefore the code change itself is mostly just renaming "driver mode"
to "volume mode". In some places (CanDeviceMount, CanAttach) the
feature check that was used elsewhere seemed to be missing. Now their
code path for ephemeral volumes are also only entered if that feature
is enabled.
The sanity check whether a CSI driver is being used correctly still
needs to be implemented.
Related-to: https://github.com/kubernetes/kubernetes/issues/79624
2019-07-25 16:45:46 +02:00
Patrick Ohly
be9f9091ca
e2e: remove unused ShortName from external driver definition
...
The name was meant to be used as shorter replacement for potentially
long CSI driver names, but was never used in practice.
2019-07-25 16:45:46 +02:00
Mayank Gaikwad
a921970745
Promote resourceQuota e2e verifying 'object count quota' and 'quota scope' to Conformance
2019-07-25 20:01:35 +05:30
Antonio Ojea
bd15f3f9f7
Clarify IP family meaning
2019-07-25 16:14:57 +02:00
Kubernetes Prow Robot
79d128ae74
Merge pull request #80166 from chendave/webhook
...
cleanup: remove useless code
2019-07-25 04:43:52 -07:00
Tomas Smetana
4f3e31e978
Revert "e2e: Skip multi-node PV test when pods scheduled on the same node"
...
This reverts commit d4f43e8e19
.
2019-07-25 13:32:39 +02:00
Kubernetes Prow Robot
a0a0146419
Merge pull request #80382 from davidz627/fix/refactor
...
Dedupe all Make PVC API object functions into the one MakePersistentVolumeClaim to rule them all
2019-07-25 01:37:53 -07:00
Xiangyang Chu
23ce08a7d0
Fix review comments, will squash later.
2019-07-25 14:42:23 +08:00
Kubernetes Prow Robot
79e82a6345
Merge pull request #79417 from draveness/feature/remove-factory-in-scheduler
...
feat: use scheduler.New in daemonset integration test
2019-07-24 23:29:51 -07:00
Kubernetes Prow Robot
4ed5ea601d
Merge pull request #80417 from k-toyoda-pi/expectequal_e2e_node_density_test
...
use ExpectEqual in density_test.go
2019-07-24 21:20:04 -07:00
WanLinghao
4c394ddf3b
Refactor and clean up e2e framework utils, this patch handles test/e2e/framework/perf_util.go
2019-07-25 09:41:00 +08:00
Aaron Crickenberger
e0b9d77609
Promote job completion after failure e2e test to Conformance
2019-07-24 17:17:07 -07:00
Aaron Crickenberger
275b7b2fa0
Promote job pod orphaning/adotion e2e test to Conformance
2019-07-24 16:28:10 -07:00
Aldo Culquicondor
0ce1c95232
Store config args instead of config factory in test context
...
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2019-07-24 17:16:30 -04:00
Aldo Culquicondor
8e9af0185d
Remove NodeLister from Scheduler Configurator
...
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2019-07-24 17:16:30 -04:00
Mayank Gaikwad
1438a3c8fc
Add service reachability test util function and e2e fixes
2019-07-24 23:08:16 +05:30
Kubernetes Prow Robot
60c2d44129
Merge pull request #79552 from wongma7/windows-ebs
...
Add support for AWS EBS on windows
2019-07-23 17:14:28 -07:00
Kubernetes Prow Robot
0ba6ecca72
Merge pull request #77155 from draveness/feature/refactor-util-service
...
refactor: move service related functions in service pkg
2019-07-23 15:52:15 -07:00
Antonio Ojea
54f81c3bb8
add ipv6 support to the hostport/HostIP e2e test
2019-07-23 22:55:38 +02:00
Antonio Ojea
0655ad338f
e2e: add a function to map IPv4 in IPv6
2019-07-23 22:55:33 +02:00
David Zhu
e194cf24cc
Dedupe all Make PVC API object functions into the one MakePersistentVolumeClaim to rule them all
2019-07-23 12:59:00 -07:00
Matthew Wong
02530b9ffb
Enable windows ntfs e2e storage tests for aws driver
2019-07-23 19:28:14 +00:00
Antonio Ojea
daff471766
e2e: Autodetect the IP family of the cluster
2019-07-23 20:09:19 +02:00
Kubernetes Prow Robot
16b65b259d
Merge pull request #80393 from smarterclayton/pod_failure
...
Pod e2e for reading last line can flake if pod runs to completion
2019-07-23 10:01:46 -07:00
Kubernetes Prow Robot
3ea28073a4
Merge pull request #80375 from wongma7/framework-csidriver
...
Add CSIDriver creation factory to e2e framework
2019-07-23 01:28:54 -07:00
Kubernetes Prow Robot
7dc5d1f064
Merge pull request #80377 from davidz627/fix/testAMDefault
...
Change default PVC AccessModes to RWO in test framework
2019-07-22 23:52:55 -07:00
Jun Gong
df14adf474
Send a reject message to permit plugin when preempting a WaitingPod
2019-07-23 10:23:54 +08:00
mlmhl
8ca6de6d20
fix kubemark e2e test script
2019-07-23 10:07:14 +08:00
Kubernetes Prow Robot
f31d786927
Merge pull request #78477 from YoubingLi/filter
...
Fixes 78001 The implementation of Filter extension for the new framework
2019-07-22 16:48:53 -07:00
Matthew Wong
5060704a76
Add CSIDriver creation factory to e2e framework
2019-07-22 10:20:02 -07:00
Lee Verberne
477f17475d
Generated code for ephemeral containers integration tests
2019-07-22 14:21:36 +00:00
Lee Verberne
3995ca5a82
Add integration tests for ephemeral containers
2019-07-22 14:21:36 +00:00
Lee Verberne
013f049ce0
Add Ephemeral Containers to the Kubernetes core API
2019-07-22 11:19:22 +00:00
toyoda
799026a7ee
use ExpectEqual in density_test.go
2019-07-22 16:11:11 +09:00
Clayton Coleman
86426b9f60
Pod e2e for reading last line can flake if pod runs to completion
...
Pod completes so fast the current check fails:
```
Jul 18 07:09:24.858: INFO: Running '/usr/bin/kubectl --server=https://api.ci-op-ziq360tf-12fbf.origin-ci-int-aws.dev.rhcloud.com:6443 --kubeconfig=/tmp/admin.kubeconfig run run-log-test --generator=run-pod/v1 --image=docker.io/library/busybox:1.29 --restart=OnFailure --namespace=e2e-tests-kubectl-nxzxx -- sh -c sleep 10; seq 100 | while read i; do echo $i; sleep 0.01; done; echo EOF'
...
Jul 18 07:09:25.116: INFO: Waiting up to 5m0s for pod "run-log-test" in namespace "e2e-tests-kubectl-nxzxx" to be "running and ready"
Jul 18 07:09:25.135: INFO: Pod "run-log-test": Phase="Pending", Reason="", readiness=false. Elapsed: 19.221661ms
...
Jul 18 07:09:57.456: INFO: Pod "run-log-test": Phase="Pending", Reason="", readiness=false. Elapsed: 32.339426605s
Jul 18 07:09:59.477: INFO: Pod "run-log-test": Phase="Succeeded", Reason="", readiness=false. Elapsed: 34.360446811s
...
Jul 18 07:14:24.023: INFO: Pod "run-log-test": Phase="Succeeded", Reason="", readiness=false. Elapsed: 4m58.906706065s
Jul 18 07:14:26.023: INFO: Pod run-log-test failed to be running and ready.
```
The test should be reporting running and ready or succeeded.
2019-07-20 22:09:27 -04:00
Kubernetes Prow Robot
2e6eea5517
Merge pull request #80276 from tallclair/apparmor-upgrade
...
Don't expect pod to stay up during node upgrade
2019-07-20 05:56:54 -07:00
Kubernetes Prow Robot
febc95282a
Merge pull request #80331 from wongma7/framework-panic
...
Surface error returned by LoadConfig
2019-07-19 21:24:54 -07:00
Kubernetes Prow Robot
65b094676f
Merge pull request #78350 from globervinodhn/hostip_hostport_promote
...
Promote existing E2Es for hostport/HostIP resolution to conformance
2019-07-19 14:25:24 -07:00
Kubernetes Prow Robot
b1bea169f5
Merge pull request #78000 from mkimuram/issue/77999
...
Move volume_expand tests to storage e2e testsuites
2019-07-19 14:25:11 -07:00
David Zhu
37aed97d62
Change default PVC AccessModes to RWO in test framework
2019-07-19 13:37:06 -07:00
Kubernetes Prow Robot
de9fb9c61c
Merge pull request #75632 from globervinodhn/correct_testname_backofflimit
...
Correct test name for existing E2E related to backofflimit in jobs
2019-07-19 12:37:11 -07:00
Elana Hashman
e0b66c792b
Drop "pod_name" and "container_name" metric labels
...
These labels were deprecated in 1.14 (#69099 ) and should no longer be
used in metric queries.
2019-07-19 10:08:21 -07:00
Kubernetes Prow Robot
b22cbcab75
Merge pull request #80327 from bparees/params
...
fix parameterization of test error message
2019-07-19 03:27:12 -07:00
Kubernetes Prow Robot
15ade86935
Merge pull request #79921 from s-ito-ts/remove_unnecessary_check
...
e2e test: Remove unnecessary return value check
2019-07-19 00:19:11 -07:00
Kubernetes Prow Robot
c45b77541b
Merge pull request #80329 from BenTheElder/less-sudo
...
remove sudo from storage tests
2019-07-18 22:55:11 -07:00
Kubernetes Prow Robot
3aa4fba780
Merge pull request #80153 from ii/promote-api-metadata-return-value
...
Promote API metadata return value
2019-07-18 21:33:23 -07:00