Skip to content

Conversation

@smarterclayton
Copy link

No description provided.

deads2k and others added 30 commits January 18, 2016 17:30
Conflicts:
	Godeps/_workspace/src/k8s.io/kubernetes/cmd/kubelet/app/server.go

Conflicts:
	Godeps/_workspace/src/k8s.io/kubernetes/pkg/kubelet/config/config.go

:100644 100644 405ce99... 11e500f... M	cmd/kubelet/app/server.go
:100644 100644 123ea71... abd4020... M	pkg/kubelet/config/config.go
:100644 100644 8b73d00... 92e30b7... M	pkg/api/deep_copy_generated.go
:100644 100644 49eeb3c... 91ee3ac... M	pkg/api/install/install.go
:100644 100644 917b4a2... d63fc70... M	pkg/api/register.go
:100644 100644 7b9385f... 917bcdf... M	pkg/api/testing/fuzzer.go
:100644 100644 35aadf2... cf12acf... M	pkg/api/types.go
:100644 100644 0e9e777... 54adb37... M	pkg/api/v1/conversion_generated.go
:100644 100644 87cbcf4... 59bce1c... M	pkg/api/v1/deep_copy_generated.go
:100644 100644 9957c98... e91f0f4... M	pkg/api/v1/register.go
:100644 100644 13f4618... 196e721... M	pkg/api/v1/types.go
:100644 100644 d48f718... 83f2129... M	pkg/api/validation/validation.go
:100644 100644 426a02a... d4e2322... M	pkg/api/validation/validation_test.go
:100644 100644 ef23b69... 868f8e3... M	pkg/client/unversioned/client.go
:000000 100644 0000000... fc81d77... A	pkg/client/unversioned/securitycontextconstraints.go
:000000 100644 0000000... ae91b79... A	pkg/client/unversioned/securitycontextconstraints_test.go
:000000 100644 0000000... d7e13ef... A	pkg/client/unversioned/testclient/fake_securitycontextconstraints.go
:100644 100644 fe0e2fd... d2b3c9e... M	pkg/client/unversioned/testclient/testclient.go
:100644 100644 691866e... 2857543... M	pkg/kubectl/kubectl.go
:100644 100644 3937cd9... b9d69d3... M	pkg/kubectl/resource_printer.go
:100644 100644 32a0492... a969ea8... M	pkg/master/master.go
:000000 100644 0000000... 1b5bf6a... A	pkg/registry/securitycontextconstraints/doc.go
:000000 100644 0000000... fa66a52... A	pkg/registry/securitycontextconstraints/etcd/etcd.go
:000000 100644 0000000... 75c433c... A	pkg/registry/securitycontextconstraints/etcd/etcd_test.go
:000000 100644 0000000... 9e27365... A	pkg/registry/securitycontextconstraints/registry.go
:000000 100644 0000000... 36103a8... A	pkg/registry/securitycontextconstraints/strategy.go
:100644 100644 e90f396... 03e0116... M	pkg/registry/service/allocator/bitmap.go
:000000 100644 0000000... 0410a33... A	pkg/securitycontextconstraints/provider.go
:000000 100644 0000000... 5fb8359... A	pkg/securitycontextconstraints/provider_test.go
:000000 100644 0000000... 63be576... A	pkg/securitycontextconstraints/selinux/doc.go
:000000 100644 0000000... dc22b4c... A	pkg/securitycontextconstraints/selinux/mustrunas.go
:000000 100644 0000000... 085cf6e... A	pkg/securitycontextconstraints/selinux/mustrunas_test.go
:000000 100644 0000000... f2150af... A	pkg/securitycontextconstraints/selinux/runasany.go
:000000 100644 0000000... 9fd50b6... A	pkg/securitycontextconstraints/selinux/runasany_test.go
:000000 100644 0000000... 58f0198... A	pkg/securitycontextconstraints/selinux/types.go
:000000 100644 0000000... 9e7b680... A	pkg/securitycontextconstraints/types.go
:000000 100644 0000000... a3ce474... A	pkg/securitycontextconstraints/user/doc.go
:000000 100644 0000000... 47b7fa1... A	pkg/securitycontextconstraints/user/mustrunas.go
:000000 100644 0000000... 26f53b7... A	pkg/securitycontextconstraints/user/mustrunas_test.go
:000000 100644 0000000... ef65bd9... A	pkg/securitycontextconstraints/user/mustrunasrange.go
:000000 100644 0000000... 7d551f4... A	pkg/securitycontextconstraints/user/nonroot.go
:000000 100644 0000000... 4ca637d... A	pkg/securitycontextconstraints/user/nonroot_test.go
:000000 100644 0000000... 22b6916... A	pkg/securitycontextconstraints/user/runasany.go
:000000 100644 0000000... b13ae29... A	pkg/securitycontextconstraints/user/runasany_test.go
:000000 100644 0000000... 9050d57... A	pkg/securitycontextconstraints/user/types.go
:000000 100644 0000000... e723b9d... A	pkg/securitycontextconstraints/user/util.go
Conflicts:
	Godeps/_workspace/src/k8s.io/kubernetes/pkg/api/v1/deep_copy_generated.go
	Godeps/_workspace/src/k8s.io/kubernetes/pkg/api/v1/defaults.go
	Godeps/_workspace/src/k8s.io/kubernetes/pkg/api/v1/types.go

Conflicts:
	Godeps/_workspace/src/k8s.io/kubernetes/pkg/api/v1/conversion.go
	Godeps/_workspace/src/k8s.io/kubernetes/pkg/api/v1/defaults.go

:100644 100644 ba5f619... 71d12a3... M	pkg/api/v1/conversion.go
:100644 100644 54adb37... d8e3e2c... M	pkg/api/v1/conversion_generated.go
:100644 100644 59bce1c... d4d6664... M	pkg/api/v1/deep_copy_generated.go
:100644 100644 c4a67e3... 1d0faf3... M	pkg/api/v1/defaults.go
:100644 100644 196e721... d9fd1ef... M	pkg/api/v1/types.go
:100644 100644 1a463dd... 848eb39... M	pkg/apiserver/api_installer.go
:100644 100644 8966b0c... eef1629... M	pkg/kubectl/describe.go
Conflicts:
	Godeps/_workspace/src/k8s.io/kubernetes/pkg/kubectl/cmd/util/helpers.go

:100644 100644 9e3283f... 5914400... M	pkg/kubectl/cmd/util/helpers.go
:100644 100644 71d12a3... a0aa732... M	pkg/api/v1/conversion.go
:100644 100644 d8e3e2c... b6953cb... M	pkg/api/v1/conversion_generated.go
:000000 100644 0000000... a833f0e... A	pkg/api/v1/conversion_volumesource_test.go
:100644 100644 d4d6664... e3b2612... M	pkg/api/v1/deep_copy_generated.go
:100644 100644 d9fd1ef... 236b1b0... M	pkg/api/v1/types.go
:000000 100644 0000000... 2035113... A	pkg/apis/experimental/v1/conversion_generated.go
:100644 100644 0f6ffac... 9db46f1... M	pkg/apis/extensions/v1beta1/conversion.go
:100644 100644 a573e9b... 5b66716... M	pkg/apis/extensions/v1beta1/deep_copy_generated.go
Conflicts:
	Godeps/_workspace/src/k8s.io/kubernetes/pkg/kubectl/cmd/exec.go
	Godeps/_workspace/src/k8s.io/kubernetes/pkg/kubectl/cmd/portforward.go

Conflicts:
	Godeps/_workspace/src/k8s.io/kubernetes/pkg/kubectl/cmd/exec.go
	Godeps/_workspace/src/k8s.io/kubernetes/pkg/kubectl/cmd/portforward.go

:100644 100644 a0c0c88... fb2c2bb... M	pkg/kubectl/cmd/exec.go
:100644 100644 942a1c5... 52570ac... M	pkg/kubectl/cmd/portforward.go
Conflicts:
	Godeps/_workspace/src/k8s.io/kubernetes/pkg/api/latest/latest.go
	Godeps/_workspace/src/k8s.io/kubernetes/pkg/master/master.go

Conflicts:
	Godeps/_workspace/src/k8s.io/kubernetes/pkg/api/latest/latest.go
	Godeps/_workspace/src/k8s.io/kubernetes/pkg/api/registered/registered.go
	Godeps/_workspace/src/k8s.io/kubernetes/pkg/master/master.go
	pkg/authorization/api/v1beta3/conversion.go

:100644 100644 91ee3ac... 4f7f662... M	pkg/api/install/install.go
:100644 100644 a3f8ddf... 9dae8fc... M	pkg/api/registered/registered.go
:000000 100644 0000000... 8850443... A	pkg/api/v1beta3/conversion.go
:000000 100644 0000000... b8ac60c... A	pkg/api/v1beta3/conversion_generated.go
:000000 100644 0000000... a4c3aab... A	pkg/api/v1beta3/conversion_test.go
:000000 100644 0000000... 02393ad... A	pkg/api/v1beta3/conversion_volumesource_test.go
:000000 100644 0000000... 48f525e... A	pkg/api/v1beta3/deep_copy_generated.go
:000000 100644 0000000... 35c6f91... A	pkg/api/v1beta3/defaults.go
:000000 100644 0000000... b9c2324... A	pkg/api/v1beta3/defaults_test.go
:000000 100644 0000000... 974dda5... A	pkg/api/v1beta3/register.go
:000000 100644 0000000... f8c3387... A	pkg/api/v1beta3/types.go
:100644 100644 04c7185... 64859ea... M	pkg/client/unversioned/request.go
:100644 100644 3192d27... a372d87... M	pkg/kubectl/cmd/rollingupdate.go
Conflicts:
	Godeps/_workspace/src/k8s.io/kubernetes/pkg/client/unversioned/request.go

:100644 100644 64859ea... 40c25d1... M	pkg/client/unversioned/request.go
Conflicts:
	Godeps/_workspace/src/k8s.io/kubernetes/pkg/apiserver/api_installer.go

:100644 100644 848eb39... eddc205... M	pkg/apiserver/api_installer.go
:000000 100644 0000000... 018d24b... A	pkg/util/list.go
:000000 100644 0000000... 1b5f385... A	pkg/util/net.go
:100644 100644 e5f0748... e673b54... M	pkg/kubectl/cmd/get_test.go
…ages

:100644 100644 9bfab5d... aa01149... M	pkg/runtime/conversion_generator.go
Conflicts:
	Godeps/_workspace/src/k8s.io/kubernetes/pkg/api/validation/validation_test.go

:100644 100644 83f2129... 0ef04be... M	pkg/api/validation/validation.go
:100644 100644 d4e2322... 2607976... M	pkg/api/validation/validation_test.go
:100644 100644 e67df4e... e6f150e... M	pkg/kubectl/cmd/log.go
:100644 100644 1617122... 013b4ee... M	pkg/kubectl/cmd/log_test.go
…ream PR.

:100644 100644 a044ad1... 9dae252... M	pkg/kubelet/server.go
Conflicts:
	Godeps/_workspace/src/k8s.io/kubernetes/pkg/controller/serviceaccount/serviceaccounts_controller.go
	Godeps/_workspace/src/k8s.io/kubernetes/pkg/controller/serviceaccount/serviceaccounts_controller_test.go

:100644 100644 0bb3b5e... 27e933f... M	pkg/controller/serviceaccount/serviceaccounts_controller.go
:100644 100644 146ce7d... f569e81... M	pkg/controller/serviceaccount/serviceaccounts_controller_test.go
:100644 100644 26ee52e... cd6c873... M	plugin/pkg/admission/serviceaccount/admission.go
:100644 100644 6554900... f4fd2a6... M	plugin/pkg/admission/serviceaccount/admission_test.go
:100644 100644 5dee4e2... 38fb54f... M	pkg/runtime/deep_copy_generator.go
Needs to be made generic upstream.

Conflicts:
	Godeps/_workspace/src/k8s.io/kubernetes/pkg/kubectl/cmd/cmd.go

:100644 100644 b52b671... 680735a... M	pkg/kubectl/cmd/cmd.go
:100644 100644 029b60c... d0c8ad5... M	cmd/kube-controller-manager/app/controllermanager.go
:100644 100644 205edf4... f682b3d... M	pkg/proxy/userspace/proxier.go
:000000 100644 0000000... 0f634e0... A	pkg/proxy/userspace/rlimit.go
:000000 100644 0000000... 346ee18... A	pkg/proxy/userspace/rlimit_windows.go
:100644 100644 c768a86... ed4075f... M	test/e2e/framework.go
:100644 100644 3cc960f... 1d5d36c... M	pkg/kubectl/cmd/expose.go
:100644 100644 edee654... 34e4825... M	pkg/kubectl/service.go
:100644 100644 5345bdf... b54f4de... M	pkg/kubectl/service_test.go
:100644 100644 3e938ea... 2b70db7... M	pkg/client/unversioned/helper.go
:100644 100644 abd4020... c5fb11b... M	pkg/kubelet/config/config.go
:100644 100644 00f9007... 362a488... M	pkg/kubelet/config/config_test.go
:100644 100644 eddc205... 0b3021c... M	pkg/apiserver/api_installer.go
:100644 100644 d805f7a... f6eae19... M	pkg/apiserver/apiserver.go
:100644 100644 86d454c... eabe8eb... M	pkg/apiserver/apiserver_test.go
:100644 100644 a7c1fbd... f9c4725... M	pkg/apiserver/errors.go
:100644 100644 307ee58... 61e0da5... M	pkg/apiserver/handlers.go
:100644 100644 029684e... fcfed36... M	pkg/apiserver/handlers_test.go
:100644 100644 3398ab7... d693f78... M	pkg/apiserver/proxy.go
:100644 100644 a969ea8... 22e2d6e... M	pkg/master/master.go
Avesh Agarwal and others added 19 commits January 18, 2016 17:31
…upstream kube PR 16360.

:100644 100644 66b4910... ac6d90a... M	test/e2e/cluster_upgrade.go
:100644 100644 e5b098f... 796d854... M	test/e2e/container_probe.go
:100644 100644 9b9a0a2... 38fed71... M	test/e2e/daemon_restart.go
:100644 100644 3c4289b... 403d84d... M	test/e2e/daemon_set.go
:100644 100644 c378f94... b02378c... M	test/e2e/density.go
:100644 100644 8d19eab... 69f156f... M	test/e2e/etcd_failure.go
:100644 100644 4a1dfa2... 5fc5863... M	test/e2e/load.go
:100644 100644 3cf7a6d... 026ddbc... M	test/e2e/resize_nodes.go
:100644 100644 3a76291... 23f5f21... M	test/e2e/serviceloadbalancers.go
:100644 100644 b02378c... 78230d4... M	test/e2e/density.go
:100644 100644 31af49b... 259ac51... M	test/e2e/metrics_util.go
… autoscaler

Fixed forbidden window enforcement in horizontal pod autoscaler: time of
the oldest report instead of now is taken into account.

:100644 100644 28e3776... 91adc1c... M	pkg/controller/podautoscaler/horizontal.go
:100644 100644 4cd600a... 0556153... M	pkg/controller/podautoscaler/metrics/metrics_client.go
:100644 100644 2efb7bc... b5756ce... M	pkg/controller/podautoscaler/metrics/metrics_client_test.go
:100644 100644 808a854... fcf2c31... M	pkg/client/cache/delta_fifo.go
:100644 100644 1b2288a... 6adec86... M	pkg/client/cache/delta_fifo_test.go
:100644 100644 d5fb518... c01714a... M	pkg/controller/framework/controller_test.go
:100644 100644 d4b99bd... 986346e... M	pkg/controller/framework/fake_controller_source.go
:100644 100644 409b73c... fcf618f... M	pkg/controller/framework/fake_controller_source_test.go
:100644 100644 c1cb40f... c123968... M	pkg/watch/mux.go
…ubelet

This reverts commit 97bd6c288493bd17c5330e9b0aedf50a6ce4c1d6

:100644 100644 b159b8e... 0d5e56b... M	cmd/kubelet/app/server.go
:100644 100644 c5fb11b... caa3062... M	pkg/kubelet/config/config.go
:100644 100644 2231135... 2a9e372... M	pkg/apiserver/watch.go
:100644 100644 eb96987... e7076de... M	cmd/kube-controller-manager/app/controllermanager.go
:100644 100644 ac42716... 1e5a550... M	cmd/kube-controller-manager/app/plugins.go
:100644 100644 12b6aea... bfe933b... M	pkg/controller/persistentvolume/persistentvolume_claim_binder_controller.go
:000000 100644 0000000... 5b078ea... A	pkg/controller/persistentvolume/persistentvolume_provisioner_controller.go
:000000 100644 0000000... b6e188d... A	pkg/controller/persistentvolume/persistentvolume_provisioner_controller_test.go
:100644 100644 67380be... 9cb0774... M	pkg/controller/persistentvolume/persistentvolume_recycler_controller.go
:100644 100644 c022f97... 4681a54... M	pkg/controller/persistentvolume/types.go
:100644 100644 28f1511... 0e88e11... M	pkg/volume/host_path/host_path.go
:100644 100644 68a5f8e... eb1d5ee... M	pkg/volume/host_path/host_path_test.go
:100644 100644 1c8b1d4... 656ed49... M	pkg/volume/plugins.go
:100644 100644 0be6b1e... 25c1fec... M	pkg/volume/testing.go
:100644 100644 cc2f6d9... c083207... M	pkg/volume/volume.go
:100644 100644 1e5a550... cd34855... M	cmd/kube-controller-manager/app/plugins.go
:100644 100644 d4cc2d0... 0ba0e0d... M	pkg/cloudprovider/providers/aws/aws.go
:100644 100644 5b078ea... 2aa89e3... M	pkg/controller/persistentvolume/persistentvolume_provisioner_controller.go
:100644 100644 4681a54... 45f8d30... M	pkg/controller/persistentvolume/types.go
:100644 100644 c5bf8d9... a8f42ef... M	pkg/volume/aws_ebs/aws_ebs.go
:100644 100644 81c4938... 3c70080... M	pkg/volume/aws_ebs/aws_ebs_test.go
:100644 100644 6af88d1... 65743e7... M	pkg/volume/aws_ebs/aws_util.go
:100644 100644 656ed49... 37922f3... M	pkg/volume/plugins.go
:100644 100644 c8379b0... d791a75... M	pkg/volume/util.go
:100644 100644 4a4e4a3... 225eebf... M	test/e2e/pd.go
:100644 100644 cd34855... 3df1842... M	cmd/kube-controller-manager/app/plugins.go
:100644 100644 8281813... 6d830fb... M	pkg/cloudprovider/providers/openstack/openstack.go
:100644 100644 0c56676... be70f49... M	pkg/cloudprovider/providers/openstack/openstack_test.go
:100644 100644 6e670b3... 1b7e7d8... M	pkg/volume/cinder/cinder.go
:100644 100644 5cf6dce... c96c6f3... M	pkg/volume/cinder/cinder_test.go
:100644 100644 685333a... 69982e7... M	pkg/volume/cinder/cinder_util.go
This very trimmed down patch from upstrem PR, I just need these two functions.

:100644 100644 884846f... a5ea546... M	pkg/cloudprovider/providers/gce/gce.go
:100644 100644 3df1842... b13cafc... M	cmd/kube-controller-manager/app/plugins.go
:100644 100644 fce6522... 42e9125... M	pkg/volume/gce_pd/gce_pd.go
:100644 100644 caa9a64... e8f5e2f... M	pkg/volume/gce_pd/gce_pd_test.go
:100644 100644 bb3a102... 77657dd... M	pkg/volume/gce_pd/gce_util.go
:100644 100644 88f18fe... bb9687f... M	pkg/kubectl/cmd/get.go
:100644 100644 e673b54... 8fa618e... M	pkg/kubectl/cmd/get_test.go
:100644 100644 743e366... ccbf023... M	pkg/kubectl/resource/builder.go
:100644 100644 a930aaf... c4048da... M	pkg/kubectl/resource/builder_test.go
:100644 100644 fddb496... b2b0ee8... M	pkg/kubectl/resource_printer.go
:100644 100644 bfe933b... a0890dc... M	pkg/controller/persistentvolume/persistentvolume_claim_binder_controller.go
:100644 100644 36deac6... 59a7563... M	pkg/controller/persistentvolume/persistentvolume_claim_binder_controller_test.go
:100644 100644 9cb0774... 875c9c5... M	pkg/controller/persistentvolume/persistentvolume_recycler_controller.go
:100644 100644 37922f3... bd21472... M	pkg/volume/plugins.go
…g the patch

:100644 100644 8110c8e... de5cebb... M	pkg/admission/interfaces.go
:100644 100644 eeec116... be95b60... M	pkg/apiserver/resthandler.go
:100644 100644 18fdddd... 05e82c2... M	pkg/apiserver/resthandler_test.go
…belet

:100644 100644 0d5e56b... 3421d2c... M	cmd/kubelet/app/server.go
:100644 100644 5552754... e750013... M	pkg/kubelet/kubelet.go
:100644 100644 c6a41af... 2b83090... M	pkg/kubelet/kubelet_test.go
…vider

Previously, if the kubelet tried to register itself with the API server,
and was rejected due to the external ID changing, it would delete the
node object and recreate it.  This commit causes it to tolerate
a change in ExternalID when the ExternalID is not being provided by a
cloud provider, assuming the new ExternalID is either the node's
(metadata) name, or one of node's addresses.

:100644 100644 e750013... 58b2830... M	pkg/kubelet/kubelet.go
:100644 100644 457eaa7... 0b4f3ca... M	pkg/api/deep_copy_generated.go
:100644 100644 ff4e11c... e1348d0... M	pkg/api/types.go
:100644 100644 ab70353... 3301d28... M	pkg/api/v1/conversion_generated.go
:100644 100644 d7bfffc... 8acfbfa... M	pkg/api/v1/deep_copy_generated.go
:100644 100644 e8415f8... dd165bd... M	pkg/api/v1/types.go
:100644 100644 e1c0f49... ac14b7e... M	pkg/api/v1beta3/conversion_generated.go
:100644 100644 325e5f3... 7fe89c0... M	pkg/api/v1beta3/deep_copy_generated.go
:100644 100644 da38aac... 63db977... M	pkg/api/v1beta3/types.go
:100644 100644 b392a34... a7dcc95... M	pkg/api/validation/validation.go
:100644 100644 ccb2fa5... 1e3bc6a... M	pkg/api/validation/validation_test.go
:000000 100644 0000000... cf9e8bd... A	pkg/securitycontextconstraints/capabilities/mustrunas.go
:000000 100644 0000000... 9898f45... A	pkg/securitycontextconstraints/capabilities/mustrunas_test.go
:000000 100644 0000000... 5d3c687... A	pkg/securitycontextconstraints/capabilities/types.go
:100644 100644 4517d31... 1242c06... M	pkg/securitycontextconstraints/provider.go
:100644 100644 8c530cb... 3949c14... M	pkg/securitycontextconstraints/provider_test.go
:100644 000000 f8f22b4... 0000000... D	pkg/api/v1beta3/conversion.go
:100644 000000 ac14b7e... 0000000... D	pkg/api/v1beta3/conversion_generated.go
:100644 000000 a4c3aab... 0000000... D	pkg/api/v1beta3/conversion_test.go
:100644 000000 02393ad... 0000000... D	pkg/api/v1beta3/conversion_volumesource_test.go
:100644 000000 7fe89c0... 0000000... D	pkg/api/v1beta3/deep_copy_generated.go
:100644 000000 c1cdb4b... 0000000... D	pkg/api/v1beta3/defaults.go
:100644 000000 5388396... 0000000... D	pkg/api/v1beta3/defaults_test.go
:100644 000000 3b01cba... 0000000... D	pkg/api/v1beta3/register.go
:100644 000000 63db977... 0000000... D	pkg/api/v1beta3/types.go
:100644 100644 4f7f662... 5e0c155... M	pkg/api/install/install.go
:100644 100644 a372d87... 3192d27... M	pkg/kubectl/cmd/rollingupdate.go
@smarterclayton
Copy link
Author

@deads2k @liggitt MUWAHAHAHAHAHAHA

@deads2k
Copy link

deads2k commented Jan 19, 2016

@deads2k @liggitt MUWAHAHAHAHAHAHA

Congratulations, you've made a pull that evokes such strong feelings that I can't review it. :)

@deads2k
Copy link

deads2k commented Jan 19, 2016

Previously, we pushed directly to the repo to avoid merge commits. I'm assuming we'll still do that for openshift/kubernetes:master, but we won't for the stable branch, right?

deads2k pushed a commit that referenced this pull request Aug 18, 2016
Automatic merge from submit-queue

in each pd test, create and delete the pod for every iteration to give new pod name for exec

fix kubernetes#26141
based on chat with @ncdc

The following is a snapshot of the log. Each iteration now has a new Pod name
```text
[It] should schedule a pod w/two RW PDs both mounted to one container, write to PD, verify contents, delete pod, recreate pod, verify contents, and repeat in rapid succession [Slow] [Flaky]
  /srv/dev/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/pd.go:277
STEP: creating PD1
Jun 10 15:55:45.878: INFO: Successfully created a new PD: "rootfs-e2e-c8b82df9-2f23-11e6-a5a0-b8ca3a62792c".
STEP: creating PD2
Jun 10 15:55:49.794: INFO: Successfully created a new PD: "rootfs-e2e-cb135362-2f23-11e6-a5a0-b8ca3a62792c".
Jun 10 15:55:49.794: INFO: PD Read/Writer Iteration #0
STEP: submitting host0Pod to kubernetes
W0610 15:55:49.860308   17282 request.go:347] Field selector: v1 - pods - metadata.name - pd-test-cd68f34b-2f23-11e6-a5a0-b8ca3a62792c: need to check if this is versioned correctly.
STEP: writing a file in the container
Jun 10 15:56:09.792: INFO: Running '/srv/dev/kubernetes/_output/local/bin/linux/amd64/kubectl exec --namespace=e2e-tests-pod-disks-2tvm2 pd-test-cd68f34b-2f23-11e6-a5a0-b8ca3a62792c -c=mycontainer -- /bin/sh -c echo '988876932586416926' > '/testpd1/tracker0''
Jun 10 15:56:12.003: INFO: Wrote value: "988876932586416926" to PD1 ("rootfs-e2e-c8b82df9-2f23-11e6-a5a0-b8ca3a62792c") from pod "pd-test-cd68f34b-2f23-11e6-a5a0-b8ca3a62792c" container "mycontainer"
STEP: writing a file in the container
Jun 10 15:56:12.003: INFO: Running '/srv/dev/kubernetes/_output/local/bin/linux/amd64/kubectl exec --namespace=e2e-tests-pod-disks-2tvm2 pd-test-cd68f34b-2f23-11e6-a5a0-b8ca3a62792c -c=mycontainer -- /bin/sh -c echo '8414937992264649637' > '/testpd2/tracker0''
Jun 10 15:56:13.170: INFO: Wrote value: "8414937992264649637" to PD2 ("rootfs-e2e-cb135362-2f23-11e6-a5a0-b8ca3a62792c") from pod "pd-test-cd68f34b-2f23-11e6-a5a0-b8ca3a62792c" container "mycontainer"
STEP: reading a file in the container
Jun 10 15:56:13.170: INFO: Running '/srv/dev/kubernetes/_output/local/bin/linux/amd64/kubectl exec --namespace=e2e-tests-pod-disks-2tvm2 pd-test-cd68f34b-2f23-11e6-a5a0-b8ca3a62792c -c=mycontainer -- cat /testpd1/tracker0'
Jun 10 15:56:14.325: INFO: Read file "/testpd1/tracker0" with content: 988876932586416926

STEP: reading a file in the container
Jun 10 15:56:14.325: INFO: Running '/srv/dev/kubernetes/_output/local/bin/linux/amd64/kubectl exec --namespace=e2e-tests-pod-disks-2tvm2 pd-test-cd68f34b-2f23-11e6-a5a0-b8ca3a62792c -c=mycontainer -- cat /testpd2/tracker0'
Jun 10 15:56:15.590: INFO: Read file "/testpd2/tracker0" with content: 8414937992264649637

STEP: deleting host0Pod
Jun 10 15:56:15.841: INFO: PD Read/Writer Iteration #1
STEP: submitting host0Pod to kubernetes
W0610 15:56:15.905485   17282 request.go:347] Field selector: v1 - pods - metadata.name - pd-test-dcef71e1-2f23-11e6-a5a0-b8ca3a62792c: need to check if this is versioned correctly.
STEP: reading a file in the container
Jun 10 15:56:16.832: INFO: Running '/srv/dev/kubernetes/_output/local/bin/linux/amd64/kubectl exec --namespace=e2e-tests-pod-disks-2tvm2 pd-test-dcef71e1-2f23-11e6-a5a0-b8ca3a62792c -c=mycontainer -- cat /testpd1/tracker0'
Jun 10 15:56:18.132: INFO: Read file "/testpd1/tracker0" with content: 988876932586416926

STEP: reading a file in the container
Jun 10 15:56:18.132: INFO: Running '/srv/dev/kubernetes/_output/local/bin/linux/amd64/kubectl exec --namespace=e2e-tests-pod-disks-2tvm2 pd-test-dcef71e1-2f23-11e6-a5a0-b8ca3a62792c -c=mycontainer -- cat /testpd2/tracker0'
Jun 10 15:56:19.354: INFO: Read file "/testpd2/tracker0" with content: 8414937992264649637

STEP: writing a file in the container
Jun 10 15:56:19.354: INFO: Running '/srv/dev/kubernetes/_output/local/bin/linux/amd64/kubectl exec --namespace=e2e-tests-pod-disks-2tvm2 pd-test-dcef71e1-2f23-11e6-a5a0-b8ca3a62792c -c=mycontainer -- /bin/sh -c echo '7639503234625274799' > '/testpd1/tracker1''
Jun 10 15:56:20.526: INFO: Wrote value: "7639503234625274799" to PD1 ("rootfs-e2e-c8b82df9-2f23-11e6-a5a0-b8ca3a62792c") from pod "pd-test-dcef71e1-2f23-11e6-a5a0-b8ca3a62792c" container "mycontainer"
STEP: writing a file in the container
Jun 10 15:56:20.526: INFO: Running '/srv/dev/kubernetes/_output/local/bin/linux/amd64/kubectl exec --namespace=e2e-tests-pod-disks-2tvm2 pd-test-dcef71e1-2f23-11e6-a5a0-b8ca3a62792c -c=mycontainer -- /bin/sh -c echo '7400445987108171911' > '/testpd2/tracker1''
Jun 10 15:56:21.694: INFO: Wrote value: "7400445987108171911" to PD2 ("rootfs-e2e-cb135362-2f23-11e6-a5a0-b8ca3a62792c") from pod "pd-test-dcef71e1-2f23-11e6-a5a0-b8ca3a62792c" container "mycontainer"
STEP: reading a file in the container
Jun 10 15:56:21.694: INFO: Running '/srv/dev/kubernetes/_output/local/bin/linux/amd64/kubectl exec --namespace=e2e-tests-pod-disks-2tvm2 pd-test-dcef71e1-2f23-11e6-a5a0-b8ca3a62792c -c=mycontainer -- cat /testpd1/tracker0'
Jun 10 15:56:22.904: INFO: Read file "/testpd1/tracker0" with content: 988876932586416926

STEP: reading a file in the container
Jun 10 15:56:22.905: INFO: Running '/srv/dev/kubernetes/_output/local/bin/linux/amd64/kubectl exec --namespace=e2e-tests-pod-disks-2tvm2 pd-test-dcef71e1-2f23-11e6-a5a0-b8ca3a62792c -c=mycontainer -- cat /testpd2/tracker0'
Jun 10 15:56:24.080: INFO: Read file "/testpd2/tracker0" with content: 8414937992264649637

STEP: reading a file in the container
Jun 10 15:56:24.081: INFO: Running '/srv/dev/kubernetes/_output/local/bin/linux/amd64/kubectl exec --namespace=e2e-tests-pod-disks-2tvm2 pd-test-dcef71e1-2f23-11e6-a5a0-b8ca3a62792c -c=mycontainer -- cat /testpd1/tracker1'
Jun 10 15:56:25.290: INFO: Read file "/testpd1/tracker1" with content: 7639503234625274799

STEP: reading a file in the container
Jun 10 15:56:25.290: INFO: Running '/srv/dev/kubernetes/_output/local/bin/linux/amd64/kubectl exec --namespace=e2e-tests-pod-disks-2tvm2 pd-test-dcef71e1-2f23-11e6-a5a0-b8ca3a62792c -c=mycontainer -- cat /testpd2/tracker1'
Jun 10 15:56:26.491: INFO: Read file "/testpd2/tracker1" with content: 7400445987108171911

STEP: deleting host0Pod
Jun 10 15:56:26.756: INFO: PD Read/Writer Iteration #2
STEP: submitting host0Pod to kubernetes
W0610 15:56:26.821828   17282 request.go:347] Field selector: v1 - pods - metadata.name - pd-test-e370dd2b-2f23-11e6-a5a0-b8ca3a62792c: need to check if this is versioned correctly.
STEP: reading a file in the container
Jun 10 15:56:27.898: INFO: Running '/srv/dev/kubernetes/_output/local/bin/linux/amd64/kubectl exec --namespace=e2e-tests-pod-disks-2tvm2 pd-test-e370dd2b-2f23-11e6-a5a0-b8ca3a62792c -c=mycontainer -- cat /testpd1/tracker1'
Jun 10 15:56:29.096: INFO: Read file "/testpd1/tracker1" with content: 7639503234625274799

STEP: reading a file in the container
Jun 10 15:56:29.096: INFO: Running '/srv/dev/kubernetes/_output/local/bin/linux/amd64/kubectl exec --namespace=e2e-tests-pod-disks-2tvm2 pd-test-e370dd2b-2f23-11e6-a5a0-b8ca3a62792c -c=mycontainer -- cat /testpd2/tracker1'
Jun 10 15:56:30.325: INFO: Read file "/testpd2/tracker1" with content: 7400445987108171911

STEP: reading a file in the container
Jun 10 15:56:30.325: INFO: Running '/srv/dev/kubernetes/_output/local/bin/linux/amd64/kubectl exec --namespace=e2e-tests-pod-disks-2tvm2 pd-test-e370dd2b-2f23-11e6-a5a0-b8ca3a62792c -c=mycontainer -- cat /testpd1/tracker0'
Jun 10 15:56:31.528: INFO: Read file "/testpd1/tracker0" with content: 988876932586416926

STEP: reading a file in the container
Jun 10 15:56:31.529: INFO: Running '/srv/dev/kubernetes/_output/local/bin/linux/amd64/kubectl exec --namespace=e2e-tests-pod-disks-2tvm2 pd-test-e370dd2b-2f23-11e6-a5a0-b8ca3a62792c -c=mycontainer -- cat /testpd2/tracker0'
Jun 10 15:56:32.972: INFO: Read file "/testpd2/tracker0" with content: 8414937992264649637

STEP: writing a file in the container
Jun 10 15:56:32.972: INFO: Running '/srv/dev/kubernetes/_output/local/bin/linux/amd64/kubectl exec --namespace=e2e-tests-pod-disks-2tvm2 pd-test-e370dd2b-2f23-11e6-a5a0-b8ca3a62792c -c=mycontainer -- /bin/sh -c echo '1846555975530999997' > '/testpd1/tracker2''
Jun 10 15:56:34.157: INFO: Wrote value: "1846555975530999997" to PD1 ("rootfs-e2e-c8b82df9-2f23-11e6-a5a0-b8ca3a62792c") from pod "pd-test-e370dd2b-2f23-11e6-a5a0-b8ca3a62792c" container "mycontainer"
STEP: writing a file in the container
Jun 10 15:56:34.157: INFO: Running '/srv/dev/kubernetes/_output/local/bin/linux/amd64/kubectl exec --namespace=e2e-tests-pod-disks-2tvm2 pd-test-e370dd2b-2f23-11e6-a5a0-b8ca3a62792c -c=mycontainer -- /bin/sh -c echo '2775947264799611726' > '/testpd2/tracker2''
Jun 10 15:56:35.661: INFO: Wrote value: "2775947264799611726" to PD2 ("rootfs-e2e-cb135362-2f23-11e6-a5a0-b8ca3a62792c") from pod "pd-test-e370dd2b-2f23-11e6-a5a0-b8ca3a62792c" container "mycontainer"
STEP: reading a file in the container
Jun 10 15:56:35.662: INFO: Running '/srv/dev/kubernetes/_output/local/bin/linux/amd64/kubectl exec --namespace=e2e-tests-pod-disks-2tvm2 pd-test-e370dd2b-2f23-11e6-a5a0-b8ca3a62792c -c=mycontainer -- cat /testpd1/tracker0'
Jun 10 15:56:36.868: INFO: Read file "/testpd1/tracker0" with content: 988876932586416926

STEP: reading a file in the container
Jun 10 15:56:36.868: INFO: Running '/srv/dev/kubernetes/_output/local/bin/linux/amd64/kubectl exec --namespace=e2e-tests-pod-disks-2tvm2 pd-test-e370dd2b-2f23-11e6-a5a0-b8ca3a62792c -c=mycontainer -- cat /testpd2/tracker0'
Jun 10 15:56:38.062: INFO: Read file "/testpd2/tracker0" with content: 8414937992264649637

STEP: reading a file in the container
Jun 10 15:56:38.062: INFO: Running '/srv/dev/kubernetes/_output/local/bin/linux/amd64/kubectl exec --namespace=e2e-tests-pod-disks-2tvm2 pd-test-e370dd2b-2f23-11e6-a5a0-b8ca3a62792c -c=mycontainer -- cat /testpd1/tracker1'
Jun 10 15:56:39.221: INFO: Read file "/testpd1/tracker1" with content: 7639503234625274799

STEP: reading a file in the container
Jun 10 15:56:39.221: INFO: Running '/srv/dev/kubernetes/_output/local/bin/linux/amd64/kubectl exec --namespace=e2e-tests-pod-disks-2tvm2 pd-test-e370dd2b-2f23-11e6-a5a0-b8ca3a62792c -c=mycontainer -- cat /testpd2/tracker1'
Jun 10 15:56:40.397: INFO: Read file "/testpd2/tracker1" with content: 7400445987108171911

STEP: reading a file in the container
Jun 10 15:56:40.397: INFO: Running '/srv/dev/kubernetes/_output/local/bin/linux/amd64/kubectl exec --namespace=e2e-tests-pod-disks-2tvm2 pd-test-e370dd2b-2f23-11e6-a5a0-b8ca3a62792c -c=mycontainer -- cat /testpd1/tracker2'
Jun 10 15:56:41.584: INFO: Read file "/testpd1/tracker2" with content: 1846555975530999997

STEP: reading a file in the container
Jun 10 15:56:41.585: INFO: Running '/srv/dev/kubernetes/_output/local/bin/linux/amd64/kubectl exec --namespace=e2e-tests-pod-disks-2tvm2 pd-test-e370dd2b-2f23-11e6-a5a0-b8ca3a62792c -c=mycontainer -- cat /testpd2/tracker2'
Jun 10 15:56:42.800: INFO: Read file "/testpd2/tracker2" with content: 2775947264799611726

STEP: deleting host0Pod
```

@saad-ali
deads2k pushed a commit that referenced this pull request Jul 5, 2017
Automatic merge from submit-queue (batch tested with PRs 47523, 47438, 47550, 47450, 47612)

Move slow PV test to slow suite.

See [testgrid](https://k8s-testgrid.appspot.com/google-gce#gce&width=5&graph-metrics=test-duration-minutes).

#1
lack pushed a commit to lack/kubernetes that referenced this pull request Mar 25, 2021
Sharing the same connection for multiple streams should have worked,
but ran into unexpected timeouts:

I0227 08:07:49.754263   80029 portproxy.go:109] container "mock" in pod csi-mock-volumes-4037-2061/csi-mockplugin-0 is running
E0227 08:07:49.779359   80029 portproxy.go:178] prepare forwarding csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: dialer failed: unable to upgrade connection: pod not found ("csi-mockplugin-0_csi-mock-volumes-4037-2061")
I0227 08:07:50.782705   80029 portproxy.go:109] container "mock" in pod csi-mock-volumes-4037-2061/csi-mockplugin-0 is running
I0227 08:07:50.809326   80029 portproxy.go:125] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: starting connection polling
I0227 08:07:50.909544   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection #0, 0 open
I0227 08:07:50.912436   80029 portproxy.go:155] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: created a new connection #0
I0227 08:07:50.912503   80029 portproxy.go:286] forward listener for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: got a new connection #0
I0227 08:07:50.913161   80029 portproxy.go:322] forward connection #0 for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: remote side closed the stream
E0227 08:07:50.913324   80029 portproxy.go:242] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: an error occurred connecting to the remote port: error forwarding port 9000 to pod 66662ea1ab30b4193dac0102c49be840971d337c802cc0c8bbc074214522bd13, uid : failed to execute portforward in network namespace "/var/run/netns/cni-c15e4e36-dad9-8316-c301-33af9dad5717": failed to dial 9000: dial tcp4 127.0.0.1:9000: connect: connection refused
I0227 08:07:50.913371   80029 portproxy.go:340] forward connection #0 for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: closing our side
W0227 08:07:50.913487   80029 server.go:669] grpc: Server.Serve failed to create ServerTransport: connection error: desc = "transport: http2Server.HandleStreams failed to receive the preface from client: EOF"
I0227 08:07:51.009519   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection openshift#1, 0 open
I0227 08:07:51.011912   80029 portproxy.go:155] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: created a new connection openshift#1
I0227 08:07:51.011973   80029 portproxy.go:286] forward listener for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: got a new connection openshift#1
I0227 08:07:51.013677   80029 portproxy.go:322] forward connection openshift#1 for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: remote side closed the stream
I0227 08:07:51.013720   80029 portproxy.go:340] forward connection openshift#1 for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: closing our side
W0227 08:07:51.013794   80029 server.go:669] grpc: Server.Serve failed to create ServerTransport: connection error: desc = "transport: http2Server.HandleStreams failed to receive the preface from client: EOF"
E0227 08:07:51.017026   80029 portproxy.go:242] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: an error occurred connecting to the remote port: error forwarding port 9000 to pod 66662ea1ab30b4193dac0102c49be840971d337c802cc0c8bbc074214522bd13, uid : failed to execute portforward in network namespace "/var/run/netns/cni-c15e4e36-dad9-8316-c301-33af9dad5717": failed to dial 9000: dial tcp4 127.0.0.1:9000: connect: connection refused
I0227 08:07:51.109515   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection openshift#2, 0 open
I0227 08:07:51.111479   80029 portproxy.go:155] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: created a new connection openshift#2
I0227 08:07:51.111519   80029 portproxy.go:286] forward listener for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: got a new connection openshift#2
I0227 08:07:51.209519   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection openshift#3, 1 open
I0227 08:07:51.766305   80029 csi.go:377] gRPC call: {"Method":"/csi.v1.Identity/Probe","Request":{},"Response":{"ready":{"value":true}},"Error":"","FullError":null}
I0227 08:07:51.768304   80029 csi.go:377] gRPC call: {"Method":"/csi.v1.Identity/GetPluginInfo","Request":{},"Response":{"name":"csi-mock-csi-mock-volumes-4037","vendor_version":"0.3.0","manifest":{"url":"https://k8s.io/kubernetes/test/e2e/storage/drivers/csi-test/mock"}},"Error":"","FullError":null}
I0227 08:07:51.770494   80029 csi.go:377] gRPC call: {"Method":"/csi.v1.Identity/GetPluginCapabilities","Request":{},"Response":{"capabilities":[{"Type":{"Service":{"type":1}}},{"Type":{"VolumeExpansion":{"type":1}}},{"Type":{"Service":{"type":2}}}]},"Error":"","FullError":null}
I0227 08:07:51.772899   80029 csi.go:377] gRPC call: {"Method":"/csi.v1.Controller/ControllerGetCapabilities","Request":{},"Response":{"capabilities":[{"Type":{"Rpc":{"type":1}}},{"Type":{"Rpc":{"type":3}}},{"Type":{"Rpc":{"type":10}}},{"Type":{"Rpc":{"type":4}}},{"Type":{"Rpc":{"type":6}}},{"Type":{"Rpc":{"type":5}}},{"Type":{"Rpc":{"type":8}}},{"Type":{"Rpc":{"type":7}}},{"Type":{"Rpc":{"type":12}}},{"Type":{"Rpc":{"type":11}}},{"Type":{"Rpc":{"type":9}}}]},"Error":"","FullError":null}
I0227 08:08:21.209901   80029 portproxy.go:151] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: no connection: error creating error stream: Timeout occurred
I0227 08:08:21.209980   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection openshift#3, 1 open
I0227 08:08:51.211522   80029 portproxy.go:151] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: no connection: error creating data stream: Timeout occurred
I0227 08:08:51.211566   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection openshift#3, 1 open
I0227 08:08:51.213451   80029 portproxy.go:155] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: created a new connection openshift#3
I0227 08:08:51.213498   80029 portproxy.go:286] forward listener for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: got a new connection openshift#3
I0227 08:08:51.309540   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection openshift#4, 2 open
I0227 08:08:52.215358   80029 portproxy.go:322] forward connection openshift#3 for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: remote side closed the stream
I0227 08:08:52.215475   80029 portproxy.go:340] forward connection openshift#3 for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: closing our side
I0227 08:09:21.310003   80029 portproxy.go:151] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: no connection: error creating error stream: Timeout occurred
I0227 08:09:21.310086   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection openshift#4, 1 open
I0227 08:09:51.311854   80029 portproxy.go:151] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: no connection: error creating data stream: Timeout occurred
I0227 08:09:51.311908   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection openshift#4, 1 open
I0227 08:09:51.314415   80029 portproxy.go:155] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: created a new connection openshift#4
I0227 08:09:51.314497   80029 portproxy.go:286] forward listener for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: got a new connection openshift#4
I0227 08:09:51.409527   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection openshift#5, 2 open
I0227 08:09:52.326203   80029 portproxy.go:322] forward connection openshift#4 for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: remote side closed the stream
I0227 08:09:52.326277   80029 portproxy.go:340] forward connection openshift#4 for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: closing our side
I0227 08:10:21.409892   80029 portproxy.go:151] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: no connection: error creating error stream: Timeout occurred
I0227 08:10:21.409954   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection openshift#5, 1 open
I0227 08:10:51.411455   80029 portproxy.go:151] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: no connection: error creating data stream: Timeout occurred
I0227 08:10:51.411557   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection openshift#5, 1 open
I0227 08:10:51.413229   80029 portproxy.go:155] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: created a new connection openshift#5
I0227 08:10:51.413274   80029 portproxy.go:286] forward listener for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: got a new connection openshift#5
I0227 08:10:51.509508   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection openshift#6, 2 open
I0227 08:10:52.414862   80029 portproxy.go:322] forward connection openshift#5 for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: remote side closed the stream
I0227 08:10:52.414931   80029 portproxy.go:340] forward connection openshift#5 for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: closing our side
I0227 08:11:21.509879   80029 portproxy.go:151] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: no connection: error creating error stream: Timeout occurred
I0227 08:11:21.509934   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection openshift#6, 1 open
I0227 08:11:51.511519   80029 portproxy.go:151] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: no connection: error creating data stream: Timeout occurred
I0227 08:11:51.511568   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection openshift#6, 1 open
I0227 08:11:51.513519   80029 portproxy.go:155] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: created a new connection openshift#6
I0227 08:11:51.513571   80029 portproxy.go:286] forward listener for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: got a new connection openshift#6
I0227 08:11:51.609504   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection openshift#7, 2 open
I0227 08:11:52.517799   80029 portproxy.go:322] forward connection openshift#6 for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: remote side closed the stream
I0227 08:11:52.517918   80029 portproxy.go:340] forward connection openshift#6 for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: closing our side
I0227 08:12:21.609856   80029 portproxy.go:151] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: no connection: error creating error stream: Timeout occurred
I0227 08:12:21.609909   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection openshift#7, 1 open
I0227 08:12:51.611494   80029 portproxy.go:151] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: no connection: error creating data stream: Timeout occurred
I0227 08:12:51.611555   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection openshift#7, 1 open
I0227 08:12:51.613289   80029 portproxy.go:155] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: created a new connection openshift#7
I0227 08:12:51.613343   80029 portproxy.go:286] forward listener for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: got a new connection openshift#7
I0227 08:12:51.709535   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection openshift#8, 2 open
I0227 08:12:52.615858   80029 portproxy.go:322] forward connection openshift#7 for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: remote side closed the stream
I0227 08:12:52.615989   80029 portproxy.go:340] forward connection openshift#7 for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: closing our side
W0227 08:12:52.616116   80029 server.go:669] grpc: Server.Serve failed to create ServerTransport: connection error: desc = "transport: http2Server.HandleStreams failed to receive the preface from client: EOF"
I0227 08:13:21.709934   80029 portproxy.go:151] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: no connection: error creating error stream: Timeout occurred
I0227 08:13:21.709997   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection openshift#8, 1 open
Feb 27 08:13:30.916: FAIL: Failed to register CSIDriver csi-mock-csi-mock-volumes-4037
Unexpected error:
    <*errors.errorString | 0xc002666220>: {
        s: "error waiting for CSI driver csi-mock-csi-mock-volumes-4037 registration on node kind-worker2: timed out waiting for the condition",
    }
    error waiting for CSI driver csi-mock-csi-mock-volumes-4037 registration on node kind-worker2: timed out waiting for the condition
occurred
swghosh pushed a commit to swghosh/kubernetes that referenced this pull request Jul 25, 2022
ardaguclu pushed a commit to ardaguclu/kubernetes that referenced this pull request Aug 24, 2022
* Add APF concurrency utilization test
atiratree pushed a commit to atiratree/kubernetes that referenced this pull request Oct 16, 2023
These were found with a modified klog that enables "go vet" to check klog call
parameters:

    cmd/kubeadm/app/features/features.go:149:4: printf: k8s.io/klog/v2.Warningf format %t has arg v of wrong type string (govet)
    			klog.Warningf("Setting deprecated feature gate %s=%t. It will be removed in a future release.", k, v)
    test/images/sample-device-plugin/sampledeviceplugin.go:147:5: printf: k8s.io/klog/v2.Errorf does not support error-wrapping directive %w (govet)
    				klog.Errorf("error: %w", err)
    test/images/sample-device-plugin/sampledeviceplugin.go:155:3: printf: k8s.io/klog/v2.Errorf does not support error-wrapping directive %w (govet)
    		klog.Errorf("Failed to add watch to %q: %w", triggerPath, err)
    staging/src/k8s.io/code-generator/cmd/prerelease-lifecycle-gen/prerelease-lifecycle-generators/status.go:207:5: printf: k8s.io/klog/v2.Fatalf does not support error-wrapping directive %w (govet)
    				klog.Fatalf("Package %v: unsupported %s value: %q :%w", i, tagEnabledName, ptag.value, err)
    staging/src/k8s.io/legacy-cloud-providers/vsphere/nodemanager.go:286:3: printf: (k8s.io/klog/v2.Verbose).Infof format %s reads arg openshift#1, but call has 0 args (govet)
    		klog.V(4).Infof("Node %s missing in vSphere cloud provider cache, trying node informer")
    staging/src/k8s.io/legacy-cloud-providers/vsphere/nodemanager.go:302:3: printf: (k8s.io/klog/v2.Verbose).Infof format %s reads arg openshift#1, but call has 0 args (govet)
    		klog.V(4).Infof("Node %s missing in vSphere cloud provider caches, trying the API server")
ardaguclu pushed a commit to ardaguclu/kubernetes that referenced this pull request Oct 2, 2025
Instead of creating a new test case, the permutation is passed down. This
enables adding the event numbers to the log output, which is useful to
understand better which output belongs to which input:

    === RUN   TestListPatchedResourceSlices/update-patch/2_3_0_1
    tracker.go:396: I0929 14:28:40.032318] event openshift#1: ResourceSlice add slice="s1"
    tracker.go:581: I0929 14:28:40.032404] event openshift#1: syncing ResourceSlice resourceslice="s1"
    tracker.go:659: I0929 14:28:40.032446] event openshift#1: ResourceSlice synced resourceslice="s1" change="add"
    tracker.go:396: I0929 14:28:40.032502] event openshift#2: ResourceSlice add slice="s2"
    tracker.go:581: I0929 14:28:40.032536] event openshift#2: syncing ResourceSlice resourceslice="s2"
    tracker.go:659: I0929 14:28:40.032568] event openshift#2: ResourceSlice synced resourceslice="s2" change="add"
    tracker.go:463: I0929 14:28:40.032609] event #0/#0: DeviceTaintRule add patch="rule"
    tracker.go:581: I0929 14:28:40.032639] event #0/#0: syncing ResourceSlice resourceslice="s1"
    tracker.go:703: I0929 14:28:40.032675] event #0/#0: processing DeviceTaintRule resourceslice="s1" deviceTaintRule="rule"
    tracker.go:807: I0929 14:28:40.032712] event #0/#0: applying matching DeviceTaintRule resourceslice="s1" deviceTaintRule="rule" device="driver1.example.com/pool-1/device-1"
    tracker.go:868: I0929 14:28:40.032780] event #0/#0: Assigned new taint ID, no matching taint resourceslice="s1" deviceTaintRule="rule" device="driver1.example.com/pool-1/device-1" taintID=0 taint="example.com/taint=tainted:NoExecute"
    tracker.go:654: I0929 14:28:40.033023] event #0/#0: ResourceSlice synced resourceslice="s1" change="update" diff=<
        	@@ -23,7 +23,32 @@
        	     "BindingConditions": null,
        	     "BindingFailureConditions": null,
        	     "AllowMultipleAllocations": null,
        	-    "Taints": null
        	+    "Taints": [
        	+     {
        	+      "Rule": {
        	+       "metadata": {
        	+        "name": "rule"
        	+       },
        	+       "spec": {
        	+        "deviceSelector": {
        	+         "pool": "pool-1"
        	+        },
        	+        "taint": {
        	+         "key": "example.com/taint",
        	+         "value": "tainted",
        	+         "effect": "NoExecute",
        	+         "timeAdded": "2006-01-02T15:04:05Z"
        	+        }
        	+       },
        	+       "status": {}
        	+      },
        	+      "ID": 1,
        	+      "key": "example.com/taint",
        	+      "value": "tainted",
        	+      "effect": "NoExecute",
        	+      "timeAdded": "2006-01-02T15:04:05Z"
        	+     }
        	+    ]
        	    }
        	   ],
        	   "Taints": null,
         >
    tracker.go:482: I0929 14:28:40.033224] event #0/openshift#1: DeviceTaintRule update patch="rule" diff=<
        	@@ -4,7 +4,7 @@
        	  },
        	  "spec": {
        	   "deviceSelector": {
        	-   "pool": "pool-1"
        	+   "pool": "pool-2"
        	   },
        	   "taint": {
        	    "key": "example.com/taint",
         >
    tracker.go:581: I0929 14:28:40.033285] event #0/openshift#1: syncing ResourceSlice resourceslice="s1"
    tracker.go:703: I0929 14:28:40.033319] event #0/openshift#1: processing DeviceTaintRule resourceslice="s1" deviceTaintRule="rule"
    tracker.go:654: I0929 14:28:40.033478] event #0/openshift#1: ResourceSlice synced resourceslice="s1" change="update" diff=<
        	@@ -23,32 +23,7 @@
        	     "BindingConditions": null,
        	     "BindingFailureConditions": null,
        	     "AllowMultipleAllocations": null,
        	-    "Taints": [
        	-     {
        	-      "Rule": {
        	-       "metadata": {
        	-        "name": "rule"
        	-       },
        	-       "spec": {
        	-        "deviceSelector": {
        	-         "pool": "pool-1"
        	-        },
        	-        "taint": {
        	-         "key": "example.com/taint",
        	-         "value": "tainted",
        	-         "effect": "NoExecute",
        	-         "timeAdded": "2006-01-02T15:04:05Z"
        	-        }
        	-       },
        	-       "status": {}
        	-      },
        	-      "ID": 1,
        	-      "key": "example.com/taint",
        	-      "value": "tainted",
        	-      "effect": "NoExecute",
        	-      "timeAdded": "2006-01-02T15:04:05Z"
        	-     }
        	-    ]
        	+    "Taints": null
        	    }
        	   ],
        	   "Taints": null,
         >
    tracker.go:581: I0929 14:28:40.033601] event #0/openshift#1: syncing ResourceSlice resourceslice="s2"
    tracker.go:703: I0929 14:28:40.033633] event #0/openshift#1: processing DeviceTaintRule resourceslice="s2" deviceTaintRule="rule"
    ...

Disabling event checking only worked when actually running all sub-tests. When
selectively running only one permutation with -run, the boolean variable was
wrong:

    $ go test -run='.*/^update-patch$' ./staging/src/k8s.io/dynamic-resource-allocation/resourceslice/tracker/
    ok  	k8s.io/dynamic-resource-allocation/resourceslice/tracker

    $ go test -run='.*/^update-patch$/3_2_0_1' ./staging/src/k8s.io/dynamic-resource-allocation/resourceslice/tracker/
    --- FAIL: TestListPatchedResourceSlices (0.01s)
        --- FAIL: TestListPatchedResourceSlices/update-patch (0.00s)
            --- FAIL: TestListPatchedResourceSlices/update-patch/3_2_0_1 (0.00s)

                tracker_test.go:762:
                     	Error Trace:	/nvme/gopath/src/k8s.io/kubernetes/staging/src/k8s.io/dynamic-resource-allocation/resourceslice/tracker/tracker_test.go:762
                     	            				/nvme/gopath/src/k8s.io/kubernetes/staging/src/k8s.io/dynamic-resource-allocation/resourceslice/tracker/tracker_test.go:856
                    	Error:      	Not equal:
                    	            	expected: []tracker.handlerEvent{tracker.handlerEvent{event:"add", oldObj:(*api.ResourceSlice)(nil), newObj:(*api.ResourceSlice)(0xc000301d40)}, tracker.handlerEvent{event:"add", oldObj:(*api.ResourceSlice)(nil), newObj:(*api.ResourceSlice)(0xc000346000)}}
                    	            	actual  : []tracker.handlerEvent{tracker.handlerEvent{event:"add", oldObj:(*api.ResourceSlice)(nil), newObj:(*api.ResourceSlice)(0xc0001f9ba0)}, tracker.handlerEvent{event:"add", oldObj:(*api.ResourceSlice)(nil), newObj:(*api.ResourceSlice)(0xc000301d40)}, tracker.handlerEvent{event:"update", oldObj:(*api.ResourceSlice)(0xc000301d40), newObj:(*api.ResourceSlice)(0xc0003dba00)}, tracker.handlerEvent{event:"update", oldObj:(*api.ResourceSlice)(0xc0003dba00), newObj:(*api.ResourceSlice)(0xc000301d40)}, tracker.handlerEvent{event:"update", oldObj:(*api.ResourceSlice)(0xc0001f9ba0), newObj:(*api.ResourceSlice)(0xc0003dbba0)}}

Now permutations are detected automatically based on the indices.

While at it, documentation gets moved around a bit to make reading test cases
easier without going to the implementation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.