Skip to content

Fix the periodic CI flow error in client#200

Merged
knative-prow-robot merged 2 commits intoknative:masterfrom
chizhg:SolveCIFlowError
Jun 27, 2019
Merged

Fix the periodic CI flow error in client#200
knative-prow-robot merged 2 commits intoknative:masterfrom
chizhg:SolveCIFlowError

Conversation

@chizhg
Copy link
Copy Markdown
Contributor

@chizhg chizhg commented Jun 23, 2019

@googlebot googlebot added the cla: yes Indicates the PR's author has signed the CLA. label Jun 23, 2019
@knative-prow-robot knative-prow-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jun 23, 2019
@adrcunha
Copy link
Copy Markdown
Contributor

I think this is overkill: 316 files and 50K lines just for a flag. -emitmetrics is not used in the e2e tests, so just define it as a no-op flag and add an appropriate comment.

@chizhg chizhg force-pushed the SolveCIFlowError branch from 8360fed to fbba466 Compare June 23, 2019 20:45
@knative-prow-robot knative-prow-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Jun 23, 2019
@chizhg chizhg force-pushed the SolveCIFlowError branch from fbba466 to 248f5ca Compare June 23, 2019 20:51
@adrcunha
Copy link
Copy Markdown
Contributor

/test pull-knative-client-build-tests

@adrcunha
Copy link
Copy Markdown
Contributor

Ugh, looks like the build job is affected by knative/test-infra#1018

@knative-prow-robot knative-prow-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jun 24, 2019
@adrcunha
Copy link
Copy Markdown
Contributor

/approve
/lgtm

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Jun 24, 2019
@adrcunha
Copy link
Copy Markdown
Contributor

/assign @sixolet

Comment thread test/e2e/e2e_flags.go Outdated
)

// ClientFlags saves the environment flags for client.
var ClientFlags = initializeFlags()
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How does doing this fix the CI flow errors? Is there something missing in this PR? Or perhaps elaborate the problem and fix. Thx

Copy link
Copy Markdown
Contributor Author

@chizhg chizhg Jun 25, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

emitmetrics is a flag used by our testing framework, which is also required for the running of periodic jobs. But since Knative client is not using the framework, it does not have the flag, so adding this flag as a no-op can solve the error.
I have made it a bit simpler and added more meaningful comments.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not obvious but thanks for the explanation. Hopefully fixes things. Thanks.

@chizhg chizhg force-pushed the SolveCIFlowError branch from 168eef0 to fd28ccb Compare June 25, 2019 18:29
@knative-prow-robot knative-prow-robot removed the lgtm Indicates that a PR is ready to be merged. label Jun 25, 2019
@rhuss
Copy link
Copy Markdown
Contributor

rhuss commented Jun 27, 2019

/approve
/lgtm

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Jun 27, 2019
@knative-prow-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: adrcunha, Fredy-Z, rhuss

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

@knative-prow-robot knative-prow-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 27, 2019
@knative-prow-robot knative-prow-robot merged commit 483979b into knative:master Jun 27, 2019
@chizhg chizhg deleted the SolveCIFlowError branch June 29, 2019 02:31
maximilien pushed a commit to maximilien/client that referenced this pull request Jul 1, 2019
* hack the emitmetrics flag

* update test-infra
Kaustubh-pande pushed a commit to Kaustubh-pande/client that referenced this pull request Jul 12, 2023
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. cla: yes Indicates the PR's author has signed the CLA. lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants