You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2021/06/07 08:22:20 UTC

[GitHub] [openwhisk] GitHubDiom opened a new issue #5124: Execution failed for task ':core:invoker:compileScala'.

GitHubDiom opened a new issue #5124:
URL: https://github.com/apache/openwhisk/issues/5124


   <!--
   We use the issue tracker for bugs and feature requests. For general questions and discussion please use http://slack.openwhisk.org/ or https://openwhisk.apache.org/contact.html instead.
   
   Do NOT share passwords, credentials or other confidential information.
   
   Before creating a new issue, please check if there is one already open that
   fits the defect you are reporting.
   If you open an issue and realize later it is a duplicate of a pre-existing
   open issue, please close yours and add a comment to the other.
   
   Issues can be created for either defects or enhancement requests. If you are a committer than please add the labels "bug" or "feature". If you are not a committer please make clear in the comments which one it is, so that committers can add these labels later.
   
   If you are reporting a defect, please edit the issue description to include the
   information shown below.
   
   If you are reporting an enhancement request, please include information on what you are trying to achieve and why that enhancement would help you.
   
   For more information about reporting issues, see
   https://github.com/apache/openwhisk/blob/master/CONTRIBUTING.md#raising-issues
   
   Use the commands below to provide key information from your environment:
   You do not have to include this information if this is a feature request.
   -->
   
   ## Environment details:
   
   * vagrant: ubuntu/binoic64, box version: 20210415.0.0
   * Docker version 19.03.5, build 633a0ea838
   * Run script `tools/ubuntu-setup/all.sh` with `sudo` to install the dependencies
   
   
   ## Steps to reproduce the issue:
   
   1.   ./gradlew core:standalone:bootRun
   2.   
   3.   
   
   
   ## Provide the expected results and outputs:
   
   ```
   The OpenWhisk stack should up
   ```
   
   
   ## Provide the actual results and outputs:
   
   ```
   vagrant@wsk-01:~/openwhisk$ ./gradlew core:standalone:bootRun
   Build using Scala 2.12
   
   > Configure project :core:scheduler
   [task ':core:scheduler:assemble', task ':core:scheduler:assembleDist', task ':core:scheduler:build', task ':core:scheduler:buildDependents', task ':core:scheduler:buildEnvironment', task ':core:scheduler:buildNeeded', task ':core:scheduler:check', task ':core:scheduler:checkScalafmt', task ':core:scheduler:checkScalafmtAll', task ':core:scheduler:checkScoverage', task ':core:scheduler:checkScoverageScalafmt', task ':core:scheduler:checkTestScalafmt', task ':core:scheduler:classes', task ':core:scheduler:clean', task ':core:scheduler:cleanEclipse', task ':core:scheduler:cleanEclipseClasspath', task ':core:scheduler:cleanEclipseJdt', task ':core:scheduler:cleanEclipseProject', task ':core:scheduler:compileJava', task ':core:scheduler:compileScala', task ':core:scheduler:compileScoverageJava', task ':core:scheduler:compileScoverageScala', task ':core:scheduler:compileTestJava', task ':core:scheduler:compileTestScala', task ':core:scheduler:components', task ':core:scheduler:dependenc
 ies', task ':core:scheduler:dependencyInsight', task ':core:scheduler:dependentComponents', task ':core:scheduler:distTar', task ':core:scheduler:distZip', task ':core:scheduler:eclipse', task ':core:scheduler:eclipseClasspath', task ':core:scheduler:eclipseJdt', task ':core:scheduler:eclipseProject', task ':core:scheduler:help', task ':core:scheduler:install', task ':core:scheduler:installDist', task ':core:scheduler:jar', task ':core:scheduler:javadoc', task ':core:scheduler:model', task ':core:scheduler:prepareKotlinBuildScriptModel', task ':core:scheduler:processResources', task ':core:scheduler:processScoverageResources', task ':core:scheduler:processTestResources', task ':core:scheduler:projects', task ':core:scheduler:properties', task ':core:scheduler:reportScoverage', task ':core:scheduler:run', task ':core:scheduler:scaladoc', task ':core:scheduler:scalafmt', task ':core:scheduler:scalafmtAll', task ':core:scheduler:scoverageClasses', task ':core:scheduler:scoverageScalafm
 t', task ':core:scheduler:startScripts', task ':core:scheduler:tasks', task ':core:scheduler:test', task ':core:scheduler:testClasses', task ':core:scheduler:testScalafmt']
   Scala sub-project 'gatling_tests' doesn't have Scoverage applied and will be ignored in parent project aggregation
   
   > Task :core:invoker:compileScala
   Pruning sources from previous analysis, due to incompatible CompileSetup.
   /home/vagrant/openwhisk/core/invoker/src/main/scala/org/apache/openwhisk/core/containerpool/v2/ActivationClientProxy.scala:76: class ActorMaterializer in package stream is deprecated (since 2.6.0): The Materializer now has all methods the ActorMaterializer used to have
     mat: ActorMaterializer,
          ^
   /home/vagrant/openwhisk/core/invoker/src/main/scala/org/apache/openwhisk/core/containerpool/v2/ActivationClientProxy.scala:414: class ActorMaterializer in package stream is deprecated (since 2.6.0): The Materializer now has all methods the ActorMaterializer used to have
                                                                                      mat: ActorMaterializer,
                                                                                           ^
   /home/vagrant/openwhisk/core/invoker/src/main/scala/org/apache/openwhisk/core/containerpool/v2/FunctionPullingContainerProxy.scala:197: class ActorMaterializer in package stream is deprecated (since 2.6.0): The Materializer now has all methods the ActorMaterializer used to have
     testTcp: Option[ActorRef])(implicit actorSystem: ActorSystem, mat: ActorMaterializer, logging: Logging)
                                                                        ^
   /home/vagrant/openwhisk/core/invoker/src/main/scala/org/apache/openwhisk/core/containerpool/v2/FunctionPullingContainerProxy.scala:376: method setTimer in trait FSM is deprecated (since 2.6.0): Use startSingleTimer, startTimerWithFixedDelay or startTimerAtFixedRate instead. This has the same semantics as startTimerAtFixedRate, but startTimerWithFixedDelay is often preferred.
         setTimer(UnusedTimeoutName, StateTimeout, unusedTimeout)
         ^
   /home/vagrant/openwhisk/core/invoker/src/main/scala/org/apache/openwhisk/core/containerpool/v2/FunctionPullingContainerProxy.scala:509: method setTimer in trait FSM is deprecated (since 2.6.0): Use startSingleTimer, startTimerWithFixedDelay or startTimerAtFixedRate instead. This has the same semantics as startTimerAtFixedRate, but startTimerWithFixedDelay is often preferred.
         setTimer(UnusedTimeoutName, StateTimeout, unusedTimeout)
         ^
   /home/vagrant/openwhisk/core/invoker/src/main/scala/org/apache/openwhisk/core/containerpool/v2/FunctionPullingContainerProxy.scala:616: method setTimer in trait FSM is deprecated (since 2.6.0): Use startSingleTimer, startTimerWithFixedDelay or startTimerAtFixedRate instead. This has the same semantics as startTimerAtFixedRate, but startTimerWithFixedDelay is often preferred.
           setTimer(RunningActivationTimeoutName, ClientClosed, runningActivationTimeout)
           ^
   /home/vagrant/openwhisk/core/invoker/src/main/scala/org/apache/openwhisk/core/containerpool/v2/FunctionPullingContainerProxy.scala:677: method setTimer in trait FSM is deprecated (since 2.6.0): Use startSingleTimer, startTimerWithFixedDelay or startTimerAtFixedRate instead. This has the same semantics as startTimerAtFixedRate, but startTimerWithFixedDelay is often preferred.
             setTimer(UnusedTimeoutName, StateTimeout, unusedTimeout)
             ^
   /home/vagrant/openwhisk/core/invoker/src/main/scala/org/apache/openwhisk/core/containerpool/v2/FunctionPullingContainerProxy.scala:718: method setTimer in trait FSM is deprecated (since 2.6.0): Use startSingleTimer, startTimerWithFixedDelay or startTimerAtFixedRate instead. This has the same semantics as startTimerAtFixedRate, but startTimerWithFixedDelay is often preferred.
         setTimer(KeepingTimeoutName, Remove, warmedContainerKeepingTimeout)
         ^
   /home/vagrant/openwhisk/core/invoker/src/main/scala/org/apache/openwhisk/core/containerpool/v2/FunctionPullingContainerProxy.scala:780: method setTimer in trait FSM is deprecated (since 2.6.0): Use startSingleTimer, startTimerWithFixedDelay or startTimerAtFixedRate instead. This has the same semantics as startTimerAtFixedRate, but startTimerWithFixedDelay is often preferred.
       case _ -> Paused   => setTimer(IdleTimeoutName, StateTimeout, idleTimeout)
                             ^
   /home/vagrant/openwhisk/core/invoker/src/main/scala/org/apache/openwhisk/core/containerpool/v2/FunctionPullingContainerProxy.scala:1248: class ActorMaterializer in package stream is deprecated (since 2.6.0): The Materializer now has all methods the ActorMaterializer used to have
               tcp: Option[ActorRef] = None)(implicit actorSystem: ActorSystem, mat: ActorMaterializer, logging: Logging) =
                                                                                     ^
   10 errors found
   
   > Task :core:invoker:compileScala FAILED
   
   FAILURE: Build failed with an exception.
   
   * What went wrong:
   Execution failed for task ':core:invoker:compileScala'.
   > Compilation failed
   
   * Try:
   Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
   
   * Get more help at https://help.gradle.org
   
   Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
   Use '--warning-mode all' to show the individual deprecation warnings.
   See https://docs.gradle.org/5.5.1/userguide/command_line_interface.html#sec:command_line_warnings
   
   BUILD FAILED in 25s
   12 actionable tasks: 2 executed, 10 up-to-date
   ```
   
   ## Additional information you deem important:
   * issue happens always
   * changes nothing
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [openwhisk] GitHubDiom commented on issue #5124: Execution failed for task ':core:invoker:compileScala'.

Posted by GitBox <gi...@apache.org>.
GitHubDiom commented on issue #5124:
URL: https://github.com/apache/openwhisk/issues/5124#issuecomment-855824924


   > > sorry for the error, I think it should be fixed by this #5123
   > 
   > Thanks for the reply, but another problem seems to have cropped up
   > 
   > ```shell
   > vagrant@wsk-01:~/openwhisk$ ./gradlew core:standalone:bootRun
   > Build using Scala 2.12
   > 
   > > Configure project :core:scheduler
   > [task ':core:scheduler:assemble', task ':core:scheduler:assembleDist', task ':core:scheduler:build', task ':core:scheduler:buildDependents', task ':core:scheduler:buildEnvironment', task ':core:scheduler:buildNeeded', task ':core:scheduler:check', task ':core:scheduler:checkScalafmt', task ':core:scheduler:checkScalafmtAll', task ':core:scheduler:checkScoverage', task ':core:scheduler:checkScoverageScalafmt', task ':core:scheduler:checkTestScalafmt', task ':core:scheduler:classes', task ':core:scheduler:clean', task ':core:scheduler:cleanEclipse', task ':core:scheduler:cleanEclipseClasspath', task ':core:scheduler:cleanEclipseJdt', task ':core:scheduler:cleanEclipseProject', task ':core:scheduler:compileJava', task ':core:scheduler:compileScala', task ':core:scheduler:compileScoverageJava', task ':core:scheduler:compileScoverageScala', task ':core:scheduler:compileTestJava', task ':core:scheduler:compileTestScala', task ':core:scheduler:components', task ':core:scheduler:depende
 ncies', task ':core:scheduler:dependencyInsight', task ':core:scheduler:dependentComponents', task ':core:scheduler:distTar', task ':core:scheduler:distZip', task ':core:scheduler:eclipse', task ':core:scheduler:eclipseClasspath', task ':core:scheduler:eclipseJdt', task ':core:scheduler:eclipseProject', task ':core:scheduler:help', task ':core:scheduler:install', task ':core:scheduler:installDist', task ':core:scheduler:jar', task ':core:scheduler:javadoc', task ':core:scheduler:model', task ':core:scheduler:prepareKotlinBuildScriptModel', task ':core:scheduler:processResources', task ':core:scheduler:processScoverageResources', task ':core:scheduler:processTestResources', task ':core:scheduler:projects', task ':core:scheduler:properties', task ':core:scheduler:reportScoverage', task ':core:scheduler:run', task ':core:scheduler:scaladoc', task ':core:scheduler:scalafmt', task ':core:scheduler:scalafmtAll', task ':core:scheduler:scoverageClasses', task ':core:scheduler:scoverageScala
 fmt', task ':core:scheduler:startScripts', task ':core:scheduler:tasks', task ':core:scheduler:test', task ':core:scheduler:testClasses', task ':core:scheduler:testScalafmt']
   > Scala sub-project 'gatling_tests' doesn't have Scoverage applied and will be ignored in parent project aggregation
   > 
   > > Task :core:standalone:copyGWActions FAILED
   > 
   > FAILURE: Build failed with an exception.
   > 
   > * Where:
   > Build file '/home/vagrant/openwhisk/core/standalone/build.gradle' line: 64
   > 
   > * What went wrong:
   > Execution failed for task ':core:standalone:copyGWActions'.
   > > Execute failed: java.io.IOException: Cannot run program "npm" (in directory "/home/vagrant/openwhisk/core/routemgmt/createApi"): error=2, No such file or directory
   > 
   > * Try:
   > Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
   > 
   > * Get more help at https://help.gradle.org
   > 
   > Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
   > Use '--warning-mode all' to show the individual deprecation warnings.
   > See https://docs.gradle.org/5.5.1/userguide/command_line_interface.html#sec:command_line_warnings
   > 
   > BUILD FAILED in 1s
   > 23 actionable tasks: 3 executed, 20 up-to-date
   > ```
   
   solved by `sudo apt install npm`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [openwhisk] GitHubDiom commented on issue #5124: Execution failed for task ':core:invoker:compileScala'.

Posted by GitBox <gi...@apache.org>.
GitHubDiom commented on issue #5124:
URL: https://github.com/apache/openwhisk/issues/5124#issuecomment-855794780


   > sorry for the error, I think it should be fixed by this #5123
   
   Thanks for the reply, but another problem seems to have cropped up
   
   ```shell
   vagrant@wsk-01:~/openwhisk$ ./gradlew core:standalone:bootRun
   Build using Scala 2.12
   
   > Configure project :core:scheduler
   [task ':core:scheduler:assemble', task ':core:scheduler:assembleDist', task ':core:scheduler:build', task ':core:scheduler:buildDependents', task ':core:scheduler:buildEnvironment', task ':core:scheduler:buildNeeded', task ':core:scheduler:check', task ':core:scheduler:checkScalafmt', task ':core:scheduler:checkScalafmtAll', task ':core:scheduler:checkScoverage', task ':core:scheduler:checkScoverageScalafmt', task ':core:scheduler:checkTestScalafmt', task ':core:scheduler:classes', task ':core:scheduler:clean', task ':core:scheduler:cleanEclipse', task ':core:scheduler:cleanEclipseClasspath', task ':core:scheduler:cleanEclipseJdt', task ':core:scheduler:cleanEclipseProject', task ':core:scheduler:compileJava', task ':core:scheduler:compileScala', task ':core:scheduler:compileScoverageJava', task ':core:scheduler:compileScoverageScala', task ':core:scheduler:compileTestJava', task ':core:scheduler:compileTestScala', task ':core:scheduler:components', task ':core:scheduler:dependenc
 ies', task ':core:scheduler:dependencyInsight', task ':core:scheduler:dependentComponents', task ':core:scheduler:distTar', task ':core:scheduler:distZip', task ':core:scheduler:eclipse', task ':core:scheduler:eclipseClasspath', task ':core:scheduler:eclipseJdt', task ':core:scheduler:eclipseProject', task ':core:scheduler:help', task ':core:scheduler:install', task ':core:scheduler:installDist', task ':core:scheduler:jar', task ':core:scheduler:javadoc', task ':core:scheduler:model', task ':core:scheduler:prepareKotlinBuildScriptModel', task ':core:scheduler:processResources', task ':core:scheduler:processScoverageResources', task ':core:scheduler:processTestResources', task ':core:scheduler:projects', task ':core:scheduler:properties', task ':core:scheduler:reportScoverage', task ':core:scheduler:run', task ':core:scheduler:scaladoc', task ':core:scheduler:scalafmt', task ':core:scheduler:scalafmtAll', task ':core:scheduler:scoverageClasses', task ':core:scheduler:scoverageScalafm
 t', task ':core:scheduler:startScripts', task ':core:scheduler:tasks', task ':core:scheduler:test', task ':core:scheduler:testClasses', task ':core:scheduler:testScalafmt']
   Scala sub-project 'gatling_tests' doesn't have Scoverage applied and will be ignored in parent project aggregation
   
   > Task :core:standalone:copyGWActions FAILED
   
   FAILURE: Build failed with an exception.
   
   * Where:
   Build file '/home/vagrant/openwhisk/core/standalone/build.gradle' line: 64
   
   * What went wrong:
   Execution failed for task ':core:standalone:copyGWActions'.
   > Execute failed: java.io.IOException: Cannot run program "npm" (in directory "/home/vagrant/openwhisk/core/routemgmt/createApi"): error=2, No such file or directory
   
   * Try:
   Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
   
   * Get more help at https://help.gradle.org
   
   Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
   Use '--warning-mode all' to show the individual deprecation warnings.
   See https://docs.gradle.org/5.5.1/userguide/command_line_interface.html#sec:command_line_warnings
   
   BUILD FAILED in 1s
   23 actionable tasks: 3 executed, 20 up-to-date
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [openwhisk] jiangpengcheng commented on issue #5124: Execution failed for task ':core:invoker:compileScala'.

Posted by GitBox <gi...@apache.org>.
jiangpengcheng commented on issue #5124:
URL: https://github.com/apache/openwhisk/issues/5124#issuecomment-855772010


   sorry for the error, I think it should be fixed by this https://github.com/apache/openwhisk/pull/5123


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [openwhisk] GitHubDiom closed issue #5124: Execution failed for task ':core:invoker:compileScala'.

Posted by GitBox <gi...@apache.org>.
GitHubDiom closed issue #5124:
URL: https://github.com/apache/openwhisk/issues/5124


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org