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

SolrSearchIT.searchExclusions is flickering

    XMLWordPrintable

Details

    • Unknown
    • org.xwiki.search.test.ui.AllIT$NestedSolrSearchIT#searchExclusions

    Description

      The test is flickering with the following failure:

      Expected condition failed: waiting for ... (tried for 10 seconds with 500 milliseconds interval)

      The timeout happens in SuggestInputElement#waitForSuggestionsClearance(), called from hideSuggestions(): after ESC is sent, the .selectize-input.dropdown-active element is still present after 10 seconds.

      Seen on the stable-17.10.x CI job, e.g. https://ci.xwiki.org/job/XWiki/job/xwiki-platform/job/stable-17.10.x/448/ (and in builds 426 and 442). Roughly 3 failures out of the last 20 builds.

      This only affects the branches that still use Selectize for the suggest widget. On master the widget was replaced by Tom Select (XWIKI-24088), so the selectors involved no longer exist there.

      Full stack trace:

      org.openqa.selenium.TimeoutException: 
      Expected condition failed: waiting for org.xwiki.test.ui.XWikiWebDriver$$Lambda$1957/0x00007fa008d22b20@15112971
      (tried for 10 seconds with 500 milliseconds interval)
      Build info: version: '4.48.0', revision: '27f5213 27f5213055e28398a5105b7892b7a3bb2012a6ef'
      System info: os.name: 'Linux', os.arch: 'amd64', os.version: '6.12.95+deb13-amd64', java.version: '17.0.20.1'
      Driver info: org.xwiki.test.ui.XWikiWebDriver
      Capabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 155.0.1, container:hostname: e36308977c91, moz:accessibilityChecks: false, moz:buildID: 20260903215306, moz:firefoxOptions: {prefs: {dom.disable_beforeunload: false, remote.active-protocols: 1, remote.events.async.enabled: false}}, moz:geckodriverVersion: 0.37.1, moz:headless: false, moz:platformVersion: 6.12.95+deb13-amd64, moz:processID: 181, moz:profile: /tmp/rust_mozprofileRmCUQx, moz:shutdownTimeout: 60000, moz:webdriverClick: true, moz:windowless: false, pageLoadStrategy: normal, platformName: linux, proxy: Proxy(), se:cdpEnabled: false, se:containerName: e36308977c91, se:deleteSessionOnUi: true, se:downloadsEnabled: true, se:gridWebSocketUrl: ws://127.0.0.1:39215/sessio..., se:noVncPort: 7900, se:vnc: ws://172.17.0.1:37779/sessi..., se:vncEnabled: true, se:vncLocalAddress: ws://172.17.0.5:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: {beforeUnload: ignore, default: ignore}, userAgent: Mozilla/5.0 (X11; Linux x86..., webSocketUrl: ws://172.17.0.1:37779/sessi...}
      Session ID: 33e1cf98-1b53-4269-af25-dd7f2821a10b
      	at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:85)
      	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:234)
      	at org.xwiki.test.ui.XWikiWebDriver.waitUntilCondition(XWikiWebDriver.java:229)
      	at org.xwiki.test.ui.po.SuggestInputElement.waitForSuggestionsClearance(SuggestInputElement.java:241)
      	at org.xwiki.test.ui.po.SuggestInputElement.hideSuggestions(SuggestInputElement.java:344)
      	at org.xwiki.search.test.ui.SolrSearchIT.searchExclusions(SolrSearchIT.java:300)
      	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)
      
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: