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

NestedRenamePageIT.renamePageWithUsedClass is flickering

    XMLWordPrintable

Details

    • Unknown
    • org.xwiki.flamingo.test.docker.AllITs$NestedRenamePageIT#renamePageWithUsedClass{TestUtils, TestReference}

    Description

      Error Message
      
      Expected condition failed: waiting for org.xwiki.test.ui.XWikiWebDriver$$Lambda$917/2098079103@20ad24cf (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: '83c9a5741493', ip: '172.17.0.2', os.name: 'Linux', os.arch: 'amd64', os.version: '4.19.0-9-amd64', java.version: '1.8.0_242'
      Driver info: org.xwiki.test.ui.XWikiWebDriver
      Capabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 76.0.1, javascriptEnabled: true, moz:accessibilityChecks: false, moz:buildID: 20200507114007, moz:geckodriverVersion: 0.26.0, moz:headless: false, moz:processID: 466, moz:profile: /tmp/rust_mozprofile9Ea6xL, moz:shutdownTimeout: 60000, moz:useNonSpecCompliantPointerOrigin: false, moz:webdriverClick: true, pageLoadStrategy: normal, platform: LINUX, platformName: LINUX, platformVersion: 4.19.0-9-amd64, rotatable: false, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: ignore, webdriver.remote.sessionid: 1b6f4e1f-8a44-44e8-914e-7e9...}
      Session ID: 1b6f4e1f-8a44-44e8-914e-7e9cc14f6ba7
      
      Stacktrace
      
      org.openqa.selenium.TimeoutException: 
      Expected condition failed: waiting for org.xwiki.test.ui.XWikiWebDriver$$Lambda$917/2098079103@20ad24cf (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: '83c9a5741493', ip: '172.17.0.2', os.name: 'Linux', os.arch: 'amd64', os.version: '4.19.0-9-amd64', java.version: '1.8.0_242'
      Driver info: org.xwiki.test.ui.XWikiWebDriver
      Capabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 76.0.1, javascriptEnabled: true, moz:accessibilityChecks: false, moz:buildID: 20200507114007, moz:geckodriverVersion: 0.26.0, moz:headless: false, moz:processID: 466, moz:profile: /tmp/rust_mozprofile9Ea6xL, moz:shutdownTimeout: 60000, moz:useNonSpecCompliantPointerOrigin: false, moz:webdriverClick: true, pageLoadStrategy: normal, platform: LINUX, platformName: LINUX, platformVersion: 4.19.0-9-amd64, rotatable: false, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: ignore, webdriver.remote.sessionid: 1b6f4e1f-8a44-44e8-914e-7e9...}
      Session ID: 1b6f4e1f-8a44-44e8-914e-7e9cc14f6ba7
      	at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:95)
      	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:272)
      	at org.xwiki.test.ui.XWikiWebDriver.waitUntilCondition(XWikiWebDriver.java:228)
      	at org.xwiki.test.ui.XWikiWebDriver.waitUntilElementsAreVisible(XWikiWebDriver.java:330)
      	at org.xwiki.test.ui.XWikiWebDriver.waitUntilElementIsVisible(XWikiWebDriver.java:285)
      	at org.xwiki.test.ui.XWikiWebDriver.waitUntilElementIsVisible(XWikiWebDriver.java:273)
      	at org.xwiki.flamingo.skin.test.po.JobQuestionPane.waitForQuestionPane(JobQuestionPane.java:61)
      	at org.xwiki.flamingo.test.docker.RenamePageIT.renamePageWithUsedClass(RenamePageIT.java:250)
      	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.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688)
      	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
      	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
      	at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149)
      	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140)
      	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84)
      	at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115)
      	at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105)
      	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
      	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
      	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
      	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
      	at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104)
      	at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98)
      	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210)
      	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
      	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206)
      	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131)
      	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65)
      	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139)
      	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
      	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129)
      	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
      	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127)
      	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
      	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126)
      	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84)
      	at java.util.ArrayList.forEach(ArrayList.java:1257)
      	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38)
      	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143)
      	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
      	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129)
      	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
      	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127)
      	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
      	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126)
      	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84)
      	at java.util.ArrayList.forEach(ArrayList.java:1257)
      	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38)
      	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143)
      	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
      	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129)
      	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
      	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127)
      	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
      	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126)
      	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84)
      	at java.util.ArrayList.forEach(ArrayList.java:1257)
      	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38)
      	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143)
      	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
      	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129)
      	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
      	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127)
      	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
      	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126)
      	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84)
      	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32)
      	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
      	at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51)
      	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108)
      	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
      	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
      	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
      	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
      	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96)
      	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75)
      	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)
      

      Javascript errors in the logs:

      11:17:33.930 [main] INFO  o.x.t.d.i.j.XWikiDockerExtension - (*) Starting test [renamePageWithUsedClass]
      11:17:44.577 [docker-java-stream-1783072357] INFO  o.x.t.d.i.j.b.BrowserContainerExecutor - STDOUT: JavaScript error: http://host.testcontainers.internal:8080/xwiki/webjars/wiki%3Axwiki/requirejs/2.3.6/require.min.js?r=1, line 5: Error: Script error for "xwiki-events-bridge", needed by: xwiki-selectize, xwiki-diff
      11:17:44.577 [docker-java-stream-1783072357] INFO  o.x.t.d.i.j.b.BrowserContainerExecutor - STDOUT: https://requirejs.org/docs/errors.html#scripterror
      11:17:44.577 [docker-java-stream-803828129] INFO  o.x.t.d.i.j.XWikiDockerExtension - STDOUT: JavaScript error: http://host.testcontainers.internal:8080/xwiki/webjars/wiki%3Axwiki/requirejs/2.3.6/require.min.js?r=1, line 5: Error: Script error for "xwiki-events-bridge", needed by: xwiki-selectize, xwiki-diff
      11:17:44.577 [docker-java-stream-803828129] INFO  o.x.t.d.i.j.XWikiDockerExtension - STDOUT: https://requirejs.org/docs/errors.html#scripterror
      11:17:44.578 [docker-java-stream-803828129] INFO  o.x.t.d.i.j.XWikiDockerExtension - STDOUT: JavaScript error: http://host.testcontainers.internal:8080/xwiki/webjars/wiki%3Axwiki/requirejs/2.3.6/require.min.js?r=1, line 5: Error: Script error for "/xwiki/webjars/wiki%3Axwiki/xwiki-platform-tree-webjar/13.0-SNAPSHOT/require-config.min.js?evaluate=true&minify=true"
      11:17:44.578 [docker-java-stream-803828129] INFO  o.x.t.d.i.j.XWikiDockerExtension - STDOUT: https://requirejs.org/docs/errors.html#scripterror
      11:17:44.578 [docker-java-stream-1783072357] INFO  o.x.t.d.i.j.b.BrowserContainerExecutor - STDOUT: JavaScript error: http://host.testcontainers.internal:8080/xwiki/webjars/wiki%3Axwiki/requirejs/2.3.6/require.min.js?r=1, line 5: Error: Script error for "/xwiki/webjars/wiki%3Axwiki/xwiki-platform-tree-webjar/13.0-SNAPSHOT/require-config.min.js?evaluate=true&minify=true"
      11:17:44.578 [docker-java-stream-1783072357] INFO  o.x.t.d.i.j.b.BrowserContainerExecutor - STDOUT: https://requirejs.org/docs/errors.html#scripterror
      11:18:08.978 [docker-java-stream-803828129] INFO  o.x.t.d.i.j.XWikiDockerExtension - STDOUT: JavaScript error: http://host.testcontainers.internal:8080/xwiki/webjars/wiki%3Axwiki/requirejs/2.3.6/require.min.js?r=1, line 5: Error: Load timeout for modules: jquery,bootstrap,drawer,xwiki-meta,xwiki-events-bridge,JobRunner,tree,/xwiki/webjars/wiki%3Axwiki/Keypress/2.1.5/keypress.min.js?r=1,iscroll
      11:18:08.978 [docker-java-stream-1783072357] INFO  o.x.t.d.i.j.b.BrowserContainerExecutor - STDOUT: JavaScript error: http://host.testcontainers.internal:8080/xwiki/webjars/wiki%3Axwiki/requirejs/2.3.6/require.min.js?r=1, line 5: Error: Load timeout for modules: jquery,bootstrap,drawer,xwiki-meta,xwiki-events-bridge,JobRunner,tree,/xwiki/webjars/wiki%3Axwiki/Keypress/2.1.5/keypress.min.js?r=1,iscroll
      11:18:08.978 [docker-java-stream-803828129] INFO  o.x.t.d.i.j.XWikiDockerExtension - STDOUT: https://requirejs.org/docs/errors.html#timeout
      11:18:08.978 [docker-java-stream-1783072357] INFO  o.x.t.d.i.j.b.BrowserContainerExecutor - STDOUT: https://requirejs.org/docs/errors.html#timeout
      11:18:12.717 [main] INFO  o.x.t.d.i.junit5.DockerTestUtils - Screenshot for test [renamePageWithUsedClass] saved at [/root/workspace/XWiki_xwiki-platform_master/xwiki-platform-core/xwiki-platform-flamingo/xwiki-platform-flamingo-skin/xwiki-platform-flamingo-skin-test/xwiki-platform-flamingo-skin-test-docker/./target/hsqldb_embedded-default-default-jetty_standalone-default-firefox/screenshots/hsqldb_embedded-default-default-jetty_standalone-default-firefox-org.xwiki.flamingo.test.docker.AllITs$NestedRenamePageIT-renamePageWithUsedClass.png].
      11:18:12.722 [main] DEBUG o.t.s.c.g.d.c.command.AbstrDockerCmd - Cmd: f03cc661b6556abdc604088b2636c8589a3a28d176fd5ca76ebe3cc07c16dcae,.,/screen.flv
      11:18:12.723 [main] TRACE o.t.s.c.g.d.c.e.CopyArchiveFromContainerCmdExec - Get: DefaultWebTarget{path=[/containers/f03cc661b6556abdc604088b2636c8589a3a28d176fd5ca76ebe3cc07c16dcae/archive], queryParams={}}
      11:18:13.235 [main] INFO  o.x.t.d.i.j.XWikiDockerExtension - (*) VNC recording of test has been saved to [./target/hsqldb_embedded-default-default-jetty_standalone-default-firefox/screenshots/hsqldb_embedded-default-default-jetty_standalone-default-firefox-org.xwiki.flamingo.test.docker.AllITs$NestedRenamePageIT-renamePageWithUsedClass.flv]
      11:18:13.236 [main] INFO  o.x.t.d.i.j.XWikiDockerExtension - Jenkins Agent: [Jenkins SSH Slave a4-00hatr3994fdn]
      11:18:13.236 [main] INFO  o.x.t.d.i.j.XWikiDockerExtension - (*) Stopping test [renamePageWithUsedClass]
      

      Seems to occur quite rarely (last failure 40 builds ago, 4184, according to mleduc).

      Video also available (as attachment) which suggests the rename job failing to start, or the javascript responsible for displaying the job progress failing to do its job.

      Attachments

        Activity

          People

            Unassigned Unassigned
            enygma Eduard Moraru
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: