Commit Graph

43 Commits

Author SHA1 Message Date
YuikoTakada
afe3d5f09f Use e2eskipper package in test/e2e/common/ 2020-01-20 07:58:13 +00:00
Kenichi Omichi
5d6faaddf6 Separate e2enetwork from e2e core framework
networking_utils.go is only for network tests and it is nice to
separate it from the core framework for easy maintenance.
2019-10-25 17:58:20 +00:00
Antonio Ojea
d20698a7a8
Debug values when test fail 2019-07-30 00:42:34 +02:00
Antonio Ojea
9c75f4a40a
Add e2e test for downward API with host network
Co-authored-by: BenTheElder <bentheelder@google.com>
2019-07-08 21:50:16 +02:00
Masaki Kimura
701395c392 Remove dot import from e2e test and replace with framework.ExpectNoError 2019-06-14 20:46:11 +00:00
Kenichi Omichi
52885a8ec3 Check conformance test should not call any Skip
Basically conformance test checks the target k8s cluster works all
features which are specified in each test and that should not depend
on any condition.
This adds checking that conformance test should not call any Skip
methods. And it detects the existing conformance test
"creating/deleting custom resource definition objects works"
calls framework.SkipUnlessServerVersionGTE(). So this removes the
Skip also.
2019-05-03 18:37:31 +00:00
Antonio Ojea
d528944a03
Add more strict IPv6 regex
Previous IPv6 regex was too loose, this patchs adds a better and
more strict regex for IPv6 addresses and makes the IPv4 and IPv6
regex availables as constants inside the framework pkg
2019-04-24 23:37:24 +02:00
aojeagarcia
ae4ccc91b2
Add IPv6 support to the Downward e2e API test
Current regex used in the Downward e2e API tests is matching only
IPv4 addresses, consequently those tests fails with IPv6 clusters.

This patch modifies the regex to match ipv4 and ipv6 addresses.

Ref: https://github.com/kubernetes/kubernetes/issues/70248
2019-03-09 20:10:31 +01:00
Kubernetes Prow Robot
37f8ce087b
Merge pull request #70361 from qingsenLi/git181027
fix typo "amd"
2019-01-16 19:44:37 -08:00
Haowei Cai
598d459bc6 Mark configmap and downwardapi tests with sig-node 2018-11-06 17:58:26 -08:00
qingsenLi
3e83f0f08a fix typo and instead of amd 2018-10-30 01:27:50 +08:00
Benjamin Elder
088cf3c37b find & replace version import 2018-09-24 12:03:24 -07:00
thdrnsdk
2cd42c3600 delete the busyboxImage and mountTest var and change use imageutils 2018-08-14 22:37:40 +09:00
Srini Brahmaroutu
73700aef01 Adding details to Conformance Tests using RFC 2119 standards. 2018-08-01 11:39:01 -07:00
Yu-Ju Hong
39bb841827 test/e2e/common: Add NodeFeature or NodeConformance tags
The following tests are not tagged because they are not really run in
node e2e suites:
  * A subset of host path tests that required SSH access
    - should evaluate whether the tests should be moved to test/e2e_node
  * GCP volume tests
    - should evaluate whether these tests should be moved out of the
    common directly since they are not shared with the node e2e suite.
2018-05-21 21:28:42 -07:00
Yu-Ju Hong
3815dfe478 test/e2e/common: add NodeConformance tag to all Conformance tests 2018-05-21 18:09:33 -07:00
xiangpengzhao
4ac61e1d12 Combine downward api e2e test cases. 2017-11-14 09:51:35 +08:00
Kubernetes Submit Queue
beefab8a8e
Merge pull request #54825 from bradtopol/adddownwarddockerconf
Automatic merge from submit-queue (batch tested with PRs 54826, 53576, 55591, 54946, 54825). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Add downward api and docker container conformance annotations

Signed-off-by: Brad Topol <btopol@us.ibm.com>
Add downward api and docker container conformance annotations

/sig testing
/area conformance
@sig-testing-pr-reviews

This PR adds downward api and docker container related conformance annotations to the e2e test suite.

The PR fixes a portion of #53822. It focuses on adding conformance annotations as defined by the Kubernetes Conformance Workgroup for a subset of the downward api and docker container based e2e conformance tests.

