accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ACCUMULO-2434) Functional test MapReduce runner doesn't check return code of test
Date Fri, 19 Sep 2014 17:07:44 GMT

     [ https://issues.apache.org/jira/browse/ACCUMULO-2434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Josh Elser updated ACCUMULO-2434:
---------------------------------
    Fix Version/s:     (was: 1.5.2)
                   1.5.3

> Functional test MapReduce runner doesn't check return code of test
> ------------------------------------------------------------------
>
>                 Key: ACCUMULO-2434
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2434
>             Project: Accumulo
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 1.4.5, 1.5.1
>            Reporter: Sean Busbey
>            Priority: Critical
>              Labels: newbie
>             Fix For: 1.5.3
>
>
> While testing ACCUMULO-2005, I had unusually fast MR test runs.
> Drilling into individual task results showed the run was actually failing while reporting
the map task as successful.
> {noformat}
> 2014-03-05 10:52:27,755 INFO org.apache.accumulo.server.test.functional.RunTests: Running
test [/usr/bin/python, test/system/auto/run.py, -m, -f, 1, -t, simple.addSplit.AddSplitTest]
> 2014-03-05 10:52:27,788 INFO org.apache.accumulo.server.test.functional.RunTests: More:
Traceback (most recent call last):
> 2014-03-05 10:52:27,788 INFO org.apache.accumulo.server.test.functional.RunTests: More:
  File "test/system/auto/run.py", line 29, in <module>
> 2014-03-05 10:52:27,788 INFO org.apache.accumulo.server.test.functional.RunTests: More:
    from TestUtils import ACCUMULO_HOME, ACCUMULO_DIR, COBERTURA_HOME, findCoberturaJar
> 2014-03-05 10:52:27,788 INFO org.apache.accumulo.server.test.functional.RunTests: More:
ImportError: No module named TestUtils
> 2014-03-05 10:52:27,798 INFO org.apache.hadoop.mapred.MapTask: Starting flush of map
output
> 2014-03-05 10:52:27,811 INFO org.apache.hadoop.io.compress.CodecPool: Got brand-new compressor
[.snappy]
> 2014-03-05 10:52:27,814 INFO org.apache.hadoop.mapred.Task: Task:attempt_201401282254_0002_m_000003_0
is done. And is in the process of commiting
> 2014-03-05 10:52:27,949 INFO org.apache.hadoop.mapred.Task: Task 'attempt_201401282254_0002_m_000003_0'
done.
> {noformat}
> the current test running class ignores the return code of the test process ([ref|https://github.com/apache/accumulo/blob/1.5.1/test/src/main/java/org/apache/accumulo/test/functional/RunTests.java#L140])

> Instead, we should check the status and fail the task if it returns an error.
> Workaround: Job counters should show Success / Failure / Error count for tests. If none
of hte counters appear, consider all tests failed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message