Uploaded image for project: 'Nuxeo ECM Build/Test Environment'
  1. Nuxeo ECM Build/Test Environment
  2. NXBT-717

Fix org.nuxeo.wss.fprpc.tests tests

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Continuous Integration
    • Tags:
    • Backlog priority:
      600
    • Sprint:
      Sprint 1(5.9.3)

      Description

      org.nuxeo.wss.fprpc.tests tests are failling in 5.6.0 Windows.
      Visible in: https://qa.nuxeo.org/jenkins/job/nuxeo-5.6.0-fullbuild-part1-multidb-windows/Slave=MULTIDB_WINDOWS,dbprofile=default/

      org.nuxeo.wss.fprpc.tests.fm.TestFMRendering.testSimpleRender
      expected:<ABCD[]> but was:<ABCD[ success method END ]>

      org.nuxeo.wss.fprpc.tests.fm.TestFMRendering.testIncludeRender
      expected:<BEFORE[]> but was:<BEFORE[ ABCD success method END AFTER ]>

      org.nuxeo.wss.fprpc.tests.fm.TestFMRendering.testInfoRender
      java.lang.ArrayIndexOutOfBoundsException: 1
      at org.nuxeo.wss.fprpc.tests.fm.TestFMRendering.testInfoRender(TestFMRendering.java:93)

      org.nuxeo.wss.fprpc.tests.request.TestFPRequests.testPut
      java.lang.ArrayIndexOutOfBoundsException: 3
      at org.nuxeo.wss.fprpc.tests.request.TestFPRequests.testPut(TestFPRequests.java:71)

      org.nuxeo.wss.fprpc.tests.request.TestInfoRequests.testVTIInfo
      java.lang.ArrayIndexOutOfBoundsException: 1
      at org.nuxeo.wss.fprpc.tests.request.TestInfoRequests.testVTIInfo(TestInfoRequests.java:55)

      org.nuxeo.wss.fprpc.tests.request.TestInfoRequests.testServerVersion
      java.lang.ArrayIndexOutOfBoundsException: 2
      at org.nuxeo.wss.fprpc.tests.request.TestInfoRequests.testServerVersion(TestInfoRequests.java:78)

      org.nuxeo.wss.fprpc.tests.request.TestInfoRequests.testOpenService
      java.lang.ArrayIndexOutOfBoundsException: 2
      at org.nuxeo.wss.fprpc.tests.request.TestInfoRequests.testOpenService(TestInfoRequests.java:98)

      org.nuxeo.ecm.platform.rendering.test.TestFreemarkerRendering.testRendering

         Error Details
                expected:<...e  <div class='doc'>[ <h1><a name=""heading_1"">Heading 1</a></h1> <p>Here is some wiki in the <strong>document</strong> content.<br />See <a href=""http://jira.nuxeo.org/browse/NXP-1256"">NXP-1256</a></p> <h2><a name=""heading_1.1"">Heading 1.1</a></h2> <p>This is an inline macro doc title: The dublincore title for doc1</p> <h1><a name=""heading_2"">Heading 2</a></h1> <p>TODO: make a JEXL wiki extension</p> <p><a href=""http://jira.nuxeo.org/browse/NXP-1234"">NXP-1234</a> Hello, Bogdan!</p> <p>End Wiki.</p> </div>  -------------- Default Block Content3 -------------- <p><strong>Dynamic Block</strong> This is a dynamic <strong>block</strong> contributed from a wiki</p> <table class=""toc"" cellpadding=""0"" cellspacing=""0"" border=""0""> <tr><td><div class=""tocTitle"">The Wiki Toc</div></td></tr> <tr><td> <ol class=""contentToc""> <li><a href=""#heading_1"">Heading 1</a></li> <ol> <li><a href=""#heading_1.1"">Heading 1.1</a></li> </ol> <li><a href=""#heading_2"">Heading 2</a></li> </ol> </td></tr> </table>] -------------- End....> but was:<...e  <div class='doc'>[ <h1><a name=""heading_1"">Heading 1</a></h1> <p>Here is some wiki in the <strong>document</strong> content.<br />See <a href=""http://jira.nuxeo.org/browse/NXP-1256"">NXP-1256</a></p> <h2><a name=""heading_1.1"">Heading 1.1</a></h2> <p>This is an inline macro doc title: The dublincore title for doc1</p> <h1><a name=""heading_2"">Heading 2</a></h1> <p>TODO: make a JEXL wiki extension</p> <p><a href=""http://jira.nuxeo.org/browse/NXP-1234"">NXP-1234</a> Hello, Bogdan!</p> <p>End Wiki.</p> </div>  -------------- Default Block Content3 -------------- <p><strong>Dynamic Block</strong> This is a dynamic <strong>block</strong> contributed from a wiki</p> <table class=""toc"" cellpadding=""0"" cellspacing=""0"" border=""0""> <tr><td><div class=""tocTitle"">The Wiki Toc</div></td></tr> <tr><td> <ol class=""contentToc""> <li><a href=""#heading_1"">Heading 1</a></li> <ol> <li><a href=""#heading_1.1"">Heading 1.1</a></li> </ol> <li><a href=""#heading_2"">Heading 2</a></li> </ol> </td></tr> </table> ] -------------- End....> 
      
        Stack Trace
      org.junit.ComparisonFailure: expected:<...e
       <div class='doc'>[
      <h1><a name="heading_1">Heading 1</a></h1>
      <p>Here is some wiki in the <strong>document</strong> content.<br />See <a href="http://jira.nuxeo.org/browse/NXP-1256">NXP-1256</a></p>
      <h2><a name="heading_1.1">Heading 1.1</a></h2>
      <p>This is an inline macro doc title: The dublincore title for doc1</p>
      <h1><a name="heading_2">Heading 2</a></h1>
      <p>TODO: make a JEXL wiki extension</p>
      <p><a href="http://jira.nuxeo.org/browse/NXP-1234">NXP-1234</a>
      Hello, Bogdan!</p>
      <p>End Wiki.</p>
      </div>
      
      --------------
      Default Block Content3
      --------------
      <p><strong>Dynamic Block</strong>
      This is a dynamic <strong>block</strong> contributed from a wiki</p>
      <table class="toc" cellpadding="0" cellspacing="0" border="0">
      <tr><td><div class="tocTitle">The Wiki Toc</div></td></tr>
      <tr><td>
      <ol class="contentToc">
      <li><a href="#heading_1">Heading 1</a></li>
      <ol>
      <li><a href="#heading_1.1">Heading 1.1</a></li>
      </ol>
      <li><a href="#heading_2">Heading 2</a></li>
      </ol>
      </td></tr>
      </table>]
      --------------
      End....> but was:<...e
       <div class='doc'>[
      <h1><a name="heading_1">Heading 1</a></h1>
      <p>Here is some wiki in the <strong>document</strong> content.<br />See <a href="http://jira.nuxeo.org/browse/NXP-1256">NXP-1256</a></p>
      <h2><a name="heading_1.1">Heading 1.1</a></h2>
      <p>This is an inline macro doc title: The dublincore title for doc1</p>
      <h1><a name="heading_2">Heading 2</a></h1>
      <p>TODO: make a JEXL wiki extension</p>
      <p><a href="http://jira.nuxeo.org/browse/NXP-1234">NXP-1234</a>
      Hello, Bogdan!</p>
      <p>End Wiki.</p>
      </div>
      
      --------------
      Default Block Content3
      --------------
      <p><strong>Dynamic Block</strong>
      This is a dynamic <strong>block</strong> contributed from a wiki</p>
      <table class="toc" cellpadding="0" cellspacing="0" border="0">
      <tr><td><div class="tocTitle">The Wiki Toc</div></td></tr>
      <tr><td>
      <ol class="contentToc">
      <li><a href="#heading_1">Heading 1</a></li>
      <ol>
      <li><a href="#heading_1.1">Heading 1.1</a></li>
      </ol>
      <li><a href="#heading_2">Heading 2</a></li>
      </ol>
      </td></tr>
      </table>
      ]
      --------------
      End....>
      	at org.junit.Assert.assertEquals(Assert.java:123)
      	at org.junit.Assert.assertEquals(Assert.java:145)
      	at org.nuxeo.ecm.platform.rendering.test.TestFreemarkerRendering.testRendering(TestFreemarkerRendering.java:119)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:66)
      	at org.jmock.integration.junit4.JMock$1.invoke(JMock.java:37)
      	at org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:105)
      	at org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:86)
      	at org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:94)
      	at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:84)
      	at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:49)
      	at org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:98)
      	at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:61)
      	at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:54)
      	at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:34)
      	at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:44)
      	at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:52)
      	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)
      	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)
      	at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175)
      	at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107)
      	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68)
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: