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
Skip 2nd&3rd runs when all selecting patterns in sle15 #4632
Conversation
7ff9292
to
79346e8
Compare
$self->gotopatterns; | ||
$self->package_action('unblock'); | ||
if (is_sle('15+') and check_var('PATTERNS', 'all')) { | ||
record_soft_failure "bsc#1084064 - Cloud patterns conflicts"; # skip second & third runs |
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.
Would it somehow be possible to actually detect the situation? Here we will not see when the bug got fixed and the soft failure will be preserved, right?
79346e8
to
45502c5
Compare
4456ed9
to
7801e71
Compare
7801e71
to
b28caa5
Compare
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.
btw, you changed code and did not write a comment that you changed something. Be aware that a notification is only sent out in github when you write a comment, not just when code is updated.
@@ -84,6 +84,7 @@ sub workaround_dependency_issues { | |||
sleep 2; | |||
} | |||
} | |||
return 1; |
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.
can you comment on this change? What does it change/fix?
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.
if the function detects the dependency issue returns 1, so we can know that at least there was a conflict. Otherwise returns undef (that is was originally was returning).
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.
let's hope for the best then :)
$self->workaround_dependency_issues; | ||
# stick to the default patterns | ||
$dep_issue = $self->workaround_dependency_issues || $dep_issue; # check if at least 1 dep. issue was displayed | ||
# stick to the default patterns |
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.
better to split the comments from the code, i.e. move the comment in the previous above the code and not next to it
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.
tidy put together, yes, better on the top.
b28caa5
to
c1ed9ff
Compare
I didn't know that. I will remember to write a comment in these cases. Thx :) |
While this bug/future requested feature related with conflicts among cloud patterns is fixed/implemented we can skip from the test 2nd and 3rd run (which I was not able to figure out what is its purpose for old products) but at least in this test we will select all patterns not conflicting atm. Added checking if there is some conflicting package, we flag it and then we skip next runs.