gmarek
55880e6b4b
Move metrics_grabbert to test/e2e
2017-07-07 13:13:44 +02:00
Chao Xu
60604f8818
run hack/update-all
2017-06-22 11:31:03 -07:00
Chao Xu
f4989a45a5
run root-rewrite-v1-..., compile
2017-06-22 10:25:57 -07:00
Mike Danese
eb32d6b5d3
double ns deletion timeout until we figure out what is causing slowness
2017-06-13 19:05:04 -07:00
Andy Goldstein
41345418cb
Support grabbing test suite metrics
...
Update the "interesting" controller-manager metrics to match the
current names for the garbage collector, and add namespace controller
metrics to the list.
2017-05-26 11:21:27 -04:00
Dan Winship
35bb7825fe
Remove one slightly-broken wait-for-endpoints test util and fix another
2017-05-12 12:31:42 -04:00
gmarek
f68b884a9d
Move rest of performance data gathered by tests to Summaries
2017-05-10 14:50:38 +02:00
Dong Liu
78f929a433
Fix namespace deletion log in e2e test framework.
2017-05-04 10:58:11 +08:00
Michelle Au
e4106e305a
Increase pv test ns deletion timeout to the framework's default.
2017-04-28 15:53:51 -07:00
Shyam Jeedigunta
3eba4ef93e
Disable the kubelet part of metrics collection in kubemark
2017-04-28 13:54:03 +02:00
Kubernetes Submit Queue
a3c4d9d603
Merge pull request #45039 from shyamjvs/report-metrics-grabber-error
...
Automatic merge from submit-queue (batch tested with PRs 42740, 44980, 45039, 41627, 45044)
Log the error (if any) in e2e metrics gathering step
Because why not.
Ref https://github.com/kubernetes/kubernetes/issues/45038
cc @wojtek-t @gmarek
2017-04-27 13:27:04 -07:00
Shyam Jeedigunta
87bfad85b1
Log the error (if any) in e2e metrics gathering step
2017-04-27 18:37:52 +02:00
Shyam Jeedigunta
647a1563dc
Make metrics filenames for e2e tests indicate the test
2017-04-27 13:03:39 +02:00
gmarek
7ad55c8a47
Output some spam to files instead of main log files
2017-04-20 16:13:40 +02:00
gmarek
be987ac247
Allow summaries to be printed out to ReportDir instead of stdout
2017-04-19 16:17:36 +02:00
Maru Newby
6170378764
Configurably skip creation of namespace on e2e setup
2017-04-04 17:42:49 -07:00
Marcin Owsiany
f73dce8fb5
Fix two typos.
2017-03-31 08:57:11 +02:00
Maciej Szulik
6c0cd24865
Drop NewDefultGroupVersionFramework in favor of client automatically handling proper GroupVersions
2017-03-06 12:12:38 +01:00
Janet Kuo
7c89359cc8
Address comments: remove unused resourceVersion in e2e util wait loop; poll pods every 2 seconds
2017-02-08 13:05:11 -08:00
deads2k
c9a008dff3
move util/intstr to apimachinery
2017-01-30 12:46:59 -05:00
deads2k
2734f8f892
move dynamic and discovery clients
2017-01-26 08:37:06 -05:00
shashidharatd
e46169f527
Expose options field in e2e framework structure
2017-01-25 01:39:33 +05:30
Clayton Coleman
469df12038
refactor: move ListOptions references to metav1
2017-01-23 17:52:46 -05:00
deads2k
ee6752ef20
find and replace
2017-01-20 08:04:53 -05:00
deads2k
11e8068d3f
move pkg/fields to apimachinery
2017-01-19 09:50:16 -05:00
shashidharatd
d515eb4c9a
segrageted federation related test code from e2e.framework
2017-01-19 07:56:30 +05:30
Clayton Coleman
9a2a50cda7
refactor: use metav1.ObjectMeta in other types
2017-01-17 16:17:19 -05:00
deads2k
77b4d55982
mechanical
2017-01-16 09:35:12 -05:00
Kubernetes Submit Queue
212234ab3f
Merge pull request #39807 from deads2k/client-02-client-go
...
Automatic merge from submit-queue
run staging client-go update
Chasing to see what real problems we have in staging-client-go.
@sttts you get similar results?
2017-01-13 13:21:19 -08:00
Kubernetes Submit Queue
a6fa5c2bfd
Merge pull request #39814 from deads2k/api-58-multi-register
...
Automatic merge from submit-queue
replace global registry in apimachinery with global registry in k8s.io/kubernetes
We'd like to remove all globals, but our immediate problem is that a shared registry between k8s.io/kubernetes and k8s.io/client-go doesn't work. Since client-go makes a copy, we can actually keep a global registry with other globals in pkg/api for now.
@kubernetes/sig-api-machinery-misc @lavalamp @smarterclayton @sttts
2017-01-13 12:37:02 -08:00
deads2k
633e9d98fc
use apimachinery packages instead of client-go packages
2017-01-13 14:04:54 -05:00
deads2k
f1176d9c5c
mechanical repercussions
2017-01-13 08:27:14 -05:00
NickrenREN
a12dea14e0
fix redundant alias clientset
2017-01-12 10:21:05 +08:00
deads2k
6a4d5cd7cc
start the apimachinery repo
2017-01-11 09:09:48 -05:00
Madhusudan.C.S
48f79cf600
Quote a bash variable, fix a typo and add some additional logging.
2017-01-06 19:17:48 +05:30
Madhusudan.C.S
5a7644c502
[Federation][init-11] Switch federation e2e tests to use the new federation control plane bootstrap via the kubefed init
command.
2016-12-16 11:22:44 +05:30
Chao Xu
6709b7ada2
run hack/update-codegen.sh
...
run hack/verify-gofmt.sh
update bazel
2016-12-14 12:39:49 -08:00
Chao Xu
c81057be2c
move federation_release_1_5 to federation_clientset
2016-12-14 12:39:49 -08:00
Chao Xu
03d8820edc
rename /release_1_5 to /clientset
2016-12-14 12:39:48 -08:00
Kubernetes Submit Queue
52e1b36961
Merge pull request #38462 from gmarek/print
...
Automatic merge from submit-queue
Make resource gatherer print the data about resource usage in case of…
2016-12-09 06:07:57 -08:00
gmarek
3361576f3b
Make resource gatherer print the data about resource usage in case of failure
2016-12-09 11:55:40 +01:00
Wojciech Tyczynski
a9ec31209e
GetOptions - fix tests
2016-12-09 09:42:01 +01:00
Sebastain Jug
98864265a2
New ns param for NewClusterVerification
2016-12-05 16:27:07 -05:00
Clayton Coleman
35a6bfbcee
generated: refactor
2016-11-23 22:30:47 -06:00
Chao Xu
a55c71db4d
test/e2e
2016-11-23 15:53:09 -08:00
m1093782566
0b62cc7f54
fix e2e delete namespace bug
2016-11-03 21:19:08 +08:00
nikhiljindal
f955d556f8
Adding cascading deletion support to federated namespaces
2016-10-26 16:54:12 -07:00
Jan Chaloupka
4fde09d308
Replace client with clientset in code
2016-10-23 22:00:35 +02:00
gmarek
f08f751831
Use clientset in GetReadySchedulableNodesOrDie
2016-10-19 15:55:39 +02:00
Chao Xu
923757f3e0
rewrite client-go import path in the main repository
...
convert e2e tests of client-go to use version options
2016-10-17 15:35:19 -07:00
gmarek
7681a1bdff
Move RunRC-like functions to test/utils
2016-10-12 15:06:56 +02:00
gmarek
1aff115f44
Make logging function injectable in RCConfig
2016-10-11 16:46:33 +02:00
Kubernetes Submit Queue
3be8e3e44b
Merge pull request #33981 from freehan/e2e-deletens-on-failure
...
Automatic merge from submit-queue
add delete-namespace-on-failure flag
I have been doing this for a while.
Setting `--delete-namespace=false --clean-start=true` only works if you have only one e2e test running in a loop.
This PR lets someone to set `delete-namespace-on-failure=false` and run multiple tests in parallel and preserve the crime scene. It makes it easier to reproduce failures.
Let me know if this is worth it or there are some other tricks I am not aware.
2016-10-07 04:34:27 -07:00
nikhiljindal
d96ad8d570
Delete federation namespace after the test completes
2016-10-06 17:38:34 -07:00
Kubernetes Submit Queue
092b2cc081
Merge pull request #31994 from caesarxuchao/client-gen-versioned-options
...
Automatic merge from submit-queue
[Client-gen] Let versioned client use versioned options
i.e., use v1.ListOptions, v1.DeleteOptions when possible.
Remove the extension/v1beta1.ListOptions, because it's exactly the same as v1.ListOptions, and is not referred throughout the code base. After its removal, I register v1.ListOptions during extensions/v1beta1 scheme registration.
First three commits are manual changes.
Fix #27753
cc @lavalamp
2016-10-04 22:16:40 -07:00
Chao Xu
75cc05de82
manual changes to let client-gen use versioned options
2016-10-04 20:39:29 -07:00
Minhan Xia
47ccd15b1d
add delete-namespace-on-failure flag
2016-10-03 17:14:51 -07:00
Jing Xu
871a15a884
Add a check for file size if the reading content returns empty
...
In order to debug the flaky tests for writing/reading files via
contains, this PR adds a check for file size if reading returns empty
content.
2016-10-03 15:56:51 -07:00
deads2k
48ac4d549d
change e2e scale to avoid adapter
2016-09-26 07:58:01 -04:00
deads2k
c22f076561
remove almost all usages of clientadapter
2016-09-26 07:53:03 -04:00
Kubernetes Submit Queue
071927a59d
Merge pull request #32549 from smarterclayton/gc_non_kube_legacy
...
Automatic merge from submit-queue
Allow garbage collection to work against different API prefixes
The GC needs to build clients based only on Resource or Kind. Hoist the
restmapper out of the controller and the clientpool, support a new
ClientForGroupVersionKind and ClientForGroupVersionResource, and use the
appropriate one in both places.
Allows OpenShift to use the GC
2016-09-23 14:06:35 -07:00
Kubernetes Submit Queue
1ef86aa8ab
Merge pull request #32906 from caesarxuchao/staging-1.5
...
Automatic merge from submit-queue
Staging 1.5 client
Created the 1.5 folder and remove the 1.4 folder in the staging area in the master branch.
Content of kubernetes/client-go/1.4 will be pulled from the kubernetes/kubernetes 1.4 branch (https://github.com/kubernetes/contrib/pull/1719 )
2016-09-22 19:55:01 -07:00
Clayton Coleman
97c35fcc67
Allow garbage collection to work against different API prefixes
...
The GC needs to build clients based only on Resource or Kind. Hoist the
restmapper out of the controller and the clientpool, support a new
ClientForGroupVersionKind and ClientForGroupVersionResource, and use the
appropriate one in both places.
2016-09-22 15:00:58 -04:00
Chao Xu
a4e62297d6
fix tests
2016-09-21 14:44:39 -07:00
nikhiljindal
bbb27cde10
Dumping federation events if federation test failed
2016-09-20 23:56:23 -07:00
Maciej Szulik
f0b97b8ffa
Add kubectl run ScheduledJob e2e test
2016-09-14 14:20:56 +02:00
Kubernetes Submit Queue
a44d2f8009
Merge pull request #32243 from caesarxuchao/generate-1-5-clientset
...
Automatic merge from submit-queue
Generate 1 5 clientset
Generate the 1.5 clientset. Stop updating 1.4 clientset. Remove 1.2 clientset.
@nikhiljindal @lavalamp
I will rebase #31994 atop of this one.
2016-09-12 23:04:50 -07:00
Chao Xu
cbbf319be6
convert e2e tests
2016-09-08 16:03:07 -07:00
Jess Frazelle
6f045ff415
test/e2e: up the timeout on AllNodesReady
...
Signed-off-by: Jess Frazelle <me@jessfraz.com>
2016-09-06 11:50:33 -07:00
Clayton Coleman
e3b0c35ca2
Print out some extra details from the namespace deletion error
2016-09-02 19:00:54 -04:00
derekwaynecarr
83cc808ffb
Fix duplicate namespace deletion errors, improve namespace deletion error output
2016-08-31 13:32:22 -04:00
nikhiljindal
db7af6c0d7
Fixing/updating e2e tests
2016-08-22 21:49:34 -07:00
Kubernetes Submit Queue
65233e4bf2
Merge pull request #30575 from soltysh/scheduledjobs_e2e
...
Automatic merge from submit-queue
Scheduledjobs e2e
@janetkuo resubmitted e2e for SJ, I've updated all scripts to consume `KUBE_RUNTIME_CONFIG` properly in 2nd commit, ptal
2016-08-19 23:42:32 -07:00
mfanjie
a1bed2723e
address review comments, and fix panic in ingress e2e
2016-08-19 09:53:38 +08:00
Maciej Szulik
578730e26e
Allow setting GroupVersion in e2e tests
2016-08-13 19:06:53 +02:00
Girish Kalele
f64c052858
Revert "Scheduledjob e2e"
2016-08-12 16:12:19 -07:00
Kubernetes Submit Queue
ac1f8bc665
Merge pull request #26027 from soltysh/scheduledjob_e2e
...
Automatic merge from submit-queue
Scheduledjob e2e
@erictune last element of the scheduledjob puzzle. I think we'll iterate on this once we have all the puzzles in place. This is one of those things that will be allowed to merge after code freeze.
```release-note
* Introducing ScheduledJobs as described in [the proposal](https://github.com/kubernetes/kubernetes/blob/master/docs/proposals/scheduledjob.md ) as part of `batch/v2alpha1` version (experimental feature).
```
[]()
2016-08-12 13:27:32 -07:00
Maciej Szulik
be928af9b3
Allow setting GroupVersion in e2e tests
2016-08-11 13:06:18 +02:00
Madhusudan.C.S
a91182ae3c
Remove unversioned federation client, clientset and versioned release_1_3 clientset and all their accesses in e2e tests. Switch everything to federation release_1_4 external client.
2016-08-10 13:53:43 -07:00
Chao Xu
51c0271e0a
added a e2e test that uses the staged client; made necessary changes to gcp auth plugin to pass the gke tests
2016-08-09 14:07:54 -07:00
Kubernetes Submit Queue
1cd07a276c
Merge pull request #29138 from kshafiee/pr-27789
...
Automatic merge from submit-queue
federation: Adding secret API
Adding secret API to federation-apiserver and updating the federation client to include secrets
2016-08-04 18:11:23 -07:00
kshafiee
262ae3d021
Adding secrets to federation-apiserver & clientset, adding e2e tests
2016-08-03 02:43:48 +00:00
Random-Liu
5c7ac701d3
Change TestContainerOutput to use the framework pod client.
2016-08-02 10:26:41 -07:00
Random-Liu
cdb1a039c1
Change LoadConfig to generate restclient config for node e2e test
2016-07-29 18:29:43 -07:00
Maciej Szulik
17788bb1e0
Rework pod waiting mechanism in e2e tests to accept pod and watch based
...
on its ResourceVersion to make sure we catch all the events.
2016-07-20 15:21:50 +02:00
Antoine Pelisse
321c410308
Revert "Switched watches in tests require ResourceVersion to be passed"
2016-07-19 13:28:57 -07:00
k8s-merge-robot
63bb2810d2
Merge pull request #28212 from soltysh/wait_pod
...
Automatic merge from submit-queue
Switched watches in tests require ResourceVersion to be passed
For testing the Watches are not sufficient in that it might miss the event of transitioning a Pod from one state to another which might happen before we start Watching events. To remedy this, I'm proposing to switch to Gets to always read the actual state of a Pod.
@smarterclayton this fixes https://github.com/openshift/origin/issues/9192 and hopefully all `gave up waiting for pod...` flakes
[]()
2016-07-19 11:28:23 -07:00
k8s-merge-robot
be8abdabf8
Merge pull request #27157 from soltysh/scheduledjob_test_2
...
Automatic merge from submit-queue
Scheduledjob test cont.
This continuation of #25737 .
@erictune @caesarxuchao ptal
[]()
2016-07-19 02:52:19 -07:00
Random-Liu
e40e82bd5c
Make it possible to share test between e2e and node e2e,
...
and make container probing test shared to validate.
2016-07-18 14:05:08 -07:00
Maciej Szulik
647124bf5e
ScheduledJob client and storage tests
2016-07-18 21:01:21 +02:00
Maciej Szulik
83297a0617
Rework pod waiting mechanism in e2e tests to accept pod and watch based
...
on its ResourceVersion to make sure we catch all the events.
2016-07-18 12:06:36 +02:00
Quinton Hoole
b3c7c49098
Print kube-dns pod logs on federation e2e test failure.
2016-07-01 11:23:29 -07:00
David McMahon
ef0c9f0c5b
Remove "All rights reserved" from all the headers.
2016-06-29 17:47:36 -07:00
nikhiljindal
9026195614
Updating the code to fix the context name before using it as secret and cluster names
2016-06-20 14:50:28 -07:00
k8s-merge-robot
82ab80cb57
Merge pull request #27265 from gmarek/grabber-test
...
Automatic merge from submit-queue
Remove known metrics list
Fixes #26800
2016-06-17 11:24:17 -07:00
k8s-merge-robot
6a18fbe6af
Merge pull request #27019 from girishkalele/nethealth2saltbase
...
Automatic merge from submit-queue
Add nethealth container to prepull manifest
2016-06-17 02:15:59 -07:00
nikhiljindal
ec6543e1e2
Adding a wait for federation apiserver to be ready in e2e tests
2016-06-16 15:34:45 -07:00
k8s-merge-robot
0856e1dd43
Merge pull request #27390 from mml/fed-service-type
...
Automatic merge from submit-queue
Compare v1.Service to v1.Service.
2016-06-16 12:45:00 -07:00
Girish Kalele
ee7ca66dba
Add nethealth prepull container output to e2e run logs
2016-06-16 11:03:09 -07:00
nikhiljindal
ca22a28fff
Dumping logs of federation pods on test failure
2016-06-15 17:07:05 -07:00
Matt Liggett
4f388d8aad
Compare v1.Service to v1.Service.
2016-06-15 12:49:45 -07:00
nikhiljindal
5a20112ec4
Adding test for cluster controller
2016-06-13 17:29:06 -07:00
nikhiljindal
9b2b763ab0
Fixing references to federated-context and federation-e2e
2016-06-13 16:43:55 -07:00
k8s-merge-robot
6489abe8b4
Merge pull request #26953 from madhusudancs/fed-e2e-framework-clientset
...
Automatic merge from submit-queue
Add clientset support for federation e2e tests.
Only the last commit here needs review.
Depends on #26952 .
cc @colhom @kubernetes/sig-cluster-federation
[]()
2016-06-13 04:53:41 -07:00
gmarek
0adcc8ef1e
Remove known metrics list
2016-06-13 10:37:21 +02:00
Madhusudan.C.S
f7486d52ea
Add clientset support for federation e2e tests.
2016-06-10 00:26:30 -07:00
Yu-Ju Hong
a6a3ed210c
Port the downward api test to the node e2e suite
...
Also extend the framework to allow a custom client config loading function, so
that the node e2e suite can reuse the same framework across tests.
2016-06-03 18:16:24 -07:00
Chao Xu
f32f3966d6
add DirectCodec; use it in release_1_3 clientset
2016-05-31 10:14:24 -07:00
Alex Robinson
c0a91b17ba
Merge pull request #26072 from kubernetes/sttts-fix-e2e-kubectl-exec-log
...
Do not show command twice in e2e kubectl exec
2016-05-27 11:30:20 -07:00
Colin Hom
a092fd2dd4
Federation build and e2e test integration
...
Federation components are now buildable and e2e-testable via e2e.go.
2016-05-25 15:07:27 -07:00
k8s-merge-robot
1fc5687715
Merge pull request #25784 from bprashanth/prepull
...
Automatic merge from submit-queue
Prepull images in e2e
Quick and dirty image puller because the SQ stalled multiple times just *today* on image pull flake (https://github.com/kubernetes/kubernetes/issues/25277 ).
@kubernetes/sig-node @kubernetes/sig-testing wdyt?
2016-05-25 01:50:35 -07:00
Huamin Chen
56719f83b7
when kubectl exec fails to find the container to run a command, it should retry
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2016-05-24 14:18:44 +00:00
Dr. Stefan Schimanski
9e95606cf5
Do not show command twice in e2e kubectl exec
2016-05-24 09:00:40 +02:00
Prashanth B
730555b09b
Add an e2e image puller static pod
2016-05-23 19:17:09 +00:00
Daniel Smith
0bda969cd5
Merge pull request #25261 from jayunit100/readySched
...
Support GetReadySchedulable pods for all node selecting tests.
2016-05-18 17:24:09 -07:00
Jeff Lowdermilk
6a15e0a9c2
e2e: make ForEach fail if filter is empty, fix no-op tests
2016-05-13 14:56:50 -07:00
gmarek
74773827ba
Add an option for resource-gatherer to look only on master node
2016-05-13 09:53:38 +02:00
gmarek
2696e35be3
Add a flag to disable dumpig logs after e2e test failure
2016-05-11 16:53:30 +02:00
Wojciech Tyczynski
cb875e0f8c
Enable using protobufs in e2e tests
2016-05-09 10:57:35 +02:00
Jay Vyas
326b213231
Consolidate node selecting tests to only use Schedulable + Running
...
nodes.
2016-05-06 10:32:12 -04:00
k8s-merge-robot
66730c53c5
Merge pull request #24445 from vishh/framework-node-e2e
...
Automatic merge from submit-queue
Framework support for node e2e.
This should let us port existing e2e tests to the node e2e suite, if the tests are node specific.
2016-05-02 02:17:48 -07:00
Vishnu kannan
fa476b8044
Framework support for node e2e.
...
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-04-29 15:37:35 -07:00
Clayton Coleman
fdb110c859
Fix the rest of the code
2016-04-29 17:12:10 -04:00
k8s-merge-robot
e6295f165a
Merge pull request #22869 from jayunit100/iperf-e2e
...
Automatic merge from submit-queue
[Networking] [E2E] n-to-1 iperf client->server throughput benchmarking
2016-04-29 10:03:29 -07:00
Jay Vyas
95e315e427
E2E Network performance run which uses iperf.
...
generic pod-per-node functionality for testing - 2 node test only
- update framework to decompose pod vs svc creation for composition.
- remove hard coded 2 and pointer to --scale
2016-04-26 18:42:19 -04:00
k8s-merge-robot
e61e396de7
Merge pull request #24291 from gmarek/gatherer
...
Automatic merge from submit-queue
Make resource gatherer work for Kubemark
2016-04-23 02:53:58 -07:00
goltermann
3fa6c6f6d9
Enable vet
2016-04-20 09:48:24 -07:00
Jay Vyas
632a0a81d4
Cluster verification framework supporting declarative definition and iteration against pod spectrum
...
- rebase: ForEach only on Running pods
- add waitFor step in guestbook describe and wrapper
- simplify logs in polling, make panic immediate, give rolluped stats in
the logs.
Improve logging for failure on ForEach
2016-04-18 10:01:10 -04:00
gmarek
0071a8627c
Make resource gatherer work for Kubemark
2016-04-15 20:12:26 +02:00
Chao Xu
64e414fe39
e2e test for 1.3
2016-04-13 16:49:24 -07:00
Tim St. Clair
b0d3f32e88
Update test/e2e for test/e2e/framework refactoring
2016-04-13 10:50:17 -07:00
Tim St. Clair
a55b4f2e77
Move test/e2e framework & utility code to test/e2e/framework
2016-04-13 10:50:17 -07:00