Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-16315

Fix freeze on TestOauth2Challenge

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 6.0-HF02, 7.1-SNAPSHOT
    • Fix Version/s: QualifiedToSchedule
    • Component/s: Authentication

      Description

      http://qa.nuxeo.org/jenkins/job/nuxeo-master/149/
      http://qa.nuxeo.org/jenkins/job/nuxeo-master/162/
      http://qa.nuxeo.org/jenkins/job/nuxeo-master/165/

      Build ends up in timeout after freezing on this test:

      01:10:32 DatabaseHelper: Database used for VCS tests: org.nuxeo.ecm.core.storage.sql.DatabaseH2
      01:10:35 Running org.nuxeo.ecm.platform.oauth.tests.TestConsumerService
      01:10:37 01:10:37,565 WARN  [Log4JLogger] failed SelectChannelConnector@localhost:18090: java.net.BindException: Address already in use
      01:10:37 01:10:37,570 WARN  [Log4JLogger] failed Server@3d129c5a: java.net.BindException: Address already in use
      01:10:37 01:10:37,572 ERROR [RegistrationInfoImpl] Component notification of application started failed.
      01:10:37 java.lang.RuntimeException: java.net.BindException: Address already in use
      01:10:37 	at org.nuxeo.common.utils.ExceptionUtils.runtimeException(ExceptionUtils.java:128)
      01:10:37 	at org.nuxeo.runtime.jetty.JettyComponent.applicationStarted(JettyComponent.java:333)
      01:10:37 	at org.nuxeo.runtime.model.impl.RegistrationInfoImpl.notifyApplicationStarted(RegistrationInfoImpl.java:325)
      01:10:37 	at org.nuxeo.runtime.osgi.OSGiRuntimeService.notifyComponentsOnStarted(OSGiRuntimeService.java:488)
      01:10:37 	at org.nuxeo.runtime.osgi.OSGiRuntimeService.fireApplicationStarted(OSGiRuntimeService.java:526)
      01:10:37 	at org.nuxeo.runtime.osgi.OSGiRuntimeService.frameworkEvent(OSGiRuntimeService.java:536)
      01:10:37 	at org.nuxeo.osgi.OSGiAdapter.fireFrameworkEvent(OSGiAdapter.java:232)
      01:10:37 	at org.nuxeo.runtime.test.NXRuntimeTestCase.fireFrameworkStarted(NXRuntimeTestCase.java:189)
      01:10:37 	at org.nuxeo.runtime.test.runner.RuntimeFeature.beforeRun(RuntimeFeature.java:153)
      01:10:37 	at org.nuxeo.runtime.test.runner.FeaturesRunner$2.call(FeaturesRunner.java:162)
      01:10:37 	at org.nuxeo.runtime.test.runner.FeaturesLoader.apply(FeaturesLoader.java:109)
      01:10:37 	at org.nuxeo.runtime.test.runner.FeaturesLoader.apply(FeaturesLoader.java:96)
      01:10:37 	at org.nuxeo.runtime.test.runner.FeaturesRunner.beforeRun(FeaturesRunner.java:158)
      01:10:37 	at org.nuxeo.runtime.test.runner.FeaturesRunner$BeforeClassStatement.evaluate(FeaturesRunner.java:270)
      01:10:37 	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
      01:10:37 	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
      01:10:37 	at org.junit.runners.Suite.runChild(Suite.java:127)
      01:10:37 	at org.junit.runners.Suite.runChild(Suite.java:26)
      01:10:37 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
      01:10:37 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
      01:10:37 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
      01:10:37 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
      01:10:37 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
      01:10:37 	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
      01:10:37 	at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
      01:10:37 	at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
      01:10:37 	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:113)
      01:10:37 	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:85)
      01:10:37 	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:54)
      01:10:37 	at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:134)
      01:10:37 	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
      01:10:37 	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
      01:10:37 	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
      01:10:37 Caused by: java.net.BindException: Address already in use
      01:10:37 	at sun.nio.ch.Net.bind0(Native Method)
      01:10:37 	at sun.nio.ch.Net.bind(Net.java:444)
      01:10:37 	at sun.nio.ch.Net.bind(Net.java:436)
      01:10:37 	at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214)
      01:10:37 	at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
      01:10:37 	at org.mortbay.jetty.nio.SelectChannelConnector.open(SelectChannelConnector.java:216)
      01:10:37 	at org.mortbay.jetty.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:315)
      01:10:37 	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
      01:10:37 	at org.mortbay.jetty.Server.doStart(Server.java:235)
      01:10:37 	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
      01:10:37 	at org.nuxeo.runtime.jetty.JettyComponent.applicationStarted(JettyComponent.java:331)
      01:10:37 	... 31 more
      01:10:38 Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.857 sec - in org.nuxeo.ecm.platform.oauth.tests.TestConsumerService
      01:10:38 Running org.nuxeo.ecm.platform.oauth.tests.TestOauth2Challenge
      04:13:50 Build timed out (after 240 minutes). Marking the build as aborted.
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: