You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Chris Nauroth (JIRA)" <ji...@apache.org> on 2012/10/25 01:02:12 UTC
[jira] [Created] (HADOOP-8981) TestMetricsSystemImpl fails on
Windows
Chris Nauroth created HADOOP-8981:
-------------------------------------
Summary: TestMetricsSystemImpl fails on Windows
Key: HADOOP-8981
URL: https://issues.apache.org/jira/browse/HADOOP-8981
Project: Hadoop Common
Issue Type: Bug
Components: metrics
Affects Versions: trunk-win
Reporter: Chris Nauroth
Assignee: Chris Nauroth
The test is failing on an expected mock interaction.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-8981) TestMetricsSystemImpl fails on
Windows
Posted by "Arpit Agarwal (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13506049#comment-13506049 ]
Arpit Agarwal commented on HADOOP-8981:
---------------------------------------
Yes, it is the same. Your fix is very similar to what Chuan has submitted i.e. adding a short sleep before the verification.
> TestMetricsSystemImpl fails on Windows
> --------------------------------------
>
> Key: HADOOP-8981
> URL: https://issues.apache.org/jira/browse/HADOOP-8981
> Project: Hadoop Common
> Issue Type: Bug
> Components: metrics
> Affects Versions: trunk-win
> Reporter: Chris Nauroth
> Assignee: Arpit Agarwal
> Attachments: HADOOP-8981-branch-trunk-win.1.patch
>
>
> The test is failing on an expected mock interaction.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-8981) TestMetricsSystemImpl fails on
Windows
Posted by "Xuan Gong (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8981?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xuan Gong updated HADOOP-8981:
------------------------------
Attachment: HADOOP-8981-branch-trunk-win.2.patch
Format the code
> TestMetricsSystemImpl fails on Windows
> --------------------------------------
>
> Key: HADOOP-8981
> URL: https://issues.apache.org/jira/browse/HADOOP-8981
> Project: Hadoop Common
> Issue Type: Bug
> Components: metrics
> Affects Versions: trunk-win
> Reporter: Chris Nauroth
> Assignee: Arpit Agarwal
> Attachments: HADOOP-8981-branch-trunk-win.1.patch, HADOOP-8981-branch-trunk-win.2.patch
>
>
> The test is failing on an expected mock interaction.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-8981) TestMetricsSystemImpl fails on
Windows
Posted by "Xuan Gong (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8981?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xuan Gong updated HADOOP-8981:
------------------------------
Attachment: HADOOP-8981-branch-trunk-win.4.patch
> TestMetricsSystemImpl fails on Windows
> --------------------------------------
>
> Key: HADOOP-8981
> URL: https://issues.apache.org/jira/browse/HADOOP-8981
> Project: Hadoop Common
> Issue Type: Bug
> Components: metrics
> Affects Versions: trunk-win
> Reporter: Chris Nauroth
> Assignee: Arpit Agarwal
> Attachments: HADOOP-8981-branch-trunk-win.1.patch, HADOOP-8981-branch-trunk-win.2.patch, HADOOP-8981-branch-trunk-win.3.patch, HADOOP-8981-branch-trunk-win.4.patch
>
>
> The test is failing on an expected mock interaction.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-8981) TestMetricsSystemImpl fails on
Windows
Posted by "Luke Lu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13507756#comment-13507756 ]
Luke Lu commented on HADOOP-8981:
---------------------------------
Thanks for the patch Xuan! The patch lgtm besides some minor nits:
# Please add a comment about atMost(2) in the original test to document the intention.
# Please fix the style issues according to https://wiki.apache.org/hadoop/CodeReviewChecklist
** Indentation needs to be 2 spaces, I see 2, 3, 4, 8 being used at the same time :)
> TestMetricsSystemImpl fails on Windows
> --------------------------------------
>
> Key: HADOOP-8981
> URL: https://issues.apache.org/jira/browse/HADOOP-8981
> Project: Hadoop Common
> Issue Type: Bug
> Components: metrics
> Affects Versions: trunk-win
> Reporter: Chris Nauroth
> Assignee: Arpit Agarwal
> Attachments: HADOOP-8981-branch-trunk-win.1.patch, HADOOP-8981-branch-trunk-win.2.patch, HADOOP-8981-branch-trunk-win.3.patch
>
>
> The test is failing on an expected mock interaction.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-8981) TestMetricsSystemImpl fails on
Windows
Posted by "Ivan Mitic (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13506040#comment-13506040 ]
Ivan Mitic commented on HADOOP-8981:
------------------------------------
Is this the same issue as reported by HADOOP-9057?
> TestMetricsSystemImpl fails on Windows
> --------------------------------------
>
> Key: HADOOP-8981
> URL: https://issues.apache.org/jira/browse/HADOOP-8981
> Project: Hadoop Common
> Issue Type: Bug
> Components: metrics
> Affects Versions: trunk-win
> Reporter: Chris Nauroth
> Assignee: Arpit Agarwal
> Attachments: HADOOP-8981-branch-trunk-win.1.patch
>
>
> The test is failing on an expected mock interaction.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-8981) TestMetricsSystemImpl fails on
Windows
Posted by "Xuan Gong (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8981?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xuan Gong updated HADOOP-8981:
------------------------------
Attachment: HADOOP-8981-branch-trunk-win.3.patch
> TestMetricsSystemImpl fails on Windows
> --------------------------------------
>
> Key: HADOOP-8981
> URL: https://issues.apache.org/jira/browse/HADOOP-8981
> Project: Hadoop Common
> Issue Type: Bug
> Components: metrics
> Affects Versions: trunk-win
> Reporter: Chris Nauroth
> Assignee: Arpit Agarwal
> Attachments: HADOOP-8981-branch-trunk-win.1.patch, HADOOP-8981-branch-trunk-win.2.patch, HADOOP-8981-branch-trunk-win.3.patch
>
>
> The test is failing on an expected mock interaction.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-8981) TestMetricsSystemImpl fails on
Windows
Posted by "Xuan Gong (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13504810#comment-13504810 ]
Xuan Gong commented on HADOOP-8981:
-----------------------------------
For this test failure, I do not think our code has any problems. So, basically, how the testInitFirst function works like this: it will register three sinks, named "Test","Sink1" and "Sink2", each of them has its own blockingQueue, initially the queue is empty, and if there are any items in the queue, they will consume them. In the testInitFirst function, what the function ms.onTimerEvent() did is to put items to all of the queues that let the sinks can consume the items. Followed by this function is stop function. Basically it stops all the threads.
Why the test is fail is because the sink does not finish to consume the items, it is stopped by calling the function stop(). If we add Thread.sleep(sometime) before the stop function, the test will be successful.Original I think maybe we can add the checking condition to check if the queue is empty before we actually do the stop. But I think that the purpose of this stop() function is when I call this functions, all the sink threads should stop no matter they are idle or they are doing something. If we actually add the checking condition or other synchronized mechnism to make sure all the items in queue is consumed before we stop the thread, does this violate the purpose of calling stop function ?
And actually the test is fail, on the other side, it proved that our stop function is actually worked correctly. When we call the stop, everything is stopped no matter what they are doing right now. Based on that, I runned this test several times, I found that sometimes it will be successful, sometimes half rigth half wrong, sometimes all fails.
If we try to make the testcase pass, what we need to do is to change the test case to :
verify(sink1, atMost(2)).putMetrics(r1.capture());
List<MetricsRecord> mr1 = r1.getAllValues();
verify(sink2, atMost(2)).putMetrics(r2.capture());
List<MetricsRecord> mr2 = r2.getAllValues();
if(mr1.size() != 0 && mr2.size() != 0){
checkMetricsRecords(mr1);
assertEquals("output", mr1, mr2);
}else if(mr1.size() != 0){
checkMetricsRecords(mr1);
}else if(mr2.size() != 0){
checkMetricsRecords(mr2);
}
> TestMetricsSystemImpl fails on Windows
> --------------------------------------
>
> Key: HADOOP-8981
> URL: https://issues.apache.org/jira/browse/HADOOP-8981
> Project: Hadoop Common
> Issue Type: Bug
> Components: metrics
> Affects Versions: trunk-win
> Reporter: Chris Nauroth
> Assignee: Arpit Agarwal
>
> The test is failing on an expected mock interaction.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-8981) TestMetricsSystemImpl fails on
Windows
Posted by "Ivan Mitic (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13507772#comment-13507772 ]
Ivan Mitic commented on HADOOP-8981:
------------------------------------
Thanks Xuan for the patch! I don't have anything else to add on top of what Luke already called out. Patch looks good.
> TestMetricsSystemImpl fails on Windows
> --------------------------------------
>
> Key: HADOOP-8981
> URL: https://issues.apache.org/jira/browse/HADOOP-8981
> Project: Hadoop Common
> Issue Type: Bug
> Components: metrics
> Affects Versions: trunk-win
> Reporter: Chris Nauroth
> Assignee: Arpit Agarwal
> Attachments: HADOOP-8981-branch-trunk-win.1.patch, HADOOP-8981-branch-trunk-win.2.patch, HADOOP-8981-branch-trunk-win.3.patch
>
>
> The test is failing on an expected mock interaction.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-8981) TestMetricsSystemImpl fails on
Windows
Posted by "Xuan Gong (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8981?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xuan Gong updated HADOOP-8981:
------------------------------
Attachment: (was: HADOOP-8981-branch-trunk-win.4.patch)
> TestMetricsSystemImpl fails on Windows
> --------------------------------------
>
> Key: HADOOP-8981
> URL: https://issues.apache.org/jira/browse/HADOOP-8981
> Project: Hadoop Common
> Issue Type: Bug
> Components: metrics
> Affects Versions: trunk-win
> Reporter: Chris Nauroth
> Assignee: Arpit Agarwal
> Attachments: HADOOP-8981-branch-trunk-win.1.patch, HADOOP-8981-branch-trunk-win.2.patch, HADOOP-8981-branch-trunk-win.3.patch
>
>
> The test is failing on an expected mock interaction.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-8981) TestMetricsSystemImpl fails on
Windows
Posted by "Xuan Gong (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8981?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xuan Gong updated HADOOP-8981:
------------------------------
Attachment: (was: HADOOP-8981-branch-trunk-win.4.patch)
> TestMetricsSystemImpl fails on Windows
> --------------------------------------
>
> Key: HADOOP-8981
> URL: https://issues.apache.org/jira/browse/HADOOP-8981
> Project: Hadoop Common
> Issue Type: Bug
> Components: metrics
> Affects Versions: trunk-win
> Reporter: Chris Nauroth
> Assignee: Arpit Agarwal
> Attachments: HADOOP-8981-branch-trunk-win.1.patch, HADOOP-8981-branch-trunk-win.2.patch, HADOOP-8981-branch-trunk-win.3.patch, HADOOP-8981-branch-trunk-win.4.patch
>
>
> The test is failing on an expected mock interaction.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (HADOOP-8981) TestMetricsSystemImpl fails on
Windows
Posted by "Arpit Agarwal (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8981?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arpit Agarwal reassigned HADOOP-8981:
-------------------------------------
Assignee: Arpit Agarwal (was: Chris Nauroth)
> TestMetricsSystemImpl fails on Windows
> --------------------------------------
>
> Key: HADOOP-8981
> URL: https://issues.apache.org/jira/browse/HADOOP-8981
> Project: Hadoop Common
> Issue Type: Bug
> Components: metrics
> Affects Versions: trunk-win
> Reporter: Chris Nauroth
> Assignee: Arpit Agarwal
>
> The test is failing on an expected mock interaction.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-8981) TestMetricsSystemImpl fails on
Windows
Posted by "Xuan Gong (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8981?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xuan Gong updated HADOOP-8981:
------------------------------
Attachment: HADOOP-8981-branch-trunk-win.4.patch
Format the code
> TestMetricsSystemImpl fails on Windows
> --------------------------------------
>
> Key: HADOOP-8981
> URL: https://issues.apache.org/jira/browse/HADOOP-8981
> Project: Hadoop Common
> Issue Type: Bug
> Components: metrics
> Affects Versions: trunk-win
> Reporter: Chris Nauroth
> Assignee: Arpit Agarwal
> Attachments: HADOOP-8981-branch-trunk-win.1.patch, HADOOP-8981-branch-trunk-win.2.patch, HADOOP-8981-branch-trunk-win.3.patch
>
>
> The test is failing on an expected mock interaction.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-8981) TestMetricsSystemImpl fails on
Windows
Posted by "Ivan Mitic (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13496046#comment-13496046 ]
Ivan Mitic commented on HADOOP-8981:
------------------------------------
Seems to be a duplicate of HDFS-3636.
> TestMetricsSystemImpl fails on Windows
> --------------------------------------
>
> Key: HADOOP-8981
> URL: https://issues.apache.org/jira/browse/HADOOP-8981
> Project: Hadoop Common
> Issue Type: Bug
> Components: metrics
> Affects Versions: trunk-win
> Reporter: Chris Nauroth
> Assignee: Arpit Agarwal
>
> The test is failing on an expected mock interaction.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-8981) TestMetricsSystemImpl fails on
Windows
Posted by "Xuan Gong (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8981?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xuan Gong updated HADOOP-8981:
------------------------------
Attachment: HADOOP-8981-branch-trunk-win.1.patch
Attached the patch that addresses the test fails on windows. Add a test case to verify the callback correctly, abd test case to verify the stop call immediately
> TestMetricsSystemImpl fails on Windows
> --------------------------------------
>
> Key: HADOOP-8981
> URL: https://issues.apache.org/jira/browse/HADOOP-8981
> Project: Hadoop Common
> Issue Type: Bug
> Components: metrics
> Affects Versions: trunk-win
> Reporter: Chris Nauroth
> Assignee: Arpit Agarwal
> Attachments: HADOOP-8981-branch-trunk-win.1.patch
>
>
> The test is failing on an expected mock interaction.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-8981) TestMetricsSystemImpl fails on
Windows
Posted by "Arpit Agarwal (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13506031#comment-13506031 ]
Arpit Agarwal commented on HADOOP-8981:
---------------------------------------
Tabs should be replaced with two spaces. Looks fine otherwise.
> TestMetricsSystemImpl fails on Windows
> --------------------------------------
>
> Key: HADOOP-8981
> URL: https://issues.apache.org/jira/browse/HADOOP-8981
> Project: Hadoop Common
> Issue Type: Bug
> Components: metrics
> Affects Versions: trunk-win
> Reporter: Chris Nauroth
> Assignee: Arpit Agarwal
> Attachments: HADOOP-8981-branch-trunk-win.1.patch
>
>
> The test is failing on an expected mock interaction.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-8981) TestMetricsSystemImpl fails on
Windows
Posted by "Xuan Gong (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8981?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xuan Gong updated HADOOP-8981:
------------------------------
Attachment: HADOOP-8981-branch-trunck-win.3.patch
Actually, using mockito timeout works. We actually verify the callback before we call stop functions. But I still keep the test case that verify the stop function correctly.
Patch 3 is the mockito timeout version
> TestMetricsSystemImpl fails on Windows
> --------------------------------------
>
> Key: HADOOP-8981
> URL: https://issues.apache.org/jira/browse/HADOOP-8981
> Project: Hadoop Common
> Issue Type: Bug
> Components: metrics
> Affects Versions: trunk-win
> Reporter: Chris Nauroth
> Assignee: Arpit Agarwal
> Attachments: HADOOP-8981-branch-trunck-win.3.patch, HADOOP-8981-branch-trunk-win.1.patch, HADOOP-8981-branch-trunk-win.2.patch
>
>
> The test is failing on an expected mock interaction.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-8981) TestMetricsSystemImpl fails on
Windows
Posted by "Chris Nauroth (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13483701#comment-13483701 ]
Chris Nauroth commented on HADOOP-8981:
---------------------------------------
{code}
Running org.apache.hadoop.metrics2.impl.TestMetricsSystemImpl
Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.422 sec <<< FAILURE!
testInitFirst(org.apache.hadoop.metrics2.impl.TestMetricsSystemImpl) Time elapsed: 422 sec <<< FAILURE!
Wanted but not invoked:
metricsSink.putMetrics(<Capturing argument>);
-> at org.apache.hadoop.metrics2.impl.TestMetricsSystemImpl.testInitFirst(TestMetricsSystemImpl.java:99)
Actually, there were zero interactions with this mock.
at org.apache.hadoop.metrics2.impl.TestMetricsSystemImpl.testInitFirst(TestMetricsSystemImpl.java:99)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.mockito.internal.runners.JUnit45AndHigherRunnerImpl.run(JUnit45AndHigherRunnerImpl.java:37)
at org.mockito.runners.MockitoJUnitRunner.run(MockitoJUnitRunner.java:62)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
{code}
> TestMetricsSystemImpl fails on Windows
> --------------------------------------
>
> Key: HADOOP-8981
> URL: https://issues.apache.org/jira/browse/HADOOP-8981
> Project: Hadoop Common
> Issue Type: Bug
> Components: metrics
> Affects Versions: trunk-win
> Reporter: Chris Nauroth
> Assignee: Chris Nauroth
>
> The test is failing on an expected mock interaction.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-8981) TestMetricsSystemImpl fails on
Windows
Posted by "Xuan Gong (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8981?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xuan Gong updated HADOOP-8981:
------------------------------
Attachment: HADOOP-8981-branch-trunk-win.4.patch
> TestMetricsSystemImpl fails on Windows
> --------------------------------------
>
> Key: HADOOP-8981
> URL: https://issues.apache.org/jira/browse/HADOOP-8981
> Project: Hadoop Common
> Issue Type: Bug
> Components: metrics
> Affects Versions: trunk-win
> Reporter: Chris Nauroth
> Assignee: Arpit Agarwal
> Attachments: HADOOP-8981-branch-trunk-win.1.patch, HADOOP-8981-branch-trunk-win.2.patch, HADOOP-8981-branch-trunk-win.3.patch, HADOOP-8981-branch-trunk-win.4.patch
>
>
> The test is failing on an expected mock interaction.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-8981) TestMetricsSystemImpl fails on
Windows
Posted by "Xuan Gong (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8981?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xuan Gong updated HADOOP-8981:
------------------------------
Attachment: (was: HADOOP-8981-branch-trunck-win.3.patch)
> TestMetricsSystemImpl fails on Windows
> --------------------------------------
>
> Key: HADOOP-8981
> URL: https://issues.apache.org/jira/browse/HADOOP-8981
> Project: Hadoop Common
> Issue Type: Bug
> Components: metrics
> Affects Versions: trunk-win
> Reporter: Chris Nauroth
> Assignee: Arpit Agarwal
> Attachments: HADOOP-8981-branch-trunk-win.1.patch, HADOOP-8981-branch-trunk-win.2.patch, HADOOP-8981-branch-trunk-win.3.patch
>
>
> The test is failing on an expected mock interaction.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira