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

Tsuyoshi OZAWA updated TEZ-750:
-------------------------------

    Description: 
{code}
Running org.apache.tez.dag.app.rm.TestTaskScheduler    
Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.963 sec <<< 
FAILURE!
testTaskSchedulerWithReuse(org.apache.tez.dag.app.rm.TestTaskScheduler)  Time 
elapsed: 0.038 sec  <<< FAILURE!
org.mockito.exceptions.verification.WantedButNotInvoked:                        
                              
Wanted but not invoked:                                                         
                              
taskSchedulerAppCallback.taskAllocated(                                         
                              
    <any>,                                                                      
                              
    <any>,                                                                      
                              
    <any>                                                                       
                              
);                                                                              
                              
-> at 
org.apache.tez.dag.app.rm.TestTaskScheduler.testTaskSchedulerWithReuse(TestTaskScheduler.java:601)
      

However, there were other interactions with this mock:
-> at 
org.apache.tez.dag.app.rm.TaskSchedulerAppCallbackWrapper$SetApplicationRegistrationDataCallable.call(TaskSchedulerAppCallbackWrapper.java:257)
                                                                                
                                                           

        at 
org.apache.tez.dag.app.rm.TestTaskScheduler.testTaskSchedulerWithReuse(TestTaskScheduler.java:601)
{code}

[2014/02/13]In addition to Bikas' report, a following test failure occurs:
{code}
Running org.apache.tez.dag.app.rm.TestTaskScheduler
Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.176 sec <<< 
FAILURE!
testTaskSchedulerWithReuse(org.apache.tez.dag.app.rm.TestTaskScheduler)  Time 
elapsed: 0.062 sec  <<< FAILURE!
org.mockito.exceptions.verification.WantedButNotInvoked: 
Wanted but not invoked:
taskSchedulerAppCallback.taskAllocated(
    Mock for ClassWithSuperclassToWorkAroundCglibBug, hashCode: 1155962240,
    Mock for ClassWithSuperclassToWorkAroundCglibBug, hashCode: 1358225719,
    Mock for Container, hashCode: 2095975270
);
-> at 
org.apache.tez.dag.app.rm.TestTaskScheduler.testTaskSchedulerWithReuse(TestTaskScheduler.java:605)

However, there were other interactions with this mock:
-> at 
org.apache.tez.dag.app.rm.TaskSchedulerAppCallbackWrapper$SetApplicationRegistrationDataCallable.call(TaskSchedulerAppCallbackWrapper.java:257)
-> at 
org.apache.tez.dag.app.rm.TaskSchedulerAppCallbackWrapper$TaskAllocatedCallable.call(TaskSchedulerAppCallbackWrapper.java:165)
-> at 
org.apache.tez.dag.app.rm.TaskSchedulerAppCallbackWrapper$TaskAllocatedCallable.call(TaskSchedulerAppCallbackWrapper.java:165)
-> at 
org.apache.tez.dag.app.rm.TaskSchedulerAppCallbackWrapper$TaskAllocatedCallable.call(TaskSchedulerAppCallbackWrapper.java:165)

        at 
org.apache.tez.dag.app.rm.TestTaskScheduler.testTaskSchedulerWithReuse(TestTaskScheduler.java:605)
{code}

  was:
Running org.apache.tez.dag.app.rm.TestTaskScheduler    
Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.963 sec <<< 
FAILURE!
testTaskSchedulerWithReuse(org.apache.tez.dag.app.rm.TestTaskScheduler)  Time 
elapsed: 0.038 sec  <<< FAILURE!
org.mockito.exceptions.verification.WantedButNotInvoked:                        
                              
Wanted but not invoked:                                                         
                              
taskSchedulerAppCallback.taskAllocated(                                         
                              
    <any>,                                                                      
                              
    <any>,                                                                      
                              
    <any>                                                                       
                              
);                                                                              
                              
-> at 
org.apache.tez.dag.app.rm.TestTaskScheduler.testTaskSchedulerWithReuse(TestTaskScheduler.java:601)
      

