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

Execution failed for task ':apps:oauth2-provider:oauth2-provider-service:compileTestJava'

    Details

      Description

      Occurred on master acceptance CI tester, modules-unit-jdk8 batch:

       [exec] /opt/dev/projects/github/liferay-portal/modules/apps/oauth2-provider/oauth2-provider-service/src/test/java/com/liferay/oauth2/provider/service/impl/OAuth2ScopeBuilderImplTest.java:37: error: package org.apache.commons.compress.utils does not exist
           [exec] import org.apache.commons.compress.utils.Sets;
           [exec]                                         ^
           [exec] /opt/dev/projects/github/liferay-portal/modules/apps/oauth2-provider/oauth2-provider-service/src/test/java/com/liferay/oauth2/provider/service/impl/OAuth2ScopeBuilderImplTest.java:104: error: cannot find symbol
           [exec] 				"Test.Application2", Sets.newHashSet("application2.everything")
           [exec] 				                     ^
           [exec]   symbol:   variable Sets
           [exec]   location: class OAuth2ScopeBuilderImplTest
           [exec] /opt/dev/projects/github/liferay-portal/modules/apps/oauth2-provider/oauth2-provider-service/src/test/java/com/liferay/oauth2/provider/service/impl/OAuth2ScopeBuilderImplTest.java:102: error: cannot find symbol
           [exec] 				"Test.Application1", Sets.newHashSet("application1.everything")
           [exec] 				                     ^
           [exec]   symbol:   variable Sets
           [exec]   location: class OAuth2ScopeBuilderImplTest
           [exec] /opt/dev/projects/github/liferay-portal/modules/apps/oauth2-provider/oauth2-provider-service/src/test/java/com/liferay/oauth2/provider/service/impl/OAuth2ScopeBuilderImplTest.java:158: error: cannot find symbol
           [exec] 		Set<String> scopes = Sets.newHashSet(
           [exec] 		                     ^
           [exec]   symbol:   variable Sets
           [exec]   location: class OAuth2ScopeBuilderImplTest
           [exec] /opt/dev/projects/github/liferay-portal/modules/apps/oauth2-provider/oauth2-provider-service/src/test/java/com/liferay/oauth2/provider/service/impl/OAuth2ScopeBuilderImplTest.java:201: error: cannot find symbol
           [exec] 		Set<String> scopes = Sets.newHashSet(scopesArray);
           [exec] 		                     ^
           [exec]   symbol:   variable Sets
           [exec]   location: class OAuth2ScopeBuilderImplTest
           [exec] 5 errors
      
      [exec] Execution failed for task ':apps:oauth2-provider:oauth2-provider-service:compileTestJava'.
       [exec] > Compilation failed; see the compiler error output for details.
       [exec] 
       [exec] * Try:
       [exec] Run with --info or --debug option to get more log output. Run with --scan to get full insights.
       [exec] 
       [exec] * Exception is:
       [exec] org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':apps:oauth2-provider:oauth2-provider-service:compileTestJava'.
       [exec] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$3.accept(ExecuteActionsTaskExecuter.java:166)
       [exec] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$3.accept(ExecuteActionsTaskExecuter.java:163)
       [exec] at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(Try.java:191)
       [exec] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:156)
       [exec] at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:62)
       [exec] at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:108)
       [exec] at org.gradle.api.internal.tasks.execution.ResolveBeforeExecutionOutputsTaskExecuter.execute(ResolveBeforeExecutionOutputsTaskExecuter.java:67)
       [exec] at org.gradle.api.internal.tasks.execution.ResolveAfterPreviousExecutionStateTaskExecuter.execute(ResolveAfterPreviousExecutionStateTaskExecuter.java:46)
       [exec] at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:94)
       [exec] at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
       [exec] at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:95)
       [exec] at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)
       [exec] at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:56)
       [exec] at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
       [exec] at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)
       [exec] at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)
       [exec] at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
       [exec] at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:416)
       [exec] at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:406)
       [exec] at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:165)

       

      Full console log:

      https://test-1-13.liferay.com/job/test-portal-acceptance-pullrequest-batch(master)/AXIS_VARIABLE=0,label_exp=!master/311912/consoleFull

        Attachments

          Activity

            People

            Assignee:
            della.wang Della Wang (Inactive)
            Reporter:
            della.wang Della Wang (Inactive)
            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:
              1 year, 16 weeks, 2 days ago

                Packages

                Version Package
                7.3.0 CE GA1
                7.3.10 DXP GA1
                Master