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

Sequential parallel branches appear incorrectly while build in-progress #1961

Merged
merged 13 commits into from
May 21, 2019

Conversation

sophistifunk
Copy link
Collaborator

Description

See JENKINS-53816.

Submitter checklist

  • Link to JIRA ticket in description, if appropriate.
  • Change is code complete and matches issue description
  • Appropriate unit or acceptance tests or explanation to why this change has no tests
  • Reviewer's manual test instructions provided in PR description. See Reviewer's first task below.

Reviewer checklist

  • Run the changes and verified the change matches the issue description
  • Reviewed the code
  • Verified that the appropriate tests have been written or valid explanation given

@sophistifunk
Copy link
Collaborator Author

Example pipeline that can be used to verify before/after changes: https://gist.github.com/sophistifunk/7b75a86658b80e82715d213820b673c7

@sophistifunk
Copy link
Collaborator Author

This doesn't address the shortcomings in the front-end code that are mainly responsible for JENKINS-55605 but some occurences of that problem will likely go away due to this fix.

@sophistifunk
Copy link
Collaborator Author

Build 5 was green, but I renamed some stuff so I'll try and get another green before I merge. You know, and a review.

} while (run2.isBuilding());

// Sanity check, make sure we're *actually* checking stuff.
assertTrue("Checked multiple times while building", loopCount > 5);
Copy link
Member

Choose a reason for hiding this comment

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

I wonder if maybe we could have lower numbers on very slow/not powerful machines?

Copy link
Collaborator Author

@sophistifunk sophistifunk May 20, 2019

Choose a reason for hiding this comment

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

I don't think it's a good idea. What use is a green test that's not really testing anything? I'd like to be able to use some other mechanism than time delays in the pipeline, something deterministic, but I don't know what that could really be. FWIW, the count running on my machine was > 90, so 5 seems pretty low.

Copy link
Member

@olamy olamy left a comment

Choose a reason for hiding this comment

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

LGTM

@sophistifunk sophistifunk merged commit 9d85939 into master May 21, 2019
@sophistifunk sophistifunk deleted the bug/CORE-1742-broken-sequential-parallels branch May 21, 2019 00:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants