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

RoleServiceTest failed with assertion error

    Details

      Description

      Full Jenkins Log

      Testray

       [exec] com.liferay.roles.service.test.RoleServiceTest > testSearchWithClassNameId FAILED
           [exec]     java.lang.AssertionError: expected:<[{mvccVersion=0, uuid=3e472364-dd98-1746-5e9c-86d4c8575ec9, roleId=42089, companyId=20098, userId=20128, userName=Test Test, createDate=Sun Mar 01 09:06:32 GMT 2020, modifiedDate=Sun Mar 01 09:06:32 GMT 2020, classNameId=42081, classPK=42088, name=sQ7jq68c, title=<?xml version='1.0' encoding='UTF-8'?><root available-locales="en_US" default-locale="en_US"><Title language-id="en_US">ELlQio2n</Title></root>, description=<?xml version='1.0' encoding='UTF-8'?><root available-locales="en_US" default-locale="en_US"><Description language-id="en_US">nY8Xtcda</Description></root>, type=4, subtype=}, {mvccVersion=0, uuid=231b7bff-b5dc-0e01-7974-8e496be3d2d0, roleId=42086, companyId=20098, userId=20128, userName=Test Test, createDate=Sun Mar 01 09:06:32 GMT 2020, modifiedDate=Sun Mar 01 09:06:32 GMT 2020, classNameId=42081, classPK=42085, name=gKxg6OqD, title=<?xml version='1.0' encoding='UTF-8'?><root available-locales="en_US" default-locale="en_US"><Title language-id="en_US">xGlcki3S</Title></root>, description=<?xml version='1.0' encoding='UTF-8'?><root available-locales="en_US" default-locale="en_US"><Description language-id="en_US">AkJI4zCA</Description></root>, type=4, subtype=}, {mvccVersion=0, uuid=416c5a9e-2932-8770-ea7c-2432f1be9d99, roleId=42083, companyId=20098, userId=20128, userName=Test Test, createDate=Sun Mar 01 09:06:32 GMT 2020, modifiedDate=Sun Mar 01 09:06:32 GMT 2020, classNameId=42081, classPK=42082, name=L3MBDvIx, title=<?xml version='1.0' encoding='UTF-8'?><root available-locales="en_US" default-locale="en_US"><Title language-id="en_US">ezkXSuLK</Title></root>, description=<?xml version='1.0' encoding='UTF-8'?><root available-locales="en_US" default-locale="en_US"><Description language-id="en_US">WfeRvJUO</Description></root>, type=4, subtype=}]> but was:<[{mvccVersion=0, uuid=3e472364-dd98-1746-5e9c-86d4c8575ec9, roleId=42089, companyId=20098, userId=20128, userName=Test Test, createDate=2020-03-01 09:06:32.233, modifiedDate=2020-03-01 09:06:32.233, classNameId=42081, classPK=42088, name=sQ7jq68c, title=<?xml version='1.0' encoding='UTF-8'?><root available-locales="en_US" default-locale="en_US"><Title language-id="en_US">ELlQio2n</Title></root>, description=<?xml version='1.0' encoding='UTF-8'?><root available-locales="en_US" default-locale="en_US"><Description language-id="en_US">nY8Xtcda</Description></root>, type=4, subtype=}, {mvccVersion=0, uuid=416c5a9e-2932-8770-ea7c-2432f1be9d99, roleId=42083, companyId=20098, userId=20128, userName=Test Test, createDate=2020-03-01 09:06:32.129, modifiedDate=2020-03-01 09:06:32.129, classNameId=42081, classPK=42082, name=L3MBDvIx, title=<?xml version='1.0' encoding='UTF-8'?><root available-locales="en_US" default-locale="en_US"><Title language-id="en_US">ezkXSuLK</Title></root>, description=<?xml version='1.0' encoding='UTF-8'?><root available-locales="en_US" default-locale="en_US"><Description language-id="en_US">WfeRvJUO</Description></root>, type=4, subtype=}, {mvccVersion=0, uuid=231b7bff-b5dc-0e01-7974-8e496be3d2d0, roleId=42086, companyId=20098, userId=20128, userName=Test Test, createDate=2020-03-01 09:06:32.181, modifiedDate=2020-03-01 09:06:32.181, classNameId=42081, classPK=42085, name=gKxg6OqD, title=<?xml version='1.0' encoding='UTF-8'?><root available-locales="en_US" default-locale="en_US"><Title language-id="en_US">xGlcki3S</Title></root>, description=<?xml version='1.0' encoding='UTF-8'?><root available-locales="en_US" default-locale="en_US"><Description language-id="en_US">AkJI4zCA</Description></root>, type=4, subtype=}]>
           [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:118)
           [exec]     	at org.junit.Assert.assertEquals(Assert.java:144)
           [exec]     	at com.liferay.roles.service.test.RoleServiceTest.testSearchWithClassNameId(RoleServiceTest.java:167)
           [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 org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
           [exec]     	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
           [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

          Issue Links

            Activity

              People

              • Assignee:
                patricia.perez Patricia Perez
                Reporter:
                calvin.vo Calvin Vo
                Participants of an Issue:
                Recent user:
                Brian Wulbern
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  22 weeks, 5 days ago

                  Packages

                  Version Package