Aldo Culquicondor
16d7ecfa45
Remove direct accesses to cache's node map
...
Signed-off-by: Aldo Culquicondor <acondor@google.com>
Change-Id: Iebb22fc816926aaa1ddd1e4b2e52f335a275ffaa
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-08-13 14:22:06 -04:00
Jiawei Wang
0ce86eb553
Make CSI mock driver log parse more flexible
2020-08-13 10:27:38 -07:00
Kubernetes Prow Robot
fa76242bba
Merge pull request #93730 from adtac/MixedSchedulingBasePod
...
scheduler_perf/MixedSchedulingBasePod: label nodes for pod affinity
2020-08-12 19:14:14 -07:00
Kubernetes Prow Robot
68168541ea
Merge pull request #93869 from Jiawei0227/namespace-collision
...
[e2e]Bind csi driver namespace to test namespace to avoid namespace collision
2020-08-12 17:00:28 -07:00
Kubernetes Prow Robot
b1d89d67a1
Merge pull request #93939 from justaugustus/go115
...
[go1.15] Update to go1.15
2020-08-12 14:42:28 -07:00
Kubernetes Prow Robot
6704af40d4
Merge pull request #93916 from justaugustus/base-images
...
build: Update to debian-base@v2.1.3 and debian-iptables@v12.1.2
2020-08-12 14:42:14 -07:00
Stephen Augustus
aa2bb18a2b
[go1.15] Update to go1.15
...
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-08-12 14:19:59 -04:00
Jiawei Wang
d030c64743
[e2e]Bind csi driver namespace to test namespace to avoid namespace collision
2020-08-12 10:20:30 -07:00
Patrick Ohly
1a510a1bec
e2e storage: avoid flaky test failure when watch dies
...
As discussed in https://github.com/kubernetes/kubernetes/pull/93658 ,
relying on a watch to deliver all events is not acceptable, not even
for a test, because it can and did (at least for OpenShift testing) to
test flakes.
The solution in #93658 was to replace log flooding with a clear test
failure, but that didn't solve the flakiness.
A better solution is to use a RetryWatcher which "under normal
circumstances" (https://github.com/kubernetes/kubernetes/pull/93777#discussion_r467932080 )
should always deliver all changes.
2020-08-12 17:56:24 +02:00
Kubernetes Prow Robot
c780554a64
Merge pull request #93829 from aojea/e2eSvcSlice
...
e2e services wait for endpoint and endpoint slices
2020-08-12 06:49:45 -07:00
Antonio Ojea
f31839acea
e2e services wait for endpoint and endpoint slices
...
Since 1.19 endpoint slices is enabled by default, so all the e2e
tests should consider them.
The e2e networking tests for services use the jig object for
all the tests, but was not taking into account endpoint slices.
This considers endpoints slices for the method waitForAvailableEndpoint()
Date: Sun Aug 9 12:34:06 2020 +0200
2020-08-12 14:13:42 +02:00
Jan Safranek
fea06a204c
Reduce test volume sizes
...
To reduce costs and to increase speed. Formating 5GiB volume took too long
in a badly overloaded CI cluster.
All in-tree volume plugins support at least 1GiB volumes.
2020-08-12 14:00:30 +02:00
Kubernetes Prow Robot
abede62bf0
Merge pull request #93857 from soltysh/fix_lb_test
...
Skip LB test per schedulable node count
2020-08-12 04:29:44 -07:00
Antonio Ojea
f9a5e5a283
support ipv6 in e2e policy tests
2020-08-12 13:01:07 +02:00
zhouya0
b18e265315
[Flaky test]kubectl log test never restart pod
2020-08-12 18:26:18 +08:00
Stephen Augustus
13f1a90f74
build: Update to debian-base@v2.1.3 and debian-iptables@v12.1.2
...
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-08-11 23:17:26 -04:00
Kubernetes Prow Robot
fa13dc11d1
Merge pull request #93907 from robscott/endpointslice-e2e-test-fix
...
Updating EndpointSlice e2e tests to accept duplicate EndpointSlices
2020-08-11 20:07:45 -07:00
Kubernetes Prow Robot
35c8fece86
Merge pull request #93521 from msau42/update-registry
...
Update e2e csi images to k8s.gcr.io
2020-08-11 17:57:46 -07:00
Rob Scott
17ff005c4b
Updating EndpointSlice e2e tests to accept duplicate EndpointSlices
...
Although rare, the EndpointSlice controller can create duplicate
EndpointSlices. This is considered a valid state and tests that find
this state should not fail.
2020-08-11 14:51:30 -07:00
M. Habib Rosyad
42c68c303b
fix test/e2e_node staticcheck
2020-08-11 22:11:22 +07:00
Jan Safranek
96eeb98215
Fix error messages
...
Separate different errors by ": ".
2020-08-11 11:14:15 +02:00
Jan Safranek
6a83a39ae6
Fix Poll variable name
...
Parameter names should start with lowercase
2020-08-11 11:14:15 +02:00
Jan Safranek
d3503a2881
Fix waiting for PVCs to get Bound
...
When Get() returns error, the loop should not return with nil. Make sure
that the faulty Get() marks phaseFoundInAllClaims as not satisfied.
2020-08-11 11:14:15 +02:00
Kubernetes Prow Robot
da5ec168e7
Merge pull request #93618 from Jiawei0227/e2e-csi-mock-flaky
...
Fix flaky test: wait for mock CSI Driver bringup to perform e2e test
2020-08-10 15:41:59 -07:00
Jiawei Wang
76b4973b42
Wait for mock CSI Driver bringup to perform e2e test
...
In our current mock CSI driver e2e test, we are not waiting
for the CSI driver register successfully to perform test
including provision PVC. This can lead to timeout when the
csi driver takes longer to register the socket.
This change adds the waiting part so that the system will
wait for up to 10 minutes for the driver to be ready. This
normally won't take this long. However, under a resource
constraint environment it can take longer than expected time.
https://github.com/kubernetes/kubernetes/issues/93358
2020-08-10 11:03:35 -07:00
Adhityaa Chandrasekar
59a6e86c0c
scheduler_perf: label nodes for pod affinity
...
3 commits:
label nodes for pod affinity
use topology.kubernetes.io/zone label
use 3 zones in pod affinity rules
2020-08-10 16:07:46 +00:00
Maciej Szulik
5765bf74ce
Skip LB test per schedulable node count
2020-08-10 16:13:29 +02:00
Nikhita Raghunath
53e87ddd15
vsphere: remove inactive members from OWNERS
...
As a part of cleaning up inactive members (who haven't been active since
beginning of 2019) from OWNERS files, this commit moves abrarshivani to
emeritus_approvers section.
2020-08-10 15:23:25 +05:30
Kubernetes Prow Robot
7740b8124c
Merge pull request #93555 from cofyc/fix81368
...
integration: Wait for PV to be available in TestVolumeProvision
2020-08-09 22:30:20 -07:00
Stephen Augustus
ffcef48b83
[go1.15] Update to go1.15rc2
...
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-08-09 02:53:53 -04:00
Wei Huang
24bbedb27d
Deflake LimitRange e2e test
2020-08-07 17:22:35 -07:00
Kubernetes Prow Robot
a640545167
Merge pull request #93567 from gnufied/fix-stale-attachments
...
Make AttachDisk for EBS idempotent again
2020-08-07 07:16:19 -07:00
Hemant Kumar
f91d448e1b
Add tests for out of band attachments
2020-08-07 08:23:25 -04:00
Antonio Ojea
db4bca086d
e2e delete namespaces after finish
2020-08-07 08:35:39 +02:00
Julian V. Modesto
f2deb2417a
Add tests for managed fields tracking.
...
- Test that client-side apply users don't encounter a conflict with
server-side apply for objects that previously didn't track managedFields
- Test that we stop tracking managed fields with `managedFields: []`
- Test that we stop tracking managed fields when the feature is disabled
2020-08-05 18:22:44 -04:00
Kubernetes Prow Robot
c94242a7b1
Merge pull request #93657 from knight42/test/93651
...
fix: deflake run_kubectl_apply_tests
2020-08-05 09:56:28 -07:00
knight42
cbf8ec4e2d
fix: deflake run_kubectl_apply_tests
...
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-08-05 23:27:34 +08:00
Kubernetes Prow Robot
9dec51e8f3
Merge pull request #93670 from wojtek-t/fix_readyz_sync_informer
...
Fix /readyz to contain informer-sync
2020-08-04 19:48:29 -07:00
Kubernetes Prow Robot
56c76023f7
Merge pull request #93658 from dcbw/csi-fail-test-on-close
...
test/e2e: fail test rather than flooding logs if PVC watch is closed prematurely
2020-08-04 18:08:42 -07:00
Kubernetes Prow Robot
c73fef52f3
Merge pull request #93661 from Huang-Wei/flake-postbind
...
Deflake scheduler PostBind integration test
2020-08-04 09:58:20 -07:00
wojtekt
5b4ab8f41b
Fix /readyz to contain informer-sync
2020-08-04 15:29:43 +02:00
Stephen Augustus
87e13f7665
build: Update to debian-base@v2.1.0 and debian-iptables@v12.1.1
...
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-08-04 01:15:24 -04:00
Davanum Srinivas
fbca4e3ee9
Move bgrant0607 to emeritus status.
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-08-03 21:50:46 -04:00
Kubernetes Prow Robot
0d2299e227
Merge pull request #93271 from ii/promote-preferred-version
...
Promote: Discovery PreferredVersion test+16 Endpoints
2020-08-03 18:46:19 -07:00
Michelle Au
ab5b3e256b
Update e2e csi images to k8s.gcr.io
...
Change-Id: Ic6c3f805aab1647f01f40fee725d6e8be992d04e
2020-08-03 17:04:21 -07:00
Kubernetes Prow Robot
ae9f76153f
Merge pull request #93535 from gnufied/create-service-for-endpoint
...
Create service for gluster endpoint
2020-08-03 16:10:33 -07:00
Wei Huang
b6b7ab3f73
Deflake scheduler PostBind integration test
2020-08-03 12:30:22 -07:00
Dan Williams
e0f9fe2cd3
test/e2e: fail test rather than flooding logs if PVC watch is closed prematurely
...
If the watch is closed prematurely the for/select loop will
spew "PVC event : <nil>" as fast as possible until the test times
out, flooding logs.
STEP: Checking PVC events
Aug 3 16:35:53.930: INFO: PVC event ADDED: &v1.PersistentVolumeClaim{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:"pvc-zrchk", GenerateName:"pvc-", Namespace:"e2e-csi-mock-volumes-5292", SelfLink:"/api/v1/namespaces/e2e-csi-mock-volumes-5292/persistentvolumeclaims/pvc-zrchk", UID:"221369cd-50c3-48be-8c08-dc4d8f6f36e0", ResourceVersion:"42154", Generation:0, CreationTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:63732069329, loc:(*time.Location)(0x9e74040)}}, DeletionTimestamp:(*v1.Time)(nil), DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string(nil), Annotations:map[string]string(nil), OwnerReferences:[]v1.OwnerReference(nil), Finalizers:[]string{"kubernetes.io/pvc-protection"}, ClusterName:"", ManagedFields:[]v1.ManagedFieldsEntry{v1.ManagedFieldsEntry{Manager:"openshift-tests", Operation:"Update", APIVersion:"v1", Time:(*v1.Time)(0xc001639060), FieldsType:"FieldsV1", FieldsV1:(*v1.FieldsV1)(0xc001639080)}}}, Spec:v1.PersistentVolumeClaimSpec{AccessModes:[]v1.PersistentVolumeAccessMode{"ReadWriteOnce"}, Selector:(*v1.LabelSelector)(nil), Resources:v1.ResourceRequirements{Limits:v1.ResourceList(nil), Requests:v1.ResourceList{"storage":resource.Quantity{i:resource.int64Amount{value:1073741824, scale:0}, d:resource.infDecAmount{Dec:(*inf.Dec)(nil)}, s:"1Gi", Format:"BinarySI"}}}, VolumeName:"", StorageClassName:(*string)(0xc000876e90), VolumeMode:(*v1.PersistentVolumeMode)(0xc000876ec0), DataSource:(*v1.TypedLocalObjectReference)(nil)}, Status:v1.PersistentVolumeClaimStatus{Phase:"Pending", AccessModes:[]v1.PersistentVolumeAccessMode(nil), Capacity:v1.ResourceList(nil), Conditions:[]v1.PersistentVolumeClaimCondition(nil)}}
Aug 3 16:35:53.930: INFO: PVC event MODIFIED: &v1.PersistentVolumeClaim{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:"pvc-zrchk", GenerateName:"pvc-", Namespace:"e2e-csi-mock-volumes-5292", SelfLink:"/api/v1/namespaces/e2e-csi-mock-volumes-5292/persistentvolumeclaims/pvc-zrchk", UID:"221369cd-50c3-48be-8c08-dc4d8f6f36e0", ResourceVersion:"42159", Generation:0, CreationTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:63732069329, loc:(*time.Location)(0x9e74040)}}, DeletionTimestamp:(*v1.Time)(nil), DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string(nil), Annotations:map[string]string{"volume.beta.kubernetes.io/storage-provisioner":"csi-mock-e2e-csi-mock-volumes-5292"}, OwnerReferences:[]v1.OwnerReference(nil), Finalizers:[]string{"kubernetes.io/pvc-protection"}, ClusterName:"", ManagedFields:[]v1.ManagedFieldsEntry{v1.ManagedFieldsEntry{Manager:"kube-controller-manager", Operation:"Update", APIVersion:"v1", Time:(*v1.Time)(0xc0016a6060), FieldsType:"FieldsV1", FieldsV1:(*v1.FieldsV1)(0xc0016a6080)}, v1.ManagedFieldsEntry{Manager:"openshift-tests", Operation:"Update", APIVersion:"v1", Time:(*v1.Time)(0xc0016a60a0), FieldsType:"FieldsV1", FieldsV1:(*v1.FieldsV1)(0xc0016a60c0)}}}, Spec:v1.PersistentVolumeClaimSpec{AccessModes:[]v1.PersistentVolumeAccessMode{"ReadWriteOnce"}, Selector:(*v1.LabelSelector)(nil), Resources:v1.ResourceRequirements{Limits:v1.ResourceList(nil), Requests:v1.ResourceList{"storage":resource.Quantity{i:resource.int64Amount{value:1073741824, scale:0}, d:resource.infDecAmount{Dec:(*inf.Dec)(nil)}, s:"1Gi", Format:"BinarySI"}}}, VolumeName:"", StorageClassName:(*string)(0xc0012aa020), VolumeMode:(*v1.PersistentVolumeMode)(0xc0012aa030), DataSource:(*v1.TypedLocalObjectReference)(nil)}, Status:v1.PersistentVolumeClaimStatus{Phase:"Pending", AccessModes:[]v1.PersistentVolumeAccessMode(nil), Capacity:v1.ResourceList(nil), Conditions:[]v1.PersistentVolumeClaimCondition(nil)}}
Aug 3 16:35:53.930: INFO: PVC event MODIFIED: &v1.PersistentVolumeClaim{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:"pvc-zrchk", GenerateName:"pvc-", Namespace:"e2e-csi-mock-volumes-5292", SelfLink:"/api/v1/namespaces/e2e-csi-mock-volumes-5292/persistentvolumeclaims/pvc-zrchk", UID:"221369cd-50c3-48be-8c08-dc4d8f6f36e0", ResourceVersion:"43201", Generation:0, CreationTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:63732069329, loc:(*time.Location)(0x9e74040)}}, DeletionTimestamp:(*v1.Time)(nil), DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string(nil), Annotations:map[string]string{"pv.kubernetes.io/bind-completed":"yes", "pv.kubernetes.io/bound-by-controller":"yes", "volume.beta.kubernetes.io/storage-provisioner":"csi-mock-e2e-csi-mock-volumes-5292"}, OwnerReferences:[]v1.OwnerReference(nil), Finalizers:[]string{"kubernetes.io/pvc-protection"}, ClusterName:"", ManagedFields:[]v1.ManagedFieldsEntry{v1.ManagedFieldsEntry{Manager:"openshift-tests", Operation:"Update", APIVersion:"v1", Time:(*v1.Time)(0xc0016a6100), FieldsType:"FieldsV1", FieldsV1:(*v1.FieldsV1)(0xc0016a6120)}, v1.ManagedFieldsEntry{Manager:"kube-controller-manager", Operation:"Update", APIVersion:"v1", Time:(*v1.Time)(0xc0016a6140), FieldsType:"FieldsV1", FieldsV1:(*v1.FieldsV1)(0xc0016a6160)}}}, Spec:v1.PersistentVolumeClaimSpec{AccessModes:[]v1.PersistentVolumeAccessMode{"ReadWriteOnce"}, Selector:(*v1.LabelSelector)(nil), Resources:v1.ResourceRequirements{Limits:v1.ResourceList(nil), Requests:v1.ResourceList{"storage":resource.Quantity{i:resource.int64Amount{value:1073741824, scale:0}, d:resource.infDecAmount{Dec:(*inf.Dec)(nil)}, s:"1Gi", Format:"BinarySI"}}}, VolumeName:"pvc-221369cd-50c3-48be-8c08-dc4d8f6f36e0", StorageClassName:(*string)(0xc0012aa090), VolumeMode:(*v1.PersistentVolumeMode)(0xc0012aa0a0), DataSource:(*v1.TypedLocalObjectReference)(nil)}, Status:v1.PersistentVolumeClaimStatus{Phase:"Pending", AccessModes:[]v1.PersistentVolumeAccessMode(nil), Capacity:v1.ResourceList(nil), Conditions:[]v1.PersistentVolumeClaimCondition(nil)}}
Aug 3 16:35:53.930: INFO: PVC event MODIFIED: &v1.PersistentVolumeClaim{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:"pvc-zrchk", GenerateName:"pvc-", Namespace:"e2e-csi-mock-volumes-5292", SelfLink:"/api/v1/namespaces/e2e-csi-mock-volumes-5292/persistentvolumeclaims/pvc-zrchk", UID:"221369cd-50c3-48be-8c08-dc4d8f6f36e0", ResourceVersion:"43203", Generation:0, CreationTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:63732069329, loc:(*time.Location)(0x9e74040)}}, DeletionTimestamp:(*v1.Time)(nil), DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string(nil), Annotations:map[string]string{"pv.kubernetes.io/bind-completed":"yes", "pv.kubernetes.io/bound-by-controller":"yes", "volume.beta.kubernetes.io/storage-provisioner":"csi-mock-e2e-csi-mock-volumes-5292"}, OwnerReferences:[]v1.OwnerReference(nil), Finalizers:[]string{"kubernetes.io/pvc-protection"}, ClusterName:"", ManagedFields:[]v1.ManagedFieldsEntry{v1.ManagedFieldsEntry{Manager:"openshift-tests", Operation:"Update", APIVersion:"v1", Time:(*v1.Time)(0xc0016a6600), FieldsType:"FieldsV1", FieldsV1:(*v1.FieldsV1)(0xc0016a6620)}, v1.ManagedFieldsEntry{Manager:"kube-controller-manager", Operation:"Update", APIVersion:"v1", Time:(*v1.Time)(0xc0016a6660), FieldsType:"FieldsV1", FieldsV1:(*v1.FieldsV1)(0xc0016a6680)}}}, Spec:v1.PersistentVolumeClaimSpec{AccessModes:[]v1.PersistentVolumeAccessMode{"ReadWriteOnce"}, Selector:(*v1.LabelSelector)(nil), Resources:v1.ResourceRequirements{Limits:v1.ResourceList(nil), Requests:v1.ResourceList{"storage":resource.Quantity{i:resource.int64Amount{value:1073741824, scale:0}, d:resource.infDecAmount{Dec:(*inf.Dec)(nil)}, s:"1Gi", Format:"BinarySI"}}}, VolumeName:"pvc-221369cd-50c3-48be-8c08-dc4d8f6f36e0", StorageClassName:(*string)(0xc0012aa450), VolumeMode:(*v1.PersistentVolumeMode)(0xc0012aa460), DataSource:(*v1.TypedLocalObjectReference)(nil)}, Status:v1.PersistentVolumeClaimStatus{Phase:"Bound", AccessModes:[]v1.PersistentVolumeAccessMode{"ReadWriteOnce"}, Capacity:v1.ResourceList{"storage":resource.Quantity{i:resource.int64Amount{value:1073741824, scale:0}, d:resource.infDecAmount{Dec:(*inf.Dec)(nil)}, s:"1Gi", Format:"BinarySI"}}, Conditions:[]v1.PersistentVolumeClaimCondition(nil)}}
Aug 3 16:35:53.930: INFO: PVC event : <nil>
Aug 3 16:35:53.930: INFO: PVC event : <nil>
Aug 3 16:35:53.930: INFO: PVC event : <nil>
Aug 3 16:35:53.930: INFO: PVC event : <nil>
Aug 3 16:35:53.930: INFO: PVC event : <nil>
Aug 3 16:35:53.930: INFO: PVC event : <nil>
Aug 3 16:35:53.930: INFO: PVC event : <nil>
Aug 3 16:35:53.930: INFO: PVC event : <nil>
Aug 3 16:35:53.930: INFO: PVC event : <nil>
<a million lines later...>
Aug 3 16:36:26.571: INFO: PVC event : <nil>
Aug 3 16:36:26.571: INFO: PVC event : <nil>
Aug 3 16:36:26.571: INFO: PVC event : <nil>
Aug 3 16:36:26.571: INFO: PVC event : <nil>
<test times out>
2020-08-03 13:01:00 -05:00
Kubernetes Prow Robot
cf6a0868be
Merge pull request #93597 from wojtek-t/validate_endpoint_slices
...
Wait for both endpoints and endpointslices in e2e tests
2020-08-01 20:22:04 -07:00
Kubernetes Prow Robot
d3a49f7c63
Merge pull request #93589 from jingxu97/July/csiwindowstest
...
Update e2e storage tests for Windows cluster
2020-08-01 20:21:54 -07:00
Kubernetes Prow Robot
f0485f5098
Merge pull request #93557 from knight42/fix/snat-test
...
fix(e2e::network): refactor NoSNAT test
2020-08-01 20:21:41 -07:00
Kubernetes Prow Robot
0051d65f9f
Merge pull request #92954 from sbueringer/pr-fix-delete-orphan-test
...
conformance-tests: make orpan RS created by deployment test more resilient
2020-07-31 13:51:40 -07:00
Jing Xu
015f2998e5
Update e2e storage tests for Windows cluster
...
This PR fixes a few things for e2e storage suite to run on Windows
cluster.
1. increaes timeout due to longer pod startup time for windows
2. Only set SELinuxOptions or fsGroup if os is not windows
3. Add VolumeSnapshot delete policy for windows3. Add VolumeSnapshot
delete policy for windows3. Add VolumeSnapshot delete policy for windows
2020-07-31 10:09:28 -07:00
knight42
7b07b33094
fix(e2e::network): refactor NoSNAT test
...
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-08-01 00:51:51 +08:00
wojtekt
76b3fe7f6d
Wait for both endpoints and endpointslices in e2e tests
2020-07-31 17:24:53 +02:00
hasheddan
242176ab31
Make typecheck default parallelism 3
...
Typecheck is still hitting memory limits semi-regularly on periodic CI
jobs. This bumps the default parallelism down to 3 from 4 to make it
slightly less memory intensive.
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2020-07-31 07:42:31 -05:00
Claudiu Belu
72a26aed7d
tests: Fixes variable expansion false positive test
...
Some of the tests are negative test cases which are supposed to ensure that those
invalid usecases are handled properly.
However, some of the tests are false positives, they can pass due to various reasons.
One such example is: "should fail substituting values in a volume subpath with absolute path".
This test can pass if:
- the Pod cannot start due to various reasons (e.g.: the container image cannot be pulled or does
not exist).
- the Pod ran to completion, even though the container was not supposed to start in the first place.
2020-07-31 01:23:09 -07:00
Kubernetes Prow Robot
20fbf09c3e
Merge pull request #93551 from brianpursley/runtimeclass-e2e-fix
...
Remove special case for node e2e tests when expecting pod rejection
2020-07-30 23:53:06 -07:00
Kubernetes Prow Robot
62b8faed40
Merge pull request #93539 from Jefftree/conformance-format
...
Update formatting of conformance comment
2020-07-30 22:11:07 -07:00
Kubernetes Prow Robot
debcc37798
Merge pull request #93327 from aojea/dnsipv6
...
e2e dns test autodetect the IP family
2020-07-30 18:39:09 -07:00
James Sturtevant
faa84d61c7
mark this test serial due to race conditions
2020-07-30 15:41:22 -07:00
Jordan Liggitt
2cea9c5d51
Clean up daemonset test names
2020-07-30 17:33:38 -04:00
Hemant Kumar
20934d7e50
Create service for gluster endpoint
...
Creating an endpoint without a service can cause endpoint to disappear
https://github.com/kubernetes/kubernetes/issues/12964
2020-07-30 16:34:11 -04:00
Jordan Liggitt
c866cb7dd0
Make verify-typecheck detect errors better
2020-07-30 13:23:34 -04:00
Jordan Liggitt
7cbdb4fb14
Limit typecheck parallelism by default
2020-07-30 11:10:08 -04:00
Kubernetes Prow Robot
9af4ad5c45
Merge pull request #93550 from Huang-Wei/refix-postfilter-flake
...
Deflake scheduler PostFilter and Filter integration test
2020-07-30 04:30:31 -07:00
Luigi Bitonti
19793bd3fa
Update k8s.io/utils dependency and use ebtables from there
2020-07-30 08:58:21 +01:00
Yecheng Fu
930409c993
integration: Wait for PV to be available
2020-07-30 13:37:20 +08:00
Jefftree
fca714f4b7
Fix conformance ordering
2020-07-29 20:50:45 -07:00
Jefftree
ace97738e2
Update formatting of conformance comment
2020-07-29 20:50:44 -07:00
Brian Pursley
6029346d0d
Remove special case for node e2e tests when expecting pod rejection
2020-07-29 22:28:03 -04:00
Wei Huang
539272cb73
Deflake scheduler PostFilter and Filter integration test
...
- Revert "Fix integration test flake on TestFilter and TestPostFilter"
This reverts commit 94fc18c2dc
.
- Relax checking logic on expected Filter/PostFilter counters.
2020-07-29 18:37:47 -07:00
Wei Huang
0e71facefe
Hold Pod in cache until all other cleanup work is completed
...
- Move "ForgetPod" after "RunReservePluginsUnreserve", so that the cache would hold the pod to
avoid it's being retried simutaneously until Unreserve is completed.
- Move "assume" ahead of "RunReservePluginsReserve". This is based on the fact that "ForgetPod" is
the last step of failure path, so "assume" should be reversly treated as the first step. The
current failure path is like this:
assume -> reserve -> unreserve -> forgetPod -> recordingFailure
- Make subtests of TestReservePluginUnreserve stateless
2020-07-29 11:27:19 -07:00
Kubernetes Prow Robot
d3edcb7924
Merge pull request #93490 from Huang-Wei/flake-post-filter
...
Fix integration test flake on TestFilter and TestPostFilter
2020-07-29 08:59:48 -07:00
Kubernetes Prow Robot
aec30be5b3
Merge pull request #93433 from dcbw/netexec-errors
...
agnhost/netexec: logging cleanup and print more verbose errors
2020-07-28 21:04:01 -07:00
Kubernetes Prow Robot
01ae0ae8c6
Merge pull request #93429 from sjenning/fix-examples-template
...
e2e: examples: fix test image reference
2020-07-28 21:03:47 -07:00
Wei Huang
94fc18c2dc
Fix integration test flake on TestFilter and TestPostFilter
2020-07-28 20:51:01 -07:00
Kubernetes Prow Robot
f105cfc210
Merge pull request #93487 from ii/fix-missing-e2e-test-metadata
...
Add missing release metadata for e2e tests
2020-07-28 19:26:10 -07:00
Kubernetes Prow Robot
5ca6d567c4
Merge pull request #93086 from ii/heyste-create-delete-core-v1-collection-namespaced-pod-test
...
Promote Delete Collection Pods e2e test to conformance +1 endpoint coverage
2020-07-28 19:25:48 -07:00
Kubernetes Prow Robot
d2d8c63a87
Merge pull request #90939 from ii/ii-promote-endpoint-resource-lifecycle-test
...
Promote Endpoints resource lifecycle test - +4 endpoint coverage
2020-07-28 16:31:47 -07:00
Kubernetes Prow Robot
22329fbe13
Merge pull request #93495 from Huang-Wei/flake-node-affinity-priority
...
Fix an integration test flake on NodeAfffinity ScorePlugin
2020-07-28 14:21:47 -07:00
Kubernetes Prow Robot
498b1e2279
Merge pull request #93491 from robscott/endpointslice-test-logging
...
Improving logging in EndpointSlice e2e tests
2020-07-28 10:09:48 -07:00
Wei Huang
862fdaaf79
Fix an integration test flake on NodeAfffinity ScorePlugin
2020-07-28 08:57:02 -07:00
Kubernetes Prow Robot
8d74486a6a
Merge pull request #93497 from robscott/endpointslicemirroring-integration-fix
...
Increasing allowed delay for EndpointSlice mirroring integration tests
2020-07-28 04:13:08 -07:00
Rob Scott
eb196be139
Increasing allowed delay for EndpointSlice mirroring integration tests.
...
The shorter 5s delay had become a source of flakes.
2020-07-27 21:43:15 -07:00
Rob Scott
6051a16edd
Improving logging in EndpointSlice e2e tests
...
When these tests failed it was unclear that the reason for the failure
could have been more EndpointSlices than expected. It was also unclear
what EndpointSlices were actually found when that occurred. This fixes
both of those issues.
2020-07-27 21:36:51 -07:00
Wei Huang
8936f9e4bf
Fix integration test flake on TestScorePlugin
2020-07-27 18:13:38 -07:00
Stephen Heywood
1077a9e862
Add missing release metadata for e2e tests
2020-07-27 21:56:49 +00:00
Kubernetes Prow Robot
00da04ba23
Merge pull request #92163 from knight42/fix/large-cluster-network-e2e
...
fix(e2e::network): eliminate the dependency of external ips
2020-07-27 07:30:17 -07:00
yue9944882
40f3242cd9
apf integration test: ensure no rejection
2020-07-27 10:42:37 +08:00
Caleb Woodbine
e311df70e1
Promote Endpoint resource lifecycle test
2020-07-27 09:11:42 +12:00
Jordan Liggitt
f33dc28094
generated: hack/update-hack-tools.sh && hack/update-vendor.sh
2020-07-25 16:45:02 -04:00
Stephen Augustus
479249b3a3
[go1.15] dependencies.yaml: Update to go1.15rc1
...
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-07-25 16:45:02 -04:00
Stephen Augustus
05ffc95347
[go1.15] Remove client support for darwin/386
...
Removed in go1.15 (GH/golang/go/issues/37610).
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-07-25 16:45:01 -04:00
Kubernetes Prow Robot
17a2e5e990
Merge pull request #93402 from robscott/endpointslice-test-fix
...
Updating EndpointSlice e2e tests to be less flaky and easier to debug
2020-07-25 12:20:16 -07:00
Kubernetes Prow Robot
7348ab957c
Merge pull request #93356 from justaugustus/vdf
...
[VDF] Normalize container image references to k8s.gcr.io
2020-07-25 02:58:17 -07:00
Kubernetes Prow Robot
54e2070722
Merge pull request #93410 from nikhita/apimachinery-triage-labels
...
Don't apply triage/needs-information on apimachinery and instrumentation PRs
2020-07-24 19:08:16 -07:00
Kubernetes Prow Robot
c0a4d4b0b6
Merge pull request #93427 from liggitt/default-ingress-class
...
Mark default ingressclass tests serial, do not set default ingressclass in conformance
2020-07-24 14:26:30 -07:00
Kubernetes Prow Robot
6f7b6b6d13
Merge pull request #93426 from liggitt/test-certs
...
Add subjectAltName to test serving certificates
2020-07-24 14:26:16 -07:00
Dan Williams
31c563a46f
agnhost/netexec: logging cleanup and print more verbose errors
...
There's currently no way to know whether an error is for SCTP or
UDP, for example:
Jul 24 09:55:54.469: INFO: netserver-0[e2e-nettest-3476].container[webserver].log
2020/07/24 09:53:52 Started UDP server
2020/07/24 09:53:52 Error occurred. error:protocol not supported
In this case the "Error occurred. error:protocol not supported" is
actually for the SCTP socket. Make that more apparent.
2020-07-24 14:40:58 -05:00
Rob Scott
3e4745ddaf
Updating EndpointSlice e2e tests to be less flaky and easier to debug
...
This adjusts tests that were waiting for Pods to be ready to instead
just wait for them to have IPs assigned to them. This relies on the
associated publishNotReadyAddresses field on Services. Additionally this
increases the the length of time we'll wait for EndpointSlices to be garbage
collected from 12s to 30s. Finally, this adds additional logging to
ExpectNoError calls so it's easier to understand where and why a test
failed.
2020-07-24 10:35:13 -07:00
Seth Jennings
78bdf89e50
e2e: examples: fix test image reference
2020-07-24 11:22:20 -05:00
Jordan Liggitt
4c203fd96e
Mark default ingressclass tests serial, do not set default ingressclass in conformance
2020-07-24 12:12:20 -04:00
Nikhita Raghunath
3a74f461a2
Revert "Merge pull request #93160 from logicalhan/triage-instrumentation"
...
This reverts commit 1ed2cf1895
, reversing
changes made to 04ecdb9eb6
.
2020-07-24 18:09:07 +05:30
Kubernetes Prow Robot
607c5daabd
Merge pull request #93405 from liggitt/revert-pod-lifecycle-flake
...
Revert "Merge pull request #90942 from ii/ii-create-pod%2Bpodstatus-resource-lifecycle-test"
2020-07-24 04:30:22 -07:00
Kubernetes Prow Robot
55476fb872
Merge pull request #93373 from liggitt/deflake-pod-collection
...
Delete pod collection immediately
2020-07-24 02:08:22 -07:00
Nikhita Raghunath
c00dae0607
Revert "Merge pull request #93156 from logicalhan/triage-api-machinery"
...
This reverts commit 32438cf269
, reversing
changes made to bb6a6aa391
.
2020-07-24 13:01:02 +05:30
Jordan Liggitt
3fa8b15636
Revert "Merge pull request 92589 from ii/create-deployment-resource-lifecycle-test"
2020-07-24 00:30:13 -04:00
Jordan Liggitt
bf6f87c637
Revert "Merge pull request 90942 from ii/ii-create-pod%2Bpodstatus-resource-lifecycle-test"
2020-07-24 00:24:27 -04:00
Kubernetes Prow Robot
8a3fc2d7e2
Merge pull request #92589 from ii/create-deployment-resource-lifecycle-test
...
Create AppsV1Deployment resource lifecycle test - +6 endpoint coverage
2020-07-23 19:30:23 -07:00
Jordan Liggitt
c778008420
Shorten watch restart test, run in parallel
2020-07-23 17:17:29 -04:00
Kubernetes Prow Robot
8e5c02255c
Merge pull request #90942 from ii/ii-create-pod%2Bpodstatus-resource-lifecycle-test
...
Create Pod+PodStatus resource lifecycle test - +4 endpoint coverage
2020-07-23 13:54:23 -07:00
Jordan Liggitt
acce8871d6
Add subjectAltName to test serving certificates
2020-07-23 15:57:44 -04:00
Kubernetes Prow Robot
1ed2cf1895
Merge pull request #93160 from logicalhan/triage-instrumentation
...
auto triage sig-instrumentation tagged PRs
2020-07-23 11:19:26 -07:00
Kubernetes Prow Robot
04ecdb9eb6
Merge pull request #93332 from hasheddan/wait-for-owned
...
Wait for resources owned by pod to be cleaned up in sig-storage tests
2020-07-23 08:59:40 -07:00
Artyom Lukianov
ab7acb9ee3
e2e node: fix kubelet service restart failure
...
Under e2e tests possible the situation when we restart the kubelet
number of times in the short time frame. When it happens the systemd
can fail the service restart with the `Failed with result 'start-limit-hit'.`
error.
To avoid this situation the code will reset the kubelet service start failures
on each call to the kubelet restart command.
Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2020-07-23 10:56:32 +03:00
Kubernetes Prow Robot
09e2230951
Merge pull request #92891 from ii/update-and-improve-endpoint-resource-lifecycle-test
...
Update and improve Endpoints resource lifecycle test
2020-07-23 00:31:40 -07:00
Kubernetes Prow Robot
77d5f10b82
Merge pull request #93340 from liggitt/test-name
...
Stabilize integration test names
2020-07-22 23:09:39 -07:00
Jordan Liggitt
6ef0fa6244
Delete pod collection immediately
2020-07-23 00:01:46 -04:00
Caleb Woodbine
642bed3c6c
Update test images to use conformance images
2020-07-23 14:13:40 +12:00
Caleb Woodbine
ee29022ac8
Update test images to use conformance images
2020-07-23 14:07:01 +12:00
hasheddan
efe3747c22
Wait for resources owned by pod to be cleaned up in ephemeral volume tests
...
sig-storage tests that delete pods need to wait for owned resources to
also be cleaned up before returning in the case that resources such as
ephemeral inline volumes are being used. This was previously implemented
by modifying the pod delete call of the e2e framework, which negatively
impacted other tests. This was reverted and now the logic has been moved
to StopPodAndDependents, which is local to the sig-storage tests.
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2020-07-22 17:52:19 -05:00
Kubernetes Prow Robot
2fbe301b2d
Merge pull request #93296 from chelseychen/event-e2e-conformance
...
Add conformance test for events Update operation
2020-07-22 13:51:41 -07:00
Caleb Woodbine
c9acca7c48
Update and improve Endpoints resource lifecycle test
2020-07-23 08:42:07 +12:00
Stephen Augustus
99dd7570eb
[VDF] Remove references to gcr.io/google-containers
...
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-07-22 16:10:12 -04:00
Stephen Augustus
90c223fa5c
[VDF] Remove references to us.gcr.io/k8s-artifacts-prod
...
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-07-22 16:08:30 -04:00
Jordan Liggitt
8f9be8af13
Stabilize integration test names
2020-07-22 11:58:54 -04:00
Kubernetes Prow Robot
c2b7aa0353
Merge pull request #93000 from hakman/node-os-arch
...
Skip arch dependent kubectl test for non AMD64 nodes
2020-07-22 04:28:05 -07:00
Antonio Ojea
4bbf2c4a3e
e2e dns test autodetect the IP family
...
instead of using tag to discriminate the e2e test, we can use
the e2e framework IPFamily method.
2020-07-22 12:23:21 +02:00
Caleb Woodbine
080ad0990a
Add logs for Pod observations while watching for a running state
2020-07-22 16:44:18 +12:00
Caleb Woodbine
a0861aeb52
Fix fmt and staticcheck
2020-07-22 15:23:56 +12:00
Kubernetes Prow Robot
b0140227fb
Merge pull request #93306 from bart0sh/PR0092-revert-foreground-deletion
...
Revert "e2epod: use foreground deletion"
2020-07-21 19:52:43 -07:00
Kubernetes Prow Robot
32438cf269
Merge pull request #93156 from logicalhan/triage-api-machinery
...
automatically assign triage labels to api-machinery tagged PRs
2020-07-21 19:52:34 -07:00
Caleb Woodbine
d26cb7150a
Remove created check
2020-07-22 13:55:29 +12:00
Caleb Woodbine
84de375921
Fix error message
2020-07-22 11:17:37 +12:00
Caleb Woodbine
d60a57ad73
Update watches to use watchtools.Until, namespace var name
2020-07-22 10:33:55 +12:00
Caleb Woodbine
bd34e1c445
Fix label patch and check
2020-07-22 10:07:18 +12:00
Caleb Woodbine
11492f7b91
Add check for Modified after patch; Update checks for scale
2020-07-22 09:57:11 +12:00
Caleb Woodbine
fc8e24c686
Add watchtools.Until for fetching watch events; Remove plain watch
2020-07-22 09:29:09 +12:00
Caleb Woodbine
9c2330db4c
Revert ginkgoRecover
2020-07-22 08:48:28 +12:00
Ed Bartosh
6a40cc90e9
Revert "e2epod: use foreground deletion"
...
This reverts commit af91e76d
"e2epod: use foreground deletion"
and fixes node-kubelet-conformance tests.
2020-07-21 22:40:31 +03:00
Chelsey Chen
5b1bdd8e38
Add comformance test for event Update
2020-07-21 14:53:26 -04:00
Kubernetes Prow Robot
a1a2f8c5f8
Merge pull request #93225 from hasheddan/storage-panic
...
Return error instead of panic if container index outside bounds
2020-07-21 09:15:15 -07:00
Kubernetes Prow Robot
adabcc31f0
Merge pull request #93212 from liggitt/gcepd-delete
...
Deflake GCEPD namespace deletion test
2020-07-21 01:55:28 -07:00
Stephen Heywood
86ba88d52f
Promote: Discovery PreferredVersion test
2020-07-21 00:30:25 +00:00
Kubernetes Prow Robot
5feab0aa1e
Merge pull request #93207 from hasheddan/nvidia-gpu-installer
...
Use local daemonset manifest for installing Nvidia drivers
2020-07-20 09:02:51 -07:00
Kubernetes Prow Robot
c237804533
Merge pull request #92755 from chelseychen/event-e2e-conformance
...
Promote Event CRUD tests to conformance
2020-07-20 05:50:51 -07:00
Caleb Woodbine
125e839d77
Fix formatting
2020-07-20 13:16:35 +12:00
Caleb Woodbine
05163497bc
Fix bazel build
2020-07-20 11:15:57 +12:00
Caleb Woodbine
b38d7f25fe
Remove watch tooling
2020-07-20 11:00:37 +12:00