See 
<https://builds.apache.org/job/Atlas-1.0-AllTests/1119/display/redirect?page=changes>

Changes:

[ssubramanian] ATLAS-2890: Fix intermittent UT and IT failures for atlas in 
apache CI

------------------------------------------
[...truncated 100.11 KB...]
[INFO] Executing: /bin/sh -c cd 
'<https://builds.apache.org/job/Atlas-1.0-AllTests/ws/notification'> && 'git' 
'rev-parse' '--verify' 'HEAD'
[INFO] Working directory: 
<https://builds.apache.org/job/Atlas-1.0-AllTests/ws/notification>
[INFO] Storing buildNumber: 42e7b50f73f90c47b6cd414cc430dddda91f1c3a at 
timestamp: 1537900921846
[WARNING] Cannot get the branch information from the git repository: 
Detecting the current branch failed: fatal: ref HEAD is not a symbolic ref

[INFO] Executing: /bin/sh -c cd 
'<https://builds.apache.org/job/Atlas-1.0-AllTests/ws/notification'> && 'git' 
'rev-parse' '--verify' 'HEAD'
[INFO] Working directory: 
<https://builds.apache.org/job/Atlas-1.0-AllTests/ws/notification>
[INFO] Storing buildScmBranch: UNKNOWN
[INFO] 
[INFO] --- apache-rat-plugin:0.12:check (rat-check) @ atlas-notification ---
[INFO] Enabled default license matchers.
[INFO] Will parse SCM ignores for exclusions...
[INFO] Finished adding exclusions from SCM ignore files.
[INFO] 61 implicit excludes (use -debug for more details).
[INFO] Exclude: **/antlr4/**
[INFO] Exclude: **/dependency-reduced-pom.xml
[INFO] Exclude: **/javax.script.ScriptEngineFactory
[INFO] Exclude: .reviewboardrc
[INFO] Exclude: 3party-licenses/**
[INFO] Exclude: **/.cache
[INFO] Exclude: **/.cache-main
[INFO] Exclude: **/.cache-tests
[INFO] Exclude: **/.checkstyle
[INFO] Exclude: **/*.txt
[INFO] Exclude: **/*.json
[INFO] Exclude: .pc/**
[INFO] Exclude: debian/**
[INFO] Exclude: .svn/**
[INFO] Exclude: .git/**
[INFO] Exclude: .gitignore
[INFO] Exclude: **/.idea/**
[INFO] Exclude: **/*.twiki
[INFO] Exclude: **/*.iml
[INFO] Exclude: **/*.json
[INFO] Exclude: **/*.log
[INFO] Exclude: **/target/**
[INFO] Exclude: **/target*/**
[INFO] Exclude: **/build/**
[INFO] Exclude: **/*.patch
[INFO] Exclude: derby.log
[INFO] Exclude: **/logs/**
[INFO] Exclude: **/.classpath
[INFO] Exclude: **/.project
[INFO] Exclude: **/.settings/**
[INFO] Exclude: **/test-output/**
[INFO] Exclude: **/mock/**
[INFO] Exclude: **/data/**
[INFO] Exclude: **/maven-eclipse.xml
[INFO] Exclude: **/.externalToolBuilders/**
[INFO] Exclude: **/build.log
[INFO] Exclude: **/.bowerrc
[INFO] Exclude: *.json
[INFO] Exclude: **/overlays/**
[INFO] Exclude: dev-support/**
[INFO] Exclude: **/users-credentials.properties
[INFO] Exclude: **/public/css/animate.min.css
[INFO] Exclude: **/public/css/bootstrap-sidebar.css
[INFO] Exclude: **/public/js/external_lib/**
[INFO] Exclude: **/node_modules/**
[INFO] Exclude: **/public/js/libs/**
[INFO] Exclude: **/atlas.data/**
[INFO] Exclude: **/${sys:atlas.data}/**
[INFO] Exclude: **/policy-store.txt
[INFO] Exclude: **/*rebel*.xml
[INFO] Exclude: **/*rebel*.xml.bak
[INFO] Exclude: **/test/resources/**
[INFO] 36 resources included (use -debug for more details)
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 
0, approved: 36 licenses.
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ 
atlas-notification ---
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ 
atlas-notification ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
<https://builds.apache.org/job/Atlas-1.0-AllTests/ws/notification/src/main/resources>
[INFO] Copying 2 resources to META-INF
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ 
atlas-notification ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 21 source files to 
<https://builds.apache.org/job/Atlas-1.0-AllTests/ws/notification/target/classes>
[INFO] 
<https://builds.apache.org/job/Atlas-1.0-AllTests/ws/notification/src/main/java/org/apache/atlas/notification/AbstractNotification.java>:
 Some input files use unchecked or unsafe operations.
[INFO] 
<https://builds.apache.org/job/Atlas-1.0-AllTests/ws/notification/src/main/java/org/apache/atlas/notification/AbstractNotification.java>:
 Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ 
atlas-notification ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
<https://builds.apache.org/job/Atlas-1.0-AllTests/ws/notification/src/test/resources>
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ 
atlas-notification ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 14 source files to 
<https://builds.apache.org/job/Atlas-1.0-AllTests/ws/notification/target/test-classes>
[INFO] 
<https://builds.apache.org/job/Atlas-1.0-AllTests/ws/notification/src/test/java/org/apache/atlas/kafka/KafkaNotificationMockTest.java>:
 Some input files use unchecked or unsafe operations.
[INFO] 
<https://builds.apache.org/job/Atlas-1.0-AllTests/ws/notification/src/test/java/org/apache/atlas/kafka/KafkaNotificationMockTest.java>:
 Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ 
atlas-notification ---
[INFO] Surefire report directory: 
<https://builds.apache.org/job/Atlas-1.0-AllTests/ws/notification/target/surefire-reports>
[INFO] Using configured provider org.apache.maven.surefire.testng.TestNGProvider

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.atlas.notification.entity.EntityNotificationDeserializerTest
Running org.apache.atlas.notification.AbstractNotificationConsumerTest
Running org.apache.atlas.notification.hook.HookNotificationDeserializerTest
Running org.apache.atlas.hook.AtlasHookTest
Running org.apache.atlas.kafka.KafkaNotificationTest
Running org.apache.atlas.notification.SplitMessageAggregatorTest
Running org.apache.atlas.notification.entity.EntityNotificationTest
Running org.apache.atlas.hook.AtlasTopicCreatorTest
Running org.apache.atlas.notification.MessageVersionTest
Running org.apache.atlas.notification.hook.HookNotificationTest
Running org.apache.atlas.notification.AbstractNotificationTest
Running org.apache.atlas.kafka.KafkaConsumerTest
Running org.apache.atlas.kafka.KafkaNotificationMockTest
Running org.apache.atlas.notification.AtlasNotificationMessageTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.027 sec - in 
org.apache.atlas.notification.MessageVersionTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.167 sec - in 
org.apache.atlas.hook.AtlasTopicCreatorTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.199 sec - in 
org.apache.atlas.notification.entity.EntityNotificationTest
Tests run: 3, Failures: 1, Errors: 0, Skipped: 2, Time elapsed: 2.23 sec <<< 
FAILURE! - in org.apache.atlas.kafka.KafkaNotificationTest
setup(org.apache.atlas.kafka.KafkaNotificationTest)  Time elapsed: 1.991 sec  
<<< FAILURE!
org.apache.atlas.AtlasException: Failed to start embedded kafka
        at sun.nio.ch.Net.bind0(Native Method)
        at sun.nio.ch.Net.bind(Net.java:433)
        at sun.nio.ch.Net.bind(Net.java:425)
        at 
sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:67)
        at 
org.apache.zookeeper.server.NIOServerCnxnFactory.configure(NIOServerCnxnFactory.java:95)
        at 
org.apache.zookeeper.server.ServerCnxnFactory.createFactory(ServerCnxnFactory.java:126)
        at 
org.apache.atlas.kafka.EmbeddedKafkaServer.startZk(EmbeddedKafkaServer.java:116)
        at 
org.apache.atlas.kafka.EmbeddedKafkaServer.start(EmbeddedKafkaServer.java:80)
        at 
org.apache.atlas.kafka.KafkaNotificationTest.initNotificationService(KafkaNotificationTest.java:88)
        at 
org.apache.atlas.kafka.KafkaNotificationTest.setup(KafkaNotificationTest.java:43)

Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.154 sec - in 
org.apache.atlas.notification.AtlasNotificationMessageTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.443 sec - in 
org.apache.atlas.kafka.KafkaNotificationMockTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.984 sec - in 
org.apache.atlas.notification.entity.EntityNotificationDeserializerTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.01 sec - in 
org.apache.atlas.notification.hook.HookNotificationTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.128 sec - in 
org.apache.atlas.notification.AbstractNotificationConsumerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.013 sec - in 
org.apache.atlas.notification.AbstractNotificationTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.102 sec - in 
org.apache.atlas.kafka.KafkaConsumerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.279 sec - in 
org.apache.atlas.notification.SplitMessageAggregatorTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.865 sec - in 
org.apache.atlas.notification.hook.HookNotificationDeserializerTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.711 sec - in 
org.apache.atlas.hook.AtlasHookTest

Results :

Failed tests: 
  KafkaNotificationTest.setup:43->initNotificationService:88 » Atlas Failed to 
s...

Tests run: 56, Failures: 1, Errors: 0, Skipped: 2

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Atlas Server Build Tools 1.0 ................ SUCCESS [  0.842 s]
[INFO] apache-atlas 1.2.0-SNAPSHOT ........................ SUCCESS [  4.366 s]
[INFO] Apache Atlas Test Utility Tools .................... SUCCESS [ 10.823 s]
[INFO] Apache Atlas Integration ........................... SUCCESS [01:00 min]
[INFO] Apache Atlas Common ................................ SUCCESS [  9.367 s]
[INFO] Apache Atlas Client ................................ SUCCESS [  0.700 s]
[INFO] atlas-client-common ................................ SUCCESS [  7.310 s]
[INFO] atlas-client-v1 .................................... SUCCESS [  9.307 s]
[INFO] Apache Atlas Server API ............................ SUCCESS [  6.311 s]
[INFO] Apache Atlas Notification .......................... FAILURE [  7.826 s]
[INFO] atlas-client-v2 .................................... SKIPPED
[INFO] Apache Atlas Graph Database Projects ............... SKIPPED
[INFO] Apache Atlas Graph Database API .................... SKIPPED
[INFO] Graph Database Common Code ......................... SKIPPED
[INFO] Apache Atlas JanusGraph DB Impl .................... SKIPPED
[INFO] Apache Atlas Graph Database Implementation Dependencies SKIPPED
[INFO] Shaded version of Apache hbase client .............. SKIPPED
[INFO] Shaded version of Apache hbase server .............. SKIPPED
[INFO] Apache Atlas Authorization ......................... SKIPPED
[INFO] Apache Atlas Repository ............................ SKIPPED
[INFO] Apache Atlas UI .................................... SKIPPED
[INFO] Apache Atlas Web Application ....................... SKIPPED
[INFO] Apache Atlas Documentation ......................... SKIPPED
[INFO] Apache Atlas FileSystem Model ...................... SKIPPED
[INFO] Apache Atlas Plugin Classloader .................... SKIPPED
[INFO] Apache Atlas Hive Bridge Shim ...................... SKIPPED
[INFO] Apache Atlas Hive Bridge ........................... SKIPPED
[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 Kafka Bridge .......................... SKIPPED
[INFO] Apache Atlas Distribution 1.2.0-SNAPSHOT ........... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:58 min
[INFO] Finished at: 2018-09-25T18:42:09Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on 
project atlas-notification: There are test failures.
[ERROR] 
[ERROR] Please refer to 
<https://builds.apache.org/job/Atlas-1.0-AllTests/ws/notification/target/surefire-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 :atlas-notification
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-1.0-AllTests/ws/> that match the pattern 
**/target/checkstyle-result.xml
[CHECKSTYLE] Parsing 8 files in 
<https://builds.apache.org/job/Atlas-1.0-AllTests/ws/>
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-1.0-AllTests/ws/client/client-v1/target/checkstyle-result.xml>
 with 899 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-1.0-AllTests/ws/client/common/target/checkstyle-result.xml>
 with 1396 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-1.0-AllTests/ws/client/target/checkstyle-result.xml>
 with 1396 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-1.0-AllTests/ws/common/target/checkstyle-result.xml>
 with 2473 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-1.0-AllTests/ws/intg/target/checkstyle-result.xml>
 with 14592 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-1.0-AllTests/ws/server-api/target/checkstyle-result.xml>
 with 14793 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-1.0-AllTests/ws/target/checkstyle-result.xml>
 with 14793 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-1.0-AllTests/ws/test-tools/target/checkstyle-result.xml>
 with 14831 unique warnings and 0 duplicates.
<Git Blamer> Using GitBlamer to create author and commit information for all 
warnings.
<Git Blamer> GIT_COMMIT=42e7b50f73f90c47b6cd414cc430dddda91f1c3a, 
workspace=<https://builds.apache.org/job/Atlas-1.0-AllTests/ws/>
 > git rev-parse 42e7b50f73f90c47b6cd414cc430dddda91f1c3a^{commit} # timeout=10
[CHECKSTYLE] Computing warning deltas based on reference build #1115
[FINDBUGS] Collecting findbugs analysis files...
[FINDBUGS] Searching for all files in 
<https://builds.apache.org/job/Atlas-1.0-AllTests/ws/> that match the pattern 
**/target/findbugs.xml
[FINDBUGS] Parsing 6 files in 
<https://builds.apache.org/job/Atlas-1.0-AllTests/ws/>
[FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-1.0-AllTests/ws/client/client-v1/target/findbugs.xml>
 with 0 unique warnings and 0 duplicates.
[FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-1.0-AllTests/ws/client/common/target/findbugs.xml>
 with 0 unique warnings and 0 duplicates.
[FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-1.0-AllTests/ws/common/target/findbugs.xml>
 with 0 unique warnings and 0 duplicates.
[FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-1.0-AllTests/ws/intg/target/findbugs.xml> 
with 0 unique warnings and 0 duplicates.
[FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-1.0-AllTests/ws/server-api/target/findbugs.xml>
 with 0 unique warnings and 0 duplicates.
[FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-1.0-AllTests/ws/test-tools/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=42e7b50f73f90c47b6cd414cc430dddda91f1c3a, 
workspace=<https://builds.apache.org/job/Atlas-1.0-AllTests/ws/>
[FINDBUGS] Computing warning deltas based on reference build #1115
Archiving artifacts
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-1.0-AllTests/builds/1119/testng/testng-results-1.xml'
Processing 
'/x1/jenkins/jenkins-home/jobs/Atlas-1.0-AllTests/builds/1119/testng/testng-results-2.xml'
Processing 
'/x1/jenkins/jenkins-home/jobs/Atlas-1.0-AllTests/builds/1119/testng/testng-results-3.xml'
Processing 
'/x1/jenkins/jenkins-home/jobs/Atlas-1.0-AllTests/builds/1119/testng/testng-results.xml'
TestNG Reports Processing: FINISH

Reply via email to