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

Nigel Jones commented on ATLAS-455:
-----------------------------------

Here's another timing example: slower 2-core virtual machine on a cloud 
provider  -- in this case in waiting for jetty to stop during the Storm tests:

[ERROR] Failed to execute goal 
org.eclipse.jetty:jetty-maven-plugin:9.2.12.v20150709:deploy-war (start-jetty) 
on project storm-bridge: Failure: ShutdownMonitorThread already started -> 
[Help 2]

The definition of this task is in src/atlas/addons/storm-bridge/pom.xml . Here 
the httptimeout defaults to 60s . Increased this to 600s & the storm bridge 
test completes ok 

> Timeouts in tests should be configurable from system property
> -------------------------------------------------------------
>
>                 Key: ATLAS-455
>                 URL: https://issues.apache.org/jira/browse/ATLAS-455
>             Project: Atlas
>          Issue Type: Bug
>    Affects Versions: trunk
>            Reporter: Nigel Jones
>         Attachments: application.log.gz
>
>
> With a latest git pull from ~1400 UTC , plus the ATLAS-439 patch to fix a 
> webapp build failure, I am now seeing the Hive integration tests fail. This 
> is in a pretty clean environment, centos 7.1
> Tests run: 12, Failures: 5, Errors: 0, Skipped: 0, Time elapsed: 177.625 sec 
> <<< FAILURE! - in org.apache.atlas.hive.hook
> .HiveHookIT
> testAlterTableRename(org.apache.atlas.hive.hook.HiveHookIT)  Time elapsed: 
> 27.741 sec  <<< FAILURE!
> java.lang.Exception: Waiting timed out after 2000 msec
>         at org.apache.atlas.hive.hook.HiveHookIT.waitFor(HiveHookIT.java:427)
>         at 
> org.apache.atlas.hive.hook.HiveHookIT.assertEntityIsRegistered(HiveHookIT.java:342)
>         at 
> org.apache.atlas.hive.hook.HiveHookIT.assertTableIsRegistered(HiveHookIT.java:320)
>         at 
> org.apache.atlas.hive.hook.HiveHookIT.testAlterTableRename(HiveHookIT.java:269)
> testAlterViewRename(org.apache.atlas.hive.hook.HiveHookIT)  Time elapsed: 
> 10.27 sec  <<< FAILURE!
> java.lang.Exception: Waiting timed out after 2000 msec
>         at org.apache.atlas.hive.hook.HiveHookIT.waitFor(HiveHookIT.java:427)
>         at 
> org.apache.atlas.hive.hook.HiveHookIT.assertEntityIsRegistered(HiveHookIT.java:342)
>         at 
> org.apache.atlas.hive.hook.HiveHookIT.assertTableIsRegistered(HiveHookIT.java:320)
>         at 
> org.apache.atlas.hive.hook.HiveHookIT.testAlterViewRename(HiveHookIT.java:284)
> testCTAS(org.apache.atlas.hive.hook.HiveHookIT)  Time elapsed: 13.085 sec  
> <<< FAILURE!
> java.lang.Exception: Waiting timed out after 2000 msec
>         at org.apache.atlas.hive.hook.HiveHookIT.waitFor(HiveHookIT.java:427)
>         at 
> org.apache.atlas.hive.hook.HiveHookIT.assertEntityIsRegistered(HiveHookIT.java:342)
>         at 
> org.apache.atlas.hive.hook.HiveHookIT.assertProcessIsRegistered(HiveHookIT.java:297)
>         at org.apache.atlas.hive.hook.HiveHookIT.testCTAS(HiveHookIT.java:171)
> testCreateView(org.apache.atlas.hive.hook.HiveHookIT)  Time elapsed: 4.736 
> sec  <<< FAILURE!
> java.lang.Exception: Waiting timed out after 2000 msec
>         at org.apache.atlas.hive.hook.HiveHookIT.waitFor(HiveHookIT.java:427)
>         at 
> org.apache.atlas.hive.hook.HiveHookIT.assertEntityIsRegistered(HiveHookIT.java:342)
>         at 
> org.apache.atlas.hive.hook.HiveHookIT.assertProcessIsRegistered(HiveHookIT.java:297)
>         at 
> org.apache.atlas.hive.hook.HiveHookIT.testCreateView(HiveHookIT.java:182)
> testInsert(org.apache.atlas.hive.hook.HiveHookIT)  Time elapsed: 10.654 sec  
> <<< FAILURE!
> java.lang.Exception: Waiting timed out after 2000 msec
>         at org.apache.atlas.hive.hook.HiveHookIT.waitFor(HiveHookIT.java:427)
>         at 
> org.apache.atlas.hive.hook.HiveHookIT.assertEntityIsRegistered(HiveHookIT.java:342)
>         at 
> org.apache.atlas.hive.hook.HiveHookIT.assertProcessIsRegistered(HiveHookIT.java:297)
>         at 
> org.apache.atlas.hive.hook.HiveHookIT.testInsert(HiveHookIT.java:206)
> Results :
> Failed tests:
>   
> HiveHookIT.testAlterTableRename:269->assertTableIsRegistered:320->assertEntityIsRegistered:342->waitFor:427
>   
> HiveHookIT.testAlterViewRename:284->assertTableIsRegistered:320->assertEntityIsRegistered:342->waitFor:427
>   
> HiveHookIT.testCTAS:171->assertProcessIsRegistered:297->assertEntityIsRegistered:342->waitFor:427
>   
> HiveHookIT.testCreateView:182->assertProcessIsRegistered:297->assertEntityIsRegistered:342->waitFor:427
>   
> HiveHookIT.testInsert:206->assertProcessIsRegistered:297->assertEntityIsRegistered:342->waitFor:427
> Tests run: 12, Failures: 5, Errors: 0, Skipped: 0



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

Reply via email to