Mike Danese
25651408ae
generated: run refactor
2020-02-08 12:30:21 -05:00
Mike Danese
3aa59f7f30
generated: run refactor
2020-02-07 18:16:47 -08:00
Kubernetes Prow Robot
14ed35712c
Merge pull request #87168 from misterikkit/timout-err
...
storage e2e: Add context to timeout errors
2020-01-15 01:22:32 -08:00
Jonathan Basseri
99a015705b
storage e2e: Add context to timeout errors
...
Many times an e2e test fails with an unexpected error,
"timed out waiting for the condition".
Useful information may be in the test logs, but debugging e2e test
failures will be much faster if we add context to errors when they
happen.
This change makes sure we add context to all errors returned from
helpers like wait.Poll().
2020-01-14 11:45:38 -08:00
yuxiaobo
73fb0ab5ec
test/e2e/storage:Use e2eskipper package
...
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
2020-01-13 14:04:10 +08:00
SataQiu
27d645dc5b
fix staticcheck failures of test/e2e/storage
2019-12-07 21:32:11 +08:00
tanjunchen
9eda99793d
use ExpectEqual of framework in test/e2e/storage
2019-12-03 17:41:49 +08:00
Hemant Kumar
59274b56af
Use plugin name for filtering metrics
2019-11-25 23:05:09 -05:00
Marek Siarkowicz
09329b5bbc
Remove prometheus references in test/integration
...
This PR does minimal changes to interface to allow removing all
references to prometheus from `test` directory. In future I would expect
wrapping prometheus samples to provide better abstraction. Changes:
Move generic_metrics.go to testutil/metrics.go
Remove etcd.go as it was not called
Move prometheus label consts to testutil.
2019-10-28 11:40:32 +01:00
WanLinghao
a6f5d99409
Refactor and clean up e2e framework utils. This patch handles test/e2e/framework/pv_util.go file
2019-09-18 17:57:13 +08:00
carlory
910bd000ff
use log functions of core framework in the 'test/e2e/storage/*'
2019-09-06 10:26:16 +08:00
alejandrox1
7c161d6a5f
Refactoring pod related functions from pv_util to pod pkg
...
Moving pod related functions from e2e/framework/pv_util.go to
e2e/framework/pod in order to allow refactoring of pv_util.go into its
own package.
Signed-off-by: alejandrox1 <alarcj137@gmail.com>
2019-08-27 12:27:45 -04:00
David Zhu
e194cf24cc
Dedupe all Make PVC API object functions into the one MakePersistentVolumeClaim to rule them all
2019-07-23 12:59:00 -07:00
Ben Parees
0feca84ea5
fix parameterization of test error message
2019-07-18 18:28:59 -04:00
draveness
d3158b2c71
feat: use framework.ExpectNotEqual in e2e test
2019-07-10 21:36:26 +08:00
draveness
4c2e77a53e
feat: use framework.ExpectEqual in storage e2e test
2019-07-04 22:24:29 +08:00
SataQiu
332be4b1e3
refactor: replace framework.Failf with e2elog.Failf
2019-06-19 17:52:35 +08:00
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
danielqsj
629ec7e113
replace test error checking with more readable way
2019-05-10 13:58:09 +08:00
danielqsj
1058877fbf
remove dot imports in e2e/storage
2019-05-10 13:56:26 +08:00
John Schnake
a6f5ebf831
Move storage tests to use the framework/log package
...
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-04 12:50:38 -05: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
Michelle Au
db472c87a7
Add e2e tests
2019-04-03 12:03:26 -07:00
Kenichi Omichi
542b07cd6a
Use framework.ExpectNoError() for e2e/storage
...
The e2e test framework has ExpectNoError() for readable test code.
This replaces Expect(err).NotTo(HaveOccurred()) with it for e2e/storage.
2019-04-02 16:20:35 +00:00
Kenichi Omichi
89f6f1d0cc
Fix golint failures under e2e/framework/metrics
2019-02-13 18:07:16 +00:00
Masaki Kimura
4fcb36e205
Move minimum set of dynamic provisioning e2e test to testsuites
2018-10-22 16:04:43 +00:00
Fabio Bertinatto
4ce2058ef6
Add more metrics for A/D Controller:
...
* Number of Volumes in ActualStateofWorld and DesiredStateofWorld
* Numer of times A/D Controller performs force detach
2018-08-15 10:01:57 +02:00
Fabio Bertinatto
376a94e039
Add more metrics for Volume Manager
...
Specifically:
* Number of volumes in ActualStateofWorld and DesiredStateofWorld
* Number of times ReconstructVolume Spec on kubelet failed
2018-08-13 17:36:36 +02:00
Fabio Bertinatto
a15cc29442
Add extra metrics for PV Controller
...
Specifically:
* Total provision time
* Total PV deletion time
* Number of times PV provisioning failed
* Number of times PV deletion failed
2018-07-19 15:36:37 +02:00
mlmhl
dcbd1ae3cf
wait for bound pvc metric updated before validating
2018-02-16 09:57:30 +08:00
mlmhl
6d52cda692
add e2e test for bound/unbound pv/pvc count metrics
2018-02-14 17:33:34 +08:00
Hemant Kumar
f94a81ef19
Revert "add number measurement for bound/unbound pv/pvc"
2018-02-07 21:31:01 -05:00
mlmhl
229833f2f4
add e2e test for bound/unbound pv/pvc count metrics
2018-01-24 14:36:47 +08:00
Rohit Jog
015e20cb15
e2e test layout changes for vsphere ( #398 )
2017-12-18 10:19:18 -08:00
Balu Dontu
0b3e28c883
vSphere scale tests
2017-11-07 15:33:27 -08:00
Hemant Kumar
83717f5286
Fix detach metric flake by not using exact equals
...
Also poll for detach value increase.
2017-10-22 22:05:36 -04:00
Hemant Kumar
6f0c98bed8
Fix flake for volume detach metrics
2017-10-11 09:45:06 -04:00
Vaibhav Kamra
efdae2060f
Address review comments
2017-09-27 19:36:04 -07:00
Vaibhav Kamra
c0d9bdaf5e
Improve PVC ref volume metric test robustness
...
This test has been flaking. The current working theory is that
volume stats collection didn't run in time to grab the metrics
from the newly created pod.
Made the following changes:
- Added more logs to help debug future failures
- Poll metrics a few additional times before failing the test
2017-09-27 17:58:34 -07:00
Michelle Au
27eab0c97f
Allow kubelet metrics tests to run on gke
2017-09-26 10:00:12 -07:00
Hemant Kumar
381e334d87
Fix volume metric flake
...
Make sure we only run this test in environments
that support it.
2017-09-22 16:30:11 -04:00
Vaibhav Kamra
b3ced98aa5
Address review comment
...
Removed defer, removed error slice
2017-09-21 14:38:13 -07:00
Vaibhav Kamra
41dabd7918
Address review comments
2017-09-21 13:54:40 -07:00
Vaibhav Kamra
1d6a701e76
Add e2e test to verify PVC metrics
...
Adds an e2e test for kubernetes/features#363
2017-09-21 01:10:22 -07:00
Hemant Kumar
6d4578ad57
Add e2e test for volume metrics
...
Adding e2e test for volume metrics. These tests need to be run
2017-09-20 18:23:05 -04:00