Kubernetes Prow Robot
d2cea9475b
Merge pull request #110840 from aojea/echoserver
...
Remove e2e echoserver image and replace it by agnost
2022-06-30 13:54:57 -07:00
Kubernetes Prow Robot
8a7eda4f61
Merge pull request #110831 from chendave/openapi
...
Bump `kube-openapi` to the latest
2022-06-30 10:42:09 -07:00
Markus Lehtonen
2eadf30358
test/e2e: fix GetCurrentKubeletConfig
...
Seemingly on slow connections if the response to /configz request was
chunked the kubectl proxy was terminated before the response body was
received and read, causing unexpected EOF errors. This patch changes the
configz polling code so that the whole response body is read before
closing the proxy connection.
2022-06-30 14:57:12 +03:00
Antonio Ojea
3204572f01
replace echoserver image with agnhost
...
agnhost contains the same features than echoserver.
2022-06-29 09:49:19 +02:00
Dave Chen
852f166960
Fix the failure of testcase TestFailureOutput
...
Signed-off-by: Dave Chen <dave.chen@arm.com >
2022-06-29 11:47:18 +08:00
21kyu
df168d5b5c
Change reflect.Ptr to reflect.Pointer
2022-06-26 01:23:43 +09:00
wongearl
44404d309c
fix "k8s.io/client-go/rest" is being imported more than once,optimize code
2022-06-22 10:31:24 +08:00
Joachim Bartosik
a936e21538
Revert "Add e2e test for HPA behavior: scale up delay"
...
The test is failing since its first run: #110662
This reverts commit a724818ad0
.
2022-06-20 14:50:46 +02:00
Kubernetes Prow Robot
27cf82d785
Merge pull request #110385 from piotrnosek/hpa-beh-tests
...
Add e2e test for HPA behavior: scale up delay
2022-06-14 00:25:32 -07:00
Kubernetes Prow Robot
59ffc93678
Merge pull request #110404 from humblec/e2e-flag
...
correct the e2e framework flag description typos
2022-06-06 08:06:22 -07:00
Humble Chirammal
3988ac1498
correct the e2e framework flag description typos
...
Signed-off-by: Humble Chirammal <hchiramm@redhat.com >
2022-06-06 19:23:28 +05:30
Piotr Nosek
a724818ad0
Add e2e test for HPA behavior: scale up delay
2022-06-05 06:52:44 +00:00
Kubernetes Prow Robot
ca630bc118
Merge pull request #109828 from pohly/polling-failures
...
[E2E] enhance pod polling failures
2022-06-03 18:08:31 -07:00
Kubernetes Prow Robot
b7337cb171
Merge pull request #110235 from jsturtevant/fix-new-restricted-pod-tests
...
test: RunAsUser causes pods to not start on Windows
2022-06-03 13:32:20 -07:00
Patrick Ohly
f02c72eaf9
pods: more tolerant checking of poll tests
...
Under load we might skip some of the poll events, leading to less output. Now
we expect only at least one output line for polling.
2022-06-03 13:41:11 +02:00
Patrick Ohly
2b299526b2
e2e: include more information in pod timeout error
...
The advantage is that the extra error information is guaranteed to be printed
directly before the failure and we avoid one extra log line that would have to
be correlated with the failure.
2022-06-03 13:41:05 +02:00
Patrick Ohly
8e79f4ce27
e2e: make failure message for unexpected errors more readable
...
The failure message from Gomega was hard to read because explanation and error
text were separated by the error dump. In many cases, that error dump doesn't
add any relevant information.
Now the error is dumped first as info message (just in case that it is
relevant) and then a shorter failure message is created from explanation and
error text.
2022-06-03 13:41:02 +02:00
Patrick Ohly
486744e814
e2e: test output of e2epod wait
...
Both output during the test and the failure message are covered.
2022-06-03 11:03:16 +02:00
Patrick Ohly
0e0e51d792
e2e: refactor Ginkgo output testing
...
The helper code will be useful for testing other parts of the e2e framework.
2022-06-03 10:25:23 +02:00
Patrick Ohly
2ad1fc5f8f
e2e: include expected line number in output test
...
This makes it easier to see when comment lines must be added or removed.
2022-06-03 10:04:40 +02:00
Manish Kumar
e9e8be304c
etcd: Updated to v3.5.4
2022-06-01 07:52:46 +05:30
James Sturtevant
061b8e8049
RunAsUser causes pods to not start on Windows
2022-05-27 09:31:39 -07:00
Tim Allclair
ccc69b1e9a
Add MixinRestrictedPodSecurity e2e util
2022-05-24 16:10:16 -07:00
Kubernetes Prow Robot
340ba56567
Merge pull request #109989 from tallclair/image-type
...
Use typed ImageID for imageutils images
2022-05-13 00:13:48 -07:00
Tim Allclair
ab29782d24
Use typed ImageID for imageutils images
2022-05-12 08:51:07 -07:00
Kubernetes Prow Robot
9254f94da1
Merge pull request #109413 from lzhecheng/flexible-internal-static-ip
...
[e2e][azure] Make internalStaticIP flexible
2022-05-12 03:43:14 -07:00
Patrick Ohly
e198c3a544
e2e: fix node wait test
...
Because these tests don't run in the CI, the test did not quite match the
actual code anymore. Apparently a retry mechanism was added after the test was
written.
2022-05-11 11:43:55 +02:00
Patrick Ohly
38348532a3
e2e: reformat log test
...
Using multi-line strings makes the test source code easier to read.
2022-05-11 11:29:56 +02:00
Patrick Ohly
228640ffab
e2e: fix logs unit test
...
The test had two problems:
- the expected line was off by one (probably modified import statements)
- when Gomega failed in TestFailureOutput, Ginkgo panicked because
its fail handler was called outside of a Ginkgo node
Now github.com/stretchr/testify/assert is used for comparing the output because
it works in a unit test without further customization and because the failure
messages are more useful.
2022-05-11 10:50:51 +02:00
Kubernetes Prow Robot
99de67958d
Merge pull request #109798 from liggitt/psp
...
Remove PodSecurityPolicy admission plugin
2022-05-05 06:40:32 -07:00
Kubernetes Prow Robot
77c37da7fc
Merge pull request #109764 from saikat-royc/fix-delete-timeout
...
honor the framework delete timeout for pv
2022-05-05 01:43:29 -07:00
Tim Allclair
07c34eb400
[E2E] Refactor pod polling functions (WaitForX) ( #109704 )
...
* Clean up WaitFor Pod functions
* Handle retryable errors when polling
* Log more context on timeout
* #squash Address PR feedback
2022-05-05 01:42:32 -07:00
Kubernetes Prow Robot
4dacd5113d
Merge pull request #109231 from pbeschetnov/rc-logs
...
Only log requests for configured consumptions in ResourceConsumer
2022-05-04 13:02:19 -07:00
Jordan Liggitt
410ac59c0d
Remove PodSecurityPolicy admission plugin
2022-05-04 16:00:56 -04:00
Kubernetes Prow Robot
c1ad54dfe3
Merge pull request #109649 from pohly/e2e-feature-gates
...
e2e: move feature gate support from test/e2e to test/e2e_node
2022-05-04 02:35:18 -07:00
Kubernetes Prow Robot
a19f8776ce
Merge pull request #108789 from kidlj/fix_pkg_name_mismatches
...
e2e/cleanup: fix package name and dir name mismatches
2022-05-03 18:23:55 -07:00
Kubernetes Prow Robot
7d3fd15200
Merge pull request #108409 from 249043822/br-e2e-ciro
...
Add pod status info log for e2e creating pods failure
2022-05-03 18:23:19 -07:00
Saikat Roychowdhury
c208a7b753
honor the framework delete timeout for pv
2022-05-03 17:20:10 +00:00
Patrick Ohly
2664740043
e2e: move feature gate support from test/e2e to test/e2e_node
...
The test/e2e suite has never supported feature gates:
- it cannot discover at runtime how the cluster is configured
- its --feature-gates parameter had no effect
Despite that, tests were written that used
e2eskipper.SkipUnlessFeatureGateEnabled even though that function then only
checked the default feature gate state. To catch such mistakes, e2e tests
suites now must explicitly enable feature gate checking via
e2eskipper.InitFeatureGates. They also must register their own command line
flag. When that is not done, then using SkipUnlessFeatureGateEnabled or
SkipIfFeatureGateEnabled leads to a test failure.
test/e2e_node does both and therefore continues to work as before.
2022-04-25 15:41:41 +02:00
Zhecheng Li
b4a3750912
[e2e][azure] Make internalStaticIP flexible
...
Now, internalStaticIP is hard-coded to "10.240.11.11". Such IP works
for aks-engine cluster but not for CAPZ ones (node-subnet 10.1.0.0/16)
Signed-off-by: Zhecheng Li <zhechengli@microsoft.com >
2022-04-15 10:08:36 +08:00
Stephen Augustus
3f85937b11
etcd: Update to v3.5.3
...
Signed-off-by: Stephen Augustus <foo@auggie.dev >
2022-04-13 19:04:00 -04:00
Kubernetes Prow Robot
8cd689e40d
Merge pull request #109283 from s-urbaniak/ratchet-e2e
...
test/e2e/framework: use restricted policy by default, default existing tests to privileged
2022-04-05 14:37:25 -07:00
Sergey Kanzhelev
ee80dd19db
fix the retry logic in ssh in test framework
2022-04-05 17:14:58 +00:00
Kubernetes Prow Robot
a315ec3388
Merge pull request #108590 from claudiubelu/tests/enable-windows-tests
...
tests: Enables a few Conformance tests for Windows (part 1)
2022-04-04 08:56:11 -07:00
Sergiusz Urbaniak
f578b9a40d
test/e2e/framework: use restricted policy by default
2022-04-04 13:58:59 +02:00
Pavel Beschetnov
7da800f822
Only log requests for configured consumptions in ResourceConsumer
2022-04-04 11:28:01 +00:00
Kubernetes Prow Robot
b053c91fb6
Merge pull request #106454 from s-urbaniak/psa-e2e
...
test/e2e: let e2e tests configure namespace labels
2022-03-28 14:19:43 -07:00
Sergiusz Urbaniak
373c08e0c7
test/e2e/framework: configure pod security admission level for e2e tests
2022-03-28 15:42:10 +02:00
Sergiusz Urbaniak
e06e6771ef
test/e2e/framework: add pod security admission configuration
2022-03-28 15:42:04 +02:00
Fabio Bertinatto
dafa0e178d
Fix volume creation and deletion of Azure File tests
2022-03-25 08:56:56 -03:00