Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify router cmd ignoreError comments #15907

Merged
merged 1 commit into from
Aug 24, 2017

Conversation

mrogers950
Copy link
Contributor

@openshift-merge-robot openshift-merge-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Aug 22, 2017
Copy link
Contributor

@pweil- pweil- left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 22, 2017
@openshift-merge-robot openshift-merge-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 22, 2017
@enj
Copy link
Contributor

enj commented Aug 22, 2017

/lgtm
/test extended_conformance_gce

Test flakes on OOM

@enj
Copy link
Contributor

enj commented Aug 22, 2017

@mrogers950 you will need add the case back:

error: clusterrolebindings "router-router-role" already exists

Comment each case with a version identifier.

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@mrogers950
Copy link
Contributor Author

mrogers950 commented Aug 23, 2017

@mrogers950 you will need add the case back:

error: clusterrolebindings "router-router-role" already exists

Comment each case with a version identifier.

I'll add it back, but I'd like to know why running 'hack/test-cmd.sh router' locally doesn't show the same failure.

@enj
Copy link
Contributor

enj commented Aug 23, 2017

@mrogers950 the error is based on the code (not) being re-entrant. Thus it is likely the CI runs code at some earlier point that sets up the router. Running the code to set up the router a second time is not supposed to fail on the bindings already existing from the first invocation.

@openshift-merge-robot openshift-merge-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Aug 23, 2017
@mrogers950 mrogers950 changed the title Revert a temporary test fix for the router cmd Clarify router cmd ignoreError comments Aug 23, 2017
@enj
Copy link
Contributor

enj commented Aug 23, 2017

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 23, 2017
@openshift-merge-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: enj, mrogers950, pweil-

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

Needs approval from an approver in each of these OWNERS Files:

You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@mrogers950
Copy link
Contributor Author

@mrogers950 the error is based on the code (not) being re-entrant. Thus it is likely the CI runs code at >some earlier point that sets up the router. Running the code to set up the router a second time is not >supposed to fail on the bindings already existing from the first invocation.

@enj then that sounds like this is being exercised by a CI side-effect and we should have a test in test/cmd/router.sh that deletes and re-creates the route

@enj
Copy link
Contributor

enj commented Aug 23, 2017

then that sounds like this is being exercised by a CI side-effect and we should have a test in test/cmd/router.sh that deletes and re-creates the route

@mrogers950 excellent idea. Please add one (either as part of this PR or a separate one).

@mrogers950
Copy link
Contributor Author

@mrogers950 excellent idea. Please add one (either as part of this PR or a separate one).

@enj I opened #15940

@enj
Copy link
Contributor

enj commented Aug 23, 2017

/retest

Flaked on #14575

@openshift-ci-robot
Copy link

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

Test name Commit Details Rerun command
ci/openshift-jenkins/extended_conformance_gce 8071064 link /test extended_conformance_gce

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

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.

@openshift-merge-robot
Copy link
Contributor

Automatic merge from submit-queue (batch tested with PRs 15870, 15888, 15788, 15907, 15936)

@openshift-merge-robot openshift-merge-robot merged commit 6c23373 into openshift:master Aug 24, 2017
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/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RBAC Migration Followup #10: Fix router ignore error
8 participants