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

Investigate failure at com.liferay.object.admin.rest.resource.v1_0.test.ObjectDefinitionResourceTest

    Details

      Description

      Testray
      Jenkins

           [exec] com.liferay.object.admin.rest.resource.v1_0.test.ObjectDefinitionResourceTest > testGetObjectDefinitionsPageWithSortString FAILED
           [exec]     java.lang.AssertionError: {"actions": {"delete": {"href": "http://localhost:8080/o/object-admin/v1.0/object-definitions/46033", "method": "DELETE"}, "get": {"href": "http://localhost:8080/o/object-admin/v1.0/object-definitions/46033", "method": "GET"}, "publish": {"href": "http://localhost:8080/o/object-admin/v1.0/object-definitions/46033/publish", "method": "POST"}, "update": {"href": "http://localhost:8080/o/object-admin/v1.0/object-definitions/46033", "method": "PUT"}}, "dateCreated": "2021-10-12T16:24:14Z", "dateModified": "2021-10-12T16:24:14Z", "id": 46033, "label": {"en-US": "Aoccn0w4j"}, "name": "BAoccn0w4j", "objectFields": [{"id": 46034, "indexed": false, "indexedAsKeyword": false, "indexedLanguageId": "", "label": {"en-US": "Column"}, "listTypeDefinitionId": 0, "name": "column", "required": false, "type": "String"}], "scope": "company", "status": {"code": 2, "label": "draft", "label_i18n": "Draft"}, "system": false} does not equal {"actions": {"delete": {"href": "http://localhost:8080/o/object-admin/v1.0/object-definitions/45991", "method": "DELETE"}, "get": {"href": "http://localhost:8080/o/object-admin/v1.0/object-definitions/45991", "method": "GET"}, "publish": {"href": "http://localhost:8080/o/object-admin/v1.0/object-definitions/45991/publish", "method": "POST"}, "update": {"href": "http://localhost:8080/o/object-admin/v1.0/object-definitions/45991", "method": "PUT"}}, "dateCreated": "2021-10-12T16:24:12Z", "dateModified": "2021-10-12T16:24:12Z", "id": 45991, "label": {"en-US": "Acm0geqrr"}, "name": "Acm0geqrr", "objectFields": [{"id": 45992, "indexed": false, "indexedAsKeyword": false, "indexedLanguageId": "", "label": {"en-US": "Column"}, "listTypeDefinitionId": 0, "name": "column", "required": false, "type": "String"}], "scope": "company", "status": {"code": 2, "label": "draft", "label_i18n": "Draft"}, "system": false}
           [exec]     	at org.junit.Assert.fail(Assert.java:89)
           [exec]     	at org.junit.Assert.assertTrue(Assert.java:42)
           [exec]     	at com.liferay.object.admin.rest.resource.v1_0.test.BaseObjectDefinitionResourceTestCase.assertEquals(BaseObjectDefinitionResourceTestCase.java:809)
           [exec]     	at com.liferay.object.admin.rest.resource.v1_0.test.BaseObjectDefinitionResourceTestCase.assertEquals(BaseObjectDefinitionResourceTestCase.java:825)
           [exec]     	at com.liferay.object.admin.rest.resource.v1_0.test.ObjectDefinitionResourceTest.testGetObjectDefinitionsPageWithSortString(ObjectDefinitionResourceTest.java:87)
           [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)
      
          [junit] Testcase: testScanXMLLog(com.liferay.portal.log.assertor.PortalLogAssertorTest):	FAILED
          [junit] 
          [junit] Portal log assert failure, see above log for more information: 
          [junit] Unable to find corresponding model impl class for table O_20100_A2i4i8Qmj
          [junit] junit.framework.AssertionFailedError: 
          [junit] Unable to find corresponding model impl class for table O_20100_A2i4i8Qmj
          [junit] 	at com.liferay.portal.log.assertor.PortalLogAssertorTest.scanXMLLogFile(PortalLogAssertorTest.java:171)
          [junit] 	at com.liferay.portal.log.assertor.PortalLogAssertorTest$1.visitFile(PortalLogAssertorTest.java:98)
          [junit] 	at com.liferay.portal.log.assertor.PortalLogAssertorTest$1.visitFile(PortalLogAssertorTest.java:88)
          [junit] 	at java.nio.file.Files.walkFileTree(Files.java:2670)
          [junit] 	at java.nio.file.Files.walkFileTree(Files.java:2742)
          [junit] 	at com.liferay.portal.log.assertor.PortalLogAssertorTest.testScanXMLLog(PortalLogAssertorTest.java:86)
          [junit] 
          [junit] 
          [junit] Test com.liferay.portal.log.assertor.PortalLogAssertorTest FAILED
      [stopwatch] [test.cmd: 0.680 sec]
           [exec] ada8710c506c
           [exec] ada8710c506c
      

        Attachments

          Activity

            People

            Assignee:
            brian.chan Brian Chan
            Reporter:
            susan.chen Susan Chen
            Recent user:
            Rodrigo Cunha (Inactive)
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package