Commit Graph

14 Commits (646145f578f75733e39dd3c8dc09f30c16401546)

Author SHA1 Message Date
Claudiu Belu 5daa08878f Adds [LinuxOnly] tag to conformance tests that cannot be run on Windows
Some of the tests cannot pass using Windows nodes due to various reasons:

- seLinuxOptions are not supported on Windows.
- Running as an UID / GID is not supported on Windows.
- file permissions work differently on Windows, and they cannot be set in
  the same manner as on Linux.
- individual files cannot be mounted in Windows Containers.
- Cannot create container using Linux image (e.g.: alpine) on Windows.

Because of this, it has been decided to use the "[LinuxOnly]" tag for the
tests which cannot run on Windows because of the mentioned reasons. This way,
when running tests using Windows nodes, those tests can simply be skipped by
adding the "[LinuxOnly]" tag to the ginkgo.skip argument.
2019-02-01 11:42:42 -08:00
k8s-ci-robot 409a5ecae2
Merge pull request #71036 from bclau/test-windows-permissions
tests: Checks for Windows permissions as well
2018-11-29 11:16:49 -08:00
Claudiu Belu 0df9c0adf6 tests: Checks for Windows permissions as well
Some mounttest related tests are checking the file permissions set on the
container files, but the default file permissions on Windows is 775 instead of
644, causing some tests to fail.

Keep in mind that file permissions work differently on Windows, and setting file
permissions via Kubernetes is not currently supported on Windows.
2018-11-21 23:02:48 -08:00
pontiyaraja 6b9db24ed0 added non-optional and empty key test cases for secret and configMap 2018-11-13 13:08:02 +05:30
Kubernetes Submit Queue af7755d283
Merge pull request #67364 from thdrnsdk/busybox
Automatic merge from submit-queue (batch tested with PRs 67347, 67307, 67358, 67364, 67385). 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>.

delete the busyboxImage and mountTest var and change use imageutils

**What this PR does / why we need it**:
delete the ```busyboxImage```,```mountTest``` variable and change everything to use ```imageutils.GetE2EImage(imageutils.BusyBox)```, ```imageutils.GetE2EImage(imageutils.MountTest)```


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

**Special notes for your reviewer**:

/cc @mikedanese
/assign @mikedanese 

**Release note**:

```release-note
 NONE
```
2018-08-15 04:23:21 -07:00
thdrnsdk 2cd42c3600 delete the busyboxImage and mountTest var and change use imageutils 2018-08-14 22:37:40 +09:00
Mayank Gaikwad 99a37913c0 promoting overlapping secret in different namespaces NodeConformance test to conformance. 2018-08-07 15:36:06 +05:30
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
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
Kevin 4c8539cece use core client with explicit version globally 2017-10-27 15:48:32 +08:00
Brad Topol baa4b770a0 Add service latency and secret related conformance annotations
Signed-off-by: Brad Topol <btopol@us.ibm.com>
2017-10-21 06:46:21 -07: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