-
Notifications
You must be signed in to change notification settings - Fork 17
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
Add returncode to dcos_cli.exec_command #61
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️
I tried to rebuild the tox-integration @cprovencher, and I also looked at the failure. It would be cool if you could give some insight on why you think the tests is failing. |
@Fabs looks like it was a flake related to dcos-launch and not your changes |
Thanks, @cprovencher. What is still missing so we could merge it? I am not authorized to merge. |
@cprovencher. What do I need to do to get this merged? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Fabs This is a backwards incompatible change.
Merging this would mean that DC/OS Enterprise integration tests could not bump DC/OS Test Utils.
See https://github.com/mesosphere/dcos-enterprise/blob/864cbb3e745945558e2315563b8d5a2c4b347292/packages/dcos-integration-test/extra/test_dcoscli_enterprise.py#L18 for an example of this.
Maybe I missed it, but I cannot see a JIRA issue which tracks updating existing consumers. I consider this responsibility one of the author of a backwards-incompatible change. Therefore, I have rejected this change.
What I'd expect to approve:
- A JIRA issue to update DC/OS Enterprise which updates the version of DC/OS Test Utils
- A documented investigation into which other consumers will suffer from this change. That is, which teams will see their CI break when they bump DC/OS Test Utils.
- A commitment to do the above JIRA issues immediately after merging - preferably before merging really with bumps that look at your branch
Happy to discuss.
@adamtheturtle thanks for spotting that. I also had a quick conversation with @cprovencher and @orsenthil I think your approach is the right thing to do. Be back with the requested changes/docs/tickets. |
@adamtheturtle If all consumers are using a pinned version there shouldn't be any issue? |
@cprovencher You are correct in that this means that no CI will immediately break. That's why my request was for @Fabs to look into "which teams will see their CI break when they bump DC/OS Test Utils.". I also wrote "I consider this responsibility one of the author of a backwards-incompatible change" and "Happy to discuss." as this is not a documented requirement of any backwards-incompatible changes, but to me it is poor practice to put the burden on other teams. |
@adamtheturtle and @cprovencher. I had a conversation with @orlandohohmeier and we can take on the measures that we discussed. There is one extra step we would like to take, please let me know what you think of the full plan:
If you have no objections I will proceed creating tickets in an EPIC, and I would own the epic. cc/ @vespian and @orsenthil |
@Fabs First thought - great ❤️ |
@adamtheturtle, we never came back to that. We are already using this version on the edge-lb tests. What shall we do to merge this first step? |
Ups, sorry @adamtheturtle, the pr is actually this one - #74 |
High-level description
This enables test using dcos_cli to assert the returncode of the CLI process. We will use that specifically on integration tests for Edge-LB.
I did not include an integration test be# Corresponding DC/OS tickets (obligatory)
These JIRA ticket(s) must be updated (ideally closed) in the moment this PR lands:
Related tickets (optional)
Related
dcos-launch
anddcos
PRsIs this change going to be propagated up into another repo? Test the change by bumping the
dcos-test-utils
SHA to point to these changes to test it. Link the corresponding PRs here:Checklist for all PRs
dcos-integration-tests
in https://github.com/dcos/dcos or explain why this is not applicable:Integration tests were run and
PLEASE FILL IN THE TEMPLATE ABOVE / DO NOT REMOVE ANY SECTIONS ABOVE THIS LINE
Instructions and review process
What is the review process and when will my changes land?
All PRs require 2 approvals using GitHub's pull request reviews.
Reviewers should be:
It is best to proactively ask for 2 reviews by @mentioning the candidate reviewers in the PR comments area. The responsibility is on the developer submitting the PR to follow-up with reviewers and make sure a PR is reviewed in a timely manner.