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/09/16 21:40:17 UTC

Build failed in Jenkins: Atlas-master-UnitTests #2453

See <https://builds.apache.org/job/Atlas-master-UnitTests/2453/display/redirect>

------------------------------------------
[...truncated 204.72 KB...]
[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] 126 resources included (use -debug for more details)
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 0, approved: 126 licenses.
[INFO] 
[INFO] --- maven-resources-plugin:2.7:copy-resources (copy-resources) @ atlas-webapp ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 15 resources
[INFO] 
[INFO] --- maven-resources-plugin:2.7:copy-resources (copy-solr-resources) @ atlas-webapp ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 9 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-master-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-master-UnitTests/ws/webapp/target/atlas.keystore> -destkeystore <https://builds.apache.org/job/Atlas-master-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.7.0:compile (default-compile) @ atlas-webapp ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 70 source files to <https://builds.apache.org/job/Atlas-master-UnitTests/ws/webapp/target/classes>
[INFO] <https://builds.apache.org/job/Atlas-master-UnitTests/ws/webapp/src/main/java/org/apache/atlas/web/util/Servlets.java>: Some input files use or override a deprecated API.
[INFO] <https://builds.apache.org/job/Atlas-master-UnitTests/ws/webapp/src/main/java/org/apache/atlas/web/util/Servlets.java>: Recompile with -Xlint:deprecation for details.
[INFO] <https://builds.apache.org/job/Atlas-master-UnitTests/ws/webapp/src/main/java/org/apache/atlas/web/security/AtlasAuthenticationSuccessHandler.java>: Some input files use unchecked or unsafe operations.
[INFO] <https://builds.apache.org/job/Atlas-master-UnitTests/ws/webapp/src/main/java/org/apache/atlas/web/security/AtlasAuthenticationSuccessHandler.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 9 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ atlas-webapp ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 48 source files to <https://builds.apache.org/job/Atlas-master-UnitTests/ws/webapp/target/test-classes>
[INFO] <https://builds.apache.org/job/Atlas-master-UnitTests/ws/webapp/src/test/java/org/apache/atlas/web/integration/TypesJerseyResourceIT.java>: Some input files use or override a deprecated API.
[INFO] <https://builds.apache.org/job/Atlas-master-UnitTests/ws/webapp/src/test/java/org/apache/atlas/web/integration/TypesJerseyResourceIT.java>: Recompile with -Xlint:deprecation for details.
[INFO] <https://builds.apache.org/job/Atlas-master-UnitTests/ws/webapp/src/test/java/org/apache/atlas/web/integration/DataSetLineageJerseyResourceIT.java>: Some input files use unchecked or unsafe operations.
[INFO] <https://builds.apache.org/job/Atlas-master-UnitTests/ws/webapp/src/test/java/org/apache/atlas/web/integration/DataSetLineageJerseyResourceIT.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-master-UnitTests/ws/webapp/target/surefire-reports>
[INFO] Using configured provider org.apache.maven.surefire.testng.TestNGProvider

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.atlas.notification.NotificationHookConsumerKafkaTest
Tests run: 5, Failures: 1, Errors: 0, Skipped: 4, Time elapsed: 1.669 sec <<< FAILURE! - in org.apache.atlas.notification.NotificationHookConsumerKafkaTest
setup(org.apache.atlas.notification.NotificationHookConsumerKafkaTest)  Time elapsed: 1.525 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.notification.NotificationHookConsumerKafkaTest.initNotificationService(NotificationHookConsumerKafkaTest.java:233)
	at org.apache.atlas.notification.NotificationHookConsumerKafkaTest.setup(NotificationHookConsumerKafkaTest.java:94)

Running org.apache.atlas.notification.NotificationEntityChangeListenerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.001 sec - in org.apache.atlas.notification.NotificationEntityChangeListenerTest
Running org.apache.atlas.notification.NotificationHookConsumerTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.83 sec - in org.apache.atlas.notification.NotificationHookConsumerTest
Running org.apache.atlas.notification.AdaptiveWaiterTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.127 sec - in org.apache.atlas.notification.AdaptiveWaiterTest
Running org.apache.atlas.web.filters.AuditFilterTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.319 sec - in org.apache.atlas.web.filters.AuditFilterTest
Running org.apache.atlas.web.filters.AtlasCSRFPreventionFilterTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.188 sec - in org.apache.atlas.web.filters.AtlasCSRFPreventionFilterTest
Running org.apache.atlas.web.service.ActiveInstanceStateTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.998 sec - in org.apache.atlas.web.service.ActiveInstanceStateTest
Running org.apache.atlas.web.service.CuratorFactoryTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.258 sec - in org.apache.atlas.web.service.CuratorFactoryTest
Running org.apache.atlas.web.service.ServiceStateTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.825 sec - in org.apache.atlas.web.service.ServiceStateTest
Running org.apache.atlas.web.service.AtlasZookeeperSecurityPropertiesTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.39 sec - in org.apache.atlas.web.service.AtlasZookeeperSecurityPropertiesTest
Running org.apache.atlas.web.service.ActiveInstanceElectorServiceTest
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.263 sec - in org.apache.atlas.web.service.ActiveInstanceElectorServiceTest
Running org.apache.atlas.web.setup.SetupStepsTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.194 sec - in org.apache.atlas.web.setup.SetupStepsTest
Running org.apache.atlas.web.security.FileAuthenticationTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.552 sec - in org.apache.atlas.web.security.FileAuthenticationTest
Running org.apache.atlas.web.security.UserDaoTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.694 sec - in org.apache.atlas.web.security.UserDaoTest
Running org.apache.atlas.web.util.ServletsTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.194 sec - in org.apache.atlas.web.util.ServletsTest
Running org.apache.atlas.web.resources.AdminResourceTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.452 sec - in org.apache.atlas.web.resources.AdminResourceTest
Running org.apache.atlas.web.resources.AdminExportTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.28 sec - in org.apache.atlas.web.resources.AdminExportTest
Running org.apache.atlas.web.resources.EntityResourceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.541 sec - in org.apache.atlas.web.resources.EntityResourceTest
Running org.apache.atlas.util.RestUtilsTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.708 sec - in org.apache.atlas.util.RestUtilsTest

Results :

Failed tests: 
  NotificationHookConsumerKafkaTest.setup:94->initNotificationService:233 » Atlas

Tests run: 84, Failures: 1, Errors: 0, Skipped: 4

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Atlas Server Build Tools 1.0 ................ SUCCESS [  0.676 s]
[INFO] apache-atlas 2.0.0-SNAPSHOT ........................ SUCCESS [  2.760 s]
[INFO] Apache Atlas Test Utility Tools .................... SUCCESS [  6.022 s]
[INFO] Apache Atlas Integration ........................... SUCCESS [ 49.566 s]
[INFO] Apache Atlas Common ................................ SUCCESS [  3.269 s]
[INFO] Apache Atlas Client ................................ SUCCESS [  0.233 s]
[INFO] atlas-client-common ................................ SUCCESS [  1.087 s]
[INFO] atlas-client-v1 .................................... SUCCESS [  2.780 s]
[INFO] Apache Atlas Server API ............................ SUCCESS [  0.734 s]
[INFO] Apache Atlas Notification .......................... SUCCESS [ 16.182 s]
[INFO] atlas-client-v2 .................................... SUCCESS [  0.696 s]
[INFO] Apache Atlas Graph Database Projects ............... SUCCESS [  0.091 s]
[INFO] Apache Atlas Graph Database API .................... SUCCESS [  0.640 s]
[INFO] Graph Database Common Code ......................... SUCCESS [  0.875 s]
[INFO] Apache Atlas JanusGraph DB Impl .................... SUCCESS [01:56 min]
[INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [  1.992 s]
[INFO] Shaded version of Apache hbase client .............. SUCCESS [  7.443 s]
[INFO] Shaded version of Apache hbase server .............. SUCCESS [ 20.112 s]
[INFO] Apache Atlas Authorization ......................... SUCCESS [  2.286 s]
[INFO] Apache Atlas Repository ............................ SUCCESS [07:19 min]
[INFO] Apache Atlas UI .................................... SUCCESS [01:54 min]
[INFO] Apache Atlas Web Application ....................... FAILURE [ 50.359 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 Kafka Bridge .......................... SKIPPED
[INFO] Apache Atlas Distribution 2.0.0-SNAPSHOT ........... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13:59 min
[INFO] Finished at: 2018-09-16T21:40:09Z
[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-master-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-master-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=eae9761871af9aeecc0fdc2248b7c8555407d0a6, workspace=<https://builds.apache.org/job/Atlas-master-UnitTests/ws/>
[CHECKSTYLE] Computing warning deltas based on reference build #2452
[FINDBUGS] Collecting findbugs analysis files...
[FINDBUGS] Searching for all files in <https://builds.apache.org/job/Atlas-master-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=eae9761871af9aeecc0fdc2248b7c8555407d0a6, workspace=<https://builds.apache.org/job/Atlas-master-UnitTests/ws/>
[FINDBUGS] Computing warning deltas based on reference build #2452
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-master-UnitTests/builds/2453/testng/testng-results-1.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2453/testng/testng-results-2.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2453/testng/testng-results-3.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2453/testng/testng-results-4.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2453/testng/testng-results-5.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2453/testng/testng-results-6.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2453/testng/testng-results-7.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2453/testng/testng-results.xml'
TestNG Reports Processing: FINISH

Jenkins build is back to normal : Atlas-master-UnitTests #2454

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Atlas-master-UnitTests/2454/display/redirect>