Peter,

The patch doesn't seem to fix the failure in 
HiveMetastoreBridgeIT.testCreateTableHiveProcessNameAttribute. See precommit 
test results at 
https://builds.apache.org/view/A/view/Atlas/job/PreCommit-ATLAS-Build-Test/239/console.

testCreateTableHiveProcessNameAttribute(org.apache.atlas.hive.bridge.HiveMetastoreBridgeIT)
  Time elapsed: 85.416 sec  <<< FAILURE!
java.lang.AssertionError: Assertions failed. Failing after waiting for timeout 
80000 msecs
        at 
org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:388)
        at 
org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:323)
        at org.apache.atlas.AtlasBaseClient.callAPI(AtlasBaseClient.java:228)
        at 
org.apache.atlas.AtlasClientV2.getEntityByAttribute(AtlasClientV2.java:264)
        at org.apache.atlas.hive.HiveITBase$1.evaluate(HiveITBase.java:209)
        at org.apache.atlas.hive.HiveITBase.waitFor(HiveITBase.java:266)
        at 
org.apache.atlas.hive.HiveITBase.assertEntityIsRegistered(HiveITBase.java:206)
        at 
org.apache.atlas.hive.bridge.HiveMetastoreBridgeIT.testCreateTableHiveProcessNameAttribute(HiveMetastoreBridgeIT.java:111)

Can you please make sure that the fix addresses this test failure, by taking 
the patch through precommit 
(https://builds.apache.org/view/A/view/Atlas/job/PreCommit-ATLAS-Build-Test/build?delay=0sec)?

Thanks,
Madhan



On 4/9/18, 8:49 AM, "Peter Gergo Barna" <pba...@hortonworks.com> wrote:

    Hi Madhan,
    
    I have fixed the Hive Hook IT added by my patch for ATLAS-2530. 
    
    There is an other problem in my local env, this Error made all Hive hook 
Its fail:
    
    2018-04-09 14:58:51,719 INFO  - [main:] ~ Created Atlas Hook (AtlasHook:117)
    2018-04-09 14:58:51,726 ERROR - [main:] ~ HiveHook.run(): failed to process 
operation CREATETABLE (HiveHook:159)
    java.lang.Error: Unresolved compilation problem:
            Type mismatch: cannot convert from 
List<HookNotification.EntityCreateRequestV2> to List<HookNotification>
    
            at 
org.apache.atlas.hive.hook.events.CreateTable.getNotificationMessages(CreateTable.java:50)
            at org.apache.atlas.hive.hook.HiveHook.run(HiveHook.java:156)
            at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1520)
            at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1195)
            at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1059)
            at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1049)
            at 
org.apache.atlas.hive.HiveITBase.runCommandWithDelay(HiveITBase.java:170)
            at 
org.apache.atlas.hive.HiveITBase.runCommandWithDelay(HiveITBase.java:164)
            at org.apache.atlas.hive.HiveITBase.runCommand(HiveITBase.java:156)
            at 
org.apache.atlas.hive.bridge.HiveMetastoreBridgeIT.testCreateTableAndImport(HiveMetastoreBridgeIT.java:40)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    
    
    
    This patch fixed it in my local env: 
    https://issues.apache.org/jira/secure/attachment/12918174/ATLAS-2535-2.patch
    
    
    
    I am not sure if this is valid error, looks strange to me.  If it only 
affects my env then I am sorry to bother you with this.
    If this is a valid error and a valid fix for it, I think we should consider 
adding this fix to all BaseHiveEvent
    descendant classes, in the getNotificationMessages method.
    
    What do you think?
    
    
    Regards,
    Gergo
    
    
    
    
    
    On 4/9/18, 3:20 PM, "Peter Gergo Barna" <pba...@hortonworks.com> wrote:
    
    >Hi Madhan,
    >I am looking into it
    >
    >https://issues.apache.org/jira/browse/ATLAS-2546 
    >
    >Regards,
    >Peter Gergo Barna
    >
    >
    >
    >
    >
    >On 4/8/18, 6:34 PM, "Madhan Neethiraj" <mad...@apache.org> wrote:
    >
    >>Peter - can you please look into the failure in the following integration 
test introduced in ATLAS-2530?
    >>      
HiveMetastoreBridgeIT.testCreateTableHiveProcessNameAttribute:105->HiveITBase.runCommand:139->HiveITBase.runCommandWithDelay:147->HiveITBase.runCommandWithDelay:154
 expected [0] but found [40000]
    >>
    >>Ramesh - can you please look into the following HiveHook IT failures?
    >>      
HiveHookIT.testAlterTablePartitionColumnType:1309->assertColumnIsRegistered:288->HiveITBase.assertEntityIsRegistered:206->HiveITBase.waitFor:270
 Assertions failed. Failing after waiting for timeout 80000 msecs
    >>      HiveHookIT.testAlterTableRename:970->assertTrait:1018 » 
IndexOutOfBounds Index...
    >>
    >>Thanks,
    >>Madhan
    >>
    >>On 4/8/18, 6:11 AM, "Apache Jenkins Server" <jenk...@builds.apache.org> 
wrote:
    >>
    >>    See 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/985/display/redirect>
    >>    
    >>    ------------------------------------------
    >>    [...truncated 681.01 KB...]
    >>    127.0.0.1 - - [08/Apr/2018:09:51:53 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/guid/71d8f14a-1bee-45c9-bf57-b5d02b873438 
HTTP/1.1" 200 2018 "-" "Java/1.8.0_152"
    >>    127.0.0.1 - - [08/Apr/2018:09:51:53 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/guid/8fa0bdb2-6fff-40bc-8c85-31e307be70a4 
HTTP/1.1" 200 5150 "-" "Java/1.8.0_152"
    >>    127.0.0.1 - - [08/Apr/2018:09:51:53 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/guid/f96a0ec4-e191-47c3-b7bd-9a8ea6ee0942 
HTTP/1.1" 200 1385 "-" "Java/1.8.0_152"
    >>    127.0.0.1 - - [08/Apr/2018:09:51:53 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hdfs_path?attr:qualifiedName=pfile:/home/jenkins/jenkins-slave/workspace/atlas-master-integrationtests/addons/hive-bridge/target/somedfspath1-data-oa3tjxhq6i
 HTTP/1.1" 200 1385 "-" "Java/1.8.0_152"
    >>    127.0.0.1 - - [08/Apr/2018:09:51:53 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hdfs_path?attr:qualifiedName=pfile:/home/jenkins/jenkins-slave/workspace/atlas-master-integrationtests/addons/hive-bridge/target/somedfspath1-data-oa3tjxhq6i
 HTTP/1.1" 200 1385 "-" "Java/1.8.0_152"
    >>    127.0.0.1 - - [08/Apr/2018:09:51:56 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_table?attr:qualifiedName=default.tablepjrnkjingg@primary
 HTTP/1.1" 200 5150 "-" "Java/1.8.0_152"
    >>    127.0.0.1 - - [08/Apr/2018:09:51:56 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_table?attr:qualifiedName=default.tablepjrnkjingg@primary
 HTTP/1.1" 200 5150 "-" "Java/1.8.0_152"
    >>    127.0.0.1 - - [08/Apr/2018:09:51:56 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_process?attr:qualifiedName=QUERY:default.tablepjrnkjingg@primary:1523181102000-%3E
 HTTP/1.1" 200 2421 "-" "Java/1.8.0_152"
    >>    127.0.0.1 - - [08/Apr/2018:09:51:56 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_process?attr:qualifiedName=QUERY:default.tablepjrnkjingg@primary:1523181102000-%3E
 HTTP/1.1" 200 2421 "-" "Java/1.8.0_152"
    >>    127.0.0.1 - - [08/Apr/2018:09:51:56 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/guid/71d8f14a-1bee-45c9-bf57-b5d02b873438 
HTTP/1.1" 200 2421 "-" "Java/1.8.0_152"
    >>    127.0.0.1 - - [08/Apr/2018:09:51:56 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/guid/8fa0bdb2-6fff-40bc-8c85-31e307be70a4 
HTTP/1.1" 200 5150 "-" "Java/1.8.0_152"
    >>    127.0.0.1 - - [08/Apr/2018:09:51:56 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/guid/30bc4d48-9d7b-4c39-a145-944ad6926c2a 
HTTP/1.1" 200 1385 "-" "Java/1.8.0_152"
    >>    127.0.0.1 - - [08/Apr/2018:09:51:56 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/guid/f96a0ec4-e191-47c3-b7bd-9a8ea6ee0942 
HTTP/1.1" 200 1385 "-" "Java/1.8.0_152"
    >>    127.0.0.1 - - [08/Apr/2018:09:51:56 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hdfs_path?attr:qualifiedName=pfile:/home/jenkins/jenkins-slave/workspace/atlas-master-integrationtests/addons/hive-bridge/target/somedfspath2-data-qazidkfz9p
 HTTP/1.1" 200 1385 "-" "Java/1.8.0_152"
    >>    127.0.0.1 - - [08/Apr/2018:09:51:56 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hdfs_path?attr:qualifiedName=pfile:/home/jenkins/jenkins-slave/workspace/atlas-master-integrationtests/addons/hive-bridge/target/somedfspath2-data-qazidkfz9p
 HTTP/1.1" 200 1385 "-" "Java/1.8.0_152"
    >>    127.0.0.1 - - [08/Apr/2018:09:51:57 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_db?attr:qualifiedName=default@primary
 HTTP/1.1" 200 14242 "-" "Java/1.8.0_152"
    >>    127.0.0.1 - - [08/Apr/2018:09:51:57 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_db?attr:qualifiedName=default@primary
 HTTP/1.1" 200 14242 "-" "Java/1.8.0_152"
    >>    127.0.0.1 - - [08/Apr/2018:09:51:57 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_table?attr:qualifiedName=default.tablepylkb5z1j1@primary
 HTTP/1.1" 404 154 "-" "Java/1.8.0_152"
    >>    127.0.0.1 - - [08/Apr/2018:09:52:02 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_table?attr:qualifiedName=default.tablepylkb5z1j1@primary
 HTTP/1.1" 200 5133 "-" "Java/1.8.0_152"
    >>    127.0.0.1 - - [08/Apr/2018:09:52:02 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_table?attr:qualifiedName=default.tablepylkb5z1j1@primary
 HTTP/1.1" 200 5133 "-" "Java/1.8.0_152"
    >>    127.0.0.1 - - [08/Apr/2018:09:52:02 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_process?attr:qualifiedName=default.tablepylkb5z1j1@primary:1523181117000
 HTTP/1.1" 200 2017 "-" "Java/1.8.0_152"
    >>    127.0.0.1 - - [08/Apr/2018:09:52:02 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_process?attr:qualifiedName=default.tablepylkb5z1j1@primary:1523181117000
 HTTP/1.1" 200 2017 "-" "Java/1.8.0_152"
    >>    127.0.0.1 - - [08/Apr/2018:09:52:02 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/guid/c3581b4a-f4d5-4098-96b1-9ed2920ff752 
HTTP/1.1" 200 2017 "-" "Java/1.8.0_152"
    >>    127.0.0.1 - - [08/Apr/2018:09:52:02 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hdfs_path?attr:qualifiedName=pfile:/home/jenkins/jenkins-slave/workspace/atlas-master-integrationtests/addons/hive-bridge/target/parentpath-data-qviviwcahr
 HTTP/1.1" 200 1379 "-" "Java/1.8.0_152"
    >>    127.0.0.1 - - [08/Apr/2018:09:52:02 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hdfs_path?attr:qualifiedName=pfile:/home/jenkins/jenkins-slave/workspace/atlas-master-integrationtests/addons/hive-bridge/target/parentpath-data-qviviwcahr
 HTTP/1.1" 200 1379 "-" "Java/1.8.0_152"
    >>    127.0.0.1 - - [08/Apr/2018:09:52:02 +0000] "GET 
//localhost:31000/api/atlas/entities?type=hive_table HTTP/1.1" 200 2732 "-" 
"Java/1.8.0_152"
    >>    127.0.0.1 - - [08/Apr/2018:09:52:02 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/guid/027520dd-6cf8-45c2-940b-dc8ecf2e402d 
HTTP/1.1" 200 14459 "-" "Java/1.8.0_152"
    >>    127.0.0.1 - - [08/Apr/2018:09:52:02 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_table?attr:qualifiedName=default.tablepylkb5z1j1@primary
 HTTP/1.1" 200 5133 "-" "Java/1.8.0_152"
    >>    127.0.0.1 - - [08/Apr/2018:09:52:02 +0000] "POST 
//localhost:31000/api/atlas/v2/entity/ HTTP/1.1" 200 706 "-" "Java/1.8.0_152"
    >>    127.0.0.1 - - [08/Apr/2018:09:52:02 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_process?attr:qualifiedName=default.tablepylkb5z1j1@primary:1523181117000
 HTTP/1.1" 200 2017 "-" "Java/1.8.0_152"
    >>    127.0.0.1 - - [08/Apr/2018:09:52:02 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_table?attr:qualifiedName=default.tablepylkb5z1j1@primary
 HTTP/1.1" 200 5127 "-" "Java/1.8.0_152"
    >>    127.0.0.1 - - [08/Apr/2018:09:52:02 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_table?attr:qualifiedName=default.tablepylkb5z1j1@primary
 HTTP/1.1" 200 5127 "-" "Java/1.8.0_152"
    >>    127.0.0.1 - - [08/Apr/2018:09:52:02 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_process?attr:qualifiedName=default.tablepylkb5z1j1@primary:1523181117000
 HTTP/1.1" 200 2017 "-" "Java/1.8.0_152"
    >>    127.0.0.1 - - [08/Apr/2018:09:52:02 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_process?attr:qualifiedName=default.tablepylkb5z1j1@primary:1523181117000
 HTTP/1.1" 200 2017 "-" "Java/1.8.0_152"
    >>    127.0.0.1 - - [08/Apr/2018:09:52:02 +0000] "GET 
//localhost:31000/api/atlas/entities?type=hive_table HTTP/1.1" 200 2732 "-" 
"Java/1.8.0_152"
    >>    127.0.0.1 - - [08/Apr/2018:09:52:02 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_db?attr:qualifiedName=default@primary
 HTTP/1.1" 200 14459 "-" "Java/1.8.0_152"
    >>    127.0.0.1 - - [08/Apr/2018:09:52:02 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_db?attr:qualifiedName=default@primary
 HTTP/1.1" 200 14459 "-" "Java/1.8.0_152"
    >>    127.0.0.1 - - [08/Apr/2018:09:52:02 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/guid/027520dd-6cf8-45c2-940b-dc8ecf2e402d 
HTTP/1.1" 200 14459 "-" "Java/1.8.0_152"
    >>    127.0.0.1 - - [08/Apr/2018:09:52:02 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_table?attr:qualifiedName=default.tablerrtzr5migf@primary
 HTTP/1.1" 404 154 "-" "Java/1.8.0_152"
    >>    127.0.0.1 - - [08/Apr/2018:09:52:02 +0000] "POST 
//localhost:31000/api/atlas/v2/entity/ HTTP/1.1" 200 862 "-" "Java/1.8.0_152"
    >>    127.0.0.1 - - [08/Apr/2018:09:52:03 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/guid/f6352e77-195c-4e27-8b24-51f27d6f0e6b 
HTTP/1.1" 200 3658 "-" "Java/1.8.0_152"
    >>    127.0.0.1 - - [08/Apr/2018:09:52:03 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_process?attr:qualifiedName=default.tablerrtzr5migf@primary:1523181122000
 HTTP/1.1" 404 170 "-" "Java/1.8.0_152"
    >>    127.0.0.1 - - [08/Apr/2018:09:52:03 +0000] "POST 
//localhost:31000/api/atlas/v2/entity/bulk/ HTTP/1.1" 200 758 "-" 
"Java/1.8.0_152"
    >>    127.0.0.1 - - [08/Apr/2018:09:52:03 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/guid/fd0d2896-297d-4542-b6c2-6a17373e6c6a 
HTTP/1.1" 200 2095 "-" "Java/1.8.0_152"
    >>    127.0.0.1 - - [08/Apr/2018:09:52:03 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/guid/84efdb80-92df-4609-8e0d-f92aeefe6699 
HTTP/1.1" 200 1362 "-" "Java/1.8.0_152"
    >>    127.0.0.1 - - [08/Apr/2018:09:52:03 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_table?attr:qualifiedName=default.tablerrtzr5migf@primary
 HTTP/1.1" 200 4056 "-" "Java/1.8.0_152"
    >>    127.0.0.1 - - [08/Apr/2018:09:52:03 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_table?attr:qualifiedName=default.tablerrtzr5migf@primary
 HTTP/1.1" 200 4056 "-" "Java/1.8.0_152"
    >>    127.0.0.1 - - [08/Apr/2018:09:52:03 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_process?attr:qualifiedName=default.tablerrtzr5migf@primary:1523181122000
 HTTP/1.1" 200 2095 "-" "Java/1.8.0_152"
    >>    127.0.0.1 - - [08/Apr/2018:09:52:03 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_process?attr:qualifiedName=default.tablerrtzr5migf@primary:1523181122000
 HTTP/1.1" 200 2095 "-" "Java/1.8.0_152"
    >>    127.0.0.1 - - [08/Apr/2018:09:52:03 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/guid/fd0d2896-297d-4542-b6c2-6a17373e6c6a 
HTTP/1.1" 200 2095 "-" "Java/1.8.0_152"
    >>    Tests run: 46, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 
480.497 sec <<< FAILURE! - in TestSuite
    >>    
testAlterTablePartitionColumnType(org.apache.atlas.hive.hook.HiveHookIT)  Time 
elapsed: 80.729 sec  <<< FAILURE!
    >>    java.lang.AssertionError: Assertions failed. Failing after waiting 
for timeout 80000 msecs
    >>          at 
org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:388)
    >>          at 
org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:323)
    >>          at 
org.apache.atlas.AtlasBaseClient.callAPI(AtlasBaseClient.java:228)
    >>          at 
org.apache.atlas.AtlasClientV2.getEntityByAttribute(AtlasClientV2.java:264)
    >>          at 
org.apache.atlas.hive.HiveITBase$1.evaluate(HiveITBase.java:209)
    >>          at org.apache.atlas.hive.HiveITBase.waitFor(HiveITBase.java:266)
    >>          at 
org.apache.atlas.hive.HiveITBase.assertEntityIsRegistered(HiveITBase.java:206)
    >>          at 
org.apache.atlas.hive.hook.HiveHookIT.assertColumnIsRegistered(HiveHookIT.java:288)
    >>          at 
org.apache.atlas.hive.hook.HiveHookIT.testAlterTablePartitionColumnType(HiveHookIT.java:1309)
    >>    
    >>    testAlterTableRename(org.apache.atlas.hive.hook.HiveHookIT)  Time 
elapsed: 14.353 sec  <<< FAILURE!
    >>    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
    >>          at java.util.ArrayList.rangeCheck(ArrayList.java:657)
    >>          at java.util.ArrayList.get(ArrayList.java:433)
    >>          at 
org.apache.atlas.hive.hook.HiveHookIT.assertTrait(HiveHookIT.java:1018)
    >>          at 
org.apache.atlas.hive.hook.HiveHookIT.testAlterTableRename(HiveHookIT.java:970)
    >>    
    >>    
testCreateTableHiveProcessNameAttribute(org.apache.atlas.hive.bridge.HiveMetastoreBridgeIT)
  Time elapsed: 0.009 sec  <<< FAILURE!
    >>    java.lang.AssertionError: expected [0] but found [40000]
    >>          at org.testng.Assert.fail(Assert.java:94)
    >>          at org.testng.Assert.failNotEquals(Assert.java:496)
    >>          at org.testng.Assert.assertEquals(Assert.java:125)
    >>          at org.testng.Assert.assertEquals(Assert.java:372)
    >>          at org.testng.Assert.assertEquals(Assert.java:382)
    >>          at 
org.apache.atlas.hive.HiveITBase.runCommandWithDelay(HiveITBase.java:154)
    >>          at 
org.apache.atlas.hive.HiveITBase.runCommandWithDelay(HiveITBase.java:147)
    >>          at 
org.apache.atlas.hive.HiveITBase.runCommand(HiveITBase.java:139)
    >>          at 
org.apache.atlas.hive.bridge.HiveMetastoreBridgeIT.testCreateTableHiveProcessNameAttribute(HiveMetastoreBridgeIT.java:105)
    >>    
    >>    
    >>    Results :
    >>    
    >>    Failed tests: 
    >>      
HiveMetastoreBridgeIT.testCreateTableHiveProcessNameAttribute:105->HiveITBase.runCommand:139->HiveITBase.runCommandWithDelay:147->HiveITBase.runCommandWithDelay:154
 expected [0] but found [40000]
    >>      
HiveHookIT.testAlterTablePartitionColumnType:1309->assertColumnIsRegistered:288->HiveITBase.assertEntityIsRegistered:206->HiveITBase.waitFor:270
 Assertions failed. Failing after waiting for timeout 80000 msecs
    >>      HiveHookIT.testAlterTableRename:970->assertTrait:1018 » 
IndexOutOfBounds Index...
    >>    
    >>    Tests run: 46, Failures: 3, Errors: 0, Skipped: 0
    >>    
    >>    [INFO] 
    >>    [INFO] --- jetty-maven-plugin:9.3.14.v20161028:stop (stop-jetty) @ 
hive-bridge ---
    >>    [INFO] Waiting 10 seconds for jetty to stop
    >>    [INFO] Stopped 
ServerConnector@2d4e6880{HTTP/1.1,[http/1.1]}{0.0.0.0:31000}
    >>    [INFO] Closing Spring root WebApplicationContext
    >>    [INFO] Shutting down log4j
    >>    [INFO] Stopped 
o.e.j.m.p.JettyWebAppContext@6dc78d29{/,file://<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/webapp/target/atlas-webapp-1.0.0-SNAPSHOT/,UNAVAILABLE}{/home/jenkins/jenkins-slave/workspace/Atlas-master-IntegrationTests/webapp/target/atlas-webapp-1.0.0-SNAPSHOT.war}>
    >>    [INFO] Server reports itself as stopped
    >>    [INFO] 
    >>    [INFO] --- maven-source-plugin:2.4:jar-no-fork (attach-sources) @ 
hive-bridge ---
    >>    [INFO] Building jar: 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/addons/hive-bridge/target/hive-bridge-1.0.0-SNAPSHOT-sources.jar>
    >>    [INFO] 
    >>    [INFO] --- maven-source-plugin:2.4:test-jar-no-fork (attach-sources) 
@ hive-bridge ---
    >>    [INFO] Building jar: 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/addons/hive-bridge/target/hive-bridge-1.0.0-SNAPSHOT-test-sources.jar>
    >>    [INFO] 
    >>    [INFO] --- maven-failsafe-plugin:2.18.1:verify (verify) @ hive-bridge 
---
    >>    [INFO] Failsafe report directory: 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/addons/hive-bridge/target/failsafe-reports>
    >>    [INFO] 
------------------------------------------------------------------------
    >>    [INFO] Reactor Summary:
    >>    [INFO] 
    >>    [INFO] Apache Atlas Server Build Tools .................... SUCCESS [ 
 0.660 s]
    >>    [INFO] apache-atlas ....................................... SUCCESS [ 
 3.561 s]
    >>    [INFO] Apache Atlas Test Utility Tools .................... SUCCESS [ 
 9.751 s]
    >>    [INFO] Open Connector Framework (OCF) ..................... SUCCESS [ 
 9.865 s]
    >>    [INFO] Open Metadata Repository Services (OMRS) ........... SUCCESS [ 
26.173 s]
    >>    [INFO] Open Metadata and Governance (OMAG) Server APIs .... SUCCESS [ 
 6.463 s]
    >>    [INFO] Apache Atlas Integration ........................... SUCCESS [ 
16.606 s]
    >>    [INFO] Apache Atlas Common ................................ SUCCESS [ 
 6.855 s]
    >>    [INFO] Apache Atlas Client ................................ SUCCESS [ 
 0.477 s]
    >>    [INFO] atlas-client-common ................................ SUCCESS [ 
 6.100 s]
    >>    [INFO] atlas-client-v1 .................................... SUCCESS [ 
 6.458 s]
    >>    [INFO] Apache Atlas Server API ............................ SUCCESS [ 
 5.071 s]
    >>    [INFO] Apache Atlas Notification .......................... SUCCESS [ 
 8.091 s]
    >>    [INFO] atlas-client-v2 .................................... SUCCESS [ 
 5.578 s]
    >>    [INFO] Apache Atlas Graph Database Projects ............... SUCCESS [ 
 0.553 s]
    >>    [INFO] Apache Atlas Graph Database API .................... SUCCESS [ 
 4.396 s]
    >>    [INFO] Graph Database Common Code ......................... SUCCESS [ 
 4.997 s]
    >>    [INFO] Apache Atlas JanusGraph DB Impl .................... SUCCESS [ 
12.729 s]
    >>    [INFO] Apache Atlas Graph Database Implementation Dependencies 
SUCCESS [  2.172 s]
    >>    [INFO] Shaded version of Apache hbase client .............. SUCCESS [ 
 7.292 s]
    >>    [INFO] Apache Atlas Titan 0.5.4 Graph DB Impl ............. SUCCESS [ 
35.213 s]
    >>    [INFO] Shaded version of Apache hbase server .............. SUCCESS [ 
19.254 s]
    >>    [INFO] Apache Atlas Authorization ......................... SUCCESS [ 
 6.096 s]
    >>    [INFO] Apache Atlas Repository ............................ SUCCESS [ 
27.116 s]
    >>    [INFO] Apache Atlas UI .................................... SUCCESS 
[01:11 min]
    >>    [INFO] Apache Atlas Web Application ....................... SUCCESS 
[04:19 min]
    >>    [INFO] Apache Atlas Documentation ......................... SUCCESS [ 
 2.923 s]
    >>    [INFO] Apache Atlas FileSystem Model ...................... SUCCESS [ 
 2.409 s]
    >>    [INFO] Apache Atlas Plugin Classloader .................... SUCCESS [ 
 5.590 s]
    >>    [INFO] Apache Atlas Hive Bridge Shim ...................... SUCCESS [ 
 4.575 s]
    >>    [INFO] Apache Atlas Hive Bridge ........................... FAILURE 
[08:49 min]
    >>    [INFO] Apache Atlas Falcon Bridge Shim .................... SKIPPED
    >>    [INFO] Apache Atlas Falcon Bridge ......................... SKIPPED
    >>    [INFO] Apache Atlas Sqoop Bridge Shim ..................... SKIPPED
    >>    [INFO] Apache Atlas Sqoop Bridge .......................... SKIPPED
    >>    [INFO] Apache Atlas Storm Bridge Shim ..................... SKIPPED
    >>    [INFO] Apache Atlas Storm Bridge .......................... SKIPPED
    >>    [INFO] Apache Atlas Hbase Bridge Shim ..................... SKIPPED
    >>    [INFO] Apache Atlas Hbase Bridge .......................... SKIPPED
    >>    [INFO] Apache Atlas Migration Exporter .................... SKIPPED
    >>    [INFO] Apache Atlas Distribution .......................... SKIPPED
    >>    [INFO] 
------------------------------------------------------------------------
    >>    [INFO] BUILD FAILURE
    >>    [INFO] 
------------------------------------------------------------------------
    >>    [INFO] Total time: 18:28 min
    >>    [INFO] Finished at: 2018-04-08T09:52:07Z
    >>    [INFO] Final Memory: 598M/3329M
    >>    [INFO] 
------------------------------------------------------------------------
    >>    log4j:WARN No appenders could be found for logger 
(org.apache.zookeeper.ClientCnxn).
    >>    log4j:WARN Please initialize the log4j system properly.
    >>    log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig 
for more info.
    >>    [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-failsafe-plugin:2.18.1:verify (verify) on 
project hive-bridge: There are test failures.
    >>    [ERROR] 
    >>    [ERROR] Please refer to 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/addons/hive-bridge/target/failsafe-reports>
 for the individual test results.
    >>    [ERROR] -> [Help 1]
    >>    [ERROR] 
    >>    [ERROR] To see the full stack trace of the errors, re-run Maven with 
the -e switch.
    >>    [ERROR] Re-run Maven using the -X switch to enable full debug logging.
    >>    [ERROR] 
    >>    [ERROR] For more information about the errors and possible solutions, 
please read the following articles:
    >>    [ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
    >>    [ERROR] 
    >>    [ERROR] After correcting the problems, you can resume the build with 
the command
    >>    [ERROR]   mvn <goals> -rf :hive-bridge
    >>    Build step 'Execute shell' marked build as failure
    >>    [CHECKSTYLE] Collecting checkstyle analysis files...
    >>    [CHECKSTYLE] Searching for all files in 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/> that match 
the pattern **/target/checkstyle-result.xml
    >>    [CHECKSTYLE] Parsing 29 files in 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/>
    >>    [CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/addons/hdfs-model/target/checkstyle-result.xml>
 with 0 unique warnings and 0 duplicates.
    >>    [CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/addons/hive-bridge-shim/target/checkstyle-result.xml>
 with 15 unique warnings and 0 duplicates.
    >>    [CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/authorization/target/checkstyle-result.xml>
 with 684 unique warnings and 0 duplicates.
    >>    [CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/client/client-v1/target/checkstyle-result.xml>
 with 1568 unique warnings and 0 duplicates.
    >>    [CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/client/client-v2/target/checkstyle-result.xml>
 with 1927 unique warnings and 0 duplicates.
    >>    [CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/client/common/target/checkstyle-result.xml>
 with 2415 unique warnings and 0 duplicates.
    >>    [CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/client/target/checkstyle-result.xml>
 with 2415 unique warnings and 0 duplicates.
    >>    [CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/common/target/checkstyle-result.xml>
 with 3463 unique warnings and 0 duplicates.
    >>    [CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/dashboardv2/target/checkstyle-result.xml>
 with 3463 unique warnings and 0 duplicates.
    >>    [CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/docs/target/checkstyle-result.xml>
 with 3463 unique warnings and 0 duplicates.
    >>    [CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/graphdb/api/target/checkstyle-result.xml>
 with 3757 unique warnings and 0 duplicates.
    >>    [CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/graphdb/common/target/checkstyle-result.xml>
 with 3966 unique warnings and 0 duplicates.
    >>    [CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/graphdb/graphdb-impls/target/checkstyle-result.xml>
 with 3966 unique warnings and 0 duplicates.
    >>    [CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/graphdb/janus/target/checkstyle-result.xml>
 with 5658 unique warnings and 0 duplicates.
    >>    [CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/graphdb/target/checkstyle-result.xml>
 with 5658 unique warnings and 0 duplicates.
    >>    [CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/graphdb/titan0/target/checkstyle-result.xml>
 with 8159 unique warnings and 0 duplicates.
    >>    [CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/intg/target/checkstyle-result.xml>
 with 19170 unique warnings and 0 duplicates.
    >>    [CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/notification/target/checkstyle-result.xml>
 with 20406 unique warnings and 0 duplicates.
    >>    [CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/om-fwk-ocf/target/checkstyle-result.xml>
 with 25448 unique warnings and 0 duplicates.
    >>    [CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/omag-api/target/checkstyle-result.xml>
 with 26794 unique warnings and 0 duplicates.
    >>    [CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/omrs/target/checkstyle-result.xml>
 with 64423 unique warnings and 0 duplicates.
    >>    [CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/plugin-classloader/target/checkstyle-result.xml>
 with 64536 unique warnings and 0 duplicates.
    >>    [CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/repository/target/checkstyle-result.xml>
 with 84294 unique warnings and 0 duplicates.
    >>    [CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/server-api/target/checkstyle-result.xml>
 with 84445 unique warnings and 0 duplicates.
    >>    [CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/shaded/hbase-client-shaded/target/checkstyle-result.xml>
 with 84445 unique warnings and 0 duplicates.
    >>    [CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/shaded/hbase-server-shaded/target/checkstyle-result.xml>
 with 84445 unique warnings and 0 duplicates.
    >>    [CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/target/checkstyle-result.xml>
 with 84445 unique warnings and 0 duplicates.
    >>    [CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/test-tools/target/checkstyle-result.xml>
 with 84483 unique warnings and 0 duplicates.
    >>    [CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/webapp/target/checkstyle-result.xml>
 with 92484 unique warnings and 0 duplicates.
    >>    <Git Blamer> Using GitBlamer to create author and commit information 
for all warnings.
    >>    <Git Blamer> GIT_COMMIT=37d7b8b8f72b906cb2c133f9b3d843009c92e408, 
workspace=<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/>
    >>     > git rev-parse 37d7b8b8f72b906cb2c133f9b3d843009c92e408^{commit} # 
timeout=10
    >>    <Git Blamer> Skipping file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/repository/src/main/java/org/apache/atlas/discovery/SearchIndexer.java,>
 no result found.
    >>    [CHECKSTYLE] Computing warning deltas based on reference build #950
    >>    [FINDBUGS] Collecting findbugs analysis files...
    >>    [FINDBUGS] Searching for all files in 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/> that match 
the pattern **/target/findbugs.xml
    >>    [FINDBUGS] Parsing 20 files in 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/>
    >>    [FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/addons/hive-bridge-shim/target/findbugs.xml>
 with 0 unique warnings and 0 duplicates.
    >>    [FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/authorization/target/findbugs.xml>
 with 0 unique warnings and 0 duplicates.
    >>    [FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/client/client-v1/target/findbugs.xml>
 with 0 unique warnings and 0 duplicates.
    >>    [FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/client/client-v2/target/findbugs.xml>
 with 0 unique warnings and 0 duplicates.
    >>    [FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/client/common/target/findbugs.xml>
 with 0 unique warnings and 0 duplicates.
    >>    [FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/common/target/findbugs.xml>
 with 0 unique warnings and 0 duplicates.
    >>    [FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/graphdb/api/target/findbugs.xml>
 with 0 unique warnings and 0 duplicates.
    >>    [FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/graphdb/common/target/findbugs.xml>
 with 0 unique warnings and 0 duplicates.
    >>    [FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/graphdb/janus/target/findbugs.xml>
 with 0 unique warnings and 0 duplicates.
    >>    [FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/graphdb/titan0/target/findbugs.xml>
 with 0 unique warnings and 0 duplicates.
    >>    [FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/intg/target/findbugs.xml>
 with 0 unique warnings and 0 duplicates.
    >>    [FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/notification/target/findbugs.xml>
 with 0 unique warnings and 0 duplicates.
    >>    [FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/om-fwk-ocf/target/findbugs.xml>
 with 0 unique warnings and 0 duplicates.
    >>    [FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/omag-api/target/findbugs.xml>
 with 0 unique warnings and 0 duplicates.
    >>    [FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/omrs/target/findbugs.xml>
 with 0 unique warnings and 0 duplicates.
    >>    [FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/plugin-classloader/target/findbugs.xml>
 with 0 unique warnings and 0 duplicates.
    >>    [FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/repository/target/findbugs.xml>
 with 0 unique warnings and 0 duplicates.
    >>    [FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/server-api/target/findbugs.xml>
 with 0 unique warnings and 0 duplicates.
    >>    [FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/test-tools/target/findbugs.xml>
 with 0 unique warnings and 0 duplicates.
    >>    [FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/webapp/target/findbugs.xml>
 with 0 unique warnings and 0 duplicates.
    >>    <Git Blamer> Using GitBlamer to create author and commit information 
for all warnings.
    >>    <Git Blamer> GIT_COMMIT=37d7b8b8f72b906cb2c133f9b3d843009c92e408, 
workspace=<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/>
    >>    [FINDBUGS] Computing warning deltas based on reference build #950
    >>    Archiving artifacts
    >>    [Fast Archiver] Compressed 167.55 MB of artifacts by 65.9% relative 
to #950
    >>    TestNG Reports Processing: START
    >>    Looking for TestNG results report in workspace using pattern: 
**/target/surefire-reports/testng-results.xml,**/target/failsafe-reports/testng-results.xml
    >>    Saving reports...
    >>    Processing 
'/x1/jenkins/jenkins-home/jobs/Atlas-master-IntegrationTests/builds/985/testng/testng-results-1.xml'
    >>    Processing 
'/x1/jenkins/jenkins-home/jobs/Atlas-master-IntegrationTests/builds/985/testng/testng-results.xml'
    >>    1.744186% of tests failed, which exceeded threshold of 0%. Marking 
build as UNSTABLE
    >>    TestNG Reports Processing: FINISH
    >>    
    >>    
    >>
    >>
    


Reply via email to