Special notes for your reviewer:
Please see https://docs.google.com/spreadsheets/d/1WWSOqFaG35VmmPOYbwetapj1VPOVMqjZfR9ih5To5gk/edit#gid=62929400
for the list of SIG Arch approved test names and descriptions that I am using.
**Release note**:

```release-note NONE
```
2017-11-13 14:47:08 -08:00
NickrenREN
d379a9a3ff Add downward_api e2e test for LocalStorageCapacityIsolation feature 2017-11-04 12:50:34 +08:00
Brad Topol
b2e5dfec63 Add downward api and docker container conformance annotations
Signed-off-by: Brad Topol <btopol@us.ibm.com>
2017-10-30 16:00:41 -07:00
Matt Liggett
a5967cbaf1 Add framework.ConformanceIt as the new way to declare conformance tests.
Also rewrite all existing conformance tests to use this.
2017-10-27 15:29:59 -07:00
xiangpengzhao
6089093a6f Remove Sprintf when there are no placeholders in the formatting. 2017-10-17 14:21:05 +08:00
Kubernetes Submit Queue
d7e56d5330 Merge pull request #53794 from xiangpengzhao/poduid-e2e-dapi
Automatic merge from submit-queue (batch tested with PRs 53575, 53794). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Add e2e test case for downward API exposing pod UID

**What this PR does / why we need it**:
Pod UID is added to downward API env var in #48125 for 1.8. This PR adds a e2e test case for it.

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

**Special notes for your reviewer**:

**Release note**:

```release-note
NONE
```
2017-10-16 19:36:15 -07:00
Kubernetes Submit Queue
2030730155 Merge pull request #53772 from xiangpengzhao/splitt-dapi-e2e
Automatic merge from submit-queue (batch tested with PRs 53507, 53772, 52903, 53543). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Split downward API e2e test case for pod/host IP into two

**What this PR does / why we need it**:
Split the test case in order to avoid version block pod IP e2e test.

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
ref: https://github.com/kubernetes/kubernetes/pull/42717#discussion_r144026427

**Special notes for your reviewer**:
/cc @timothysc @andrewsykim
2017-10-13 13:53:16 -07:00
xiangpengzhao
741067495b Define pod UID version. 2017-10-13 09:54:30 +08:00
xiangpengzhao
93d5528507 Use regexp instead of specifing uid. 2017-10-13 09:19:32 +08:00
David Zhu
6d2e988e3b split configmap, downwardapi, and secrets, into two files each volume/non-volume and moved sig labels to front of the description string 2017-10-12 16:39:14 -07:00
xiangpengzhao
f9a6445ea9 Add e2e test case for downward API exposing pod UID 2017-10-12 19:27:01 +08:00
xiangpengzhao
2528faa422 Split downward API e2e test case for pod/host IP into two 2017-10-12 15:48:02 +08:00
Timothy St. Clair
db7cb5f7fd Fix to prevent downward api change break on older versions
Signed-off-by: Timothy St. Clair <timothysc@gmail.com>
2017-10-10 15:32:01 -05:00
Manjunath A Kumatagi
ee4d54c70c Port e2e tests for multi architecture 2017-09-01 05:40:52 +05:30
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
andrewsykim
c001deed43 fetch hostIP at runtime since status manager didn't update it yet 2017-03-28 20:20:20 -04:00
andrewsykim
824d0b11cb e2e tests for status.hostIP in downward api 2017-03-28 20:20:20 -04:00
andrewsykim
91c027d6cc support hostIP in downward API 2017-03-28 20:20:19 -04:00
Dr. Stefan Schimanski
bc6fdd925d pkg/api/resource: move to apimachinery 2017-01-29 21:41:44 +01:00
Dr. Stefan Schimanski
d7eb3b6870 pkg/util: move uuid and strategicpatch into k8s.io/apimachinery 2017-01-25 19:45:09 +01:00
Clayton Coleman
9a2a50cda7
refactor: use metav1.ObjectMeta in other types 2017-01-17 16:17:19 -05:00
Chao Xu
a55c71db4d test/e2e 2016-11-23 15:53:09 -08:00
Random-Liu
f4aee8664d Mark more conformance tests. 2016-11-05 21:11:51 -07:00
Avesh Agarwal
db74d4dbc2 Fix downward api tests to output node allocatable not node capacity 2016-08-26 16:13:24 -04:00
Random-Liu
1a33dffa17 Move configmap, docker_containers, downward_api, expansion and secrets
test into common directory.
2016-08-04 23:52:05 -07:00