Merge lp:~vila/uci-engine/lets-land-the-spreadsheet into lp:uci-engine
Status: | Merged |
---|---|
Approved by: | Celso Providelo |
Approved revision: | 902 |
Merged at revision: | 902 |
Proposed branch: | lp:~vila/uci-engine/lets-land-the-spreadsheet |
Merge into: | lp:uci-engine |
Diff against target: |
37 lines (+13/-1) 1 file modified
ci-utils/ci_utils/testing/features.py (+13/-1) |
To merge this branch: | bzr merge lp:~vila/uci-engine/lets-land-the-spreadsheet |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Approve | |
Canonical CI Engineering | Pending | ||
Review via email: mp+242878@code.launchpad.net |
Commit message
Disable tests that requires swift and nova SLAs that are not currently met by bootstack.
Description of the change
<cprov> ev: FAIL: tests.test_
<cprov> ev: you guys can give me a "can kicker" t-shirt, but what's the point of having a test that fails 90 % of the time ?
90% ! Woohoo ! I'd kill to have a bug reproducing recipe with such a successful rate !
But I suspect you're vastly exagerating here... I'd would be happy with a
30% rate.
Long story short: this test failure value is that it tells us that we *will*
encounter that failure in production and that we *must* fix it before going
there.
<cprov> I in favor of disabling the test temporarily ... just it
Wrong idea.
Our current tarmac setup skips far too many tests already and you will miss
them.
<cprov> since I will be next on the tarmac queue and don't want to spend my night trying to land my changes
You are misusing a shared resource.
The point of gating changes on trunk is to ensure that a change in one part
of the code base is not breaking another part.
If your needs doesn't match that, use a different approach.
There are several that come to mind:
1 - reduce the deployment to a minimum: include only the components you care
about (focus on the ticket system and its bare minimal deps if that's what
you're after),
2 - fix the test failures you encounter,
3 - disable the tests that require SLAs that are not met by bootstack
currently,
4 - buy more hardware and set it up in bootstack to restore the beahvior
we've been relying on for months.
Since I'll be offline for a few days, this MP implements (3).
<vila> cprov: it tells you that your cloud behaves differently. It passes for months. But be honest, just remove all the tests that are in your way. You don't need them, they tell you nothing you want to hear.
Hence this proposal.
<cprov> vila: just until we have more intel about the problem
We do have a quite precise understanding of what is going on and how it
affects our code.
We even have reproducing recipes for them.
We even know how to fix our code to cope with these bugs.
So, what kind of intel do you miss ?
<cprov> vila: otherwise we will keep banging our head against the wall for landing unrelated changes
Doctor, it hurts when I do $X...
<vila> cprov: sure, it's not as if I never encounter the issue nor mentioned that nova behavior has evolved just like the swift one and that the fix is not available because I'm working on something else
<vila> cprov: yeah, too bad we didn't spend more time on fixing tarmac right or the known failures that identify stuff we *will* hit in production?
Like, say, the current issueS with the nova volumes.
Do we have reproducing recipes for these issues ?
<cprov> vila: production is spreadsheet replacement with mojo, that buys us time to cope with nova/swift changes later
Yeah, let's land the spreadsheet, who cares about running tests ? It's not
as if CI purpose was to provide a reliable infrastructure to run tests isn't
it ?
<cprov> it would be lot more productive to care about things that are actually in sync to what we have to deliver next week.
Stop fighting the tools and blaming people, use the tools.
<vila> cprov: go further: test runner is your way, remove it *temporarily* from your deployment, as well as its tests. Done.
That was (1).
My preferred choice is (2). Especially when dealing with races, having
reproducing recipes is a god sent gift.
This proposal (3) express the newly acquired knowledge: our code can't cope
with the current swift and nova SLAs provided by bootstack.
(4) is not for me to decide ;)
PASSED: Continuous integration, rev:902 s-jenkins. ubuntu- ci:8080/ job/uci- engine- ci/1751/
http://
Executed test runs:
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/uci- engine- ci/1751/ rebuild
http://