[
https://issues.apache.org/jira/browse/MAHOUT-1345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13836089#comment-13836089
]
Suneel Marthi commented on MAHOUT-1345:
---------------------------------------
Following test failed in Hudson build
{Code}
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 35.838 sec <<<
FAILURE! - in org.apache.mahout.math.hadoop.stochasticsvd.LocalSSVDPCASparseTest
testOmegaTRightMultiply(org.apache.mahout.math.hadoop.stochasticsvd.LocalSSVDPCASparseTest)
Time elapsed: 0.192 sec <<< ERROR!
com.carrotsearch.randomizedtesting.ThreadLeakError: 5 threads leaked from TEST
scope at
testOmegaTRightMultiply(org.apache.mahout.math.hadoop.stochasticsvd.LocalSSVDPCASparseTest):
1) Thread[id=108, name=pool-8-thread-8, state=TERMINATED, group={null group}]
at (empty stack)
at
__randomizedtesting.SeedInfo.seed([784E5A6F09573D1:1727E47CFE1A98B7]:0)
{Code}
Don't see the failure happen locally on my machine (Mac OS), will look at it
later today. Not sure if this happens on a Ubuntu instance.
> Enable randomised testing for all Mahout modules
> ------------------------------------------------
>
> Key: MAHOUT-1345
> URL: https://issues.apache.org/jira/browse/MAHOUT-1345
> Project: Mahout
> Issue Type: Improvement
> Affects Versions: 0.8
> Reporter: Isabel Drost-Fromm
> Assignee: Suneel Marthi
> Priority: Minor
> Fix For: 0.9
>
> Attachments: MAHOUT-1345.diff, MAHOUT-1345.patch
>
>
> When enabling randomised testing for all modules I found a few tests became
> unstable or even fail deterministically due to lingering threads. The
> attached patch:
> * defines the randomised testing dependency in our parent pom
> * re-uses said dependencies in all depending modules (makes upgrading easier
> as the version number needs to be changed in just one place)
> * adds several code changes that fixed the failures due to lingering threads
> for me on my machine. I'd greatly appreciate input a) from those who wrote
> the respective code and b) others who ran the tests with these changes to
> make sure there are no other tests that suffer from the same issues.
> Warning: I touched quite a few bits and pieces I'm not intimately familiar
> with over the last few weeks (whenever I had a few spare minutes) - second
> pair of eyes needed.
--
This message was sent by Atlassian JIRA
(v6.1#6144)