You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ok github.com/openshift/origin/pkg/api 21.340s coverage: 77.9% of statements
ok github.com/openshift/origin/pkg/build/builder 6.770s coverage: 44.6% of statements
ok github.com/openshift/origin/pkg/cmd/server/crypto 19.404s coverage: 10.3% of statements
ok github.com/openshift/origin/pkg/cmd/server/admin 9.591s coverage: 31.1% of statements
ok github.com/openshift/origin/pkg/deploy/prune 11.039s coverage: 91.5% of statements
ok github.com/openshift/origin/pkg/deploy/reaper 15.137s coverage: 72.2% of statements
ok github.com/openshift/origin/pkg/generate/app/cmd 39.368s coverage: 62.4% of statements
ok github.com/openshift/origin/plugins/router/f5 6.206s coverage: 72.9% of statements
Are the worst offenders. pkg/api gets a pass because it's fuzz testing roundtripping, the others are probably not stubbing enough logic (generate for instance is going out to github and dockerhub) and should either be stubbed or moved to integration tests.
It gets worth with race detection on (not sure if you have that on locally). I was going to write a "special" list that got run with a longer default timeout to keep the queue happy.
@mfojtik and I had talked about moving the new-app stuff into test-integration to allow longer timeouts, but still make sure that our example repos still worked for each merge.
@smarterclayton it seems like running them in parallel with test-cmd has potentially led to some timeout-based tests being intentionally lengthened to work with the slowness with which we run them on Jenkins... unclear if your list above includes these or not
If a unit test can't deal with 20-30 second pauses, it's going to flake
against either test-cmd or itself, just based on our experience. It just
makes them more likely and thus easier to spot and fix.
On Tue, May 31, 2016 at 1:33 PM, Steve Kuznetsov [email protected]
wrote:
Activity
0xmichalis commentedon Jan 25, 2016
related: #6176
mfojtik commentedon Jan 25, 2016
github.com/openshift/origin/pkg/generate/app/cmd 39.368sThis is ~95s when I run this locally, which timeouts the unit tests. We already talked about this with @deads2k.
deads2k commentedon Jan 25, 2016
It gets worth with race detection on (not sure if you have that on locally). I was going to write a "special" list that got run with a longer default timeout to keep the queue happy.
@mfojtik and I had talked about moving the new-app stuff into test-integration to allow longer timeouts, but still make sure that our example repos still worked for each merge.
0xmichalis commentedon Jan 28, 2016
new-app tests panic from time to time
http://pastebin.com/kBL9Btq6
smarterclayton commentedon Jan 28, 2016
App/cmd does need to be split into two parts.
On Thu, Jan 28, 2016 at 5:44 AM, Michail Kargakis [email protected]
wrote:
deads2k commentedon Jan 28, 2016
@Kargakis we have a rule for this: https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin/failure-cause-management/56a667f3e4b089752bb4314f/, but it could use some work to gather the package that timeed out and the description should point to this issue.
0xmichalis commentedon Jan 28, 2016
updated with the panic log, name of the offending test, and the link to this issue
smarterclayton commentedon Feb 13, 2016
Moved new-app slow tests to integration
liggitt commentedon Mar 18, 2016
marking as flake because the slow ones sometimes timeout
0xmichalis commentedon May 31, 2016
@stevekuznetsov passing to you if you have any time to look at it
stevekuznetsov commentedon May 31, 2016
@smarterclayton it seems like running them in parallel with test-cmd has potentially led to some timeout-based tests being intentionally lengthened to work with the slowness with which we run them on Jenkins... unclear if your list above includes these or not
smarterclayton commentedon May 31, 2016
If a unit test can't deal with 20-30 second pauses, it's going to flake
against either test-cmd or itself, just based on our experience. It just
makes them more likely and thus easier to spot and fix.
On Tue, May 31, 2016 at 1:33 PM, Steve Kuznetsov [email protected]
wrote: