Commit Graph

1171 Commits

Author SHA1 Message Date
Benjamin Elder
68d8bcb64f remove redundant bits from test-dockerized.sh 2021-06-18 14:49:53 -07:00
Adhityaa Chandrasekar
1edb5a892a benchmark-dockerized.sh: set KUBE_ROOT
See https://testgrid.k8s.io/sig-scalability-benchmarks#scheduler for an
example of this script failing.
2020-08-05 20:28:34 +00:00
Davanum Srinivas
f981628ce8
move linting dependencies to hack/tools/tools.go
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-04-20 13:45:38 -04:00
Jan Chaloupka
b50f60c98f scheduler_perf: allow to override the default benchtime
The new benchmark requires the benchtime to be set to a very small number
so each test is run at most once. Some machines can have too powerfull resources
and decrease running time of some tests under the default 1s. Also, the old suite
expects the benchtime to be set to 1s. Allow to override the benchtime for the
new test suite will allow to run the same script from both suites.
2020-02-24 19:22:41 +01:00
Jan Chaloupka
51120d133c Report scheduler_perf integration test kube-scheduler metrics into artifacts dir
make test-integration ran within jenkins job does not collect json file with generated metrics
from kube-scheduler. The artifacts dir needs to be set explicitly through new -data-items-dir
test flag. The metrics are required to provide more comphrehensive information about
kube-scheduler internals.
2020-02-14 15:11:50 +01:00
Jan Chaloupka
f967c544ad scheduler benchmark: allow to override bench prefix
Right now, hack/jenkins/dockerized.sh is solely utilized by scheduler perf jenkins job.
There's an effort to extend the scheduler performance suite. In order to run
individual subsuites separately, we need a way to select a subset of benchmark tests
to be run. Golang exposes -bench option which allows to specify a prefix
of benchmark tests to be run.
2019-12-04 18:45:48 +01:00
Cong Liu
016ab0b899 Fix benchmark artifact parsing.
* Added a extractor to extract raw logs from json format and then pipe
it into benchmark parser.
* Also added -alsologtostderr=false -logtostderr=false to reduce noisy logs.
2019-11-26 13:47:12 -05:00
Jordan Liggitt
8618c09369 opt out of module mode for builds 2019-11-06 17:39:05 -05:00
Matt Matejczyk
68aebb4899 Don't use hardcoded /go GOPATH in benchmark-dockerized.sh 2019-10-31 13:57:04 +01:00
Benjamin Elder
80e9004fa0 remove unused jenkins scripts 2019-08-16 23:47:43 -07:00
Benjamin Elder
54b422be96 update hack/jenkins/README.md 2019-08-16 23:47:43 -07:00
Jordan Liggitt
93c02e164f Switch to json test output 2019-07-31 17:43:02 -04:00
aaa
037729b357 update benchmark-dockerized.sh and verify-dockerized.sh
update pull request
2019-04-09 15:07:26 -04:00
aaa
e544da8aae Fix shellcheck failures in test-dockerized.sh and upload-to-gcs.sh
update pull request

update pull request
2019-04-08 14:14:47 -04:00
Kubernetes Prow Robot
87247f5357
Merge pull request #75915 from xichengliudui/fixshellcheckfailures-05
fix shellcheck failures in ./hack/jenkins/...
2019-04-04 22:31:19 -07:00
Jordan Liggitt
2ea3cbdcbc Update hack scripts to use go mod 2019-04-03 10:19:39 -04:00
aaa
64f8f30c07 fix shellcheck failures in ./hack/jenkins/... 2019-03-21 05:30:11 -04:00
Xiang Dai
36065c6dd7 delete all duplicate empty blanks
Signed-off-by: Xiang Dai <764524258@qq.com>
2019-02-23 10:28:04 +08:00
Kubernetes Prow Robot
0ae81c986a
Merge pull request #67678 from caesarxuchao/remove-storage-versions-flag
Remove storage versions flag
2019-02-11 17:40:27 -08:00
Kubernetes Prow Robot
b50c643be0
Merge pull request #73540 from rlenferink/patch-5
Updated OWNERS files to include link to docs
2019-02-08 09:05:56 -08:00
Krzysztof Siedlecki
c20262eb33 adding FULL_LOG flag 2019-02-07 12:04:43 +01:00
Krzysztof Siedlecki
f461759dc9 adding go-junit-report install 2019-02-07 11:48:22 +01:00
Krzysztof Siedlecki
4384845ec5 installing github.com/jstemmer/go-junit-report 2019-02-05 14:54:01 +01:00
Krzysztof Siedlecki
491c000eeb installing github.com/cespare/prettybench 2019-02-05 14:54:01 +01:00
Roy Lenferink
b43c04452f Updated OWNERS files to include link to docs 2019-02-04 22:33:12 +01:00
Chao Xu
a76c266693 don't run test-update-storage-objects.sh 2019-01-30 13:28:48 -08:00
Roy Lenferink
6df3deb4bc Bash script syntax improvements 2019-01-19 13:58:58 +01:00
Roy Lenferink
a5d0616bdc Improving syntax for bash scripts 2019-01-18 19:17:16 +01:00
Christoph Blecker
b19fb0a77e
Clean up artifacts variables in hack scripts 2018-12-19 15:17:13 -08:00
Sen Lu
ea4320681f make integration/verify script look for k8s under GOPATH 2018-12-18 15:18:42 -08:00
Matthias Bertschy
9b15af19b2 Update all script to use /usr/bin/env bash in shebang 2018-04-19 13:20:13 +02:00
Ryan Hitchman
f6e23e32f9 Only install etcd for verify tests that need it. 2018-02-28 22:05:52 -08:00
jennybuckley
a1ab2b2ee1 Increase timeout of integration tests 2018-02-26 14:29:42 -08:00
Marcin Owsiany
b1be35ebf1 Save benchmark data in perfdash-friendly format. 2018-02-14 14:22:18 +01:00
Shyam Jeedigunta
9ddaeae2c6 Disable JUnit-style reporting for benchmark script 2018-01-31 18:33:21 +01:00
Christoph Blecker
4fb2265bd8
Don't go get godep in jenkins scripts 2018-01-30 07:42:58 -08:00
Christoph Blecker
a107ae51af
Set KUBE_JUNIT_REPORT_DIR on dockerized test 2018-01-25 13:30:29 -08:00
Shyam Jeedigunta
040bce890a Fix bug in dockerized benchmarking script 2018-01-24 20:14:57 +01:00
Shyam Jeedigunta
d0d7cf644e Create benchmark results file before writing to it 2018-01-24 14:21:29 +01:00
Tim Hockin
adf53a2f39 Don't run godep restore in jenkins verify 2018-01-22 08:49:27 -08:00
Shyam Jeedigunta
60bd9ab906 Benchmarking script pretty-prints results into a separate file 2018-01-19 18:33:30 +01:00
Shyam Jeedigunta
1bdc99d2ec Add script to run integration benchmark tests in dockerized env 2018-01-15 14:04:19 +01:00
spxtr
e72a1661cb Stop running unit tests outside of Bazel.
We tried this a while ago, but had to revert because Bazel did not have
race detection. Now it does.
2017-11-07 16:48:56 -08:00
Maru Newby
adc338d330 Remove all traces of federation 2017-10-26 13:37:37 -07:00
billy2180
99e9ef2871 Fix some comment in hack/jenkins/*-dockerized.sh 2017-09-07 19:43:41 +08:00
Aaron Crickenberger
7e63bf5e07 Add sig-testing OWNERS_ALIASES
follow the sig-foo-{reviewers,approvers} convention
- rename test-infra-maintainers to sig-testing-approvers
- copy sig-testing-approvers to sig-testing-reviewers
- remove inviduals in test/OWNERS in favor of new aliases

as a result
- rmmh gets test/ approver privileges
- spiffxp gets hack/jenkins/ approver privileges
2017-07-25 11:05:18 -07:00
Christoph Blecker
3ad13293bc
Export patch files to artifacts 2017-03-25 12:16:50 -07:00
Solly Ross
77069cd9ec Add staging repos to GOPATH in verify-godeps
This commit adds the staging repos to the GOPATH in
hack/verify-godeps.sh.  This allows vendored librarys
to depend on staging repos and not break verify-godeps.

This also adds `hack/godep-restore.sh`, which acts like
`godep restore`, but sets the GOPATH appropriate as well.
2017-03-01 10:23:30 -05:00
Madhusudan.C.S
8de2f05f63 Move push-federation-images.sh to federation and implement similar functionality in jenkins build directory for presubmits. 2017-02-27 17:54:37 -08:00
deads2k
ec6a6f6265 run unit tests with go, not just bazel 2017-01-27 10:00:01 -05:00