Uploaded image for project: 'Spring XD'
  1. Spring XD
  2. XD-2573

Full build with tests fail on Ubuntu

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 1.1 GA
    • Component/s: None
    • Labels:
      None

      Description

      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
      at org.springframework.xd.batch.hsqldb.server.HSQLServerBean.startServer(HSQLServerBean.java:162)
      at org.springframework.xd.batch.hsqldb.server.HSQLServerBean.afterPropertiesSet(HSQLServerBean.java:82)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1625)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1562)
      ... 42 more
      Caused by: java.net.BindException: Address already in use
      at java.net.PlainSocketImpl.socketBind(Native Method)
      at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376)
      at java.net.ServerSocket.bind(ServerSocket.java:376)
      at java.net.ServerSocket.<init>(ServerSocket.java:237)
      at java.net.ServerSocket.<init>(ServerSocket.java:128)
      at org.hsqldb.server.HsqlSocketFactory.createServerSocket(Unknown Source)
      at org.hsqldb.server.Server.openServerSocket(Unknown Source)
      at org.hsqldb.server.Server.run(Unknown Source)
      at org.hsqldb.server.Server.access$000(Unknown Source)
      at org.hsqldb.server.Server$ServerThread.run(Unknown Source)

      So I assume I see this due HSQL running from another test.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              hillert Gunnar Hillert
              Reporter:
              thomas.risberg Thomas Risberg
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: