Project: springxd
Issue XD-2573: Full build with tests fail on Ubuntu
On Ubuntu 14.04 LTS using OpenJDK version "1.7.0_65" OpenJDK Runtime Environment (IcedTea 2.5.3) (7u71-2.5.3-0ubuntu0.14.04.1) OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode) I see the following failures: :spring-xd-dirt:test org.springframework.xd.dirt.security.SingleNodeApplicationWithUserBasedSecurityTest > classMethod FAILED org.springframework.beans.factory.BeanCreationException Caused by: java.lang.IllegalStateException Caused by: java.net.BindException org.springframework.xd.dirt.security.SingleNodeApplicationWithLdapSimpleBindTest > classMethod FAILED org.springframework.beans.factory.BeanCreationException Caused by: java.lang.IllegalStateException Caused by: java.net.BindException org.springframework.xd.dirt.security.SingleNodeApplicationWithDefaultSecurityTest > classMethod FAILED org.springframework.beans.factory.BeanCreationException Caused by: java.lang.IllegalStateException Caused by: java.net.BindException org.springframework.xd.dirt.security.SingleNodeApplicationWithSslTest > classMethod FAILED org.springframework.beans.factory.BeanCreationException Caused by: java.lang.IllegalStateException Caused by: java.net.BindException org.springframework.xd.dirt.security.SingleNodeApplicationWithUsersFileTest > classMethod FAILED org.springframework.beans.factory.BeanCreationException Caused by: java.lang.IllegalStateException Caused by: java.net.BindException org.springframework.xd.dirt.security.SingleNodeApplicationWithLdapSearchAndBindTest > classMethod FAILED org.springframework.beans.factory.BeanCreationException Caused by: java.lang.IllegalStateException Caused by: java.net.BindException 595 tests completed, 6 failed, 2 skipped :spring-xd-dirt:test FAILED The test reports has this: Caused by: java.lang.IllegalStateException: HSQLDB could not be started on 0.0.0.0:7714, state: SHUTDOWN org.springframework.xd.batch.hsqldb.server.HSQLServerBean.startServer(HSQLServerBean.java:162) org.springframework.xd.batch.hsqldb.server.HSQLServerBean.afterPropertiesSet(HSQLServerBean.java:82) org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1625) org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1562)	... 42 more Caused by: java.net.BindException: Address already in use java.net.PlainSocketImpl.socketBind(Native Method) java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376) java.net.ServerSocket.bind(ServerSocket.java:376) java.net.ServerSocket.(ServerSocket.java:237) java.net.ServerSocket.(ServerSocket.java:128) org.hsqldb.server.HsqlSocketFactory.createServerSocket(Unknown Source) org.hsqldb.server.Server.openServerSocket(Unknown Source) org.hsqldb.server.Server.run(Unknown Source) org.hsqldb.server.Server.access$000(Unknown Source) org.hsqldb.server.Server$ServerThread.run(Unknown Source) So I assume I see this due HSQL running from another test.
Story points: 5