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

LiveTableGeneratorIT#titleField is flickering

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • None
    • 12.5-rc-1
    • MySQL 5.7.x, Tomcat 8.5.x (Java 8), Chrome - Docker tests
    • Unknown
    • org.xwiki.appwithinminutes.test.ui.AllITs$NestedLiveTableGeneratorIT#titleField{TestUtils, TestReference}

    Description

      Warning

      This test has been migrated to a docker integration test. While the flickering might still be present, the stacktrace will not be exactly similar. Please replace the stack below with an upgraded one if you ever encounter this flicker on the CI.

       

      Screenshot:

      Error Message
      
      Expected condition failed: waiting for org.xwiki.test.ui.XWikiWebDriver$1@63b895bc (tried for 10 second(s) with 500 milliseconds interval)
      Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
      System info: host: 'e51739469f02', ip: '172.17.0.2', os.name: 'Linux', os.arch: 'amd64', os.version: '4.9.185-xxxx-std-ipv6-64', java.version: '1.8.0_242'
      Driver info: org.xwiki.test.ui.XWikiWebDriver
      Capabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 74.0, javascriptEnabled: true, moz:accessibilityChecks: false, moz:buildID: 20200309095159, moz:geckodriverVersion: 0.26.0, moz:headless: false, moz:processID: 849, moz:profile: /tmp/rust_mozprofileeOVS7z, moz:shutdownTimeout: 60000, moz:useNonSpecCompliantPointerOrigin: false, moz:webdriverClick: true, pageLoadStrategy: normal, platform: LINUX, platformName: LINUX, platformVersion: 4.9.185-xxxx-std-ipv6-64, rotatable: false, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify}
      Session ID: 701bc6e6-77c2-4fbf-9c29-f5a131877a28
      
      Stacktrace
      
      org.openqa.selenium.TimeoutException: 
      Expected condition failed: waiting for org.xwiki.test.ui.XWikiWebDriver$1@63b895bc (tried for 10 second(s) with 500 milliseconds interval)
      Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
      System info: host: 'e51739469f02', ip: '172.17.0.2', os.name: 'Linux', os.arch: 'amd64', os.version: '4.9.185-xxxx-std-ipv6-64', java.version: '1.8.0_242'
      Driver info: org.xwiki.test.ui.XWikiWebDriver
      Capabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 74.0, javascriptEnabled: true, moz:accessibilityChecks: false, moz:buildID: 20200309095159, moz:geckodriverVersion: 0.26.0, moz:headless: false, moz:processID: 849, moz:profile: /tmp/rust_mozprofileeOVS7z, moz:shutdownTimeout: 60000, moz:useNonSpecCompliantPointerOrigin: false, moz:webdriverClick: true, pageLoadStrategy: normal, platform: LINUX, platformName: LINUX, platformVersion: 4.9.185-xxxx-std-ipv6-64, rotatable: false, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify}
      Session ID: 701bc6e6-77c2-4fbf-9c29-f5a131877a28
      	at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:95)
      	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:272)
      	at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.xwiki.test.ui.XWikiWebDriver.waitUntilCondition(XWikiWebDriver.java:238)
      	at org.xwiki.test.ui.XWikiWebDriver.waitUntilPageIsReloaded(XWikiWebDriver.java:983)
      	at org.xwiki.test.ui.po.InlinePage.clickSaveAndView(InlinePage.java:114)
      	at org.xwiki.test.ui.po.InlinePage.clickSaveAndView(InlinePage.java:90)
      	at org.xwiki.test.ui.appwithinminutes.LiveTableGeneratorTest.titleField(LiveTableGeneratorTest.java:132)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
      	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
      	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      	at org.xwiki.test.ui.AuthenticationRule$1.evaluate(AuthenticationRule.java:73)
      	at org.xwiki.test.ui.browser.BrowserTestRule$1.evaluate(BrowserTestRule.java:104)
      	at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61)
      	at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61)
      	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
      	at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
      	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
      	at com.google.code.tempusfugit.concurrency.IntermittentTestRunner.runChild(IntermittentTestRunner.java:36)
      	at com.google.code.tempusfugit.concurrency.IntermittentTestRunner.runChild(IntermittentTestRunner.java:25)
      	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
      	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
      	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
      	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
      	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
      	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      	at org.xwiki.test.integration.junit4.ValidateConsoleRule$ValidateConsoleStatement.evaluate(ValidateConsoleRule.java:73)
      	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
      	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
      	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
      	at org.junit.runners.Suite.runChild(Suite.java:128)
      	at org.junit.runners.Suite.runChild(Suite.java:27)
      	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
      	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
      	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
      	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
      	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
      	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
      	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
      	at org.junit.extensions.cpsuite.ClasspathSuite.run(ClasspathSuite.java:194)
      	at org.xwiki.test.integration.XWikiExecutorSuite.run(XWikiExecutorSuite.java:195)
      	at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
      	at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
      	at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:43)
      	at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
      	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
      	at java.util.Iterator.forEachRemaining(Iterator.java:116)
      	at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
      	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
      	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
      	at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
      	at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
      	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
      	at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:485)
      	at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:82)
      	at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:73)
      	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:248)
      	at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$5(DefaultLauncher.java:211)
      	at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:226)
      	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:199)
      	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:132)
      	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:150)
      	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:124)
      	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
      	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
      	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
      	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
      
      Standard Error
      
      11:20:48.211 [main] WARN  o.x.t.i.junit.LogCaptureValidator - The following expected were not matched and could be candidates for removal (beware of configs): [
      Possible break-in attempt!
      Error getting resource [null]
      ]
      11:20:48.212 [main] INFO  org.xwiki.test.ui.TestDebugger - LiveTableGeneratorTest-titleField started
      When using the W3C Action commands, offsets are from the center of element
      JavaScript error: resource:///actors/ContentMetaChild.jsm, line 167: InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable
      11:21:14.350 [main] INFO  org.xwiki.test.ui.TestDebugger - LiveTableGeneratorTest-titleField failed
      11:21:14.610 [main] INFO  org.xwiki.test.ui.TestDebugger - Screenshot for failing test [LiveTableGeneratorTest-titleField] saved at [/root/workspace/iki_xwiki-platform_stable-12.5.x/xwiki-platform-distribution/xwiki-platform-distribution-flavor/xwiki-platform-distribution-flavor-test/xwiki-platform-distribution-flavor-test-ui/target/screenshots/LiveTableGeneratorTest-titleField.png].
      11:21:14.638 [main] INFO  org.xwiki.test.ui.TestDebugger - Current page URL is [http://localhost:8080/xwiki/bin/view/hviVnR/Bar/]
      11:21:14.668 [main] INFO  org.xwiki.test.ui.TestDebugger - Current page source is [<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" data-xwiki-reference="xwiki:hviVnR.Bar.WebHome" data-xwiki-document="hviVnR.Bar.WebHome" data-xwiki-wiki="xwiki" data-xwiki-space="hviVnR.Bar" data-xwiki-page="WebHome" data-xwiki-isnew="false" data-xwiki-version="1.1" data-xwiki-rest-url="/xwiki/rest/wikis/xwiki/spaces/hviVnR/spaces/Bar/pages/WebHome" data-xwiki-form-token="j5xxmjTPHZWqQqnTP5FTAQ" data-xwiki-user-reference="xwiki:XWiki.Admin" data-xwiki-locale="" lang="en"><head>
                          <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
                                                          <title>The Empty Bar - XWiki</title>
                                          <meta name="viewport" content="width=device-width, initial-scale=1">
                      <link rel="shortcut icon" href="/xwiki/resources/icons/xwiki/favicon.ico?cache-version=1593417290000">
              <link rel="icon" href="/xwiki/resources/icons/xwiki/favicon16.png?cache-version=1593417290000" type="image/png">
              <link rel="icon" href="/xwiki/resources/icons/xwiki/favicon.svg?cache-version=1593417290000" type="image/svg+xml">
              <link rel="apple-touch-icon" href="/xwiki/resources/icons/xwiki/favicon144.png?cache-version=1593417290000">
                            <link rel="alternate" type="application/x-wiki" title="Edit" href="/xwiki/bin/edit/hviVnR/Bar/WebHome">
                          <link rel="canonical" href="/xwiki/bin/view/hviVnR/Bar/">
                          <meta name="revisit-after" content="7 days">
      <meta name="description" content="The Empty Bar">
      <meta name="keywords" content="wiki">
      <meta name="rating" content="General">
      <meta name="author" content="Administrator">
      <link rel="alternate" type="application/rss+xml" title="Wiki Feed RSS" href="/xwiki/bin/view/Main/WebRss?xpage=rdf">
      <link rel="alternate" type="application/rss+xml" title="Blog RSS Feed" href="/xwiki/bin/view/Blog/GlobalBlogRss?xpage=plain">
                      <link href="/xwiki/webjars/wiki%3Axwiki/bootstrap-switch/3.3.2/css/bootstrap3/bootstrap-switch.min.css" type="text/css" rel="stylesheet"><link href="/xwiki/webjars/wiki%3Axwiki/xwiki-platform-tree-webjar/12.5-SNAPSHOT/tree.min.css?evaluate=true" type="text/css" rel="stylesheet"><link href="/xwiki/webjars/wiki%3Axwiki/selectize.js/0.12.5/css/selectize.bootstrap3.css" type="text/css" rel="stylesheet">
          <link href="/xwiki/webjars/wiki%3Axwiki/drawer/2.4.0/css/drawer.min.css" rel="stylesheet" type="text/css">
                      
                                                                                                                          
      
      
      
      <link href="      /xwiki/bin/skin/skins/flamingo/style.css?cache-version=1593417290000&amp;skin=XWiki.DefaultSkin&amp;colorTheme=xwiki%3AFlamingoThemes.Iceberg
        " rel="stylesheet" type="text/css" media="all">
      <link href="      /xwiki/bin/skin/skins/flamingo/print.css?cache-version=1593417290000&amp;skin=XWiki.DefaultSkin&amp;colorTheme=xwiki%3AFlamingoThemes.Iceberg
        " rel="stylesheet" type="text/css" media="print">
              <!--[if IE]>
        <link href="      /xwiki/bin/skin/skins/flamingo/ie-all.css?cache-version=1593417290000&skin=XWiki.DefaultSkin&#38;colorTheme=xwiki%3AFlamingoThemes.Iceberg
        " rel="stylesheet" type="text/css" />
      <![endif]-->
          
          <link rel="stylesheet" type="text/css" href="/xwiki/bin/skin/resources/css/xwiki-min.css?cache-version=1593417842000&amp;colorTheme=FlamingoThemes.Iceberg&amp;language=en"><link rel="stylesheet" type="text/css" href="/xwiki/bin/skin/resources/uicomponents/search/searchSuggest.css?cache-version=1593417840000"><link rel="stylesheet" type="text/css" href="/xwiki/bin/skin/resources/uicomponents/suggest/xwiki.selectize.css?cache-version=1593417840000"><link rel="stylesheet" type="text/css" href="/xwiki/bin/skin/resources/uicomponents/viewers/tags.css?cache-version=1593417840000&amp;colorTheme=FlamingoThemes.Iceberg"><link rel="stylesheet" type="text/css" href="/xwiki/bin/skin/resources/uicomponents/viewers/comments.css?cache-version=1593417840000"><link rel="stylesheet" type="text/css" href="/xwiki/bin/skin/resources/uicomponents/widgets/upload.css?cache-version=1593417840000"><link rel="stylesheet" type="text/css" href="/xwiki/bin/skin/resources/js/xwiki/viewers/attachments.css?cache-version=1593417838000"><link rel="stylesheet" type="text/css" href="/xwiki/bin/skin/resources/uicomponents/pagination/pagination.css?cache-version=1593417840000"><link rel="stylesheet" type="text/css" href="/xwiki/bin/skin/resources/js/xwiki/viewers/information.css?cache-version=1593417838000">
          <link rel="stylesheet" type="text/css" href="/xwiki/bin/ssx/Tour/HomepageTour/WebHome?language=en&amp;docVersion=1.1"><link rel="stylesheet" type="text/css" href="/xwiki/bin/ssx/AnnotationCode/Style?language=en&amp;docVersion=1.1"><link rel="stylesheet" type="text/css" href="/xwiki/bin/ssx/AnnotationCode/Settings?language=en&amp;docVersion=1.1"><link rel="stylesheet" type="text/css" href="/xwiki/bin/ssx/XWiki/Mentions/MentionsMacro?language=en&amp;docVersion=1.1"><link rel="stylesheet" type="text/css" href="/xwiki/bin/ssx/IconThemes/FontAwesome?language=en&amp;docVersion=1.1"><link rel="stylesheet" type="text/css" href="/xwiki/bin/ssx/XWiki/Notifications/Code/Macro/NotificationsMacro?language=en&amp;docVersion=1.1"><link rel="stylesheet" type="text/css" href="/xwiki/bin/ssx/XWiki/Notifications/Code/NotificationsDisplayerUIX?language=en&amp;docVersion=1.1"><link rel="stylesheet" type="text/css" href="/xwiki/bin/ssx/XWiki/SharePage?language=en&amp;docVersion=1.1"><link rel="stylesheet" type="text/css" href="/xwiki/bin/ssx/Panels/Applications?language=en&amp;docVersion=1.1"><link rel="stylesheet" type="text/css" href="/xwiki/bin/ssx/Help/SupportPanel/WebHome?language=en&amp;docVersion=1.1">
      
          <script type="text/javascript" src="/xwiki/webjars/wiki%3Axwiki/requirejs/2.3.6/require.min.js?r=1" data-wysiwyg="true"></script></head></html>]
      11:21:14.671 [main] INFO  o.x.t.j.FailingTestDebuggingTestExecutionListener - ---- Start of environment debugging information
      ...
      11:21:24.995 [main] INFO  o.x.t.j.FailingTestDebuggingTestExecutionListener - ---- End of environment debugging information
      

      Attachments

        Activity

          People

            mleduc Manuel Leduc
            enygma Eduard Moraru
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: