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

:apps:portal-search-elasticsearch6:portal-search-elasticsearch6-impl:compileTestJava Failure

    Details

      Description

      :apps:portal-search-elasticsearch6:portal-search-elasticsearch6-impl:compileTestJava is failing on upstream acceptance modules-unit jobs preventing any of the elasticsearch6 unit tests from being run. It fails with the following error:

           [exec] > Task :apps:portal-search-elasticsearch6:portal-search-elasticsearch6-impl:compileTestJava FAILED
           [exec] /opt/dev/projects/github/liferay-portal/modules/apps/portal-search-elasticsearch6/portal-search-elasticsearch6-impl/src/test/java/com/liferay/portal/search/elasticsearch6/internal/search/engine/adapter/ElasticsearchSearchEngineAdapterIndexRequestTest.java:234: error: incompatible types: IndexResponse cannot be converted to GetFieldMappingIndexResponse
           [exec] 			_searchEngineAdapter.execute(getFieldMappingIndexRequest);
           [exec] 			                            ^
           [exec] /opt/dev/projects/github/liferay-portal/modules/apps/portal-search-elasticsearch6/portal-search-elasticsearch6-impl/src/test/java/com/liferay/portal/search/elasticsearch6/internal/search/engine/adapter/ElasticsearchSearchEngineAdapterIndexRequestTest.java:275: error: incompatible types: IndexResponse cannot be converted to GetMappingIndexResponse
           [exec] 			_searchEngineAdapter.execute(getMappingIndexRequest);
           [exec] 			                            ^
           [exec] /opt/dev/projects/github/liferay-portal/modules/apps/portal-search-elasticsearch6/portal-search-elasticsearch6-impl/src/test/java/com/liferay/portal/search/elasticsearch6/internal/search/engine/adapter/ElasticsearchSearchEngineAdapterIndexRequestTest.java:315: error: incompatible types: IndexResponse cannot be converted to PutMappingIndexResponse
           [exec] 			_searchEngineAdapter.execute(putMappingIndexRequest);
           [exec] 			                            ^
      

      :apps:portal-search-elasticsearch7:portal-search-elasticsearch7-impl:compileTestJava is also failing with similar errors:

           [exec] /opt/dev/projects/github/liferay-portal/modules/apps/portal-search-elasticsearch7/portal-search-elasticsearch7-impl/src/test/java/com/liferay/portal/search/elasticsearch7/internal/search/engine/adapter/ElasticsearchSearchEngineAdapterIndexRequestTest.java:401: error: incompatible types: IndexResponse cannot be converted to GetFieldMappingIndexResponse
           [exec] 			_searchEngineAdapter.execute(getFieldMappingIndexRequest);
           [exec] 			                            ^
           [exec] /opt/dev/projects/github/liferay-portal/modules/apps/portal-search-elasticsearch7/portal-search-elasticsearch7-impl/src/test/java/com/liferay/portal/search/elasticsearch7/internal/search/engine/adapter/ElasticsearchSearchEngineAdapterIndexRequestTest.java:453: error: incompatible types: IndexResponse cannot be converted to GetMappingIndexResponse
           [exec] 			_searchEngineAdapter.execute(getMappingIndexRequest);
           [exec] 			                            ^
           [exec] /opt/dev/projects/github/liferay-portal/modules/apps/portal-search-elasticsearch7/portal-search-elasticsearch7-impl/src/test/java/com/liferay/portal/search/elasticsearch7/internal/search/engine/adapter/ElasticsearchSearchEngineAdapterIndexRequestTest.java:517: error: incompatible types: IndexResponse cannot be converted to PutMappingIndexResponse
           [exec] 			_searchEngineAdapter.execute(putMappingIndexRequest);
           [exec] 			                            ^
      

      Reproduced on:
      Portal master git commit: 51e2d5fd6bf71eb9b65bb13af016494554c20f68
       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                joshua.chong Joshua Chong
                Reporter:
                joshua.chong Joshua Chong
                Participants of an Issue:
                Recent user:
                Jason Pince
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  29 weeks, 3 days ago

                  Packages

                  Version Package
                  7.3.0 CE GA1
                  Master