Bug 1357786
Summary: | After update build runPolicy from serial to paralle,the first parallel build in queue will run in serial | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | XiuJuan Wang <xiuwang> |
Component: | Build | Assignee: | Ben Parees <bparees> |
Status: | CLOSED ERRATA | QA Contact: | Wang Haoran <haowang> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.3.0 | CC: | aos-bugs, pweil, tdawson |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Cause:
The transition between serial and parallel builds was not handled correctly.
Consequence:
If parallel builds were queued after a running serial build, the first parallel build would also run serially, instead of running all the parallel builds in parallel when the serial build completed.
Fix:
When the first parallel build is run, also run any other parallel builds in the queue.
Result:
All parallel builds in the queue start simultaneously when the last serial build finishes.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2016-09-27 09:40:52 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
XiuJuan Wang
2016-07-19 07:29:59 UTC
Hi, Ben, any pr on this bug ? or you don't think it's a bug ? Sorry, I swear i linked the PR here but i guess not...it was a valid bug, i've fixed it here: https://github.com/openshift/origin/pull/9969 (In reply to Ben Parees from comment #2) > Sorry, I swear i linked the PR here but i guess not...it was a valid bug, > i've fixed it here: > https://github.com/openshift/origin/pull/9969 Hi, Ben , considering this scenario, there are 3 serial + 3 parallel + 3 serial + 3 parallel builds in the queue, after the first 3 serial builds completed one by one, there are total 6 parallel builds in the queue , but should we run the 6 builds parallel or just run the following 3 parallel builds, then 3 serial builds, then the last parallel 3 builds ? the first 3 serial will run serially, then all 6 parallel simultaneously, then the second 3 serial will run serially. i had some debate about that behavior, but it would be significantly more complicated to do it as 3, 3, 3, 3, and i don't know that running all 6 is wrong. (plus it's not likely to be a real use case for users). (In reply to Ben Parees from comment #4) > the first 3 serial will run serially, then all 6 parallel simultaneously, > then the second 3 serial will run serially. > > i had some debate about that behavior, but it would be significantly more > complicated to do it as 3, 3, 3, 3, and i don't know that running all 6 is > wrong. (plus it's not likely to be a real use case for users). Ok, if we designed for this , mark this verified. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1933 |