-
Notifications
You must be signed in to change notification settings - Fork 21
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
Increased tolerance in restart test. #241
Conversation
jenkins build this with downstreams please |
Seems like a quick fix, but what was the actual test that was failing due to the unit conversion change? I'd expect all non-temperature results to be identical (subtracting zero should not change anything) so what changed? The test result output is not too useful, as it just points to the comparison function and not actual failed comparison, did you run this in the debugger to check? |
b8f7c9a
to
26bf9f5
Compare
Well - |
jenkins build this with downstreams please |
jenkins build this with downstream please |
I get lots of test failures in opm-simulators now. Not sure how (or if) it is related to this though, after all Jenkins was green on this. |
The test failures are related to changed TEMP, and so are related to this mess. I could not understand why Jenkins was green on this, but it turns out that the opm-simulator tests were never run for this PR (nor of course for the original troublemaker...). For this PR, I think that your second command to jenkins maybe overwrote the first (correct) one. Perhaps jenkins should return failure whenever it fails to parse the command? Would that be easy to do, @akva2? It also seems to be the "with downstreams" that cause the most mistakes, could we simply make that the default and remove the option to not build the downstream modules? |
sanity checking the input is a bit too much meh in bash, and there are way to many corner cases to consider imo. i can remove the option though i really think people should pay attention and not let jenkins pay the price.. |
Double damn - first of all: My fault - again; I will fix. But even though I am the main guilty here: I am not the first one to f... up this, and I will not be the last, so maybe we could make some improvements to the system to reduce the number of problems for distracted operators like myself. Some suggestions/thoughts:
Anyway - I take full responsability for repeated f...ups and will now go about fixing the mess. |
|
thanks for moping this up quickly -- I certainly also deserve a fair amount of the blame! |
Looking at: #242 right now the Github heading on my comment is "joakim-hove commented 44 minutes ago" and there is no response from Jenkins - so as a end-user I do not have a guarantee of response within one polling period? Lack of response creates uncertainty.
I do not know the effort involved, and certainly do not pay the bill - but anyway: When people repeatedly make mistakes like I have done today you can always (rightly so) say that people should get their act together and pay attention, but maybe it would also make sense to look into improving the system? |
if you use the github triggers, it immediately fires the trigger when a branch is rewritten. the problem is it can take github longer time to update the pull/merge/xxx branch than 'instant'. you then end up building the old version of the rewritten branch, which leads to headaches. while this can still happen with the 5 min poll, it's much more unlikely. i'm not objecting to making changes, but my point is where does it stop? should i verify all repo names? the existence of pr's? etc etc. no matter how hard you try there will things that ultimately is at the mercy of the attention of the user. |
The failure to trigger in #242 is due to some timeout in the jenkins plugin. However it should be safe to re-issue the command if it does not "take" after 10 minutes or so. I have added a brief Troubleshooting section to https://wiki.opm-project.org/index.php?title=Jenkins_triggers Defaulting to building with downstreams: should be online now for the PR-builders, #242 has run tests in opm-simulators despite not having the old downstreams trigger. About syntax checking: we don't invest in it now, as the most-frequent error (forgetting to ask for downstreams builds) has been taken care of. |
No description provided.