[ 
https://issues.apache.org/jira/browse/SLIDER-375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14114036#comment-14114036
 ] 

Steve Loughran commented on SLIDER-375:
---------------------------------------

{code}

Tests in error: 
  TestActionVersion.testVersion:41->SliderTestUtils.execSliderCommand:487 » 
ServiceState
  TestClientBasicArgs.testHelp:44->SliderTestUtils.launch:501 » ServiceState 
org...
  TestClientBasicArgs.testListUnknownHost:65->SliderTestUtils.launch:501 » 
ServiceState

Tests run: 350, Failures: 0, Errors: 3, Skipped: 3


AppState.java:resetFailureCounts

2014-08-28 17:29:06,778 [JUnit] DEBUG workflow.WorkflowSequenceService 
(WorkflowSequenceService.java:addService(278)) - Adding servic
e one                                                                           
                                                     
2014-08-28 17:29:06,778 [JUnit] DEBUG workflow.WorkflowSequenceService 
(WorkflowSequenceService.java:addService(278)) - Adding servic
e two                                                                           
                                                     
2014-08-28 17:29:06,778 [pool-13-thread-1] DEBUG 
workflow.WorkflowSequenceService 
(WorkflowSequenceService.java:startNextService(172)
) - Not starting next service -Service test in state test: STOPPED; current 
service null; queued service count=1 is stopped          
2014-08-28 17:29:06,888 [pool-15-thread-1] INFO  
workflow.WorkflowSequenceService 
(WorkflowSequenceService.java:onServiceCompleted(23
3)) - Running service stopped: Service one in state one: STOPPED                
                                                     
2014-08-28 17:29:06,996 [pool-16-thread-1] INFO  
workflow.WorkflowSequenceService 
(WorkflowSequenceService.java:onServiceCompleted(23
3)) - Running service stopped: Service two in state two: STOPPED                
                                                     
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.733 sec - in 
org.apache.slider.server.services.workflow.TestWorkflo
wSequenceService                                                                
                                                     
Running 
org.apache.slider.server.services.workflow.TestWorkflowServiceTerminatingRunnable
                                            
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.282 sec - in 
org.apache.slider.server.services.workflow.TestWorkflo
wServiceTerminatingRunnable                                                     
                                                     
                                                                                
                                                     
Results :                                                                       
                                                     
                                                                                
                                                     
Failed tests:                                                                   
                                                     
  TestStandaloneAMKill.testKillStandaloneAM:68 assert 
YarnApplicationState.FAILED == report.yarnApplicationState                     
                            |         |      |                                  
                                                     
                            FAILED    |      RUNNING                            
                                                     
                                      applicationId { id: 1 cluster_timestamp: 
1409242130758 } user: "administrator" queue: "default"
 name: "testkillstandaloneam" host: "morzine" rpc_port: 51435 
yarn_application_state: RUNNING trackingUrl: "http://morzine:51398/prox
y/application_1409242130758_0001/" diagnostics: "" startTime: 1409242136711 
finishTime: 0 final_application_status: APP_UNDEFINED app
_resource_Usage { num_used_containers: 1 num_reserved_containers: 0 
used_resources { memory: 256 virtual_cores: 1 } reserved_resource
s { memory: 0 virtual_cores: 0 } needed_resources { memory: 256 virtual_cores: 
1 } } originalTrackingUrl: "http://morzine:51455"; curr
entApplicationAttemptId { application_id { id: 1 cluster_timestamp: 
1409242130758 } attemptId: 1 } progress: 0.0 applicationType: "or
g-apache-slider" applicationTags: "name: echo" applicationTags: "description: 
echo" applicationTags: "version: 0.1"                  
  TestConfPersisterLocksHDFS.testNoWritelockWhenReadHeld:190 assert 
persister.acquireReadLock()                                      
       |         |                                                              
                                                     
       |         false                                                          
                                                     
       Persister to 
hdfs://localhost:51934/user/administrator/.slider/cluster/testNoWritelockWhenReadHeld
                            
  TestConfPersisterLocksHDFS.testAcqAcqRelReadlockOtherOrderOfRelease:149 
assert persister.acquireReadLock()                         
       |         |                                                              
                                                     
       |         false                                                          
                                                     
       Persister to 
hdfs://localhost:51934/user/administrator/.slider/cluster/testAcqRelReadlock    
                                 
  TestConfPersisterLocksHDFS.testAcqAcqRelReadlock:135 assert 
persister.acquireReadLock()                                            
       |         |                                                              
                                                     
       |         false                                                          
                                                     
       Persister to 
hdfs://localhost:51934/user/administrator/.slider/cluster/testAcqRelReadlock    
                                 
  TestConfPersisterLocksHDFS.testAcqRelReadlock:124 assert 
persister.acquireReadLock()                                               
       |         |                                                              
                                                     
       |         false                                                          
                                                     
       Persister to 
hdfs://localhost:51934/user/administrator/.slider/cluster/testAcqRelReadlock    
                                 
  TestPublisherRestResources.testRestURIs:139 assert uris.any {it =~ 
/curator-x-discovery/}                                          
       |    |                                                                   
                                                     
       |    false                                                               
                                                     
       
[file:/C:/Users/Administrator/AppData/Local/Temp/1409243257136/testresturis-localDir-nm-0_0/usercache/administrator/appcache/a
pplication_1409243257917_0001/container_1409243257917_0001_01_000001/classpath-2464077535550447466.jar]
                              
                                                                                
                                                     
Tests in error:                                                                 
                                                     
  TestConfigHelperHDFS.testConfigHelperHDFS:46 ╗ Runtime 
org.xml.sax.SAXParseExc...                                                  
  TestConfPersisterLocksHDFS.testSecondWriteLockAcqFails:95 ╗ LockAcquireFailed 
...                                                  
  TestConfPersisterLocksHDFS.testAcqRelWriteLock:87 ╗ LockAcquireFailed Failed 
t...                                                  
  TestConfPersisterLocksHDFS.testNoReadlockWhenWriteHeld:164 ╗ 
LockAcquireFailed                                                     
  
TestAgentAMManagementWS.testAgentAMManagementWS:122->AgentTestBase.buildAgentCluster:139->YarnMiniClusterTestBase.createOrBuildClus
ter:469->YarnMiniClusterTestBase.launchClientAgainstMiniMR:293->YarnMiniClusterTestBase.launchClientNoExitCodeCheck:312->SliderTestUt
ils.launchClientAgainstRM:535->SliderTestUtils.execSliderCommand:487 ╗ 
IllegalArgument                                               
  
TestAgentEcho.testEchoOperation:77->AgentTestBase.buildAgentCluster:139->YarnMiniClusterTestBase.createOrBuildCluster:469->YarnMini
ClusterTestBase.launchClientAgainstMiniMR:293->YarnMiniClusterTestBase.launchClientNoExitCodeCheck:312->SliderTestUtils.launchClientA
gainstRM:535->SliderTestUtils.execSliderCommand:487 ╗ IllegalArgument           
                                                     
  
TestRegistryRestResources.testRestURIs:93->AgentTestBase.buildAgentCluster:139->YarnMiniClusterTestBase.createOrBuildCluster:469->Y
arnMiniClusterTestBase.launchClientAgainstMiniMR:293->YarnMiniClusterTestBase.launchClientNoExitCodeCheck:312->SliderTestUtils.launch
ClientAgainstRM:535->SliderTestUtils.execSliderCommand:487 ╗ IllegalArgument    
                                                     
  TestLongLivedProcess.testSetenv:118 ╗ IO Cannot run program "env": 
CreateProce...                                                  
  TestWorkflowForkedProcessService.testSetenv:111->exec:137 ╗ ServiceState 
java....                                                  
                                                                                
                                                     
Tests run: 352, Failures: 6, Errors: 9, Skipped: 1                              
                                                     
                                                                                
                                                     
[INFO] ------------------------------------------------------------------------ 
                                                     
[INFO] BUILD FAILURE                                                            
                                                     
[INFO] ------------------------------------------------------------------------ 
                                                     
[INFO] Total time: 35:48.163s                                
{code}

> slider-core tests failing on windows
> ------------------------------------
>
>                 Key: SLIDER-375
>                 URL: https://issues.apache.org/jira/browse/SLIDER-375
>             Project: Slider
>          Issue Type: Sub-task
>          Components: test, windows
>    Affects Versions: Slider 0.60
>         Environment: windows
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> Various tests are failing in slider core ... either sign of a problems or a 
> bug in the tests. identify and fix



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to