Commit Graph

382 Commits

Author SHA1 Message Date
draveness
d3158b2c71 feat: use framework.ExpectNotEqual in e2e test 2019-07-10 21:36:26 +08:00
toyoda
6ce0d547e5 add failedJobsHistoryLimit to successfulJobsHistoryLimit test 2019-07-10 09:17:38 +09:00
toyoda
b4ccb62c39 add e2e test for cronjob failedJobsHistoryLimit 2019-07-10 09:10:58 +09:00
Kubernetes Prow Robot
2d1ee3db83 Merge pull request #79864 from draveness/feature/use-framework-expect-equal-instead
feat: use framework.ExpectEqual instead of should
2019-07-09 13:47:03 -07:00
Kubernetes Prow Robot
2cfd4a5eb9 Merge pull request #79168 from tnozicka/fix-sigapps-owners
Update Sig-Apps OWNERS to aliases in places that were missed in #76669
2019-07-08 17:30:01 -07:00
draveness
0ec95afb76 feat: use framework.ExpectEqual instead of should 2019-07-07 21:07:48 +08:00
tanshanshan
2c130b236c Use ExpectEqual under apps 2019-07-04 08:43:42 +08:00
Kubernetes Prow Robot
ce2836831f Merge pull request #76315 from globervinodhn/new_e2e_removejobpods
New E2E proposal: Validate that all the pods are removed when the job is deleted
2019-07-01 12:53:21 -07:00
Kubernetes Prow Robot
d1d111496a Merge pull request #79238 from bclau/tests/reduce-to-agnhost-part-3
tests: Replaces images used with agnhost (part 3)
2019-06-28 12:43:19 -07:00
Claudiu Belu
c752ea8134 tests: Replaces images used with agnhost (part 3)
Quite a few images are only used a few times in a few tests. Thus,
the images are being centralized into the agnhost image, reducing
the number of images that have to be pulled and used.

This PR replaces the usage of the following images with agnhost:

- audit-proxy
- crd-conversion-webhook
- entrypoint-tester
- inclusterclient
- iperf
- porter
- serve-hostname
2019-06-26 13:33:55 -07:00
goodluckbot
032dde8754 Refactor statefulset e2e tests 2019-06-25 11:33:58 +08:00
Antonio Ojea
410df752cd Add ipv6 support to [sig-apps] StatefulSet e2e test
Use httpd docker images instead of nginx because they listen
by default both in IPv4 and IPv6
2019-06-23 17:23:28 +02:00
Jordan Liggitt
6ca80760fd Switch test manifests to apps/v1, remove beta workloads calls 2019-06-22 13:58:07 -07:00
Kubernetes Prow Robot
dc8b928136 Merge pull request #79162 from SataQiu/fix-test-20190619
Refactor: replace framework.Failf with e2elog.Failf
2019-06-21 12:17:04 -07:00
Aaron Crickenberger
1d0d98dbc5 add import-alias for k8s.io/api/policy/v1beta1 2019-06-20 11:40:37 -07:00
Aaron Crickenberger
2a8bee4b37 add import-alias for k8s.io/api/extensions/v1beta1 2019-06-20 11:40:21 -07:00
Aaron Crickenberger
0aae740ede add import-alias for k8s.io/api/apps/v1 2019-06-20 11:39:40 -07:00
Tomas Nozicka
d4261ba741 Update Sig-Apps OWNERS in places that were missed in #76669 2019-06-19 15:36:16 +02:00
SataQiu
332be4b1e3 refactor: replace framework.Failf with e2elog.Failf 2019-06-19 17:52:35 +08:00
Jiatong Wang
b1c346c295 Move node related methods to framework/node package
- Add a package "node" under e2e/framework and alias e2enode;
- Rename some functions whose name have redundant string.

Signed-off-by: Jiatong Wang <wangjiatong@vmware.com>
2019-06-17 16:59:07 -07:00
Kubernetes Prow Robot
8f927d8815 Merge pull request #78277 from k-toyoda-pi/change_betrue_equal_for_cronjob_test
Change BeTrue to Equal/BeNumerically in cronjob e2e test
2019-06-17 07:14:11 -07:00
Kubernetes Prow Robot
a5b80f5112 Merge pull request #78805 from spiffxp/slow-tagging
tag some release-blocking tests taking over 5min as [Slow]
2019-06-14 20:46:23 -07:00
Aaron Crickenberger
248756e066 tag some release-blocking tests taking over 5min as [Slow]
I looked at all runs over all jobs run against master or release-1.15,
ignored [Feature:.*] or [Serial] tests, and added [Slow] to any tests
whose 50th percentile duration was over 5 minutes

Misc comments:
- the apimachinery chunking test is the worst offender, at about 15min
- all test cases for all drivers that ran the [Testpattern:.*(xfs)] were
  taking longer than 5 minutes, so I got lucky and this was an easy
  call; not sure how to support some drivers taking too long for some
  test patterns
2019-06-07 17:42:35 -07:00
globervinodhn
86f13ecb5a New E2E to verify pods are deleted after Job deletion 2019-06-06 10:42:48 +05:30
Jorge Alarcon Ochoa
4969a05327 Refactored pod-related functions from framework/util.go
This a refactoring of framework/utils.go into framework/pod.

Signed-off-by: Jorge Alarcon Ochoa <alarcj137@gmail.com>
2019-05-30 09:30:26 -04:00
toyoda
7acb1540a9 Use framework.ExpectError() for e2e/a* 2019-05-24 15:16:02 +09:00
toyoda
749e76351f change BeTrue to Equal or BeNumerically in cronjob e2e test 2019-05-24 13:22:07 +09:00
draveness
95a6376899 feat: use framework.ExpectNoError in e2e apps disruption 2019-05-15 10:10:23 +08:00
David McCormick
5b9e4f1e88 Rebase allow updates to pdbs to latest upstream master 2019-05-14 12:25:22 +01:00
toyoda
4841e5b98c use framework.ExpectNoError() for daemon_set.go and deployment.go in e2e/apps 2019-05-14 08:44:54 +09:00
Kubernetes Prow Robot
389252feae Merge pull request #77709 from danielqsj/test
replace test error checking with more readable way
2019-05-13 13:15:23 -07:00
danielqsj
f3ea5e5c94 replace test error checking with more readable way 2019-05-10 10:15:45 +08:00
draveness
c045046e5b feat: use framework.ExpectNoError instead in e2e test 2019-05-10 09:53:10 +08:00
Kubernetes Prow Robot
524169fe1c Merge pull request #77005 from k-toyoda-pi/e2e_add_check_pod_in_job
[e2e] add pod status check after job completes in job test
2019-05-09 06:20:48 -07:00
hui luo
4d4e4f4056 Modify apimachinery,apps,instrumentation tests to import framework/log
This is part of the transition to using framework/log instead
of the Logf inside the framework package. This will help with
import size/cycles when importing the framework or subpackages
2019-05-08 16:46:39 -07:00
John Schnake
338bc3ce42 Move framework ssh code to new package
The framework/ssh.go code was heavily used throughout the framework
and could be useful elsewhere but reusing those methods requires
importing all of the framework.

Extracting these methods to their own package for reuse.

Only a few methods had to be copied into this package from the
rest of the framework to avoid an import cycle.
2019-05-08 11:00:36 -05:00
toyoda
8afecb8c30 add pod status check after job completes in job e2e test 2019-05-07 11:47:56 +09:00
Kubernetes Prow Robot
f4ce6b6560 Merge pull request #77373 from alejandrox1/framework-deployment-refactor
Refactored framework deployment utils
2019-05-03 19:49:37 -07:00
Jorge Alarcon Ochoa
dc619067d9 Refeactored framework deployment utils
This is the continuation of the refactoring of framework/deployment_utils.go
into framework/deployment.

Signed-off-by: Jorge Alarcon Ochoa <alarcj137@gmail.com>
2019-05-03 18:00:53 -04:00
Kubernetes Prow Robot
217e08d735 Merge pull request #77123 from k-toyoda-pi/use_expect_no_error_e2e_apps_1
use framework.ExpectNoError() for e2e/apps
2019-05-03 12:35:38 -07:00
Kubernetes Prow Robot
2c6597a5d0 Merge pull request #76750 from qingsenLi/k8s190416
remove some unused const in test/e2e
2019-05-01 13:14:33 -07:00
Kubernetes Prow Robot
62219e1f66 Merge pull request #76978 from alejandrox1/framework-deployment-refactor
Refeactored framework deployment utils
2019-04-26 10:38:38 -07:00
toyoda
2c098b37e3 use framework.ExpectNoError() for e2e/apps 2019-04-26 19:23:12 +09:00
Jorge Alarcon Ochoa
8200ae6279 Refeactored framework deployment utils
xref: #76206

Signed-off-by: Jorge Alarcon Ochoa <alarcj137@gmail.com>
2019-04-24 19:28:03 -04:00
Kubernetes Prow Robot
4098347433 Merge pull request #76488 from atoato88/fix-golint-e2e-framework-util-go-part2
Fix golint failures of e2e/framework/util.go - part2
2019-04-23 14:02:12 -07:00
Hemant Kumar
6fee8a7727 Skip pvc protection tests if no default SC is found
Other tests that check for default storageclass also
check for cloudprovider such as gce, aws and openstack
and hence are already skipped in bare metal environments.

But this particular test keeps failing because no such check exists.
2019-04-22 14:51:04 -04:00
qingsenLi
23b91b8043 remove some unused const in test/e2e 2019-04-18 22:20:35 +08:00
SataQiu
03180ec2b2 fix golint failures of test/e2e/apps 2019-04-17 19:04:51 +08:00
Akihito INOH
85f21c16ac Fix golint failures of e2e/framework/util.go - part2
This is a part of a series for fixing golint failures for util.go.
- fixes golint failures from line 1395 to line 2353 at original util.go

This fixes golint failures of the following file:
- test/e2e/framework/util.go

This changes following files because of change function name
in above file.
- test/e2e/apps/rc.go
- test/e2e/apps/replica_set.go
2019-04-17 19:00:12 +09:00
Kubernetes Prow Robot
9c61764a07 Merge pull request #74892 from globervinodhn/rc_exceed_quota_promote
Promote exceed quota e2e test for Replication Controller to conformance test
2019-04-12 14:30:08 -07:00