Conversation
sebastienvas
commented
Jul 10, 2017
- Fix Build Issues
- Create presubmit script
- Update e2e framework to save logs to _artifacts folder instead of uplading them to gcloud storage since Prow already does this.
|
Hi @sebastienvas. Thanks for your PR. I'm waiting for a member to verify that this patch is reasonable to test. If it is, they should reply with I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
|
/ok-to-test |
|
@sebastienvas: you can't request testing unless you are a member. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
Jenkins job istio/presubmit passed |
1 similar comment
|
Jenkins job istio/presubmit passed |
|
@sebastienvas: The following test failed, say
DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
prow/istio-presubmit.sh
Outdated
There was a problem hiding this comment.
I believe this should be --test_log_path, note no plural. based on the build log here
|
Jenkins job istio/presubmit passed |
3 similar comments
|
Jenkins job istio/presubmit passed |
|
Jenkins job istio/presubmit passed |
|
Jenkins job istio/presubmit passed |
|
Prow results are available here |
|
Jenkins job istio/presubmit passed |
1 similar comment
|
Jenkins job istio/presubmit passed |
|
Prow results are here. Note that artifacts were also uploaded as well. |
|
Jenkins job istio/presubmit passed |
prow/istio-presubmit.sh
Outdated
There was a problem hiding this comment.
not as familiar with this syntax but basically this allows running the script locally? like you define the e2e args before the if for that purpose?
There was a problem hiding this comment.
Yes. Precisely.
There was a problem hiding this comment.
oh I missed E2E_ARGS here (search fail!)
tests/e2e/framework/testInfo.go
Outdated
There was a problem hiding this comment.
ahh i see the original typo came from that the var is testLogsPath whereas flag is test_log_path
There was a problem hiding this comment.
I renamed it for consistency.
|
Jenkins job istio/presubmit passed |
1 similar comment
|
Jenkins job istio/presubmit passed |
| @@ -0,0 +1,28 @@ | |||
| #!/bin/bash | |||
|
|
|||
There was a problem hiding this comment.
a short description of what this does and how maybe would be a useful comment/header ?
prow/istio-presubmit.sh
Outdated
|
|
||
| if [ "${CI}" == "bootstrap" ]; then | ||
| # ensure correct path | ||
| mkdir -p ${GOPATH}/src/istio.io |
There was a problem hiding this comment.
test if GOPATH is set first ?
There was a problem hiding this comment.
GOPATH is set in the docker image. https://github.com/istio/test-infra/blob/master/docker/prowbazel/Dockerfile#L43
prow/istio-presubmit.sh
Outdated
| ln -s ${GOPATH}/src/github.com/istio/istio ${GOPATH}/src/istio.io | ||
| cd ${GOPATH}/src/istio.io/istio/ | ||
| ARTIFACTS_DIR="${GOPATH}/src/istio.io/istio/_artifacts" | ||
| E2E_ARGS+=(--test_logs_path="${ARTIFACTS_DIR}") |
There was a problem hiding this comment.
I don't see an export or those 2 variables being used anywhere ? (only 'bug' if I read this correctly/am not missing something)
There was a problem hiding this comment.
E2E_ARGS is used down in the script.
| if err != nil { | ||
| tmpDir := "" | ||
| // testLogsPath will be used when called by Prow. | ||
| // Bootstrap already gather stdout and stdin so we don't need to keep the logs from glog. |
There was a problem hiding this comment.
are we using -logtostderr for glog then ?
There was a problem hiding this comment.
Yes. This is is in e2e.sh. https://github.com/istio/istio/blob/master/tests/e2e.sh#L19
|
Jenkins job istio/presubmit passed |
|
bam!
…On Fri, Jul 14, 2017 at 7:48 PM Sebastien Vas ***@***.***> wrote:
Merged #464 <#464>.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
<#464 (comment)>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/ACBRURzOSeYvChP9SVPA7wNp4Y4IkC_9ks5sN_48gaJpZM4OTech>
.
|
* Enable Prow * Fix BUILD format * Add execution perm to the script * Fix shell script * Fix flag name * Use the right k8s cluster * Create the ~.kube dir * Linking instead of moving * Explicitly specify dir * Remove debug statements * Rename test_log_path to test_logs_path for consistency * Adds desc + failure conditions Former-commit-id: 148a5a3
* Enable Prow * Fix BUILD format * Add execution perm to the script * Fix shell script * Fix flag name * Use the right k8s cluster * Create the ~.kube dir * Linking instead of moving * Explicitly specify dir * Remove debug statements * Rename test_log_path to test_logs_path for consistency * Adds desc + failure conditions Former-commit-id: 148a5a3
jaeger-operator update image to latest 1.43.0 and bump chart version
Added mechanism to skip test suites