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

AssertionError in GCloudNaturalLanguageDocumentAssetAutoTaggerTest

    Details

      Description

      Issue:

           [exec] com.liferay.asset.auto.tagger.google.cloud.natural.language.test.GCloudNaturalLanguageDocumentAssetAutoTaggerTest > testGetTagNamesWithInvalidApiKey STARTED
           [exec] 17:49:38,414 INFO  [com.liferay.asset.auto.tagger.google.cloud.natural.language.test-executor-thread][RetryExec:159] I/O exception (java.net.SocketException) caught when processing request to {s}->https://language.googleapis.com:443: Can't connect to SOCKS proxy:Connection refused (Connection refused)
           [exec] 17:49:38,415 INFO  [com.liferay.asset.auto.tagger.google.cloud.natural.language.test-executor-thread][RetryExec:159] Retrying request to {s}->https://language.googleapis.com:443
           [exec] 17:49:38,416 INFO  [com.liferay.asset.auto.tagger.google.cloud.natural.language.test-executor-thread][RetryExec:159] I/O exception (java.net.SocketException) caught when processing request to {s}->https://language.googleapis.com:443: Can't connect to SOCKS proxy:Connection refused (Connection refused)
           [exec] 17:49:38,416 INFO  [com.liferay.asset.auto.tagger.google.cloud.natural.language.test-executor-thread][RetryExec:159] Retrying request to {s}->https://language.googleapis.com:443
           [exec] 17:49:38,417 INFO  [com.liferay.asset.auto.tagger.google.cloud.natural.language.test-executor-thread][RetryExec:159] I/O exception (java.net.SocketException) caught when processing request to {s}->https://language.googleapis.com:443: Can't connect to SOCKS proxy:Connection refused (Connection refused)
           [exec] 17:49:38,417 INFO  [com.liferay.asset.auto.tagger.google.cloud.natural.language.test-executor-thread][RetryExec:159] Retrying request to {s}->https://language.googleapis.com:443
           [exec] 
           [exec] com.liferay.asset.auto.tagger.google.cloud.natural.language.test.GCloudNaturalLanguageDocumentAssetAutoTaggerTest > testGetTagNamesWithInvalidApiKey FAILED
           [exec]     java.lang.AssertionError
           [exec]     	at org.junit.Assert.fail(Assert.java:86)
           [exec]     	at org.junit.Assert.assertTrue(Assert.java:41)
           [exec]     	at org.junit.Assert.assertTrue(Assert.java:52)
           [exec]     	at com.liferay.asset.auto.tagger.google.cloud.natural.language.test.GCloudNaturalLanguageDocumentAssetAutoTaggerTest.lambda$testGetTagNamesWithInvalidApiKey$1(GCloudNaturalLanguageDocumentAssetAutoTaggerTest.java:75)
           [exec]     	at com.liferay.asset.auto.tagger.google.cloud.natural.language.test.GCloudNaturalLanguageDocumentAssetAutoTaggerTest._testWithGCloudNaturalLanguageAutoTagEntitiesEndpointEnabledAndClassificationEndpointEnabled(GCloudNaturalLanguageDocumentAssetAutoTaggerTest.java:136)
           [exec]     	at com.liferay.asset.auto.tagger.google.cloud.natural.language.test.GCloudNaturalLanguageDocumentAssetAutoTaggerTest.testGetTagNamesWithInvalidApiKey(GCloudNaturalLanguageDocumentAssetAutoTaggerTest.java:65)
           [exec]     	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           [exec]     	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           [exec]     	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec]     	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
           [exec]     	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$2.evaluate(TestExecutorRunnable.java:234)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [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:143)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
           [exec]     	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable._execute(TestExecutorRunnable.java:181)
           [exec]     	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable.run(TestExecutorRunnable.java:95)
           [exec]     	at java.base/java.lang.Thread.run(Thread.java:834)
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                4 weeks ago

                Packages

                Version Package
                7.2.X
                Master