Vishnu Kannan
dbb3ed8d5c
Remove test args from the runner since it is not needed/used.
...
Signed-off-by: Vishnu Kannan <vishnuk@google.com>
2016-03-15 09:23:54 -07:00
Vish Kannan
4a8ffcfc7e
Merge pull request #1143 from sjenning/disable-fsstats-devicemapper
...
skip TestDockerFilesystemStats for devicemapper
2016-03-01 11:22:10 -08:00
Vishnu kannan
6556ce20a4
Fix test commands that are currently failing over ssh.
...
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-02-29 16:33:46 -08:00
Seth Jennings
bf9e236cee
disable fs stats for devicemapper
2016-02-29 17:18:14 -06:00
Seth Jennings
56451de991
use http to avoid not ssl support for wget in busybox
2016-02-27 00:02:44 -06:00
Vish Kannan
06ac85ca29
Merge pull request #1121 from vishh/opt-out-metrics
...
Support opt out for metrics.
2016-02-25 16:25:02 -08:00
Vishnu kannan
03f19d3576
Add nil pointer checks in disk usage integration test.
...
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-02-25 15:38:15 -08:00
Vishnu kannan
2defa0bddb
Adding support for inodes.
...
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-02-25 15:13:58 -08:00
Vishnu kannan
17a09ffbc5
Re-enable disk usage integration tests with retries instead of an opaque sleep.
...
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-02-23 17:20:02 -08:00
Phillip Wittrock
84738b9226
Use vanilla ssh instead of gcloud ssh for e2e tests to work around 'gcloud compute ssh' flakes. Fixes #1056 .
2016-02-11 15:23:53 -08:00
Phillip Wittrock
80e0c6405c
Add ssh-options flag so it can be tested by the pr builder in followup #1108
2016-02-11 14:48:36 -08:00
Phillip Wittrock
cf8f46f58d
fix integration tests always passing because of obscure golang variable shadowing rules
2016-02-10 16:34:48 -08:00
Vishnu kannan
e24ca544d4
disable fs e2e to avoid timeouts
...
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-02-05 16:32:08 -08:00
Vishnu kannan
f0fd525a24
fix version handling in e2e tests
...
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-02-03 18:00:59 -08:00
Vishnu kannan
f5829b4744
Rework the v2.1 API to expose container Info.
...
Added a test for filesystem stats. Devicemapper backend is ignored
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-02-03 17:02:49 -08:00
Vishnu kannan
16abcd2cdc
Updating e2e to work with docker v1.10
...
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-02-02 12:26:31 -08:00
Vishnu kannan
9389fdabe5
Fix integration test runner.
...
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-02-01 15:15:13 -08:00
Vishnu Kannan
5917e84a0c
Make e2e tests dump attributes and logs on failure.
...
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-02-01 14:36:07 -08:00
Vishnu kannan
c2a30dba3e
Added integration tests for the new api/v2.1/machinestats API.
...
Updated the v2 client along the way.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-01-15 16:05:58 -08:00
Phillip Wittrock
ae7f38b16f
change whitelist init function name
2016-01-07 10:27:43 -08:00
Phillip Wittrock
144ccdf657
Remove added whitespace
2016-01-05 13:27:50 -08:00
Phillip Wittrock
081f391bba
Move whitelist regex list to a config file
2016-01-05 11:52:39 -08:00
Phillip Wittrock
be439fb2bf
Add whitelisted test failure for tx packets not equal
2016-01-04 15:09:17 -08:00
Phillip Wittrock
e2b96bb877
Only retry whitelisted test failure flakes instead of retrying on any failure.
...
We should explicitly be retrying on certain conditions and not blindly doing so.
2016-01-04 14:42:44 -08:00
Phillip Wittrock
808a917fc0
Retry cadvisor e2e tests to compensate for test flakyness
2015-12-14 13:47:07 -08:00
Lei Xue
dbbe38dfed
re-order the import package
2015-11-30 16:43:22 +08:00
Jimmi Dyson
b9ff5c098c
Fix up ignored/inefficient assigns (via ineffassign linter)
2015-11-27 22:01:54 +00:00
Jimmi Dyson
d1fce20304
Regexp tidy up
2015-11-26 09:14:26 +00:00
Phillip Wittrock
fd4b4ba2bc
Test refactoring to support "project" flag.
2015-11-19 11:13:15 -08:00
Daniel Martí
58cd3ddf0c
Add empty healthz test_utils to fix go build ./...
...
Without any .go file that doesn't end in _test, it fails:
no buildable Go source files in [...]/integration/tests/healthz
An empty source file works around this.
2015-08-26 12:15:55 -07:00
Phillip Wittrock
b7bbefd9b1
Always to a live lookup of version info instead of caching.
2015-08-20 16:48:45 -07:00
Mike Danese
38ab53a8ff
use gcloud-golang vanity domain
2015-08-19 16:15:01 -07:00
Victor Marmol
651ee5648f
Use watch instead of sh.
...
Use of sh was making the test flaky and harder to read.
2015-07-01 14:54:35 -07:00
Victor Marmol
ee119e26f1
Add a test for differing network stats.
2015-06-25 12:00:11 -07:00
Victor Marmol
a55aeceeb6
Remove Jenkins env setup
2015-05-20 12:50:23 -07:00
Victor Marmol
e6ba228815
Replace gcutil with gcloud usage
2015-05-07 08:12:12 -07:00
Victor Marmol
fc635c1cde
Watch for deletion event before the container runs.
...
This eliminates a race.
2015-04-22 09:21:53 -07:00
Rohit Jnagal
dfcc05a953
Fix networking stats by switching Tx and Rx stats.
...
A better fix is to directly use stats collected by libcontainer.
2015-04-13 17:01:06 +00:00
Katie Knister
fc63243801
Added todo for oom integration test
2015-04-10 14:10:25 -07:00
Katie Knister
ee4bdc2698
Improvements to events integration test
2015-04-10 13:33:22 -07:00
Katie Knister
766e7556f6
Preliminary integration tests for getting events
2015-04-08 10:20:03 -07:00
Rohit Jnagal
872546ba3a
Bulk move current info api to info/v1. Making room for info/v2.
2015-03-04 00:47:28 +00:00
Victor Marmol
4b84661fcf
Add extra logging for cAdvisor invocation.
2015-02-23 11:24:37 -08:00
Victor Marmol
56a1517dc9
Add ShellActions to integration test Framework.
...
Also rename Host() to Hostname().
2015-02-18 15:51:22 -08:00
Victor Marmol
19126f7f8a
Use pkill instead of killall.
...
pkill is available on more systems.
2015-02-17 11:01:36 -08:00
Victor Marmol
e7fd18c24d
Allow the runner to run tests on multiple instances.
2015-02-17 08:17:37 -08:00
Victor Marmol
e42ca5787d
Don't use screen to run cAdvisor in the background.
...
Some distros don't have screen. Here we wait for cAdvisor to come up
before continuing.
2015-02-17 06:33:45 -08:00
Rohit Jnagal
667a8e0fd1
Rename load to load average.
...
Load is now LoadAverage. Also added comments about smoothing interval.
2015-01-28 00:37:45 +00:00
Victor Marmol
593d546946
Expect user + cpu to be within 500ms of total.
...
This should be a sane default.
2015-01-27 13:51:32 -08:00
Victor Marmol
5851645aa6
Setup necessary env variables for e2e. Also, don't run tests for trivial changes.
2015-01-26 16:19:45 -08:00