Skip to content

Don't use regexp for parsing status of go tests - #1347

Merged
adrcunha merged 1 commit into
knative:masterfrom
adrcunha:bad-bad-regex
Jun 26, 2018
Merged

adrcunha merged 1 commit into
knative:masterfrom
adrcunha:bad-bad-regex

Conversation

@adrcunha

@adrcunha adrcunha commented Jun 26, 2018 •

Copy link
Copy Markdown
Contributor

When parsing the test log, compare status with raw strings to avoid errors like "webhook" matching "ok".

This will avoid weird errors like https://gubernator-internal.googleplex.com/build/ela-prow/pr-logs/pull/knative_serving/1343/pull-knative-serving-unit-tests/787/

Compare status with raw strings to avoid errors like "webhook" matching "ok".
@google-prow-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: adrcunha

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-prow-robot google-prow-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jun 26, 2018
@adrcunha

Copy link
Copy Markdown
Contributor Author

#1348 failed for TestBreakerLargeCapacityRecover.

@adrcunha

Copy link
Copy Markdown
Contributor Author

/test pull-knative-serving-unit-tests

@jessiezcc

Copy link
Copy Markdown
Contributor

/lgtm

@google-prow-robot google-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Jun 26, 2018
@google-prow-robot

google-prow-robot commented Jun 26, 2018 •

Copy link
Copy Markdown

@adrcunha: The following test failed, say /retest to rerun them all:

Test name Commit Details Rerun command
pull-knative-serving-go-coverage 9cbe18f link /test pull-knative-serving-go-coverage

Full PR test history. Your PR dashboard.

Details

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. I understand the commands that are listed here.

@adrcunha
adrcunha merged commit 5264ac1 into knative:master Jun 26, 2018
@adrcunha
adrcunha deleted the bad-bad-regex branch June 26, 2018 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants