Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-93682

OpenNLPDocumentAssetAutoTagProviderTest tests are failing

    Details

    • Fix Priority:
      4
    • Sprint:
      023 - Ekans

      Description

      The following integration tests are failing due to this error:

      • OpenNLPDocumentAssetAutoTagProviderTest#testGetTagNamesWithPDFFile
      • OpenNLPDocumentAssetAutoTagProviderTest#testGetTagNamesWithHTMLFile
      • OpenNLPDocumentAssetAutoTagProviderTest#testGetTagNamesWithEpubFile
      • OpenNLPDocumentAssetAutoTagProviderTest#testGetTagNamesWithTextFile
           [exec]     java.lang.AssertionError: [] expected:<26> but was:<0>
           [exec]         at org.junit.Assert.fail(Assert.java:88)
           [exec]         at org.junit.Assert.failNotEquals(Assert.java:834)
           [exec]         at org.junit.Assert.assertEquals(Assert.java:645)
           [exec]         at com.liferay.document.library.asset.auto.tagger.opennlp.test.OpenNLPDocumentAssetAutoTagProviderTest.lambda$testGetTagNamesWithTextFile$5(OpenNLPDocumentAssetAutoTagProviderTest.java:241)
           [exec]         at com.liferay.document.library.asset.auto.tagger.opennlp.test.OpenNLPDocumentAssetAutoTagProviderTest._testWithOpenNLPAutoTagProviderEnabled(OpenNLPDocumentAssetAutoTagProviderTest.java:309)
           [exec]         at com.liferay.document.library.asset.auto.tagger.opennlp.test.OpenNLPDocumentAssetAutoTagProviderTest.testGetTagNamesWithTextFile(OpenNLPDocumentAssetAutoTagProviderTest.java:227)
           [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           [exec]         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec]         at java.lang.reflect.Method.invoke(Method.java:498)
           [exec]         at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$2.evaluate(TestExecutorRunnable.java:181)
           [exec]         at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
           [exec]         at com.liferay.portal.kernel.test.rule.BaseTestRule$1.evaluate(BaseTestRule.java:54)
           [exec]         at com.liferay.portal.kernel.test.rule.BaseTestRule$1.evaluate(BaseTestRule.java:54)
           [exec]         at com.liferay.portal.kernel.test.rule.BaseTestRule$1.evaluate(BaseTestRule.java:54)
           [exec]         at com.liferay.portal.kernel.test.rule.BaseTestRule$1.evaluate(BaseTestRule.java:54)
           [exec]         at com.liferay.portal.kernel.test.rule.BaseTestRule$1.evaluate(BaseTestRule.java:54)
           [exec]         at com.liferay.portal.kernel.test.rule.BaseTestRule$1.evaluate(BaseTestRule.java:54)
           [exec]         at com.liferay.portal.kernel.test.rule.BaseTestRule$1.evaluate(BaseTestRule.java:54)
           [exec]         at com.liferay.portal.kernel.test.rule.BaseTestRule$1.evaluate(BaseTestRule.java:54)
           [exec]         at com.liferay.portal.kernel.test.rule.BaseTestRule$1.evaluate(BaseTestRule.java:54)
           [exec]         at com.liferay.portal.test.rule.LiferayIntegrationTestRule$1$1.evaluate(LiferayIntegrationTestRule.java:154)
           [exec]         at com.liferay.portal.kernel.test.rule.BaseTestRule$1.evaluate(BaseTestRule.java:54)
           [exec]         at com.liferay.portal.kernel.test.rule.TimeoutTestRule$1.evaluate(TimeoutTestRule.java:89)
           [exec]         at org.junit.rules.RunRules.evaluate(RunRules.java:20)
           [exec]         at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$1.evaluate(TestExecutorRunnable.java:118)
           [exec]         at com.liferay.portal.kernel.test.rule.BaseTestRule$2.evaluate(BaseTestRule.java:71)
           [exec]         at com.liferay.portal.kernel.test.rule.BaseTestRule$2.evaluate(BaseTestRule.java:71)
           [exec]         at com.liferay.portal.kernel.test.rule.BaseTestRule$2.evaluate(BaseTestRule.java:71)
           [exec]         at com.liferay.portal.kernel.test.rule.BaseTestRule$2.evaluate(BaseTestRule.java:71)
           [exec]         at com.liferay.portal.kernel.test.rule.BaseTestRule$2.evaluate(BaseTestRule.java:71)
           [exec]         at com.liferay.portal.kernel.test.rule.BaseTestRule$2.evaluate(BaseTestRule.java:71)
           [exec]         at com.liferay.portal.kernel.test.rule.BaseTestRule$2.evaluate(BaseTestRule.java:71)
           [exec]         at com.liferay.portal.kernel.test.rule.BaseTestRule$2.evaluate(BaseTestRule.java:71)
           [exec]         at com.liferay.portal.kernel.test.rule.BaseTestRule$2.evaluate(BaseTestRule.java:71)
           [exec]         at com.liferay.portal.test.rule.LiferayIntegrationTestRule$1$1.evaluate(LiferayIntegrationTestRule.java:154)
           [exec]         at com.liferay.portal.kernel.test.rule.BaseTestRule$2.evaluate(BaseTestRule.java:71)
           [exec]         at org.junit.rules.RunRules.evaluate(RunRules.java:20)
           [exec]         at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable._execute(TestExecutorRunnable.java:156)
           [exec]         at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable.run(TestExecutorRunnable.java:77)
           [exec]         at java.lang.Thread.run(Thread.java:745)
      

      https://testray.liferay.com/reports/production/logs/test-1-1/1554827444406/test-portal-acceptance-upstream(master)/5994/modules-integration-postgresql10-jdk8/7/jenkins-console.txt.gz

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                34 weeks, 2 days ago

                Packages

                Version Package
                Master