Skip to content

Fix pullthrough serve blob - #9796

Merged
openshift-bot merged 3 commits into
openshift:masterfrom
miminar:pullthrough-no-copy-on-head-8613
Aug 15, 2016
Merged

openshift-bot merged 3 commits into
openshift:masterfrom
miminar:pullthrough-no-copy-on-head-8613

Conversation

@miminar

@miminar miminar commented Jul 12, 2016

Copy link
Copy Markdown

Don't attempt to copy any data on a HEAD.

Closes #8613

@miminar

miminar commented Jul 12, 2016

Copy link
Copy Markdown
Author

Tested manually with tcpdump.

@miminar

miminar commented Jul 12, 2016

Copy link
Copy Markdown
Author

Looks like flake #9775

Running test/end-to-end/core.sh:29: executing 'oc get -n test pods' expecting any result and text 'frontend.+Running'; re-trying every 0.2s until completion or 120.000s...
FAILURE after 119.691s: test/end-to-end/core.sh:29: executing 'oc get -n test pods' expecting any result and text 'frontend.+Running'; re-trying every 0.2s until completion or 120.000s: the command timed out

[test]

@miminar

miminar commented Jul 13, 2016

Copy link
Copy Markdown
Author

@legionus PTAL

@legionus

Copy link
Copy Markdown
Contributor

@miminar Can you add integration test for that ?

@miminar

miminar commented Jul 13, 2016

Copy link
Copy Markdown
Author

@legionus would a unit test do?

@legionus

Copy link
Copy Markdown
Contributor

I think you can use any test that checks for this.

@mfojtik

mfojtik commented Jul 29, 2016

Copy link
Copy Markdown
Contributor

@miminar do we need to backport this?

@miminar

miminar commented Jul 29, 2016

Copy link
Copy Markdown
Author

@mfojtik it would be nice. Once merged, I'll do the backport. I haven't yet got the chance to finish the tests though.

@miminar
miminar force-pushed the pullthrough-no-copy-on-head-8613 branch from d5a6fde to 1eece67 Compare August 5, 2016 10:30
@miminar

miminar commented Aug 5, 2016

Copy link
Copy Markdown
Author

@legionus, @soltysh: unit tests added.

@miminar

miminar commented Aug 5, 2016

Copy link
Copy Markdown
Author

@smarterclayton fyi

@legionus

legionus commented Aug 5, 2016

Copy link
Copy Markdown
Contributor

LGTM

@mfojtik We need to backport it.

@soltysh

soltysh commented Aug 5, 2016 •

Copy link
Copy Markdown
Contributor

LGTM

@liggitt

liggitt commented Aug 5, 2016

Copy link
Copy Markdown
Contributor

let's get the blob ACL PR in first

@miminar

miminar commented Aug 5, 2016

Copy link
Copy Markdown
Author

Yeah, it will conflict for sure.

@openshift-bot openshift-bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 8, 2016
@miminar
miminar force-pushed the pullthrough-no-copy-on-head-8613 branch from 1eece67 to c40ffaa Compare August 8, 2016 06:36
@openshift-bot openshift-bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 8, 2016
@miminar
miminar force-pushed the pullthrough-no-copy-on-head-8613 branch from c40ffaa to b70c24c Compare August 8, 2016 09:20
@miminar

miminar commented Aug 8, 2016

Copy link
Copy Markdown
Author

@miminar
miminar force-pushed the pullthrough-no-copy-on-head-8613 branch from b70c24c to 8113c24 Compare August 8, 2016 12:39
@miminar

miminar commented Aug 8, 2016

Copy link
Copy Markdown
Author

I just don't know, how to defeat "The Origin test job could not be run again for this pull request." message without altering commits. In the end, I gave up and re-signed the last commit to move forward.

@stevekuznetsov

Copy link
Copy Markdown
Contributor

@miminar as the bot requests, you need to have the failed Jenkins job link. The sentence telling you that this link is necessary also has a hyperlink to the failed job it is searching for. This job is the job that was triggered by the bot, so it will be test_pr_origin, not one of the sub-jobs like test_pull_requests_origin_networking. This is a required feature as you could have both failed merge and test jobs in the PR at the same time. The bot needs to know for which failed job you are declaring flakes to have been found.

@miminar

miminar commented Aug 8, 2016

Copy link
Copy Markdown
Author

@stevekuznetsov thanks! That's 1:0 for the bot. I'm sure I'll win next time.

@miminar

miminar commented Aug 8, 2016 •

Copy link
Copy Markdown
Author

@stevekuznetsov

Copy link
Copy Markdown
Contributor

@miminar I'm actually impressed, with your newest comment you found two other bugs in the bot ... I didn't even realize the first way you linked to an issue was a valid thing ... give me a moment.

@miminar

miminar commented Aug 8, 2016

Copy link
Copy Markdown
Author

I'm always glad to help. 😄

Michal Minář added 2 commits August 14, 2016 12:05
@miminar
miminar force-pushed the pullthrough-no-copy-on-head-8613 branch from 8113c24 to 7d4051e Compare August 14, 2016 10:05
Don't attempt to copy any data on a HEAD.

Signed-off-by: Michal Minar <[email protected]>
@miminar
miminar force-pushed the pullthrough-no-copy-on-head-8613 branch from 7d4051e to 1245726 Compare August 15, 2016 07:04
@openshift-bot

Copy link
Copy Markdown
Contributor

Evaluated for origin test up to 1245726

@openshift-bot

Copy link
Copy Markdown
Contributor

@miminar

miminar commented Aug 15, 2016

Copy link
Copy Markdown
Author

@mfojtik can you please merge?

@mfojtik

mfojtik commented Aug 15, 2016

Copy link
Copy Markdown
Contributor

[merge]

@openshift-bot

openshift-bot commented Aug 15, 2016 •

Copy link
Copy Markdown
Contributor

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/7919/) (Image: devenv-rhel7_4829)

@openshift-bot

Copy link
Copy Markdown
Contributor

Evaluated for origin merge up to 1245726

@openshift-bot
openshift-bot merged commit b6b0bae into openshift:master Aug 15, 2016
@miminar
miminar deleted the pullthrough-no-copy-on-head-8613 branch August 17, 2016 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants