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

Fix freeze on ITCollectionsTest

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 8.1-SNAPSHOT
    • Fix Version/s: 6.0-HF24, 7.10-HF02, 8.1
    • Component/s: Tests
    • Tags:
    • Team:
      AT
    • Sprint:
      nxAT Sprint 8.1.2, nxAT Sprint 8.1.3, nxAT Sprint 8.1.4
    • Story Points:
      3

      Description

      Cluster tests are now when running this test, should check if there is an issue in this test (bad ajax request detection for instance?)

      http://qa.nuxeo.org/jenkins/job/FT-nuxeo-master-webdriver-cap-cluster/jdk=java-8-oracle,label=DOCKERHOST,profile=redis/ws/nuxeo-tools-docker/nuxeo-cluster/logs/nuxeo/nuxeo2/server.log

      2015-11-19 10:01:00,602 WARN  [http-bio-0.0.0.0-8080-exec-5] [org.nuxeo.ecm.platform.ui.web.restAPI.SystemLogRestlet] ----- WebDriver: Starting test 'org.nuxeo.ftest.cap.ITCollectionsTest#testAddDocumentToCollectionAndRemove'
      2015-11-19 14:53:26,191 WARN  [http-bio-0.0.0.0-8080-exec-2] [org.nuxeo.ecm.platform.ui.web.restAPI.SystemLogRestlet] ----- WebDriver: Starting test 'org.nuxeo.ftest.cap.ITCollectionsTest#testRightsOnCollection'
      

      Reproduced locally using FF42, breakpoint shows that tests are stuck on:

      Thread [Forwarding findElement on session 2d236f05-da3d-4b0d-befa-bf9827f2ddd0 to remote] (Suspended)   
          SocketInputStream.socketRead0(FileDescriptor, byte[], int, int, int) line: not available [native method]   
          SocketInputStream.socketRead(FileDescriptor, byte[], int, int, int) line: 116   
          SocketInputStream.read(byte[], int, int, int) line: 170   
          SocketInputStream.read(byte[], int, int) line: 141   
          SessionInputBufferImpl.streamRead(byte[], int, int) line: 136   
          SessionInputBufferImpl.fillBuffer() line: 152   
          SessionInputBufferImpl.readLine(CharArrayBuffer) line: 270   
          DefaultHttpResponseParser.parseHead(SessionInputBuffer) line: 140   
          DefaultHttpResponseParser.parseHead(SessionInputBuffer) line: 57   
          DefaultHttpResponseParser(AbstractMessageParser<T>).parse() line: 260   
          LoggingManagedHttpClientConnection(DefaultBHttpClientConnection).receiveResponseHeader() line: 161   
          GeneratedMethodAccessor9.invoke(Object, Object[]) line: not available   
          DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 43   
          Method.invoke(Object, Object...) line: 497   
          CPoolProxy.invoke(Object, Method, Object[]) line: 138   
          $Proxy6.receiveResponseHeader() line: not available   
          HttpRequestExecutor.doReceiveResponse(HttpRequest, HttpClientConnection, HttpContext) line: 271   
          HttpRequestExecutor.execute(HttpRequest, HttpClientConnection, HttpContext) line: 123   
          MainClientExec.execute(HttpRoute, HttpRequestWrapper, HttpClientContext, HttpExecutionAware) line: 254   
          ProtocolExec.execute(HttpRoute, HttpRequestWrapper, HttpClientContext, HttpExecutionAware) line: 195   
          RetryExec.execute(HttpRoute, HttpRequestWrapper, HttpClientContext, HttpExecutionAware) line: 86   
          RedirectExec.execute(HttpRoute, HttpRequestWrapper, HttpClientContext, HttpExecutionAware) line: 108   
          InternalHttpClient.doExecute(HttpHost, HttpRequest, HttpContext) line: 186   
          InternalHttpClient(CloseableHttpClient).execute(HttpHost, HttpRequest, HttpContext) line: 72   
          InternalHttpClient(CloseableHttpClient).execute(HttpHost, HttpRequest, HttpContext) line: 57   
          ApacheHttpClient.fallBackExecute(HttpContext, HttpUriRequest) line: 126   
          ApacheHttpClient.execute(HttpRequest, boolean) line: 72   
          HttpCommandExecutor.execute(Command) line: 133   
          NewProfileExtensionConnection.execute(Command) line: 165   
          FirefoxDriver$LazyCommandExecutor.execute(Command) line: 362   
          FirefoxDriver(RemoteWebDriver).execute(String, Map<String,?>) line: 572   
          FirefoxDriver(RemoteWebDriver).findElement(String, String) line: 352   
          FirefoxDriver(RemoteWebDriver).findElementById(String) line: 393   
          By$ById.findElement(SearchContext) line: 214   
          FirefoxDriver(RemoteWebDriver).findElement(By) line: 344   
          AddToCollectionForm$1.apply(WebDriver) line: 71   
          AddToCollectionForm$1.apply(Object) line: 1   
          FluentWait<T>.until(Function<? super T,V>) line: 208   
          Locator.waitUntilGivenFunctionIgnoring(Function<WebDriver,Boolean>, Class<? extends K>) line: 425   
          AddToCollectionForm.init() line: 63   
          AbstractTest.getWebFragment(WebElement, Class<T>) line: 635   
          AbstractTest.getWebFragment(By, Class<T>) line: 626   
          FileDocumentBasePage(AbstractPage).getWebFragment(By, Class<T>) line: 72   
          FileDocumentBasePage(DocumentBasePage).getAddToCollectionPopup() line: 311   
          ITCollectionsTest.testAddDocumentToCollectionAndRemove() line: 132   
          NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method]   
          NativeMethodAccessorImpl.invoke(Object, Object[]) line: 62   
          DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 43   
          Method.invoke(Object, Object...) line: 497   
          FrameworkMethod$1.runReflectiveCall() line: 47   
          FrameworkMethod$1(ReflectiveCallable).run() line: 12   
          FrameworkMethod.invokeExplosively(Object, Object...) line: 44   
          InvokeMethod.evaluate() line: 17   
          RunAfters.evaluate() line: 27   
          LogTestWatchman$1.evaluate() line: 94   
          BlockJUnit4ClassRunner(ParentRunner<T>).runLeaf(Statement, Description, RunNotifier) line: 271   
          BlockJUnit4ClassRunner.runChild(FrameworkMethod, RunNotifier) line: 70   
          BlockJUnit4ClassRunner.runChild(Object, RunNotifier) line: 50   
          ParentRunner$3.run() line: 238   
          ParentRunner$1.schedule(Runnable) line: 63   
          BlockJUnit4ClassRunner(ParentRunner<T>).runChildren(RunNotifier) line: 236   
          ParentRunner<T>.access$000(ParentRunner, RunNotifier) line: 53   
          ParentRunner$2.evaluate() line: 229   
          RunBefores.evaluate() line: 26   
          RunAfters.evaluate() line: 27   
          BlockJUnit4ClassRunner(ParentRunner<T>).run(RunNotifier) line: 309   
          JUnit4TestReference.run(TestExecution) line: 86   
          TestExecution.run(ITestReference[]) line: 38   
          RemoteTestRunner.runTests(String[], String, TestExecution) line: 459   
          RemoteTestRunner.runTests(TestExecution) line: 675   
          RemoteTestRunner.run() line: 382   
          RemoteTestRunner.main(String[]) line: 192    
      

        Attachments

        1. jstack_NXP-18429.txt
          114 kB
          Anahide Tchertchian
        2. jstack_NXP-18429-2.txt
          113 kB
          Anahide Tchertchian
        3. jstack_NXP-18429-3.txt
          113 kB
          Anahide Tchertchian

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: