Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-22743

ObjectEditorIT#addingAndDeletingMultipleObjects is flickering

    XMLWordPrintable

Details

    • Unknown
    • org.xwiki.flamingo.test.docker.AllIT$NestedObjectEditorIT#addingAndDeletingMultipleObjects(TestUtils, TestReference)

    Description

      Error Message

      java.util.concurrent.TimeoutException
      Build info: version: '4.26.0', revision: '8ccf0219d7'
      System info: os.name: 'Linux', os.arch: 'amd64', os.version: '6.1.0-23-cloud-amd64', java.version: '17.0.13'
      Driver info: org.openqa.selenium.remote.RemoteWebDriver
      Command: [e8c133be-3b63-424a-9f07-e6b37a66aff7, get {url=http://host.testcontainers.internal:8080/xwiki/bin/save/NestedObjectEditorIT/addingAndDeletingMultipleObjects/WebHome?form_token=w21uWz9QxqT9CD8ofoJ88Q&title=xwiki%3ANestedObjectEditorIT.addingAndDeletingMultipleObjects.WebHome&content=Some%20content&}]
      Capabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 133.0, moz:accessibilityChecks: false, moz:buildID: 20241121140525, moz:debuggerAddress: 127.0.0.1:4813, moz:firefoxOptions: {prefs: {dom.disable_beforeunload: false, remote.active-protocols: 3}}, moz:geckodriverVersion: 0.35.0, moz:headless: false, moz:platformVersion: 6.1.0-23-cloud-amd64, moz:processID: 173, moz:profile: /tmp/rust_mozprofileAwS0x9, moz:shutdownTimeout: 60000, moz:webdriverClick: true, moz:windowless: false, pageLoadStrategy: normal, platformName: linux, proxy: Proxy(), se:cdp: ws://172.18.0.2:4444/sessio..., se:cdpVersion: 85.0, se:containerName: , se:gridWebSocketUrl: ws://127.0.0.1:4813/session..., se:noVncPort: 7900, se:vnc: ws://172.18.0.2:4444/sessio..., se:vncEnabled: true, se:vncLocalAddress: ws://172.18.0.2:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: ignore, userAgent: Mozilla/5.0 (X11; Linux x86..., webSocketUrl: ws://172.18.0.2:4444/sessio...}
      Session ID: e8c133be-3b63-424a-9f07-e6b37a66aff7
      

      Stacktrace

      org.openqa.selenium.TimeoutException: 
      java.util.concurrent.TimeoutException
      Build info: version: '4.26.0', revision: '8ccf0219d7'
      System info: os.name: 'Linux', os.arch: 'amd64', os.version: '6.1.0-23-cloud-amd64', java.version: '17.0.13'
      Driver info: org.openqa.selenium.remote.RemoteWebDriver
      Command: [e8c133be-3b63-424a-9f07-e6b37a66aff7, get {url=http://host.testcontainers.internal:8080/xwiki/bin/save/NestedObjectEditorIT/addingAndDeletingMultipleObjects/WebHome?form_token=w21uWz9QxqT9CD8ofoJ88Q&title=xwiki%3ANestedObjectEditorIT.addingAndDeletingMultipleObjects.WebHome&content=Some%20content&}]
      Capabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 133.0, moz:accessibilityChecks: false, moz:buildID: 20241121140525, moz:debuggerAddress: 127.0.0.1:4813, moz:firefoxOptions: {prefs: {dom.disable_beforeunload: false, remote.active-protocols: 3}}, moz:geckodriverVersion: 0.35.0, moz:headless: false, moz:platformVersion: 6.1.0-23-cloud-amd64, moz:processID: 173, moz:profile: /tmp/rust_mozprofileAwS0x9, moz:shutdownTimeout: 60000, moz:webdriverClick: true, moz:windowless: false, pageLoadStrategy: normal, platformName: linux, proxy: Proxy(), se:cdp: ws://172.18.0.2:4444/sessio..., se:cdpVersion: 85.0, se:containerName: , se:gridWebSocketUrl: ws://127.0.0.1:4813/session..., se:noVncPort: 7900, se:vnc: ws://172.18.0.2:4444/sessio..., se:vncEnabled: true, se:vncLocalAddress: ws://172.18.0.2:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: ignore, userAgent: Mozilla/5.0 (X11; Linux x86..., webSocketUrl: ws://172.18.0.2:4444/sessio...}
      Session ID: e8c133be-3b63-424a-9f07-e6b37a66aff7
      	at org.openqa.selenium.remote.http.jdk.JdkHttpClient.execute(JdkHttpClient.java:422)
      	at org.openqa.selenium.remote.tracing.TracedHttpClient.execute(TracedHttpClient.java:54)
      	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:187)
      	at org.openqa.selenium.remote.TracedCommandExecutor.execute(TracedCommandExecutor.java:53)
      	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:545)
      	at org.openqa.selenium.remote.RemoteWebDriver.get(RemoteWebDriver.java:313)
      	at org.xwiki.test.ui.XWikiWebDriver.get(XWikiWebDriver.java:652)
      	at org.xwiki.test.ui.TestUtils.gotoPage(TestUtils.java:811)
      	at org.xwiki.test.ui.TestUtils.gotoPage(TestUtils.java:800)
      	at org.xwiki.test.ui.TestUtils.gotoPage(TestUtils.java:792)
      	at org.xwiki.test.ui.TestUtils.gotoPage(TestUtils.java:771)
      	at org.xwiki.test.ui.TestUtils.createPage(TestUtils.java:958)
      	at org.xwiki.test.ui.TestUtils.createPage(TestUtils.java:899)
      	at org.xwiki.test.ui.TestUtils.createPage(TestUtils.java:870)
      	at org.xwiki.flamingo.test.docker.ObjectEditorIT.addingAndDeletingMultipleObjects(ObjectEditorIT.java:168)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:569)
      	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
      	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
      	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
      Caused by: java.util.concurrent.TimeoutException
      	at java.base/java.util.concurrent.CompletableFuture$Timeout.run(CompletableFuture.java:2874)
      	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
      	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
      	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
      	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
      	at java.base/java.lang.Thread.run(Thread.java:840)
      

      Standard Error: output.txt

      It actually seems to be pretty stable on the CI, but cannot reproduce locally and what is failing does not make much sense (it seems it cannot access an empty page it creates at the beginning of the test).

      Attachments

        1. output.txt
          98 kB
          Thomas Mortagne
        2. screenshot.png
          99 kB
          Thomas Mortagne

        Activity

          People

            Unassigned Unassigned
            tmortagne Thomas Mortagne
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: