You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2018/01/31 18:47:52 UTC

Build failed in Jenkins: Atlas-0.8-UnitTests #165

See <https://builds.apache.org/job/Atlas-0.8-UnitTests/165/display/redirect?page=changes>

Changes:

[madhan] ATLAS-2426: version in pom.xml files updated from 0.8.2-SNAPSHOT to

------------------------------------------
[...truncated 260.95 KB...]
[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] 
[INFO] --- maven-resources-plugin:2.7:copy-resources (copy-resources) @ atlas-webapp ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 12 resources
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ atlas-webapp ---
[INFO] 
[INFO] --- keytool-maven-plugin:1.5:clean (clean) @ atlas-webapp ---
[WARNING] Keystore file '<https://builds.apache.org/job/Atlas-0.8-UnitTests/ws/webapp/target/atlas.keystore'> doesn't exist.
[INFO] 
[INFO] --- keytool-maven-plugin:1.5:generateKeyPair (generateKeyPair) @ atlas-webapp ---
[WARNING] 
[WARNING] Warning:
[WARNING] The JKS keystore uses a proprietary format. It is recommended to migrate to PKCS12 which is an industry standard format using "keytool -importkeystore -srckeystore <https://builds.apache.org/job/Atlas-0.8-UnitTests/ws/webapp/target/atlas.keystore> -destkeystore <https://builds.apache.org/job/Atlas-0.8-UnitTests/ws/webapp/target/atlas.keystore> -deststoretype pkcs12".
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ atlas-webapp ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 2 resources to META-INF
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ atlas-webapp ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 70 source files to <https://builds.apache.org/job/Atlas-0.8-UnitTests/ws/webapp/target/classes>
[WARNING] <https://builds.apache.org/job/Atlas-0.8-UnitTests/ws/webapp/src/main/java/org/apache/atlas/web/resources/LineageResource.java>: Some input files use or override a deprecated API.
[WARNING] <https://builds.apache.org/job/Atlas-0.8-UnitTests/ws/webapp/src/main/java/org/apache/atlas/web/resources/LineageResource.java>: Recompile with -Xlint:deprecation for details.
[WARNING] <https://builds.apache.org/job/Atlas-0.8-UnitTests/ws/webapp/src/main/java/org/apache/atlas/web/service/ActiveInstanceState.java>: Some input files use unchecked or unsafe operations.
[WARNING] <https://builds.apache.org/job/Atlas-0.8-UnitTests/ws/webapp/src/main/java/org/apache/atlas/web/service/ActiveInstanceState.java>: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ atlas-webapp ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 6 resources
[INFO] skip non existing resourceDirectory <https://builds.apache.org/job/Atlas-0.8-UnitTests/ws/webapp/typesystem/src/test/resources>
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ atlas-webapp ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 51 source files to <https://builds.apache.org/job/Atlas-0.8-UnitTests/ws/webapp/target/test-classes>
[WARNING] <https://builds.apache.org/job/Atlas-0.8-UnitTests/ws/webapp/src/test/java/org/apache/atlas/notification/EntityNotificationIT.java>: Some input files use or override a deprecated API.
[WARNING] <https://builds.apache.org/job/Atlas-0.8-UnitTests/ws/webapp/src/test/java/org/apache/atlas/notification/EntityNotificationIT.java>: Recompile with -Xlint:deprecation for details.
[WARNING] <https://builds.apache.org/job/Atlas-0.8-UnitTests/ws/webapp/src/test/java/org/apache/atlas/notification/EntityNotificationIT.java>: Some input files use unchecked or unsafe operations.
[WARNING] <https://builds.apache.org/job/Atlas-0.8-UnitTests/ws/webapp/src/test/java/org/apache/atlas/notification/EntityNotificationIT.java>: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ atlas-webapp ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (unit-tests) @ atlas-webapp ---
[WARNING] The parameter forkMode is deprecated since version 2.14. Use forkCount and reuseForks instead.
[INFO] Surefire report directory: <https://builds.apache.org/job/Atlas-0.8-UnitTests/ws/webapp/target/surefire-reports>
[INFO] Using configured provider org.apache.maven.surefire.testng.TestNGProvider
[WARNING] file.encoding cannot be set as system property, use <argLine>-Dfile.encoding=...<argLine> instead

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
Running org.apache.atlas.notification.NotificationHookConsumerTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.795 sec - in org.apache.atlas.notification.NotificationHookConsumerTest
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
Running org.apache.atlas.notification.NotificationEntityChangeListenerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.815 sec - in org.apache.atlas.notification.NotificationEntityChangeListenerTest
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
Running org.apache.atlas.notification.NotificationHookConsumerKafkaTest
Tests run: 4, Failures: 1, Errors: 0, Skipped: 3, Time elapsed: 1.484 sec <<< FAILURE! - in org.apache.atlas.notification.NotificationHookConsumerKafkaTest
setup(org.apache.atlas.notification.NotificationHookConsumerKafkaTest)  Time elapsed: 1.336 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:113)
	at org.apache.atlas.kafka.EmbeddedKafkaServer.start(EmbeddedKafkaServer.java:77)
	at org.apache.atlas.notification.NotificationHookConsumerKafkaTest.initNotificationService(NotificationHookConsumerKafkaTest.java:185)
	at org.apache.atlas.notification.NotificationHookConsumerKafkaTest.setup(NotificationHookConsumerKafkaTest.java:88)

Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
Running org.apache.atlas.notification.AdaptiveWaiterTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.858 sec - in org.apache.atlas.notification.AdaptiveWaiterTest
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
Running org.apache.atlas.web.filters.AuditFilterTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.183 sec - in org.apache.atlas.web.filters.AuditFilterTest
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
Running org.apache.atlas.web.filters.AtlasCSRFPreventionFilterTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.063 sec - in org.apache.atlas.web.filters.AtlasCSRFPreventionFilterTest
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
Running org.apache.atlas.web.service.ActiveInstanceStateTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.85 sec - in org.apache.atlas.web.service.ActiveInstanceStateTest
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
Running org.apache.atlas.web.service.ActiveInstanceElectorServiceTest
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.125 sec - in org.apache.atlas.web.service.ActiveInstanceElectorServiceTest
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
Running org.apache.atlas.web.service.AtlasZookeeperSecurityPropertiesTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.355 sec - in org.apache.atlas.web.service.AtlasZookeeperSecurityPropertiesTest
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
Running org.apache.atlas.web.service.CuratorFactoryTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.143 sec - in org.apache.atlas.web.service.CuratorFactoryTest
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
Running org.apache.atlas.web.service.ServiceStateTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.809 sec - in org.apache.atlas.web.service.ServiceStateTest
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
Running org.apache.atlas.web.resources.AdminExportTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.3 sec - in org.apache.atlas.web.resources.AdminExportTest
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
Running org.apache.atlas.web.resources.EntityResourceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.576 sec - in org.apache.atlas.web.resources.EntityResourceTest
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
Running org.apache.atlas.web.resources.TaxonomyServiceTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.949 sec - in org.apache.atlas.web.resources.TaxonomyServiceTest
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
Running org.apache.atlas.web.resources.AdminResourceTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.074 sec - in org.apache.atlas.web.resources.AdminResourceTest
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
Running org.apache.atlas.web.security.FileAuthenticationTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.39 sec - in org.apache.atlas.web.security.FileAuthenticationTest
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
Running org.apache.atlas.web.security.UserDaoTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.6 sec - in org.apache.atlas.web.security.UserDaoTest
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
Running org.apache.atlas.web.util.ServletsTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.896 sec - in org.apache.atlas.web.util.ServletsTest
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
Running org.apache.atlas.web.setup.SetupStepsTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.08 sec - in org.apache.atlas.web.setup.SetupStepsTest
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
Running org.apache.atlas.util.RestUtilsTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.317 sec - in org.apache.atlas.util.RestUtilsTest

Results :

Failed tests: 
  NotificationHookConsumerKafkaTest.setup:88->initNotificationService:185 ยป Atlas

Tests run: 93, Failures: 1, Errors: 0, Skipped: 3

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Atlas Server Build Tools .................... SUCCESS [  0.718 s]
[INFO] apache-atlas ....................................... SUCCESS [  2.980 s]
[INFO] Apache Atlas Integration ........................... SUCCESS [ 15.201 s]
[INFO] Apache Atlas Common ................................ SUCCESS [  2.901 s]
[INFO] Apache Atlas Typesystem ............................ SUCCESS [ 43.671 s]
[INFO] Apache Atlas Client ................................ SUCCESS [  0.121 s]
[INFO] atlas-client-common ................................ SUCCESS [  0.647 s]
[INFO] atlas-client-v1 .................................... SUCCESS [  4.090 s]
[INFO] Apache Atlas Server API ............................ SUCCESS [  0.702 s]
[INFO] Apache Atlas Notification .......................... SUCCESS [ 15.014 s]
[INFO] atlas-client-v2 .................................... SUCCESS [  0.879 s]
[INFO] Apache Atlas Graph Database Projects ............... SUCCESS [  0.096 s]
[INFO] Apache Atlas Graph Database API .................... SUCCESS [  0.524 s]
[INFO] Graph Database Common Code ......................... SUCCESS [  0.678 s]
[INFO] Apache Atlas Titan 1.0.0 GraphDB Impl .............. SUCCESS [ 30.452 s]
[INFO] Shaded version of Apache hbase client .............. SUCCESS [  7.274 s]
[INFO] Apache Atlas Titan 0.5.4 Graph DB Impl ............. SUCCESS [01:07 min]
[INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [  0.124 s]
[INFO] Shaded version of Apache hbase server .............. SUCCESS [ 21.257 s]
[INFO] Apache Atlas Repository ............................ SUCCESS [07:35 min]
[INFO] Apache Atlas Authorization ......................... SUCCESS [  2.062 s]
[INFO] Apache Atlas Business Catalog ...................... SUCCESS [  5.560 s]
[INFO] Apache Atlas UI .................................... SUCCESS [01:20 min]
[INFO] Apache Atlas Web Application ....................... FAILURE [ 44.459 s]
[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 Distribution .......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13:24 min
[INFO] Finished at: 2018-01-31T18:47:42Z
[INFO] Final Memory: 160M/2105M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (unit-tests) on project atlas-webapp: There are test failures.
[ERROR] 
[ERROR] Please refer to <https://builds.apache.org/job/Atlas-0.8-UnitTests/ws/webapp/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-webapp
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-0.8-UnitTests/ws/> that match the pattern **/target/checkstyle-result.xml
[CHECKSTYLE] No files found. Configuration error?
<Git Blamer> Using GitBlamer to create author and commit information for all warnings.
<Git Blamer> GIT_COMMIT=dc9d98ef4b3716aa5a9a29fafec313107cf6af3a, workspace=<https://builds.apache.org/job/Atlas-0.8-UnitTests/ws/>
[CHECKSTYLE] Computing warning deltas based on reference build #164
[FINDBUGS] Collecting findbugs analysis files...
[FINDBUGS] Searching for all files in <https://builds.apache.org/job/Atlas-0.8-UnitTests/ws/> that match the pattern **/target/findbugs.xml
[FINDBUGS] No files found. Configuration error?
<Git Blamer> Using GitBlamer to create author and commit information for all warnings.
<Git Blamer> GIT_COMMIT=dc9d98ef4b3716aa5a9a29fafec313107cf6af3a, workspace=<https://builds.apache.org/job/Atlas-0.8-UnitTests/ws/>
[FINDBUGS] Computing warning deltas based on reference build #164
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-0.8-UnitTests/builds/165/testng/testng-results-1.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-0.8-UnitTests/builds/165/testng/testng-results-2.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-0.8-UnitTests/builds/165/testng/testng-results-3.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-0.8-UnitTests/builds/165/testng/testng-results-4.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-0.8-UnitTests/builds/165/testng/testng-results-5.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-0.8-UnitTests/builds/165/testng/testng-results-6.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-0.8-UnitTests/builds/165/testng/testng-results-7.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-0.8-UnitTests/builds/165/testng/testng-results-8.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-0.8-UnitTests/builds/165/testng/testng-results-9.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-0.8-UnitTests/builds/165/testng/testng-results.xml'
TestNG Reports Processing: FINISH

Jenkins build is back to normal : Atlas-0.8-UnitTests #166

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Atlas-0.8-UnitTests/166/display/redirect?page=changes>