Uploaded image for project: 'Alfresco One Platform'
  1. Alfresco One Platform
  2. ACE-2076

BM-0013: Excessive failures during test

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0
    • Component/s: Benchmarking
    • Labels:
    • Environment:
      BM Lab. Clusters are: 1.4, Servers: 3, Alfresco v5.0.0 (build-86)

      Description

      BM-0013 wasn't successful for Alfresco 5.0.0WAT2 b86. Actions share.nav.documentLibrary and share.search are completely failed. Other actions have a lot of failures and many actions weren't run.

      Information from mongoDB for share.search:

      /* 54 */
      {
        "_id" : ObjectId("53a801323d03e08765cd1088"),
        "_class" : "org.alfresco.bm.event.EventRecord",
        "serverId" : "356348-cld2_0000000308",
        "success" : false,
        "startTime" : NumberLong("1403519282772"),
        "startDelay" : NumberLong(266762),
        "time" : NumberLong(23),
        "event" : {
          "_id" : ObjectId("53a800023d03e08765cd105d"),
          "name" : "share.search",
          "sessionId" : "461ecab7-577c-4234-9551-7c67fb76b4b3",
          "scheduledTime" : NumberLong("1403519016010"),
          "lockOwner" : "356348-cld2_0000000308",
          "lockTime" : NumberLong("1403519282772"),
          "dataKey" : "9615dbb5-2122-406c-ac62-b27347827bf4",
          "dataOwner" : "356348-cld2_0000000308",
          "lockId" : "6f368f1d-459b-4a63-9ad0-6dba5ab8c2d7"
        },
        "data" : "[2014-06-23T11:28:02.772+01:00] Event processing exception; no further events will be published. \r\norg.openqa.selenium.WebDriverException: Session [eff4721a-02f8-48a0-a7bd-aee2623196d4] was terminated due to TIMEOUT\nCommand duration or timeout: 16 milliseconds\nBuild info: version: 'unknown', revision: 'unknown', time: 'unknown'\nSystem info: host: '356348-cld2', ip: '169.254.142.134', os.name: 'Windows Server 2008 R2', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_51'\nSession ID: eff4721a-02f8-48a0-a7bd-aee2623196d4\nDriver info: org.alfresco.webdrone.AlfrescoRemoteWebDriver\nCapabilities [{platform=XP, javascriptEnabled=true, acceptSslCerts=true, browserName=firefox, rotatable=false, locationContextEnabled=true, webdriver.remote.sessionid=eff4721a-02f8-48a0-a7bd-aee2623196d4, version=28.0, databaseEnabled=true, cssSelectorsEnabled=true, handlesAlerts=true, browserConnectionEnabled=true, webStorageEnabled=true, nativeEvents=false, applicationCacheEnabled=true, takesScreenshot=true}]\r\n\tat sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\r\n\tat sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)\r\n\tat sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)\r\n\tat java.lang.reflect.Constructor.newInstance(Unknown Source)\r\n\tat org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:193)\r\n\tat org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:145)\r\n\tat org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:554)\r\n\tat org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:569)\r\n\tat org.openqa.selenium.remote.RemoteWebDriver.quit(RemoteWebDriver.java:423)\r\n\tat org.alfresco.webdrone.WebDroneImpl.quit(WebDroneImpl.java:112)\r\n\tat org.alfresco.bm.process.share.AbstractShareEventProcessor.closeWebDrone(AbstractShareEventProcessor.java:165)\r\n\tat org.alfresco.bm.process.share.AbstractShareEventProcessor.processEvent(AbstractShareEventProcessor.java:134)\r\n\tat org.alfresco.bm.event.AbstractEventProcessor.processEvent(AbstractEventProcessor.java:266)\r\n\tat org.alfresco.bm.event.EventWork.run(EventWork.java:85)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)\r\n\tat java.lang.Thread.run(Unknown Source)\r\nCaused by: org.openqa.selenium.remote.ErrorHandler$UnknownServerException: Session [eff4721a-02f8-48a0-a7bd-aee2623196d4] was terminated due to TIMEOUT\nBuild info: version: 'unknown', revision: 'unknown', time: 'unknown'\nSystem info: host: '356348-cld2', ip: '169.254.142.134', os.name: 'Windows Server 2008 R2', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_51'\nDriver info: driver.version: unknown\r\n\tat org.openqa.grid.internal.ActiveTestSessions.getExistingSession(ActiveTestSessions.java:104)\r\n\tat org.openqa.grid.internal.Registry.getExistingSession(Registry.java:423)\r\n\tat org.openqa.grid.web.servlet.handler.RequestHandler.getSession(RequestHandler.java:235)\r\n\tat org.openqa.grid.web.servlet.handler.RequestHandler.process(RequestHandler.java:117)\r\n\tat org.openqa.grid.web.servlet.DriverServlet.process(DriverServlet.java:84)\r\n\tat org.openqa.grid.web.servlet.DriverServlet.doDelete(DriverServlet.java:74)\r\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:733)\r\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:820)\r\n\tat org.seleniumhq.jetty7.servlet.ServletHolder.handle(ServletHolder.java:565)\r\n\tat org.seleniumhq.jetty7.servlet.ServletHandler.doHandle(ServletHandler.java:479)\r\n\tat org.seleniumhq.jetty7.server.session.SessionHandler.doHandle(SessionHandler.java:225)\r\n\tat org.seleniumhq.jetty7.server.handler.ContextHandler.doHandle(ContextHandler.java:1031)\r\n\tat org.seleniumhq.jetty7.servlet.ServletHandler.doScope(ServletHandler.java:406)\r\n\tat org.seleniumhq.jetty7.server.session.SessionHandler.doScope(SessionHandler.java:186)\r\n\tat org.seleniumhq.jetty7.server.handler.ContextHandler.doScope(ContextHandler.java:965)\r\n\tat org.seleniumhq.jetty7.server.handler.ScopedHandler.handle(ScopedHandler.java:117)\r\n\tat org.seleniumhq.jetty7.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111)\r\n\tat org.seleniumhq.jetty7.server.Server.handle(Server.java:349)\r\n\tat org.seleniumhq.jetty7.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:452)\r\n\tat org.seleniumhq.jetty7.server.BlockingHttpConnection.handleRequest(BlockingHttpConnection.java:47)\r\n\tat org.seleniumhq.jetty7.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:884)\r\n\tat org.seleniumhq.jetty7.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:938)\r\n\tat org.seleniumhq.jetty7.http.HttpParser.parseNext(HttpParser.java:634)\r\n\tat org.seleniumhq.jetty7.http.HttpParser.parseAvailable(HttpParser.java:230)\r\n\tat org.seleniumhq.jetty7.server.BlockingHttpConnection.handle(BlockingHttpConnection.java:66)\r\n\tat org.seleniumhq.jetty7.server.bio.SocketConnector$ConnectorEndPoint.run(SocketConnector.java:254)\r\n\tat org.seleniumhq.jetty7.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:599)\r\n\tat org.seleniumhq.jetty7.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:534)\r\n\t... 1 more\r\n",
        "chart" : true
      }
      

      Information from mongoDB for share.nav.documentLibrary:

      /* 9 */
      {
        "_id" : ObjectId("53a80020f3d59dd26e1859ab"),
        "_class" : "org.alfresco.bm.event.EventRecord",
        "serverId" : "356345-cld1_0000000309",
        "success" : false,
        "startTime" : NumberLong("1403519007827"),
        "startDelay" : NumberLong(3749),
        "time" : NumberLong(784),
        "event" : {
          "_id" : ObjectId("53a80016f3d59dd26e185985"),
          "name" : "share.nav.documentLibrary",
          "sessionId" : "c638d25b-1a3a-4319-a699-914ccf7c6198",
          "scheduledTime" : NumberLong("1403519004078"),
          "lockOwner" : "356345-cld1_0000000309",
          "lockTime" : NumberLong("1403519007826"),
          "dataKey" : "1ec2fd0f-575f-4671-b541-cf536ebe907e",
          "dataOwner" : "356345-cld1_0000000309",
          "lockId" : "5dbbb991-c8f2-4033-b4d0-58c34f621405"
        },
        "data" : "[2014-06-23T11:23:27.827+01:00] Event processing exception; no further events will be published. \r\norg.alfresco.bm.process.share.ShareEventProcessException: Failed to process share event: \n   Event:      Event [id=53a80016f3d59dd26e185985, name=share.nav.documentLibrary, sessionId=c638d25b-1a3a-4319-a699-914ccf7c6198, scheduledTime=1403519004078, lockOwner=356345-cld1_0000000309, lockTime=1403519007826, data=null, dataKey=1ec2fd0f-575f-4671-b541-cf536ebe907e  dataOwner= 356345-cld1_0000000309]\n   Data:       ShareEventData [username=jmuser19866, url=http://lb1:80/share, sharePage=[SharePage.toString() failed: WebDriver is required], siteName=null, search=null, filename=null]\n   WebDrone:   WebDrone.toString() failed   Screenshot: C:\\Users\\BENCHM~1\\AppData\\Local\\Temp\\2\\screenshot5550366174394170741.png\r\n\tat org.alfresco.bm.process.share.AbstractShareEventProcessor.processEvent(AbstractShareEventProcessor.java:145)\r\n\tat org.alfresco.bm.event.AbstractEventProcessor.processEvent(AbstractEventProcessor.java:266)\r\n\tat org.alfresco.bm.event.EventWork.run(EventWork.java:85)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)\r\n\tat java.lang.Thread.run(Unknown Source)\r\nCaused by: org.alfresco.bm.process.share.ShareEventProcessException: WebDrone with alfresco version Enterprise42,\r\n    Using WebDriver: AlfrescoRemoteWebDriver: firefox on XP (f71ffaf7-a904-4b1d-8389-678ad13816f0) \r\n    Browser session: JSESSIONID = 87697585B8CFF03FA4783F719BE65B95.at4\r\n \r\n    Title: Alfresco ยป Site Dashboard\r\n failed due to: \r\n\r\n\tat org.alfresco.bm.process.share.site.SiteNavigationEventProcess.navigateTo(SiteNavigationEventProcess.java:122)\r\n\tat org.alfresco.bm.process.share.site.SiteNavigationEventProcess.processEvent(SiteNavigationEventProcess.java:86)\r\n\tat org.alfresco.bm.process.share.AbstractShareEventProcessor.processEvent(AbstractShareEventProcessor.java:103)\r\n\t... 5 more\r\nCaused by: org.openqa.selenium.NoSuchElementException: Unable to locate element: {\"method\":\"css selector\",\"selector\":\"div[id^='alfresco/layout/LeftAndRight']\"}\nCommand duration or timeout: 5 milliseconds\nFor documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html\nBuild info: version: '2.39.0', revision: 'ff23eac', time: '2013-12-16 16:11:15'\nSystem info: host: '356345-cld1', ip: '169.254.244.173', os.name: 'Windows Server 2008 R2', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_51'\nSession ID: d3f1b762-2833-4a6d-9246-e83207619695\nDriver info: org.openqa.selenium.firefox.FirefoxDriver\nCapabilities [{platform=XP, acceptSslCerts=true, javascriptEnabled=true, cssSelectorsEnabled=true, databaseEnabled=true, browserName=firefox, handlesAlerts=true, browserConnectionEnabled=true, webStorageEnabled=true, nativeEvents=false, rotatable=false, locationContextEnabled=true, applicationCacheEnabled=true, takesScreenshot=true, version=28.0}]\nCommand duration or timeout: 176 milliseconds\nFor documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html\nBuild info: version: 'unknown', revision: 'unknown', time: 'unknown'\nSystem info: host: '356345-cld1', ip: '169.254.244.173', os.name: 'Windows Server 2008 R2', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_51'\nSession ID: f71ffaf7-a904-4b1d-8389-678ad13816f0\nDriver info: org.alfresco.webdrone.AlfrescoRemoteWebDriver\nCapabilities [{platform=XP, javascriptEnabled=true, acceptSslCerts=true, browserName=firefox, rotatable=false, locationContextEnabled=true, webdriver.remote.sessionid=f71ffaf7-a904-4b1d-8389-678ad13816f0, version=28.0, databaseEnabled=true, cssSelectorsEnabled=true, handlesAlerts=true, browserConnectionEnabled=true, webStorageEnabled=true, nativeEvents=false, applicationCacheEnabled=true, takesScreenshot=true}]\r\n\tat sun.reflect.GeneratedConstructorAccessor56.newInstance(Unknown Source)\r\n\tat sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)\r\n\tat java.lang.reflect.Constructor.newInstance(Unknown Source)\r\n\tat org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:193)\r\n\tat org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:145)\r\n\tat org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:554)\r\n\tat org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:307)\r\n\tat org.openqa.selenium.remote.RemoteWebDriver.findElementByCssSelector(RemoteWebDriver.java:396)\r\n\tat org.openqa.selenium.By$ByCssSelector.findElement(By.java:431)\r\n\tat org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:299)\r\n\tat org.alfresco.webdrone.WebDroneImpl.find(WebDroneImpl.java:149)\r\n\tat org.alfresco.webdrone.share.site.AbstractSiteNavigation.<init>(AbstractSiteNavigation.java:69)\r\n\tat org.alfresco.webdrone.share.site.SiteNavigation.<init>(SiteNavigation.java:57)\r\n\tat org.alfresco.webdrone.share.site.SitePage.getSiteNav(SitePage.java:89)\r\n\tat org.alfresco.bm.process.share.site.SiteNavigationEventProcess.navigateTo(SiteNavigationEventProcess.java:102)\r\n\t... 7 more\r\nCaused by: org.openqa.selenium.remote.ScreenshotException: Screen shot has been taken\nBuild info: version: 'unknown', revision: 'unknown', time: 'unknown'\nSystem info: host: '356345-cld1', ip: '169.254.244.173', os.name: 'Windows Server 2008 R2', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_51'\nDriver info: driver.version: RemoteWebDriver\r\n\tat org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:125)\r\n\t... 17 more\r\nCaused by: org.openqa.selenium.NoSuchElementException: Unable to locate element: {\"method\":\"css selector\",\"selector\":\"div[id^='alfresco/layout/LeftAndRight']\"}\nCommand duration or timeout: 5 milliseconds\nFor documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html\nBuild info: version: '2.39.0', revision: 'ff23eac', time: '2013-12-16 16:11:15'\nSystem info: host: '356345-cld1', ip: '169.254.244.173', os.name: 'Windows Server 2008 R2', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_51'\nSession ID: d3f1b762-2833-4a6d-9246-e83207619695\nDriver info: org.openqa.selenium.firefox.FirefoxDriver\nCapabilities [{platform=XP, acceptSslCerts=true, javascriptEnabled=true, cssSelectorsEnabled=true, databaseEnabled=true, browserName=firefox, handlesAlerts=true, browserConnectionEnabled=true, webStorageEnabled=true, nativeEvents=false, rotatable=false, locationContextEnabled=true, applicationCacheEnabled=true, takesScreenshot=true, version=28.0}]\nFor documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html\nBuild info: version: 'unknown', revision: 'unknown', time: 'unknown'\nSystem info: host: '356345-cld1', ip: '169.254.244.173', os.name: 'Windows Server 2008 R2', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_51'\nDriver info: driver.version: EventFiringWebDriver\r\n\tat sun.reflect.GeneratedConstructorAccessor24.newInstance(Unknown Source)\r\n\tat sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)\r\n\tat java.lang.reflect.Constructor.newInstance(Unknown Source)\r\n\tat org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:193)\r\n\tat org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:145)\r\n\tat org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:554)\r\n\tat org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:307)\r\n\tat org.openqa.selenium.remote.RemoteWebDriver.findElementByCssSelector(RemoteWebDriver.java:396)\r\n\tat org.openqa.selenium.By$ByCssSelector.findElement(By.java:432)\r\n\tat org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:299)\r\n\tat sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)\r\n\tat java.lang.reflect.Method.invoke(Unknown Source)\r\n\tat org.openqa.selenium.support.events.EventFiringWebDriver$2.invoke(EventFiringWebDriver.java:101)\r\n\tat com.sun.proxy.$Proxy2.findElement(Unknown Source)\r\n\tat org.openqa.selenium.support.events.EventFiringWebDriver.findElement(EventFiringWebDriver.java:184)\r\n\tat org.openqa.selenium.remote.server.handler.FindElement.call(FindElement.java:47)\r\n\tat org.openqa.selenium.remote.server.handler.FindElement.call(FindElement.java:1)\r\n\tat java.util.concurrent.FutureTask.run(Unknown Source)\r\n\tat org.openqa.selenium.remote.server.DefaultSession$1.run(DefaultSession.java:170)\r\n\t... 3 more\r\n",
        "chart" : true
      }
      

      Please, see attachment with results.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                closedissues Closed Issues
                Reporter:
                alfrescoqa Alfresco QA Team
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: