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

Investigate Headless Delivery module integration test failures

Description

    Testray
    Jenkins

    A couple test failures I found in the logs:

         [exec] com.liferay.headless.delivery.resource.v1_0.test.ContentSetElementResourceTest > testGetAssetLibraryContentSetByKeyContentSetElementsPage FAILED
         [exec]     com.liferay.headless.delivery.client.problem.Problem$ProblemException: No AssetListEntry exists with the key {groupId=83760, assetListEntryKey=svyi15ee}
         [exec]     	at com.liferay.headless.delivery.client.resource.v1_0.ContentSetElementResource$ContentSetElementResourceImpl.getAssetLibraryContentSetByKeyContentSetElementsPage(ContentSetElementResource.java:186)
         [exec]     	at com.liferay.headless.delivery.resource.v1_0.test.BaseContentSetElementResourceTestCase.testGetAssetLibraryContentSetByKeyContentSetElementsPage(BaseContentSetElementResourceTestCase.java:228)
         [exec]     	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    
         [exec] com.liferay.headless.delivery.resource.v1_0.test.ContentStructureResourceTest > testGetAssetLibraryContentStructurePermissionsPage FAILED
         [exec]     com.liferay.headless.delivery.client.problem.Problem$ProblemException: {companyId=20100, name=com.liferay.dynamic.data.mapping, primKey=80898, scope=4}
         [exec]     	at com.liferay.headless.delivery.client.resource.v1_0.ContentStructureResource$ContentStructureResourceImpl.getAssetLibraryContentStructurePermissionsPage(ContentStructureResource.java:330)
         [exec]     	at com.liferay.headless.delivery.resource.v1_0.test.BaseContentStructureResourceTestCase.testGetAssetLibraryContentStructurePermissionsPage(BaseContentStructureResourceTestCase.java:554)
    
         [exec] com.liferay.headless.delivery.resource.v1_0.test.ContentTemplateResourceTest > testGetAssetLibraryContentTemplatesPage FAILED
         [exec]     com.liferay.headless.delivery.client.problem.Problem$ProblemException: {companyId=20100, name=com.liferay.portal.kernel.model.Group, primKey=78236, scope=4}
         [exec]     	at com.liferay.headless.delivery.client.resource.v1_0.ContentTemplateResource$ContentTemplateResourceImpl.getAssetLibraryContentTemplatesPage(ContentTemplateResource.java:169)
         [exec]     	at com.liferay.headless.delivery.resource.v1_0.test.BaseContentTemplateResourceTestCase.testGetAssetLibraryContentTemplatesPage(BaseContentTemplateResourceTestCase.java:233)
    
         [exec] com.liferay.headless.delivery.resource.v1_0.test.DocumentFolderResourceTest > testGetAssetLibraryDocumentFolderPermissionsPage FAILED
         [exec]     com.liferay.headless.delivery.client.problem.Problem$ProblemException: {companyId=20100, name=com.liferay.document.library, primKey=83035, scope=4}
         [exec]     	at com.liferay.headless.delivery.client.resource.v1_0.DocumentFolderResource$DocumentFolderResourceImpl.getAssetLibraryDocumentFolderPermissionsPage(DocumentFolderResource.java:610)
         [exec]     	at com.liferay.headless.delivery.resource.v1_0.test.BaseDocumentFolderResourceTestCase.testGetAssetLibraryDocumentFolderPermissionsPage(BaseDocumentFolderResourceTestCase.java:582)
    
         [exec] com.liferay.headless.delivery.resource.v1_0.test.LanguageResourceTest > testGetAssetLibraryLanguagesPage FAILED
         [exec]     com.liferay.headless.delivery.client.problem.Problem$ProblemException: No Group exists with the primary key 78850
         [exec]     	at com.liferay.headless.delivery.client.resource.v1_0.LanguageResource$LanguageResourceImpl.getAssetLibraryLanguagesPage(LanguageResource.java:146)
         [exec]     	at com.liferay.headless.delivery.resource.v1_0.test.LanguageResourceTest.testGetAssetLibraryLanguagesPage(LanguageResourceTest.java:41)
    
         [exec] com.liferay.headless.delivery.resource.v1_0.test.StructuredContentResourceTest > testGetAssetLibraryStructuredContentPermissionsPage FAILED
         [exec]     com.liferay.headless.delivery.client.problem.Problem$ProblemException: {companyId=20100, name=com.liferay.journal, primKey=71393, scope=4}
         [exec]     	at com.liferay.headless.delivery.client.resource.v1_0.StructuredContentResource$StructuredContentResourceImpl.getAssetLibraryStructuredContentPermissionsPage(StructuredContentResource.java:732)
         [exec]     	at com.liferay.headless.delivery.resource.v1_0.test.BaseStructuredContentResourceTestCase.testGetAssetLibraryStructuredContentPermissionsPage(BaseStructuredContentResourceTestCase.java:599)
    

    Attachments

      Issue Links

        Activity

          People

            carlos.correa Carlos Correa
            susan.chen Susan Chen
            Kiyoshi Lee Kiyoshi Lee
            Carlos Correa Carlos Correa
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              37 weeks, 5 days ago

              Packages

                Version Package
                7.4.3.17 CE GA17
                Master