Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-16198

Fix CmisSuiteSession.testContentStream assertion failure

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.1-SNAPSHOT
    • Fix Version/s: 7.2
    • Component/s: CMIS, Tests

      Description

      Visible here:

      13:15:09 Running org.nuxeo.ecm.core.opencmis.impl.CmisSuiteSession
      13:15:10 Nuxeo-Work-default-4 12:15:10,389 WARN  [FulltextExtractorWork] Could not extract fulltext of file 'test.pdf' for document: e5db72c0-00e0-433f-8870-23c3f53d8bd5: org.nuxeo.ecm.core.convert.api.ConversionException: Error during text extraction with PDFBox
      13:15:20 Dec 12, 2014 12:15:20 PM org.apache.coyote.AbstractProtocol pause
      13:15:20 INFO: Pausing ProtocolHandler ["http-bio-17488"]
      13:15:20 Dec 12, 2014 12:15:20 PM org.apache.catalina.core.StandardService stopInternal
      13:15:20 INFO: Stopping service Tomcat
      13:15:20 Dec 12, 2014 12:15:20 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
      13:15:20 SEVERE: The web application [/] appears to have started a thread named [File Reaper] but has failed to stop it. This is very likely to create a memory leak.
      13:15:20 Dec 12, 2014 12:15:20 PM org.apache.coyote.AbstractProtocol stop
      13:15:20 INFO: Stopping ProtocolHandler ["http-bio-17488"]
      13:15:20 Dec 12, 2014 12:15:20 PM org.apache.coyote.AbstractProtocol destroy
      13:15:20 INFO: Destroying ProtocolHandler ["http-bio-17488"]
      13:15:20 Tests run: 27, Failures: 1, Errors: 0, Skipped: 2, Time elapsed: 11.7 sec <<< FAILURE! - in org.nuxeo.ecm.core.opencmis.impl.CmisSuiteSession
      13:15:20 testContentStream(org.nuxeo.ecm.core.opencmis.impl.CmisSuiteSession)  Time elapsed: 0.325 sec  <<< FAILURE!
      13:15:20 java.lang.AssertionError: expected:<304> but was:<200>
      13:15:20 	at org.junit.Assert.fail(Assert.java:88)
      13:15:20 	at org.junit.Assert.failNotEquals(Assert.java:743)
      13:15:20 	at org.junit.Assert.assertEquals(Assert.java:118)
      13:15:20 	at org.junit.Assert.assertEquals(Assert.java:555)
      13:15:20 	at org.junit.Assert.assertEquals(Assert.java:542)
      13:15:20 	at org.nuxeo.ecm.core.opencmis.impl.CmisSuiteSession.testContentStream(CmisSuiteSession.java:390)
      13:15:20 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      13:15:20 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      13:15:20 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      13:15:20 	at java.lang.reflect.Method.invoke(Method.java:606)
      13:15:20 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
      13:15:20 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      13:15:20 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
      13:15:20 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      13:15:20 	at org.nuxeo.runtime.test.runner.FeaturesRunner$15.evaluate(FeaturesRunner.java:463)
      13:15:20 	at org.nuxeo.runtime.test.runner.FeaturesRunner$BeforeMethodRunStatement.evaluate(FeaturesRunner.java:342)
      13:15:20 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      13:15:20 	at org.nuxeo.runtime.test.runner.FeaturesRunner$BeforeSetupStatement.evaluate(FeaturesRunner.java:358)
      13:15:20 	at org.nuxeo.runtime.test.runner.FeaturesRunner$AfterMethodRunStatement.evaluate(FeaturesRunner.java:389)
      13:15:20 	at org.nuxeo.runtime.test.runner.FeaturesRunner$AfterTeardownStatement.evaluate(FeaturesRunner.java:408)
      13:15:20 	at org.nuxeo.runtime.test.runner.FeaturesRunner$RulesFactory$1.evaluate(FeaturesRunner.java:521)
      13:15:20 	at org.nuxeo.runtime.test.runner.RuntimeDeployment$DeploymentStatement.evaluate(RuntimeDeployment.java:265)
      13:15:20 	at org.nuxeo.runtime.test.runner.RuntimeFeature$2$1.evaluate(RuntimeFeature.java:124)
      13:15:20 	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
      13:15:20 	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
      13:15:20 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
      13:15:20 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
      13:15:20 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
      13:15:20 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
      13:15:20 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
      13:15:20 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
      13:15:20 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
      13:15:20 	at org.nuxeo.runtime.test.runner.FeaturesRunner$AfterClassStatement.evaluate(FeaturesRunner.java:281)
      13:15:20 	at org.nuxeo.runtime.test.runner.FeaturesRunner$RulesFactory$1.evaluate(FeaturesRunner.java:521)
      13:15:20 	at org.nuxeo.runtime.test.runner.FeaturesRunner$BeforeClassStatement.evaluate(FeaturesRunner.java:264)
      13:15:20 	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
      13:15:20 	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
      13:15:20 	at org.junit.runners.Suite.runChild(Suite.java:127)
      13:15:20 	at org.junit.runners.Suite.runChild(Suite.java:26)
      13:15:20 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
      13:15:20 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
      13:15:20 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
      13:15:20 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
      13:15:20 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
      13:15:20 	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
      13:15:20 	at org.junit.runners.Suite.runChild(Suite.java:127)
      13:15:20 	at org.junit.runners.Suite.runChild(Suite.java:26)
      13:15:20 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
      13:15:20 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
      13:15:20 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
      13:15:20 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
      13:15:20 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
      13:15:20 	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
      13:15:20 	at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
      13:15:20 	at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
      13:15:20 	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:113)
      13:15:20 	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:85)
      13:15:20 	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:54)
      13:15:20 	at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:134)
      13:15:20 	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
      13:15:20 	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
      13:15:20 	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
      13:15:20 
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: