You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2014/06/16 13:10:39 UTC

Failed: YARN-2144 PreCommit Build #3996

Jira: https://issues.apache.org/jira/browse/YARN-2144
Build: https://builds.apache.org/job/PreCommit-YARN-Build/3996/

###################################################################################
########################## LAST 60 LINES OF THE CONSOLE ###########################
[...truncated 3844 lines...]

    {color:green}+1 tests included{color}.  The patch appears to include 6 new or modified test files.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of javac compiler warnings.

    {color:green}+1 javadoc{color}.  There were no new javadoc warning messages.

    {color:green}+1 eclipse:eclipse{color}.  The patch built with eclipse:eclipse.

    {color:green}+1 findbugs{color}.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number of release audit warnings.

    {color:red}-1 core tests{color}.  The patch failed these unit tests in hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager:

                  org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestChildQueueOrder
                  org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestApplicationLimits
                  org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps
                  org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue
                  org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebApp

    {color:green}+1 contrib tests{color}.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-YARN-Build/3996//testReport/
Console output: https://builds.apache.org/job/PreCommit-YARN-Build/3996//console

This message is automatically generated.


======================================================================
======================================================================
    Adding comment to Jira.
======================================================================
======================================================================


Comment added.
bdf3136b8efed666f4177c7fab41b422c83f2db8 logged out


======================================================================
======================================================================
    Finished build.
======================================================================
======================================================================


Build step 'Execute shell' marked build as failure
Archiving artifacts
Sending artifact delta relative to PreCommit-YARN-Build #3994
Archived 17 artifacts
Archive block size is 32768
Received 212 blocks and 1215577 bytes
Compression is 85.1%
Took 2.7 sec
[description-setter] Could not determine description.
Recording test results
Email was triggered for: Failure
Sending email for trigger: Failure



###################################################################################
############################## FAILED TESTS (if any) ##############################
49 tests failed.
REGRESSION:  org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestApplicationLimits.testHeadroom

Error Message:

Invalid use of argument matchers!
8 matchers expected, 7 recorded.
This exception may occur if matchers are combined with raw values:
    //incorrect:
    someMethod(anyObject(), "raw String");
When using matchers, all arguments have to be provided by matchers.
For example:
    //correct:
    someMethod(anyObject(), eq("String by matcher"));

For more info see javadoc for Matchers class.

Stack Trace:
org.mockito.exceptions.misusing.InvalidUseOfMatchersException: 
Invalid use of argument matchers!
8 matchers expected, 7 recorded.
This exception may occur if matchers are combined with raw values:
    //incorrect:
    someMethod(anyObject(), "raw String");
When using matchers, all arguments have to be provided by matchers.
For example:
    //correct:
    someMethod(anyObject(), eq("String by matcher"));

For more info see javadoc for Matchers class.
	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.stubLeafQueue(TestLeafQueue.java:236)
	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestApplicationLimits.testHeadroom(TestApplicationLimits.java:488)


REGRESSION:  org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestApplicationLimits.testActiveApplicationLimits

Error Message:

Unfinished stubbing detected here:
-> at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.stubLeafQueue(TestLeafQueue.java:236)

E.g. thenReturn() may be missing.
Examples of correct stubbing:
    when(mock.isOk()).thenReturn(true);
    when(mock.isOk()).thenThrow(exception);
    doThrow(exception).when(mock).someVoidMethod();
Hints:
 1. missing thenReturn()
 2. although stubbed methods may return mocks, you cannot inline mock creation (mock()) call inside a thenReturn method (see issue 53)


Stack Trace:
org.mockito.exceptions.misusing.UnfinishedStubbingException: 
Unfinished stubbing detected here:
-> at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.stubLeafQueue(TestLeafQueue.java:236)

E.g. thenReturn() may be missing.
Examples of correct stubbing:
    when(mock.isOk()).thenReturn(true);
    when(mock.isOk()).thenThrow(exception);
    doThrow(exception).when(mock).someVoidMethod();
Hints:
 1. missing thenReturn()
 2. although stubbed methods may return mocks, you cannot inline mock creation (mock()) call inside a thenReturn method (see issue 53)

	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestApplicationLimits.setUp(TestApplicationLimits.java:77)


REGRESSION:  org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestChildQueueOrder.testSortedQueues

Error Message:
expected:<0.1> but was:<0.4>

Stack Trace:
java.lang.AssertionError: expected:<0.1> but was:<0.4>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:743)
	at org.junit.Assert.assertEquals(Assert.java:519)
	at org.junit.Assert.assertEquals(Assert.java:609)
	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestChildQueueOrder.verifyQueueMetrics(TestChildQueueOrder.java:175)
	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestChildQueueOrder.testSortedQueues(TestChildQueueOrder.java:310)


REGRESSION:  org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.testHeadroomWithMaxCap

Error Message:

Invalid use of argument matchers!
8 matchers expected, 7 recorded.
This exception may occur if matchers are combined with raw values:
    //incorrect:
    someMethod(anyObject(), "raw String");
When using matchers, all arguments have to be provided by matchers.
For example:
    //correct:
    someMethod(anyObject(), eq("String by matcher"));

For more info see javadoc for Matchers class.

Stack Trace:
org.mockito.exceptions.misusing.InvalidUseOfMatchersException: 
Invalid use of argument matchers!
8 matchers expected, 7 recorded.
This exception may occur if matchers are combined with raw values:
    //incorrect:
    someMethod(anyObject(), "raw String");
When using matchers, all arguments have to be provided by matchers.
For example:
    //correct:
    someMethod(anyObject(), eq("String by matcher"));

For more info see javadoc for Matchers class.
	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.stubLeafQueue(TestLeafQueue.java:236)
	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.testHeadroomWithMaxCap(TestLeafQueue.java:622)


REGRESSION:  org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.testHeadroomWithMaxCap

Error Message:

Unfinished stubbing detected here:
-> at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.stubLeafQueue(TestLeafQueue.java:236)

E.g. thenReturn() may be missing.
Examples of correct stubbing:
    when(mock.isOk()).thenReturn(true);
    when(mock.isOk()).thenThrow(exception);
    doThrow(exception).when(mock).someVoidMethod();
Hints:
 1. missing thenReturn()
 2. although stubbed methods may return mocks, you cannot inline mock creation (mock()) call inside a thenReturn method (see issue 53)


Stack Trace:
org.mockito.exceptions.misusing.UnfinishedStubbingException: 
Unfinished stubbing detected here:
-> at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.stubLeafQueue(TestLeafQueue.java:236)

E.g. thenReturn() may be missing.
Examples of correct stubbing:
    when(mock.isOk()).thenReturn(true);
    when(mock.isOk()).thenThrow(exception);
    doThrow(exception).when(mock).someVoidMethod();
Hints:
 1. missing thenReturn()
 2. although stubbed methods may return mocks, you cannot inline mock creation (mock()) call inside a thenReturn method (see issue 53)

	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.tearDown(TestLeafQueue.java:2086)


REGRESSION:  org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.testLocalityConstraints

Error Message:

Invalid use of argument matchers!
8 matchers expected, 7 recorded.
This exception may occur if matchers are combined with raw values:
    //incorrect:
    someMethod(anyObject(), "raw String");
When using matchers, all arguments have to be provided by matchers.
For example:
    //correct:
    someMethod(anyObject(), eq("String by matcher"));

For more info see javadoc for Matchers class.

Stack Trace:
org.mockito.exceptions.misusing.InvalidUseOfMatchersException: 
Invalid use of argument matchers!
8 matchers expected, 7 recorded.
This exception may occur if matchers are combined with raw values:
    //incorrect:
    someMethod(anyObject(), "raw String");
When using matchers, all arguments have to be provided by matchers.
For example:
    //correct:
    someMethod(anyObject(), eq("String by matcher"));

For more info see javadoc for Matchers class.
	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.stubLeafQueue(TestLeafQueue.java:236)
	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.testLocalityConstraints(TestLeafQueue.java:1769)


REGRESSION:  org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.testLocalityConstraints

Error Message:

Unfinished stubbing detected here:
-> at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.stubLeafQueue(TestLeafQueue.java:236)

E.g. thenReturn() may be missing.
Examples of correct stubbing:
    when(mock.isOk()).thenReturn(true);
    when(mock.isOk()).thenThrow(exception);
    doThrow(exception).when(mock).someVoidMethod();
Hints:
 1. missing thenReturn()
 2. although stubbed methods may return mocks, you cannot inline mock creation (mock()) call inside a thenReturn method (see issue 53)


Stack Trace:
org.mockito.exceptions.misusing.UnfinishedStubbingException: 
Unfinished stubbing detected here:
-> at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.stubLeafQueue(TestLeafQueue.java:236)

E.g. thenReturn() may be missing.
Examples of correct stubbing:
    when(mock.isOk()).thenReturn(true);
    when(mock.isOk()).thenThrow(exception);
    doThrow(exception).when(mock).someVoidMethod();
Hints:
 1. missing thenReturn()
 2. although stubbed methods may return mocks, you cannot inline mock creation (mock()) call inside a thenReturn method (see issue 53)

	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.tearDown(TestLeafQueue.java:2086)


REGRESSION:  org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.testActivateApplicationByUpdatingClusterResource

Error Message:

Invalid use of argument matchers!
8 matchers expected, 7 recorded.
This exception may occur if matchers are combined with raw values:
    //incorrect:
    someMethod(anyObject(), "raw String");
When using matchers, all arguments have to be provided by matchers.
For example:
    //correct:
    someMethod(anyObject(), eq("String by matcher"));

For more info see javadoc for Matchers class.

Stack Trace:
org.mockito.exceptions.misusing.InvalidUseOfMatchersException: 
Invalid use of argument matchers!
8 matchers expected, 7 recorded.
This exception may occur if matchers are combined with raw values:
    //incorrect:
    someMethod(anyObject(), "raw String");
When using matchers, all arguments have to be provided by matchers.
For example:
    //correct:
    someMethod(anyObject(), eq("String by matcher"));

For more info see javadoc for Matchers class.
	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.stubLeafQueue(TestLeafQueue.java:236)
	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.testActivateApplicationByUpdatingClusterResource(TestLeafQueue.java:1692)


REGRESSION:  org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.testStolenReservedContainer

Error Message:

Invalid use of argument matchers!
8 matchers expected, 7 recorded.
This exception may occur if matchers are combined with raw values:
    //incorrect:
    someMethod(anyObject(), "raw String");
When using matchers, all arguments have to be provided by matchers.
For example:
    //correct:
    someMethod(anyObject(), eq("String by matcher"));

For more info see javadoc for Matchers class.

Stack Trace:
org.mockito.exceptions.misusing.InvalidUseOfMatchersException: 
Invalid use of argument matchers!
8 matchers expected, 7 recorded.
This exception may occur if matchers are combined with raw values:
    //incorrect:
    someMethod(anyObject(), "raw String");
When using matchers, all arguments have to be provided by matchers.
For example:
    //correct:
    someMethod(anyObject(), eq("String by matcher"));

For more info see javadoc for Matchers class.
	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.stubLeafQueue(TestLeafQueue.java:236)
	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.testStolenReservedContainer(TestLeafQueue.java:1011)


REGRESSION:  org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.testStolenReservedContainer

Error Message:

Unfinished stubbing detected here:
-> at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.stubLeafQueue(TestLeafQueue.java:236)

E.g. thenReturn() may be missing.
Examples of correct stubbing:
    when(mock.isOk()).thenReturn(true);
    when(mock.isOk()).thenThrow(exception);
    doThrow(exception).when(mock).someVoidMethod();
Hints:
 1. missing thenReturn()
 2. although stubbed methods may return mocks, you cannot inline mock creation (mock()) call inside a thenReturn method (see issue 53)


Stack Trace:
org.mockito.exceptions.misusing.UnfinishedStubbingException: 
Unfinished stubbing detected here:
-> at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.stubLeafQueue(TestLeafQueue.java:236)

E.g. thenReturn() may be missing.
Examples of correct stubbing:
    when(mock.isOk()).thenReturn(true);
    when(mock.isOk()).thenThrow(exception);
    doThrow(exception).when(mock).someVoidMethod();
Hints:
 1. missing thenReturn()
 2. although stubbed methods may return mocks, you cannot inline mock creation (mock()) call inside a thenReturn method (see issue 53)

	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.tearDown(TestLeafQueue.java:2086)


REGRESSION:  org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.testAllocateContainerOnNodeWithoutOffSwitchSpecified

Error Message:

Invalid use of argument matchers!
8 matchers expected, 7 recorded.
This exception may occur if matchers are combined with raw values:
    //incorrect:
    someMethod(anyObject(), "raw String");
When using matchers, all arguments have to be provided by matchers.
For example:
    //correct:
    someMethod(anyObject(), eq("String by matcher"));

For more info see javadoc for Matchers class.

Stack Trace:
org.mockito.exceptions.misusing.InvalidUseOfMatchersException: 
Invalid use of argument matchers!
8 matchers expected, 7 recorded.
This exception may occur if matchers are combined with raw values:
    //incorrect:
    someMethod(anyObject(), "raw String");
When using matchers, all arguments have to be provided by matchers.
For example:
    //correct:
    someMethod(anyObject(), eq("String by matcher"));

For more info see javadoc for Matchers class.
	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.stubLeafQueue(TestLeafQueue.java:236)
	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.testAllocateContainerOnNodeWithoutOffSwitchSpecified(TestLeafQueue.java:2024)


REGRESSION:  org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.testAllocateContainerOnNodeWithoutOffSwitchSpecified

Error Message:

Unfinished stubbing detected here:
-> at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.stubLeafQueue(TestLeafQueue.java:236)

E.g. thenReturn() may be missing.
Examples of correct stubbing:
    when(mock.isOk()).thenReturn(true);
    when(mock.isOk()).thenThrow(exception);
    doThrow(exception).when(mock).someVoidMethod();
Hints:
 1. missing thenReturn()
 2. although stubbed methods may return mocks, you cannot inline mock creation (mock()) call inside a thenReturn method (see issue 53)


Stack Trace:
org.mockito.exceptions.misusing.UnfinishedStubbingException: 
Unfinished stubbing detected here:
-> at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.stubLeafQueue(TestLeafQueue.java:236)

E.g. thenReturn() may be missing.
Examples of correct stubbing:
    when(mock.isOk()).thenReturn(true);
    when(mock.isOk()).thenThrow(exception);
    doThrow(exception).when(mock).someVoidMethod();
Hints:
 1. missing thenReturn()
 2. although stubbed methods may return mocks, you cannot inline mock creation (mock()) call inside a thenReturn method (see issue 53)

	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.tearDown(TestLeafQueue.java:2086)


REGRESSION:  org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.testUserQueueAcl

Error Message:

Invalid use of argument matchers!
8 matchers expected, 7 recorded.
This exception may occur if matchers are combined with raw values:
    //incorrect:
    someMethod(anyObject(), "raw String");
When using matchers, all arguments have to be provided by matchers.
For example:
    //correct:
    someMethod(anyObject(), eq("String by matcher"));

For more info see javadoc for Matchers class.

Stack Trace:
org.mockito.exceptions.misusing.InvalidUseOfMatchersException: 
Invalid use of argument matchers!
8 matchers expected, 7 recorded.
This exception may occur if matchers are combined with raw values:
    //incorrect:
    someMethod(anyObject(), "raw String");
When using matchers, all arguments have to be provided by matchers.
For example:
    //correct:
    someMethod(anyObject(), eq("String by matcher"));

For more info see javadoc for Matchers class.
	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.stubLeafQueue(TestLeafQueue.java:236)
	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.testUserQueueAcl(TestLeafQueue.java:322)


REGRESSION:  org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.testUserQueueAcl

Error Message:

Unfinished stubbing detected here:
-> at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.stubLeafQueue(TestLeafQueue.java:236)

E.g. thenReturn() may be missing.
Examples of correct stubbing:
    when(mock.isOk()).thenReturn(true);
    when(mock.isOk()).thenThrow(exception);
    doThrow(exception).when(mock).someVoidMethod();
Hints:
 1. missing thenReturn()
 2. although stubbed methods may return mocks, you cannot inline mock creation (mock()) call inside a thenReturn method (see issue 53)


Stack Trace:
org.mockito.exceptions.misusing.UnfinishedStubbingException: 
Unfinished stubbing detected here:
-> at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.stubLeafQueue(TestLeafQueue.java:236)

E.g. thenReturn() may be missing.
Examples of correct stubbing:
    when(mock.isOk()).thenReturn(true);
    when(mock.isOk()).thenThrow(exception);
    doThrow(exception).when(mock).someVoidMethod();
Hints:
 1. missing thenReturn()
 2. although stubbed methods may return mocks, you cannot inline mock creation (mock()) call inside a thenReturn method (see issue 53)

	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.tearDown(TestLeafQueue.java:2086)


REGRESSION:  org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.testNodeLocalityAfterQueueRefresh

Error Message:

Invalid use of argument matchers!
8 matchers expected, 7 recorded.
This exception may occur if matchers are combined with raw values:
    //incorrect:
    someMethod(anyObject(), "raw String");
When using matchers, all arguments have to be provided by matchers.
For example:
    //correct:
    someMethod(anyObject(), eq("String by matcher"));

For more info see javadoc for Matchers class.

Stack Trace:
org.mockito.exceptions.misusing.InvalidUseOfMatchersException: 
Invalid use of argument matchers!
8 matchers expected, 7 recorded.
This exception may occur if matchers are combined with raw values:
    //incorrect:
    someMethod(anyObject(), "raw String");
When using matchers, all arguments have to be provided by matchers.
For example:
    //correct:
    someMethod(anyObject(), eq("String by matcher"));

For more info see javadoc for Matchers class.
	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.stubLeafQueue(TestLeafQueue.java:236)
	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.testNodeLocalityAfterQueueRefresh(TestLeafQueue.java:1667)


REGRESSION:  org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.testSingleQueueWithMultipleUsers

Error Message:

Invalid use of argument matchers!
8 matchers expected, 7 recorded.
This exception may occur if matchers are combined with raw values:
    //incorrect:
    someMethod(anyObject(), "raw String");
When using matchers, all arguments have to be provided by matchers.
For example:
    //correct:
    someMethod(anyObject(), eq("String by matcher"));

For more info see javadoc for Matchers class.

Stack Trace:
org.mockito.exceptions.misusing.InvalidUseOfMatchersException: 
Invalid use of argument matchers!
8 matchers expected, 7 recorded.
This exception may occur if matchers are combined with raw values:
    //incorrect:
    someMethod(anyObject(), "raw String");
When using matchers, all arguments have to be provided by matchers.
For example:
    //correct:
    someMethod(anyObject(), eq("String by matcher"));

For more info see javadoc for Matchers class.
	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.stubLeafQueue(TestLeafQueue.java:236)
	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.testSingleQueueWithMultipleUsers(TestLeafQueue.java:732)


REGRESSION:  org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.testSingleQueueWithMultipleUsers

Error Message:

Unfinished stubbing detected here:
-> at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.stubLeafQueue(TestLeafQueue.java:236)

E.g. thenReturn() may be missing.
Examples of correct stubbing:
    when(mock.isOk()).thenReturn(true);
    when(mock.isOk()).thenThrow(exception);
    doThrow(exception).when(mock).someVoidMethod();
Hints:
 1. missing thenReturn()
 2. although stubbed methods may return mocks, you cannot inline mock creation (mock()) call inside a thenReturn method (see issue 53)


Stack Trace:
org.mockito.exceptions.misusing.UnfinishedStubbingException: 
Unfinished stubbing detected here:
-> at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.stubLeafQueue(TestLeafQueue.java:236)

E.g. thenReturn() may be missing.
Examples of correct stubbing:
    when(mock.isOk()).thenReturn(true);
    when(mock.isOk()).thenThrow(exception);
    doThrow(exception).when(mock).someVoidMethod();
Hints:
 1. missing thenReturn()
 2. although stubbed methods may return mocks, you cannot inline mock creation (mock()) call inside a thenReturn method (see issue 53)

	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.tearDown(TestLeafQueue.java:2086)


REGRESSION:  org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.testInitializeQueue

Error Message:

Invalid use of argument matchers!
8 matchers expected, 7 recorded.
This exception may occur if matchers are combined with raw values:
    //incorrect:
    someMethod(anyObject(), "raw String");
When using matchers, all arguments have to be provided by matchers.
For example:
    //correct:
    someMethod(anyObject(), eq("String by matcher"));

For more info see javadoc for Matchers class.

Stack Trace:
org.mockito.exceptions.misusing.InvalidUseOfMatchersException: 
Invalid use of argument matchers!
8 matchers expected, 7 recorded.
This exception may occur if matchers are combined with raw values:
    //incorrect:
    someMethod(anyObject(), "raw String");
When using matchers, all arguments have to be provided by matchers.
For example:
    //correct:
    someMethod(anyObject(), eq("String by matcher"));

For more info see javadoc for Matchers class.
	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.stubLeafQueue(TestLeafQueue.java:236)
	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.testInitializeQueue(TestLeafQueue.java:249)


REGRESSION:  org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.testInitializeQueue

Error Message:

Unfinished stubbing detected here:
-> at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.stubLeafQueue(TestLeafQueue.java:236)

E.g. thenReturn() may be missing.
Examples of correct stubbing:
    when(mock.isOk()).thenReturn(true);
    when(mock.isOk()).thenThrow(exception);
    doThrow(exception).when(mock).someVoidMethod();
Hints:
 1. missing thenReturn()
 2. although stubbed methods may return mocks, you cannot inline mock creation (mock()) call inside a thenReturn method (see issue 53)


Stack Trace:
org.mockito.exceptions.misusing.UnfinishedStubbingException: 
Unfinished stubbing detected here:
-> at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.stubLeafQueue(TestLeafQueue.java:236)

E.g. thenReturn() may be missing.
Examples of correct stubbing:
    when(mock.isOk()).thenReturn(true);
    when(mock.isOk()).thenThrow(exception);
    doThrow(exception).when(mock).someVoidMethod();
Hints:
 1. missing thenReturn()
 2. although stubbed methods may return mocks, you cannot inline mock creation (mock()) call inside a thenReturn method (see issue 53)

	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.tearDown(TestLeafQueue.java:2086)


REGRESSION:  org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.testLocalityScheduling

Error Message:

Invalid use of argument matchers!
8 matchers expected, 7 recorded.
This exception may occur if matchers are combined with raw values:
    //incorrect:
    someMethod(anyObject(), "raw String");
When using matchers, all arguments have to be provided by matchers.
For example:
    //correct:
    someMethod(anyObject(), eq("String by matcher"));

For more info see javadoc for Matchers class.

Stack Trace:
org.mockito.exceptions.misusing.InvalidUseOfMatchersException: 
Invalid use of argument matchers!
8 matchers expected, 7 recorded.
This exception may occur if matchers are combined with raw values:
    //incorrect:
    someMethod(anyObject(), "raw String");
When using matchers, all arguments have to be provided by matchers.
For example:
    //correct:
    someMethod(anyObject(), eq("String by matcher"));

For more info see javadoc for Matchers class.
	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.stubLeafQueue(TestLeafQueue.java:236)
	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.testLocalityScheduling(TestLeafQueue.java:1239)


REGRESSION:  org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.testLocalityScheduling

Error Message:

Unfinished stubbing detected here:
-> at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.stubLeafQueue(TestLeafQueue.java:236)

E.g. thenReturn() may be missing.
Examples of correct stubbing:
    when(mock.isOk()).thenReturn(true);
    when(mock.isOk()).thenThrow(exception);
    doThrow(exception).when(mock).someVoidMethod();
Hints:
 1. missing thenReturn()
 2. although stubbed methods may return mocks, you cannot inline mock creation (mock()) call inside a thenReturn method (see issue 53)


Stack Trace:
org.mockito.exceptions.misusing.UnfinishedStubbingException: 
Unfinished stubbing detected here:
-> at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.stubLeafQueue(TestLeafQueue.java:236)

E.g. thenReturn() may be missing.
Examples of correct stubbing:
    when(mock.isOk()).thenReturn(true);
    when(mock.isOk()).thenThrow(exception);
    doThrow(exception).when(mock).someVoidMethod();
Hints:
 1. missing thenReturn()
 2. although stubbed methods may return mocks, you cannot inline mock creation (mock()) call inside a thenReturn method (see issue 53)

	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.tearDown(TestLeafQueue.java:2086)


REGRESSION:  org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.testInheritedQueueAcls

Error Message:

Invalid use of argument matchers!
8 matchers expected, 7 recorded.
This exception may occur if matchers are combined with raw values:
    //incorrect:
    someMethod(anyObject(), "raw String");
When using matchers, all arguments have to be provided by matchers.
For example:
    //correct:
    someMethod(anyObject(), eq("String by matcher"));

For more info see javadoc for Matchers class.

Stack Trace:
org.mockito.exceptions.misusing.InvalidUseOfMatchersException: 
Invalid use of argument matchers!
8 matchers expected, 7 recorded.
This exception may occur if matchers are combined with raw values:
    //incorrect:
    someMethod(anyObject(), "raw String");
When using matchers, all arguments have to be provided by matchers.
For example:
    //correct:
    someMethod(anyObject(), eq("String by matcher"));

For more info see javadoc for Matchers class.
	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.stubLeafQueue(TestLeafQueue.java:236)
	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.testInheritedQueueAcls(TestLeafQueue.java:1743)


REGRESSION:  org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.testInheritedQueueAcls

Error Message:

Unfinished stubbing detected here:
-> at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.stubLeafQueue(TestLeafQueue.java:236)

E.g. thenReturn() may be missing.
Examples of correct stubbing:
    when(mock.isOk()).thenReturn(true);
    when(mock.isOk()).thenThrow(exception);
    doThrow(exception).when(mock).someVoidMethod();
Hints:
 1. missing thenReturn()
 2. although stubbed methods may return mocks, you cannot inline mock creation (mock()) call inside a thenReturn method (see issue 53)


Stack Trace:
org.mockito.exceptions.misusing.UnfinishedStubbingException: 
Unfinished stubbing detected here:
-> at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.stubLeafQueue(TestLeafQueue.java:236)

E.g. thenReturn() may be missing.
Examples of correct stubbing:
    when(mock.isOk()).thenReturn(true);
    when(mock.isOk()).thenThrow(exception);
    doThrow(exception).when(mock).someVoidMethod();
Hints:
 1. missing thenReturn()
 2. although stubbed methods may return mocks, you cannot inline mock creation (mock()) call inside a thenReturn method (see issue 53)

	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.tearDown(TestLeafQueue.java:2086)


REGRESSION:  org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.testSchedulingConstraints

Error Message:

Invalid use of argument matchers!
8 matchers expected, 7 recorded.
This exception may occur if matchers are combined with raw values:
    //incorrect:
    someMethod(anyObject(), "raw String");
When using matchers, all arguments have to be provided by matchers.
For example:
    //correct:
    someMethod(anyObject(), eq("String by matcher"));

For more info see javadoc for Matchers class.

Stack Trace:
org.mockito.exceptions.misusing.InvalidUseOfMatchersException: 
Invalid use of argument matchers!
8 matchers expected, 7 recorded.
This exception may occur if matchers are combined with raw values:
    //incorrect:
    someMethod(anyObject(), "raw String");
When using matchers, all arguments have to be provided by matchers.
For example:
    //correct:
    someMethod(anyObject(), eq("String by matcher"));

For more info see javadoc for Matchers class.
	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.stubLeafQueue(TestLeafQueue.java:236)
	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.testSchedulingConstraints(TestLeafQueue.java:1511)


REGRESSION:  org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.testSchedulingConstraints

Error Message:

Unfinished stubbing detected here:
-> at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.stubLeafQueue(TestLeafQueue.java:236)

E.g. thenReturn() may be missing.
Examples of correct stubbing:
    when(mock.isOk()).thenReturn(true);
    when(mock.isOk()).thenThrow(exception);
    doThrow(exception).when(mock).someVoidMethod();
Hints:
 1. missing thenReturn()
 2. although stubbed methods may return mocks, you cannot inline mock creation (mock()) call inside a thenReturn method (see issue 53)


Stack Trace:
org.mockito.exceptions.misusing.UnfinishedStubbingException: 
Unfinished stubbing detected here:
-> at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.stubLeafQueue(TestLeafQueue.java:236)

E.g. thenReturn() may be missing.
Examples of correct stubbing:
    when(mock.isOk()).thenReturn(true);
    when(mock.isOk()).thenThrow(exception);
    doThrow(exception).when(mock).someVoidMethod();
Hints:
 1. missing thenReturn()
 2. although stubbed methods may return mocks, you cannot inline mock creation (mock()) call inside a thenReturn method (see issue 53)

	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.tearDown(TestLeafQueue.java:2086)


REGRESSION:  org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.testActivateApplicationAfterQueueRefresh

Error Message:

Invalid use of argument matchers!
8 matchers expected, 7 recorded.
This exception may occur if matchers are combined with raw values:
    //incorrect:
    someMethod(anyObject(), "raw String");
When using matchers, all arguments have to be provided by matchers.
For example:
    //correct:
    someMethod(anyObject(), eq("String by matcher"));

For more info see javadoc for Matchers class.

Stack Trace:
org.mockito.exceptions.misusing.InvalidUseOfMatchersException: 
Invalid use of argument matchers!
8 matchers expected, 7 recorded.
This exception may occur if matchers are combined with raw values:
    //incorrect:
    someMethod(anyObject(), "raw String");
When using matchers, all arguments have to be provided by matchers.
For example:
    //correct:
    someMethod(anyObject(), eq("String by matcher"));

For more info see javadoc for Matchers class.
	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.stubLeafQueue(TestLeafQueue.java:236)
	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.testActivateApplicationAfterQueueRefresh(TestLeafQueue.java:1614)


REGRESSION:  org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.testReservationExchange

Error Message:

Invalid use of argument matchers!
8 matchers expected, 7 recorded.
This exception may occur if matchers are combined with raw values:
    //incorrect:
    someMethod(anyObject(), "raw String");
When using matchers, all arguments have to be provided by matchers.
For example:
    //correct:
    someMethod(anyObject(), eq("String by matcher"));

For more info see javadoc for Matchers class.

Stack Trace:
org.mockito.exceptions.misusing.InvalidUseOfMatchersException: 
Invalid use of argument matchers!
8 matchers expected, 7 recorded.
This exception may occur if matchers are combined with raw values:
    //incorrect:
    someMethod(anyObject(), "raw String");
When using matchers, all arguments have to be provided by matchers.
For example:
    //correct:
    someMethod(anyObject(), eq("String by matcher"));

For more info see javadoc for Matchers class.
	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.stubLeafQueue(TestLeafQueue.java:236)
	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.testReservationExchange(TestLeafQueue.java:1114)


REGRESSION:  org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.testReservationExchange

Error Message:

Unfinished stubbing detected here:
-> at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.stubLeafQueue(TestLeafQueue.java:236)

E.g. thenReturn() may be missing.
Examples of correct stubbing:
    when(mock.isOk()).thenReturn(true);
    when(mock.isOk()).thenThrow(exception);
    doThrow(exception).when(mock).someVoidMethod();
Hints:
 1. missing thenReturn()
 2. although stubbed methods may return mocks, you cannot inline mock creation (mock()) call inside a thenReturn method (see issue 53)


Stack Trace:
org.mockito.exceptions.misusing.UnfinishedStubbingException: 
Unfinished stubbing detected here:
-> at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.stubLeafQueue(TestLeafQueue.java:236)

E.g. thenReturn() may be missing.
Examples of correct stubbing:
    when(mock.isOk()).thenReturn(true);
    when(mock.isOk()).thenThrow(exception);
    doThrow(exception).when(mock).someVoidMethod();
Hints:
 1. missing thenReturn()
 2. although stubbed methods may return mocks, you cannot inline mock creation (mock()) call inside a thenReturn method (see issue 53)

	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.tearDown(TestLeafQueue.java:2086)


REGRESSION:  org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.testUserLimits

Error Message:

Invalid use of argument matchers!
8 matchers expected, 7 recorded.
This exception may occur if matchers are combined with raw values:
    //incorrect:
    someMethod(anyObject(), "raw String");
When using matchers, all arguments have to be provided by matchers.
For example:
    //correct:
    someMethod(anyObject(), eq("String by matcher"));

For more info see javadoc for Matchers class.

Stack Trace:
org.mockito.exceptions.misusing.InvalidUseOfMatchersException: 
Invalid use of argument matchers!
8 matchers expected, 7 recorded.
This exception may occur if matchers are combined with raw values:
    //incorrect:
    someMethod(anyObject(), "raw String");
When using matchers, all arguments have to be provided by matchers.
For example:
    //correct:
    someMethod(anyObject(), eq("String by matcher"));

For more info see javadoc for Matchers class.
	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.stubLeafQueue(TestLeafQueue.java:236)
	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.testUserLimits(TestLeafQueue.java:528)


REGRESSION:  org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.testUserLimits

Error Message:

Unfinished stubbing detected here:
-> at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.stubLeafQueue(TestLeafQueue.java:236)

E.g. thenReturn() may be missing.
Examples of correct stubbing:
    when(mock.isOk()).thenReturn(true);
    when(mock.isOk()).thenThrow(exception);
    doThrow(exception).when(mock).someVoidMethod();
Hints:
 1. missing thenReturn()
 2. although stubbed methods may return mocks, you cannot inline mock creation (mock()) call inside a thenReturn method (see issue 53)


Stack Trace:
org.mockito.exceptions.misusing.UnfinishedStubbingException: 
Unfinished stubbing detected here:
-> at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.stubLeafQueue(TestLeafQueue.java:236)

E.g. thenReturn() may be missing.
Examples of correct stubbing:
    when(mock.isOk()).thenReturn(true);
    when(mock.isOk()).thenThrow(exception);
    doThrow(exception).when(mock).someVoidMethod();
Hints:
 1. missing thenReturn()
 2. although stubbed methods may return mocks, you cannot inline mock creation (mock()) call inside a thenReturn method (see issue 53)

	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.tearDown(TestLeafQueue.java:2086)


REGRESSION:  org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.testAppAttemptMetrics

Error Message:

Invalid use of argument matchers!
8 matchers expected, 7 recorded.
This exception may occur if matchers are combined with raw values:
    //incorrect:
    someMethod(anyObject(), "raw String");
When using matchers, all arguments have to be provided by matchers.
For example:
    //correct:
    someMethod(anyObject(), eq("String by matcher"));

For more info see javadoc for Matchers class.

Stack Trace:
org.mockito.exceptions.misusing.InvalidUseOfMatchersException: 
Invalid use of argument matchers!
8 matchers expected, 7 recorded.
This exception may occur if matchers are combined with raw values:
    //incorrect:
    someMethod(anyObject(), "raw String");
When using matchers, all arguments have to be provided by matchers.
For example:
    //correct:
    someMethod(anyObject(), eq("String by matcher"));

For more info see javadoc for Matchers class.
	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.stubLeafQueue(TestLeafQueue.java:236)
	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.testAppAttemptMetrics(TestLeafQueue.java:347)


REGRESSION:  org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.testAppAttemptMetrics

Error Message:

Unfinished stubbing detected here:
-> at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.stubLeafQueue(TestLeafQueue.java:236)

E.g. thenReturn() may be missing.
Examples of correct stubbing:
    when(mock.isOk()).thenReturn(true);
    when(mock.isOk()).thenThrow(exception);
    doThrow(exception).when(mock).someVoidMethod();
Hints:
 1. missing thenReturn()
 2. although stubbed methods may return mocks, you cannot inline mock creation (mock()) call inside a thenReturn method (see issue 53)


Stack Trace:
org.mockito.exceptions.misusing.UnfinishedStubbingException: 
Unfinished stubbing detected here:
-> at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.stubLeafQueue(TestLeafQueue.java:236)

E.g. thenReturn() may be missing.
Examples of correct stubbing:
    when(mock.isOk()).thenReturn(true);
    when(mock.isOk()).thenThrow(exception);
    doThrow(exception).when(mock).someVoidMethod();
Hints:
 1. missing thenReturn()
 2. although stubbed methods may return mocks, you cannot inline mock creation (mock()) call inside a thenReturn method (see issue 53)

	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.tearDown(TestLeafQueue.java:2086)


REGRESSION:  org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.testApplicationPriorityScheduling

Error Message:

Invalid use of argument matchers!
8 matchers expected, 7 recorded.
This exception may occur if matchers are combined with raw values:
    //incorrect:
    someMethod(anyObject(), "raw String");
When using matchers, all arguments have to be provided by matchers.
For example:
    //correct:
    someMethod(anyObject(), eq("String by matcher"));

For more info see javadoc for Matchers class.

Stack Trace:
org.mockito.exceptions.misusing.InvalidUseOfMatchersException: 
Invalid use of argument matchers!
8 matchers expected, 7 recorded.
This exception may occur if matchers are combined with raw values:
    //incorrect:
    someMethod(anyObject(), "raw String");
When using matchers, all arguments have to be provided by matchers.
For example:
    //correct:
    someMethod(anyObject(), eq("String by matcher"));

For more info see javadoc for Matchers class.
	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.stubLeafQueue(TestLeafQueue.java:236)
	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.testApplicationPriorityScheduling(TestLeafQueue.java:1380)


REGRESSION:  org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.testApplicationPriorityScheduling

Error Message:

Unfinished stubbing detected here:
-> at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.stubLeafQueue(TestLeafQueue.java:236)

E.g. thenReturn() may be missing.
Examples of correct stubbing:
    when(mock.isOk()).thenReturn(true);
    when(mock.isOk()).thenThrow(exception);
    doThrow(exception).when(mock).someVoidMethod();
Hints:
 1. missing thenReturn()
 2. although stubbed methods may return mocks, you cannot inline mock creation (mock()) call inside a thenReturn method (see issue 53)


Stack Trace:
org.mockito.exceptions.misusing.UnfinishedStubbingException: 
Unfinished stubbing detected here:
-> at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.stubLeafQueue(TestLeafQueue.java:236)

E.g. thenReturn() may be missing.
Examples of correct stubbing:
    when(mock.isOk()).thenReturn(true);
    when(mock.isOk()).thenThrow(exception);
    doThrow(exception).when(mock).someVoidMethod();
Hints:
 1. missing thenReturn()
 2. although stubbed methods may return mocks, you cannot inline mock creation (mock()) call inside a thenReturn method (see issue 53)

	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.tearDown(TestLeafQueue.java:2086)


REGRESSION:  org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.testSingleQueueOneUserMetrics

Error Message:

Invalid use of argument matchers!
8 matchers expected, 7 recorded.
This exception may occur if matchers are combined with raw values:
    //incorrect:
    someMethod(anyObject(), "raw String");
When using matchers, all arguments have to be provided by matchers.
For example:
    //correct:
    someMethod(anyObject(), eq("String by matcher"));

For more info see javadoc for Matchers class.

Stack Trace:
org.mockito.exceptions.misusing.InvalidUseOfMatchersException: 
Invalid use of argument matchers!
8 matchers expected, 7 recorded.
This exception may occur if matchers are combined with raw values:
    //incorrect:
    someMethod(anyObject(), "raw String");
When using matchers, all arguments have to be provided by matchers.
For example:
    //correct:
    someMethod(anyObject(), eq("String by matcher"));

For more info see javadoc for Matchers class.
	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.stubLeafQueue(TestLeafQueue.java:236)
	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.testSingleQueueOneUserMetrics(TestLeafQueue.java:272)


REGRESSION:  org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.testSingleQueueOneUserMetrics

Error Message:

Unfinished stubbing detected here:
-> at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.stubLeafQueue(TestLeafQueue.java:236)

E.g. thenReturn() may be missing.
Examples of correct stubbing:
    when(mock.isOk()).thenReturn(true);
    when(mock.isOk()).thenThrow(exception);
    doThrow(exception).when(mock).someVoidMethod();
Hints:
 1. missing thenReturn()
 2. although stubbed methods may return mocks, you cannot inline mock creation (mock()) call inside a thenReturn method (see issue 53)


Stack Trace:
org.mockito.exceptions.misusing.UnfinishedStubbingException: 
Unfinished stubbing detected here:
-> at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.stubLeafQueue(TestLeafQueue.java:236)

E.g. thenReturn() may be missing.
Examples of correct stubbing:
    when(mock.isOk()).thenReturn(true);
    when(mock.isOk()).thenThrow(exception);
    doThrow(exception).when(mock).someVoidMethod();
Hints:
 1. missing thenReturn()
 2. although stubbed methods may return mocks, you cannot inline mock creation (mock()) call inside a thenReturn method (see issue 53)

	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.tearDown(TestLeafQueue.java:2086)


REGRESSION:  org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.testSingleQueueWithOneUser

Error Message:

Invalid use of argument matchers!
8 matchers expected, 7 recorded.
This exception may occur if matchers are combined with raw values:
    //incorrect:
    someMethod(anyObject(), "raw String");
When using matchers, all arguments have to be provided by matchers.
For example:
    //correct:
    someMethod(anyObject(), eq("String by matcher"));

For more info see javadoc for Matchers class.

Stack Trace:
org.mockito.exceptions.misusing.InvalidUseOfMatchersException: 
Invalid use of argument matchers!
8 matchers expected, 7 recorded.
This exception may occur if matchers are combined with raw values:
    //incorrect:
    someMethod(anyObject(), "raw String");
When using matchers, all arguments have to be provided by matchers.
For example:
    //correct:
    someMethod(anyObject(), eq("String by matcher"));

For more info see javadoc for Matchers class.
	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.stubLeafQueue(TestLeafQueue.java:236)
	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.testSingleQueueWithOneUser(TestLeafQueue.java:401)


REGRESSION:  org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.testSingleQueueWithOneUser

Error Message:

Unfinished stubbing detected here:
-> at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.stubLeafQueue(TestLeafQueue.java:236)

E.g. thenReturn() may be missing.
Examples of correct stubbing:
    when(mock.isOk()).thenReturn(true);
    when(mock.isOk()).thenThrow(exception);
    doThrow(exception).when(mock).someVoidMethod();
Hints:
 1. missing thenReturn()
 2. although stubbed methods may return mocks, you cannot inline mock creation (mock()) call inside a thenReturn method (see issue 53)


Stack Trace:
org.mockito.exceptions.misusing.UnfinishedStubbingException: 
Unfinished stubbing detected here:
-> at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.stubLeafQueue(TestLeafQueue.java:236)

E.g. thenReturn() may be missing.
Examples of correct stubbing:
    when(mock.isOk()).thenReturn(true);
    when(mock.isOk()).thenThrow(exception);
    doThrow(exception).when(mock).someVoidMethod();
Hints:
 1. missing thenReturn()
 2. although stubbed methods may return mocks, you cannot inline mock creation (mock()) call inside a thenReturn method (see issue 53)

	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.tearDown(TestLeafQueue.java:2086)


REGRESSION:  org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.testReservation

Error Message:

Invalid use of argument matchers!
8 matchers expected, 7 recorded.
This exception may occur if matchers are combined with raw values:
    //incorrect:
    someMethod(anyObject(), "raw String");
When using matchers, all arguments have to be provided by matchers.
For example:
    //correct:
    someMethod(anyObject(), eq("String by matcher"));

For more info see javadoc for Matchers class.

Stack Trace:
org.mockito.exceptions.misusing.InvalidUseOfMatchersException: 
Invalid use of argument matchers!
8 matchers expected, 7 recorded.
This exception may occur if matchers are combined with raw values:
    //incorrect:
    someMethod(anyObject(), "raw String");
When using matchers, all arguments have to be provided by matchers.
For example:
    //correct:
    someMethod(anyObject(), eq("String by matcher"));

For more info see javadoc for Matchers class.
	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.stubLeafQueue(TestLeafQueue.java:236)
	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.testReservation(TestLeafQueue.java:909)


REGRESSION:  org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.testReservation

Error Message:

Unfinished stubbing detected here:
-> at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.stubLeafQueue(TestLeafQueue.java:236)

E.g. thenReturn() may be missing.
Examples of correct stubbing:
    when(mock.isOk()).thenReturn(true);
    when(mock.isOk()).thenThrow(exception);
    doThrow(exception).when(mock).someVoidMethod();
Hints:
 1. missing thenReturn()
 2. although stubbed methods may return mocks, you cannot inline mock creation (mock()) call inside a thenReturn method (see issue 53)


Stack Trace:
org.mockito.exceptions.misusing.UnfinishedStubbingException: 
Unfinished stubbing detected here:
-> at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.stubLeafQueue(TestLeafQueue.java:236)

E.g. thenReturn() may be missing.
Examples of correct stubbing:
    when(mock.isOk()).thenReturn(true);
    when(mock.isOk()).thenThrow(exception);
    doThrow(exception).when(mock).someVoidMethod();
Hints:
 1. missing thenReturn()
 2. although stubbed methods may return mocks, you cannot inline mock creation (mock()) call inside a thenReturn method (see issue 53)

	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue.tearDown(TestLeafQueue.java:2086)


REGRESSION:  org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebApp.testView

Error Message:
Not supported yet.

Stack Trace:
java.lang.UnsupportedOperationException: Not supported yet.
	at org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.MockAsm$ApplicationBase.getTotalContainersPreempted(MockAsm.java:171)
	at org.apache.hadoop.yarn.server.resourcemanager.webapp.dao.AppInfo.<init>(AppInfo.java:156)
	at org.apache.hadoop.yarn.server.resourcemanager.webapp.AppsBlock.render(AppsBlock.java:86)
	at org.apache.hadoop.yarn.webapp.view.HtmlBlock.render(HtmlBlock.java:66)
	at org.apache.hadoop.yarn.webapp.view.HtmlBlock.renderPartial(HtmlBlock.java:76)
	at org.apache.hadoop.yarn.webapp.View.render(View.java:235)
	at org.apache.hadoop.yarn.webapp.view.HtmlBlock$Block.subView(HtmlBlock.java:40)
	at org.apache.hadoop.yarn.webapp.hamlet.Hamlet._(Hamlet.java:30347)
	at org.apache.hadoop.yarn.server.resourcemanager.webapp.AppsBlockWithMetrics.render(AppsBlockWithMetrics.java:29)
	at org.apache.hadoop.yarn.webapp.view.HtmlBlock.render(HtmlBlock.java:66)
	at org.apache.hadoop.yarn.webapp.view.HtmlBlock.renderPartial(HtmlBlock.java:76)
	at org.apache.hadoop.yarn.webapp.View.render(View.java:235)
	at org.apache.hadoop.yarn.webapp.view.HtmlPage$Page.subView(HtmlPage.java:49)
	at org.apache.hadoop.yarn.webapp.hamlet.HamletImpl$EImp._v(HamletImpl.java:117)
	at org.apache.hadoop.yarn.webapp.hamlet.Hamlet$TD._(Hamlet.java:845)
	at org.apache.hadoop.yarn.webapp.view.TwoColumnLayout.render(TwoColumnLayout.java:56)
	at org.apache.hadoop.yarn.webapp.view.HtmlPage.render(HtmlPage.java:82)
	at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebApp.testView(TestRMWebApp.java:98)


REGRESSION:  org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testAppsSlash

Error Message:
incorrect number of elements expected:<20> but was:<22>

Stack Trace:
java.lang.AssertionError: incorrect number of elements expected:<20> but was:<22>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:743)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at org.junit.Assert.assertEquals(Assert.java:555)
	at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.verifyAppInfo(TestRMWebServicesApps.java:1321)
	at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testAppsHelper(TestRMWebServicesApps.java:220)
	at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testAppsSlash(TestRMWebServicesApps.java:141)


REGRESSION:  org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testApps

Error Message:
incorrect number of elements expected:<20> but was:<22>

Stack Trace:
java.lang.AssertionError: incorrect number of elements expected:<20> but was:<22>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:743)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at org.junit.Assert.assertEquals(Assert.java:555)
	at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.verifyAppInfo(TestRMWebServicesApps.java:1321)
	at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testAppsHelper(TestRMWebServicesApps.java:220)
	at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testApps(TestRMWebServicesApps.java:131)


REGRESSION:  org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testSingleAppsSlash

Error Message:
incorrect number of elements expected:<20> but was:<22>

Stack Trace:
java.lang.AssertionError: incorrect number of elements expected:<20> but was:<22>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:743)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at org.junit.Assert.assertEquals(Assert.java:555)
	at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.verifyAppInfo(TestRMWebServicesApps.java:1321)
	at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testSingleAppsHelper(TestRMWebServicesApps.java:1261)
	at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testSingleAppsSlash(TestRMWebServicesApps.java:1164)


REGRESSION:  org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testSingleApp

Error Message:
incorrect number of elements expected:<20> but was:<22>

Stack Trace:
java.lang.AssertionError: incorrect number of elements expected:<20> but was:<22>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:743)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at org.junit.Assert.assertEquals(Assert.java:555)
	at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.verifyAppInfo(TestRMWebServicesApps.java:1321)
	at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testSingleAppsHelper(TestRMWebServicesApps.java:1261)
	at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testSingleApp(TestRMWebServicesApps.java:1153)


REGRESSION:  org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testAppsQueryFinalStatus

Error Message:
incorrect number of elements expected:<20> but was:<22>

Stack Trace:
java.lang.AssertionError: incorrect number of elements expected:<20> but was:<22>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:743)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at org.junit.Assert.assertEquals(Assert.java:555)
	at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.verifyAppInfo(TestRMWebServicesApps.java:1321)
	at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testAppsQueryFinalStatus(TestRMWebServicesApps.java:476)


REGRESSION:  org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testAppsQueryState

Error Message:
incorrect number of elements expected:<20> but was:<22>

Stack Trace:
java.lang.AssertionError: incorrect number of elements expected:<20> but was:<22>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:743)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at org.junit.Assert.assertEquals(Assert.java:555)
	at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.verifyAppInfo(TestRMWebServicesApps.java:1321)
	at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testAppsQueryState(TestRMWebServicesApps.java:243)


REGRESSION:  org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testSingleAppsDefault

Error Message:
incorrect number of elements expected:<20> but was:<22>

Stack Trace:
java.lang.AssertionError: incorrect number of elements expected:<20> but was:<22>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:743)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at org.junit.Assert.assertEquals(Assert.java:555)
	at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.verifyAppInfo(TestRMWebServicesApps.java:1321)
	at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testSingleAppsHelper(TestRMWebServicesApps.java:1261)
	at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testSingleAppsDefault(TestRMWebServicesApps.java:1175)


REGRESSION:  org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testAppsDefault

Error Message:
incorrect number of elements expected:<20> but was:<22>

Stack Trace:
java.lang.AssertionError: incorrect number of elements expected:<20> but was:<22>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:743)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at org.junit.Assert.assertEquals(Assert.java:555)
	at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.verifyAppInfo(TestRMWebServicesApps.java:1321)
	at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testAppsHelper(TestRMWebServicesApps.java:220)
	at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps.testAppsDefault(TestRMWebServicesApps.java:151)



Success: YARN-2144 PreCommit Build #3998

Posted by Apache Jenkins Server <je...@builds.apache.org>.
Jira: https://issues.apache.org/jira/browse/YARN-2144
Build: https://builds.apache.org/job/PreCommit-YARN-Build/3998/

###################################################################################
########################## LAST 60 LINES OF THE CONSOLE ###########################
[...truncated 3037 lines...]


{color:green}+1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12650581/YARN-2144.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:green}+1 tests included{color}.  The patch appears to include 7 new or modified test files.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of javac compiler warnings.

    {color:green}+1 javadoc{color}.  There were no new javadoc warning messages.

    {color:green}+1 eclipse:eclipse{color}.  The patch built with eclipse:eclipse.

    {color:green}+1 findbugs{color}.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number of release audit warnings.

    {color:green}+1 core tests{color}.  The patch passed unit tests in hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager.

    {color:green}+1 contrib tests{color}.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-YARN-Build/3998//testReport/
Console output: https://builds.apache.org/job/PreCommit-YARN-Build/3998//console

This message is automatically generated.


======================================================================
======================================================================
    Adding comment to Jira.
======================================================================
======================================================================


Comment added.
b06b50491b19bb225a7c08ed9f4df33955390164 logged out


======================================================================
======================================================================
    Finished build.
======================================================================
======================================================================


Archiving artifacts
Sending artifact delta relative to PreCommit-YARN-Build #3994
Archived 17 artifacts
Archive block size is 32768
Received 211 blocks and 1219433 bytes
Compression is 85.0%
Took 1.8 sec
Description set: YARN-2144
Recording test results
Email was triggered for: Success
Sending email for trigger: Success



###################################################################################
############################## FAILED TESTS (if any) ##############################
All tests passed

Failed: YARN-2147 PreCommit Build #3997

Posted by Apache Jenkins Server <je...@builds.apache.org>.
Jira: https://issues.apache.org/jira/browse/YARN-2147
Build: https://builds.apache.org/job/PreCommit-YARN-Build/3997/

###################################################################################
########################## LAST 60 LINES OF THE CONSOLE ###########################
[...truncated 3025 lines...]
  http://issues.apache.org/jira/secure/attachment/12650567/YARN-2147-v2.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:red}-1 tests included{color}.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of javac compiler warnings.

    {color:green}+1 javadoc{color}.  There were no new javadoc warning messages.

    {color:green}+1 eclipse:eclipse{color}.  The patch built with eclipse:eclipse.

    {color:green}+1 findbugs{color}.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number of release audit warnings.

    {color:green}+1 core tests{color}.  The patch passed unit tests in hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager.

    {color:green}+1 contrib tests{color}.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-YARN-Build/3997//testReport/
Console output: https://builds.apache.org/job/PreCommit-YARN-Build/3997//console

This message is automatically generated.


======================================================================
======================================================================
    Adding comment to Jira.
======================================================================
======================================================================


Comment added.
dc09511943ea9513ce30dd059807a8a702d91d72 logged out


======================================================================
======================================================================
    Finished build.
======================================================================
======================================================================


Build step 'Execute shell' marked build as failure
Archiving artifacts
Sending artifact delta relative to PreCommit-YARN-Build #3994
Archived 17 artifacts
Archive block size is 32768
Received 44 blocks and 6638400 bytes
Compression is 17.8%
Took 5.2 sec
[description-setter] Could not determine description.
Recording test results
Email was triggered for: Failure
Sending email for trigger: Failure



###################################################################################
############################## FAILED TESTS (if any) ##############################
All tests passed