However, there were other interactions with this mock:
-> at 
org.apache.tez.dag.app.rm.TaskSchedulerAppCallbackWrapper$SetApplicationRegistrationDataCallable.call(TaskSchedulerAppCallbackWrapper.java:257)
                                                                                
                                                           

        at 
org.apache.tez.dag.app.rm.TestTaskScheduler.testTaskSchedulerWithReuse(TestTaskScheduler.java:601)



> TestTaskScheduler failing in testTaskSchedulerWithReuse
> -------------------------------------------------------
>
>                 Key: TEZ-750
>                 URL: https://issues.apache.org/jira/browse/TEZ-750
>             Project: Apache Tez
>          Issue Type: Bug
>            Reporter: Bikas Saha
>             Fix For: 0.3.0
>
>         Attachments: org.apache.tez.dag.app.rm.TestTaskScheduler-output.txt
>
>
> {code}
> Running org.apache.tez.dag.app.rm.TestTaskScheduler    
> Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.963 sec <<< 
> FAILURE!
> testTaskSchedulerWithReuse(org.apache.tez.dag.app.rm.TestTaskScheduler)  Time 
> elapsed: 0.038 sec  <<< FAILURE!
> org.mockito.exceptions.verification.WantedButNotInvoked:                      
>                                 
> Wanted but not invoked:                                                       
>                                 
> taskSchedulerAppCallback.taskAllocated(                                       
>                                 
>     <any>,                                                                    
>                                 
>     <any>,                                                                    
>                                 
>     <any>                                                                     
>                                 
> );                                                                            
>                                 
> -> at 
> org.apache.tez.dag.app.rm.TestTaskScheduler.testTaskSchedulerWithReuse(TestTaskScheduler.java:601)
>       
> However, there were other interactions with this mock:
> -> at 
> org.apache.tez.dag.app.rm.TaskSchedulerAppCallbackWrapper$SetApplicationRegistrationDataCallable.call(TaskSchedulerAppCallbackWrapper.java:257)
>                                                                               
>                                                              
>         at 
> org.apache.tez.dag.app.rm.TestTaskScheduler.testTaskSchedulerWithReuse(TestTaskScheduler.java:601)
> {code}
> [2014/02/13]In addition to Bikas' report, a following test failure occurs:
> {code}
> Running org.apache.tez.dag.app.rm.TestTaskScheduler
> Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.176 sec <<< 
> FAILURE!
> testTaskSchedulerWithReuse(org.apache.tez.dag.app.rm.TestTaskScheduler)  Time 
> elapsed: 0.062 sec  <<< FAILURE!
> org.mockito.exceptions.verification.WantedButNotInvoked: 
> Wanted but not invoked:
> taskSchedulerAppCallback.taskAllocated(
>     Mock for ClassWithSuperclassToWorkAroundCglibBug, hashCode: 1155962240,
>     Mock for ClassWithSuperclassToWorkAroundCglibBug, hashCode: 1358225719,
>     Mock for Container, hashCode: 2095975270
> );
> -> at 
> org.apache.tez.dag.app.rm.TestTaskScheduler.testTaskSchedulerWithReuse(TestTaskScheduler.java:605)
> However, there were other interactions with this mock:
> -> at 
> org.apache.tez.dag.app.rm.TaskSchedulerAppCallbackWrapper$SetApplicationRegistrationDataCallable.call(TaskSchedulerAppCallbackWrapper.java:257)
> -> at 
> org.apache.tez.dag.app.rm.TaskSchedulerAppCallbackWrapper$TaskAllocatedCallable.call(TaskSchedulerAppCallbackWrapper.java:165)
> -> at 
> org.apache.tez.dag.app.rm.TaskSchedulerAppCallbackWrapper$TaskAllocatedCallable.call(TaskSchedulerAppCallbackWrapper.java:165)
> -> at 
> org.apache.tez.dag.app.rm.TaskSchedulerAppCallbackWrapper$TaskAllocatedCallable.call(TaskSchedulerAppCallbackWrapper.java:165)
>       at 
> org.apache.tez.dag.app.rm.TestTaskScheduler.testTaskSchedulerWithReuse(TestTaskScheduler.java:605)
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to