Commit Graph

4535 Commits (6b226cbfd9567717f7e14ff7a9dbb27b514465e0)

Author SHA1 Message Date
derekwaynecarr 6218693e8a Mark ThirdParty e2e tests flaky 2016-09-08 13:06:10 -04:00
Wojciech Tyczynski e750454c31 Fix allow for non-ready nodes in e2e framework 2016-09-08 14:22:08 +02:00
Kubernetes Submit Queue 7a4d81ea43 Merge pull request #31271 from deads2k/self-sar
Automatic merge from submit-queue

add selfsubjectaccessreview API

Exposes the REST API for self subject access reviews.  This allows a user to see whether or not they can perform a particular action.

@kubernetes/sig-auth
2016-09-08 01:29:48 -07:00
Matt Liggett 108a15db38 Add eviction e2e tests.
Also refactor the test a bit.
2016-09-07 17:38:38 -07:00
Kubernetes Submit Queue ddcbdcb8c8 Merge pull request #31535 from aveshagarwal/master-e2e-downward-api-issues
Automatic merge from submit-queue

Fix downward api tests to output node allocatable not node capacity

@kubernetes/rh-cluster-infra @derekwaynecarr
2016-09-07 16:25:19 -07:00
Kubernetes Submit Queue dec80da258 Merge pull request #32233 from jlowdermilk/scheduledjob-e2e
Automatic merge from submit-queue

tag scheduledjob e2e as [Feature:ScheduledJob]

[Feature:...] tag is recognized by most e2e suites and will prevent test from being run in suites where it should not. This pattern is used by other alpha feature tests. This change will allow #31957 to be reapplied without breaking gke tests.

Side note, I'm collecting all alpha feature e2e tests to run in the [kubernetes-e2e-gce-alpha](http://kubekins.dls.corp.google.com/job/kubernetes-e2e-gce-alpha-features/) suite. This will be run there, alongside [Feature:ExternalTrafficLocalOnly] and [Feature:PetSet].

cc @timstclair @erictune
2016-09-07 16:25:14 -07:00
Kubernetes Submit Queue 0bd0d5571a Merge pull request #31540 from mtaufen/DockerOrDieRename
Automatic merge from submit-queue

Rename ConnectToDockerOrDie to CreateDockerClientOrDie

This function does not actually attempt to connect to the docker daemon, it just creates a client object that can be used to do so later. The old name was confusing, as it implied that a failure to touch the docker daemon could cause program termination (rather than just a failure to create the client).
2016-09-07 15:27:41 -07:00
Jeff Lowdermilk 111ac4579e tag scheduledjob e2e as [Feature:ScheduledJob]
[Feature:...] tag is recognized by most e2e suites and will prevent
test from being run in suites where it should not. This pattern is
used by other alpha feature tests.
2016-09-07 14:46:37 -07:00
Kubernetes Submit Queue c224efa86b Merge pull request #32017 from mikedanese/readd-test
Automatic merge from submit-queue

renable hazelcast example test
2016-09-07 13:31:11 -07:00
Kubernetes Submit Queue d9ea088765 Merge pull request #32196 from piosz/rescheduler-e2e-gke
Automatic merge from submit-queue

Enabled Rescheduler e2e for gke
2016-09-07 12:49:51 -07:00
Kubernetes Submit Queue 4d2a4d883b Merge pull request #32188 from mfanjie/federated-ingress
Automatic merge from submit-queue

federated ingress e2e - retry reads properly

@quinton-hoole I made this rookie mistake when I wrote the code and missed your comment in last PR.

- Corrected the reference of constant test/e2e/federated-ingress.go
- Move federation ingress query call to wait. PollImmediate()
- set private method to non-capital
2016-09-07 10:54:02 -07:00
Mike Danese e67dae5130 Revert "Merge pull request #31930 from Kashomon/hazelcast"
This reverts commit 26a0da8fee, reversing
changes made to c9fda51d77.
2016-09-07 10:22:30 -07:00
Kubernetes Submit Queue a82c716e9d Merge pull request #32143 from jfrazelle/fix-upgrade
Automatic merge from submit-queue

test/e2e: fix upgrade test to not run describe cross version

<!--  Thanks for sending a pull request!  Here are some tips for you:
1. If this is your first time, read our contributor guidelines https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md and developer guide https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md
2. If you want *faster* PR reviews, read how: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/faster_reviews.md
3. Follow the instructions for writing a release note: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes
-->

**What this PR does / why we need it**:
Better fix for #31642 replaces #31987

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #

**Special notes for your reviewer**:

**Release note**:
<!--  Steps to write your release note:
1. Use the release-note-* labels to set the release note state (if you have access) 
2. Enter your extended release note in the below block; leaving it blank means using the PR title as the release note. If no release note is required, just write `NONE`. 
-->
```release-note
NONE
```
2016-09-07 08:49:46 -07:00
deads2k ec284849e1 skip dynamic provisision test on gke until gke enables it 2016-09-07 09:09:27 -04:00
Piotr Szczesniak 6653610109 Enabled Rescheduler e2e for gke 2016-09-07 14:17:16 +02:00
mfanjie d3b00dc0b1 fix the left comments for federated ingress e2e 2016-09-07 16:41:55 +08:00
Kubernetes Submit Queue dc529a03b1 Merge pull request #32118 from gmarek/empty
Automatic merge from submit-queue

Add an empty test that does nothing

Useful for checking if cluster were set up correctly.
2016-09-07 01:19:02 -07:00
Kubernetes Submit Queue 93f7cbdc06 Merge pull request #32105 from madhusudancs/fed-ing-e2e-ns-fix
Automatic merge from submit-queue

Use federated namespace instead of the bootstrap cluster's namespace in Ingress e2e tests.

This should fix #31825.

cc @kubernetes/sig-cluster-federation @quinton-hoole
2016-09-07 00:40:10 -07:00
Kubernetes Submit Queue 54db8fa2e3 Merge pull request #31886 from deads2k/move-storage-class
Automatic merge from submit-queue

Move StorageClass to a storage group

We discussed the pros and cons in sig-api-machinery yesterday.  Choosing a particular group name means that clients (including our internal code) require less work and re-swizzling to handle promotions between versions.  Even if you choose a group you end up not liking, the amount of work remains the same as the incubator work case: you move the affected kind, resource, and storage.

This moves the `StorageClass` type to the `storage.k8s.io` group (named for consistency with authentication, authorization, rbac, and imagepolicy).  There are two commits, one for manaul changes and one for generated code.
2016-09-06 23:22:02 -07:00
Kubernetes Submit Queue 58af607f56 Merge pull request #31833 from lavalamp/fixmsg
Automatic merge from submit-queue

emit more info on failure

help debug #31810
2016-09-06 21:26:08 -07:00
kshafiee ff2326a8aa e2e tests for Federated Secrets 2016-09-06 20:52:40 +00:00
Kubernetes Submit Queue 5b7f75b314 Merge pull request #32004 from janetkuo/overlapping-deployment-e2e-stop-flake
Automatic merge from submit-queue

Fix the race check after an overlapping deployment is deleted

<!--  Thanks for sending a pull request!  Here are some tips for you:
1. If this is your first time, read our contributor guidelines https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md and developer guide https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md
2. If you want *faster* PR reviews, read how: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/faster_reviews.md
3. Follow the instructions for writing a release note: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes
-->

**What this PR does / why we need it**: When deleting deployments in the "overlapping deployment" e2e test, we check that the deployment's RSes & Pods are deleted as well. However, other RSes and Pods (that matches this deployment's selector) may be created by overlapping deployments right after this one is deleted. So when we check that, we should ignore those created by overlapping deployments. 

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #31502

**Special notes for your reviewer**:

**Release note**:
<!--  Steps to write your release note:
1. Use the release-note-* labels to set the release note state (if you have access) 
2. Enter your extended release note in the below block; leaving it blank means using the PR title as the release note. If no release note is required, just write `NONE`. 
-->
```release-note
NONE
```

cc @kubernetes/deployment @pwittrock @kargakis
2016-09-06 13:06:08 -07:00
Jess Frazelle 0a384e32ed
test/e2e: fix upgrade test to not run describe cross version
Signed-off-by: Jess Frazelle <me@jessfraz.com>
2016-09-06 11:40:15 -07:00
Minhan Xia 1e88c99e3e bump cni 2016-09-06 10:48:36 -07:00
Janet Kuo 1ece902d9f Fix the race check after an overlapping deployment is deleted 2016-09-06 10:30:05 -07:00
Kubernetes Submit Queue 2a7d0df30d Merge pull request #30727 from asalkeld/iptables-caps
Automatic merge from submit-queue

Clean up IPTables caps i.e.: sed -i "s/Iptables/IPTables/g"

Fixes #30651
2016-09-06 09:01:27 -07:00
deads2k cd5b6cc491 move StorageClass to its own group 2016-09-06 08:41:17 -04:00
Kubernetes Submit Queue 008fc22d31 Merge pull request #32108 from wojtek-t/allow_for_not_ready_nodes
Automatic merge from submit-queue

Allow for not-ready nodes in e2e test

Ref #31215
2016-09-06 04:41:16 -07:00
gmarek 464ba22151 Add an empty test that does nothing 2016-09-06 13:31:31 +02:00
Wojciech Tyczynski 4b29d006b0 Allow for not-ready nodes in e2e test 2016-09-06 12:14:45 +02:00
Wojciech Tyczynski 8f0006e8f8 Increase timeout for pods GC in tests 2016-09-06 12:02:54 +02:00
Kubernetes Submit Queue 631fda19a1 Merge pull request #31769 from Random-Liu/wrong-log-permission-bit
Automatic merge from submit-queue

Node E2E: Fix wrong permission bit for log file.

When creating log for logs from journald, we use `0755` which is weird to me.
This PR changes it to `0666`.
2016-09-06 01:24:12 -07:00
Madhusudan.C.S b789e22618 Use federated namespace instead of the bootstrap cluster's namespace in Ingress e2e tests. 2016-09-06 01:05:09 -07:00
Kubernetes Submit Queue 02dd178039 Merge pull request #30739 from MrHohn/e2e-sourceip
Automatic merge from submit-queue

Add e2e test for Source IP preservation (pod to service cluster IP)

Working on #27134.

This PR added the e2e test for source ip preservation (pod to service cluster IP) in service.go. Test scenario described as below:
- Pick two different nodes in cluster.
- Create a clusterIP type service.
- Create an echo server, which echoes back client IP, to be part of the service.
- Create a client on another node. Hit the server through service cluster IP.
- Verify the source IP.

@girishkalele @freehan
2016-09-05 12:23:25 -07:00
Kubernetes Submit Queue 8f54ab1766 Merge pull request #31451 from jfrazelle/27532-fix-kubectl-on-delete-flake
Automatic merge from submit-queue

test/e2e: fix flake for on delete on namespace

<!--  Thanks for sending a pull request!  Here are some tips for you:
1. If this is your first time, read our contributor guidelines https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md and developer guide https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md
2. If you want *faster* PR reviews, read how: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/faster_reviews.md
3. Follow the instructions for writing a release note: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes
-->

**What this PR does / why we need it**:

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #

**Special notes for your reviewer**:

**Release note**:
<!--  Steps to write your release note:
1. Use the release-note-* labels to set the release note state (if you have access) 
2. Enter your extended release note in the below block; leaving it blank means using the PR title as the release note. If no release note is required, just write `NONE`. 
-->
```release-note
NONE
```

Fixes #27532
2016-09-05 11:47:09 -07:00
Kubernetes Submit Queue 6d812b66aa Merge pull request #31972 from jszczepkowski/hpa-test-oom
Automatic merge from submit-queue

Bumped memory limit for resource consumer. Fixes #31591.

Bumped memory limit for resource consumer from 100 MB to 200 MB, increased request sizes so that the number of consumers will be smaller. Fixes #31591.
2016-09-05 10:33:22 -07:00
gmarek a82e54262d Add a log to help debug #31981 2016-09-05 15:05:49 +02:00
Wojciech Tyczynski 8c1b80c6d5 Fix density test 2016-09-05 13:53:43 +02:00
Kubernetes Submit Queue 921ab5070f Merge pull request #32062 from gmarek/gc_timeout
Automatic merge from submit-queue

Increase GC timeout for RCs bigger than 40k

cc @caesarxuchao
2016-09-05 03:45:30 -07:00
gmarek d990720c12 Increase GC timeout for RCs bigger than 40k 2016-09-05 12:08:04 +02:00
Kubernetes Submit Queue 2352464853 Merge pull request #32063 from gmarek/load
Automatic merge from submit-queue

Add few more logs to the Load test

Useful to debug enormous-cluster failures.
2016-09-05 02:22:56 -07:00
gmarek 41e8f10d78 Add few more logs to the Load test 2016-09-05 10:34:30 +02:00
gmarek 4051a2f8ea Increase the threshold for apiserver CPU for 500 node kubemark 2016-09-05 09:48:25 +02:00
Jeff Lowdermilk cb487307dc Revert "Check server version when running scheduled job e2e tests" 2016-09-03 20:05:45 -07:00
Kubernetes Submit Queue bbc6f45e03 Merge pull request #31957 from soltysh/sj_e2e_gke
Automatic merge from submit-queue

Check server version when running scheduled job e2e tests

@janetkuo this is the promised followup to #30575 which is checking minimal server version when running ScheduledJob e2e's.
2016-09-03 09:11:10 -07:00
Kubernetes Submit Queue 3d80709dc5 Merge pull request #31904 from jianhuiz/federation-replicaset-controller-e2e
Automatic merge from submit-queue

update e2e test for federation replicaset controlelr

e2e test to verify replicases synced to underlying clusters.

@quinton-hoole @nikhiljindal @deepak-vij @kshafiee @mwielgus
2016-09-03 00:08:10 -07:00
Kubernetes Submit Queue 4414882543 Merge pull request #31895 from ymqytw/better_error_message
Automatic merge from submit-queue

Return detailed error message for better debugging.

Try to provide more details error message for debugging when this flake #31561 happens again.
@pwittrock
2016-09-02 21:26:59 -07:00
Kubernetes Submit Queue c4a2baa29a Merge pull request #31532 from wongma7/pv-gid-e2e-on
Automatic merge from submit-queue

Bump nfs server image tag in pv e2e

Image modified in https://github.com/kubernetes/kubernetes/pull/30084 has been pushed, so we can bump this back up to enable the part where pod writes to server with restrictive permissions
2016-09-02 20:47:41 -07:00
Kubernetes Submit Queue 4968f1006e Merge pull request #32015 from smarterclayton/add_more_debugging
Automatic merge from submit-queue

Print out some extra details from the namespace deletion error

Adds debugging for #32009.  Only adds test code.
2016-09-02 20:09:54 -07:00
Kubernetes Submit Queue ac7fbf502a Merge pull request #31925 from nikhiljindal/freshDebugNs
Automatic merge from submit-queue

Adding namespaces/finalizer subresource to federation apiserver

Fixes https://github.com/kubernetes/kubernetes/issues/31077

cc @kubernetes/sig-cluster-federation @mwielgus 


Verified manually that I can delete federation namespaces now.
Will update federation-namespace e2e test to verify that namespace is deleted fine
2016-09-02 19:30:25 -07:00