27 Commits

Author SHA1 Message Date
Xuewei Zhang
8c02c6d4d2 Check metric sanity in e2e tests 2020-02-03 15:38:12 -08:00
Xuewei Zhang
fb8304bec8 Rent Boskos project only once per test run.
The old implementation rents Boskos project for each Ginkgo node.
2020-01-03 14:49:35 -08:00
Xuewei Zhang
6f27c80053 Install ginkgo executable in test/build.sh
ginkgo executable is used in e2e test to support parallelism.
Make sure to install it before running e2e test in the presubmit and CI jobs.
2019-12-06 22:35:33 -08:00
Xuewei Zhang
7d28dde8d8 Add e2e test for OOM kill and Docker hung
Also fixes two minor bugs:

1. Change default Boskos wait timeout to 2 minutes.
This is because the current test timeout is configured to 10 minutes.
Running each test case taks 1-2 minutes, and each node will run 1-2 test
cases. 5 minutes timeout on waiting for Boskos may cause a test timeout,
which we want to avoid.

2. Create artifact subdir with 0755 rather than 0644.
Because execution bit should be set on the directories.
2019-12-06 14:49:17 -08:00
Xuewei Zhang
8b98d08b5f Record scp command failure message to help debugging 2019-12-06 14:49:17 -08:00
Xuewei Zhang
dd37dfe12c Add e2e tests for reporting filesystem problems
Also added support for running e2e tests in parallel.
2019-12-06 14:49:17 -08:00
Xuewei Zhang
5da72e86bb Add problem maker to simulate problems for e2e test 2019-12-06 14:49:17 -08:00
Jiayu Chen
2368321490 fix make test early failure 2019-11-29 17:54:42 -08:00
Lantao Liu
be7cc78aa0 Properly close channel when monitor exits.
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-10-25 14:11:39 -07:00
Kubernetes Prow Robot
219b408222 Merge pull request #352 from xueweiz/test
Set SSH timeout to 5 minutes
2019-09-19 12:30:25 -07:00
Xuewei Zhang
ec4b615844 Set SSH timeout to 5 minutes 2019-09-19 12:01:16 -07:00
Xuewei Zhang
1989ab3681 Allow e2e test to pick up test VM image using image family 2019-09-18 16:09:14 -07:00
Kubernetes Prow Robot
9828ab7f06 Merge pull request #349 from xueweiz/test
Allow e2e test to rent project from Boskos
2019-09-16 12:22:38 -07:00
Lang Chi
28233337fc fix a spelling error
Signed-off-by: Lang Chi <21860405@zju.edu.cn>
2019-09-15 12:31:19 +08:00
Xuewei Zhang
fb7fd239bb Add logic for renting test project from Boskos 2019-09-14 15:22:09 -07:00
Xuewei Zhang
f9b5e60a43 Add e2e test for NPD
The first test is a very simple test. It installs NPD on a VM, and then
verifies that NPD reports metric host_uptime in Prometheus format.
2019-08-16 01:33:29 -07:00
Zhen Wang
a8527712f6 Update the detection method for docker overlay2 issue 2019-08-01 22:16:44 -07:00
Xuewei Zhang
fbebcf311b Report metrics from system-log-monitor 2019-07-12 14:38:21 -07:00
Zhen Wang
ea6a141351 Allow using custom flags in build.sh 2019-06-18 10:26:53 -07:00
Zhen Wang
85b6268fb3 Resolve CI job race condition 2019-03-19 10:41:24 -07:00
Zhen Wang
c99c8c8e55 Install system lib in build.sh 2019-03-15 17:31:29 -07:00
Zhen Wang
7c1d891d81 Add script for presubmit and CI jobs 2019-03-13 10:56:51 -07:00
Zhen Wang
ecaa61e7d3 Detect readonly filesystem 2018-11-20 11:20:48 -08:00
Jan Heidbrink
659f31c0f2 Adapt OOMKilling pattern to current kernels 2018-07-31 15:15:45 +02:00
Tim Hockin
3468934b7d Pushes go to staging-k8s.gcr.io 2018-02-01 20:11:55 -08:00
Tim Hockin
547c65ef89 Convert registry to k8s.gcr.io 2017-12-22 09:55:16 -08:00
Random-Liu
5822164ee5 Add test kernel log generator. 2017-03-02 14:30:09 -08:00