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

AssertionError in AssetPublisherExportImportTest

Details

    • Regression Bug

    Description

      AssetPublisherExportImportTest.testDynamicExportImportAssetTagFiltering is failing in master with:

      java.lang.AssertionError: [{"mvccVersion": 1, "ctCollectionId": 0, "entryId": 43575, "groupId": 43458, "companyId": 20100, "userId": 20128, "userName": "Test Test", "createDate": "Tue Mar 22 13:16:58 GMT 2022", "modifiedDate": "Tue Mar 22 13:16:58 GMT 2022", "classNameId": 20134, "classPK": 43571, "classUuid": "d30e253f-c337-b327-7979-574dd022bc87", "classTypeId": 43564, "listable": true, "visible": true, "startDate": null, "endDate": null, "publishDate": "Tue Mar 22 13:16:00 GMT 2022", "expirationDate": null, "mimeType": "text/html", "title": "<?xml version='1.0' encoding='UTF-8'?><root available-locales='en_US,es_ES,de_DE' default-locale='en_US'><Title language-id='en_US'>L0oQfVpk</Title><Title language-id='es_ES'>L0oQfVpk</Title><Title language-id='de_DE'>L0oQfVpk</Title></root>", "description": "<?xml version='1.0' encoding='UTF-8'?><root available-locales='en_US,es_ES,de_DE' default-locale='en_US'><Description language-id='en_US'>L0oQfVpk</Description><Description language-id='es_ES'>L0oQfVpk</Description><Description language-id='de_DE'>L0oQfVpk</Description></root>", "summary": "<?xml version='1.0' encoding='UTF-8'?><root available-locales='en_US,es_ES,de_DE' default-locale='en_US'><Description language-id='en_US'>L0oQfVpk</Description><Description language-id='es_ES'>L0oQfVpk</Description><Description language-id='de_DE'>L0oQfVpk</Description></root>", "url": "", "layoutUuid": "", "height": 0, "width": 0, "priority": 0.0}] expected:<2> but was:<1>  at org.junit.Assert.fail(Assert.java:89)  at org.junit.Assert.failNotEquals(Assert.java:835)  at org.junit.Assert.assertEquals(Assert.java:647)  at com.liferay.asset.publisher.exportimport.test.AssetPublisherExportImportTest.assertAssetEntries(AssetPublisherExportImportTest.java:934)  at com.liferay.asset.publisher.exportimport.test.AssetPublisherExportImportTest.testDynamicExportImport(AssetPublisherExportImportTest.java:1099)  at com.liferay.asset.publisher.exportimport.test.AssetPublisherExportImportTest.testDynamicExportImportAssetTagFiltering(AssetPublisherExportImportTest.java:338)  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 com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$3.evaluate(TestExecutorRunnable.java:353)  at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)  at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)  at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)  at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)  at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)  at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)  at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)  at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)  at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)  at org.junit.rules.RunRules.evaluate(RunRules.java:20)  at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$1.evaluate(TestExecutorRunnable.java:237)  at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)  at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)  at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)  at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)  at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)  at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)  at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)  at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)  at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)  at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)  at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)  at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)  at org.junit.rules.RunRules.evaluate(RunRules.java:20)  at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable._execute(TestExecutorRunnable.java:316)  at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable.run(TestExecutorRunnable.java:95)  at java.lang.Thread.run(Thread.java:745) 

      Full console log

      Reproduced on:
      Tomcat 9.0.56 + MySQL 5.7 Portal Master GIT ID: cbfe3388a80b13530597f402cd3c5d8882f860d9

      Attachments

        Activity

          People

            oziel.souza Oziel Souza
            brooke.dalton Brooke Dalton
            Marta Elicegui Marta Elicegui
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              28 weeks ago

              Packages

                Version Package