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/09/29 03:13:35 UTC

[GitHub] [openwhisk] nightlessbaron opened a new issue #5163: CreateProcess error=206, The filename or extension is too long

nightlessbaron opened a new issue #5163:
URL: https://github.com/apache/openwhisk/issues/5163


   <!--
   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:
   
   * Windows 10
   * JDK 10, Gradle 5.5 
   
   ## Steps to reproduce the issue:
   
   1.   `gradlew core:standalone:bootRun`
   
   ## Provide the expected results and outputs:
   
   ```
   Installation successful
   ```
   
   
   ## Provide the actual results and outputs:
   
   ```
   Exception is:
   org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':core:standalone:bootRun'.
           at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$3.accept(ExecuteActionsTaskExecuter.java:148)
           at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$3.accept(ExecuteActionsTaskExecuter.java:145)
           at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(Try.java:191)
           at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:138)
           at org.gradle.api.internal.tasks.execution.ResolveBeforeExecutionStateTaskExecuter.execute(ResolveBeforeExecutionStateTaskExecuter.java:75)
           at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:62)
           at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:108)
           at org.gradle.api.internal.tasks.execution.ResolveBeforeExecutionOutputsTaskExecuter.execute(ResolveBeforeExecutionOutputsTaskExecuter.java:67)
           at org.gradle.api.internal.tasks.execution.StartSnapshotTaskInputsBuildOperationTaskExecuter.execute(StartSnapshotTaskInputsBuildOperationTaskExecuter.java:62)
           at org.gradle.api.internal.tasks.execution.ResolveAfterPreviousExecutionStateTaskExecuter.execute(ResolveAfterPreviousExecutionStateTaskExecuter.java:46)
           at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:94)
           at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
           at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:95)
           at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)
           at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:56)
           at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
           at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:73)
           at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
           at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:49)
           at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:416)
           at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:406)
           at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:165)
           at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:250)
           at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:158)
           at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:102)
           at org.gradle.internal.operations.DelegatingBuildOperationExecutor.call(DelegatingBuildOperationExecutor.java:36)
           at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:49)
           at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:43)
           at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:355)
           at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:343)
           at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:336)
           at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:322)
           at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker$1.execute(DefaultPlanExecutor.java:134)
           at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker$1.execute(DefaultPlanExecutor.java:129)
           at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:202)
           at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.executeNextNode(DefaultPlanExecutor.java:193)
           at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:129)
           at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
           at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
           at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
   Caused by: org.gradle.process.internal.ExecException: A problem occurred starting process 'command 'C:\Program Files\Java\jdk-10.0.2\bin\java.exe''
           at org.gradle.process.internal.DefaultExecHandle.execExceptionFor(DefaultExecHandle.java:232)
           at org.gradle.process.internal.DefaultExecHandle.setEndStateInfo(DefaultExecHandle.java:209)
           at org.gradle.process.internal.DefaultExecHandle.failed(DefaultExecHandle.java:356)
           at org.gradle.process.internal.ExecHandleRunner.run(ExecHandleRunner.java:86)
           at org.gradle.internal.operations.CurrentBuildOperationPreservingRunnable.run(CurrentBuildOperationPreservingRunnable.java:42)
           ... 3 more
   Caused by: net.rubygrapefruit.platform.NativeException: Could not start 'C:\Program Files\Java\jdk-10.0.2\bin\java.exe'
           at net.rubygrapefruit.platform.internal.DefaultProcessLauncher.start(DefaultProcessLauncher.java:27)
           at net.rubygrapefruit.platform.internal.WindowsProcessLauncher.start(WindowsProcessLauncher.java:22)
           at net.rubygrapefruit.platform.internal.WrapperProcessLauncher.start(WrapperProcessLauncher.java:36)
           at org.gradle.process.internal.ExecHandleRunner.startProcess(ExecHandleRunner.java:97)
           at org.gradle.process.internal.ExecHandleRunner.run(ExecHandleRunner.java:70)
           ... 4 more
   Caused by: java.io.IOException: Cannot run program "C:\Program Files\Java\jdk-10.0.2\bin\java.exe" (in directory "C:\Users\...\openwhisk\core\standalone"): CreateProcess error=206, The filename or extension is too long
           at net.rubygrapefruit.platform.internal.DefaultProcessLauncher.start(DefaultProcessLauncher.java:25)
           ... 8 more
   Caused by: java.io.IOException: CreateProcess error=206, The filename or extension is too long
           ... 9 more
   ```
   
   ## Additional information you deem important:
   * How to resolve this issue? I am not used to gradle, so I am not able to figure out how to resolve this issue.
   * @rabbah, can you please have a look at this? Thank you.
   


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@openwhisk.apache.org

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



[GitHub] [openwhisk] nightlessbaron commented on issue #5163: CreateProcess error=206, The filename or extension is too long

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


   Hello @rabbah, I noticed on a forum that `Gradle version 6.x` resolves `error=206`.
   - Thus, I changed the version in `gradle-wrapper.properties` to `6.0`.
   - Also, apart from this, I had to make a few changes in `build.gradle` 
   - `buildScan` is not compatible with version 6.x, and as I didn't know how to go resolve it in GradleEnterprise plugin, I just removed it for now.
   - I also had to add `classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.13'` in `buildscript -> dependancies`
   - This resulted in installing the open whisk till 97%, after which playground was accessible. I assume, that the installation is complete as you also mentioned it in issue #5023.
   Can you please let me know if there would be any issues with this installation process? I know that this is not the best solution to go about it, but I am familiar with Gradle, thus have to resort to such means. Let me know if you can point to some better solution. Thank you.


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@openwhisk.apache.org

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



[GitHub] [openwhisk] nightlessbaron edited a comment on issue #5163: CreateProcess error=206, The filename or extension is too long

Posted by GitBox <gi...@apache.org>.
nightlessbaron edited a comment on issue #5163:
URL: https://github.com/apache/openwhisk/issues/5163#issuecomment-929843178






-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@openwhisk.apache.org

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



[GitHub] [openwhisk] rabbah commented on issue #5163: CreateProcess error=206, The filename or extension is too long

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


   When you use standalone openwhisk, the gradle build runs the JVM and the openwhisk server, it will not complete. Your deployment is ready to use, try it form another terminal.


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@openwhisk.apache.org

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



[GitHub] [openwhisk] rabbah commented on issue #5163: CreateProcess error=206, The filename or extension is too long

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


   When you use standalone openwhisk, the gradle build runs the JVM and the openwhisk server, it will not complete. Your deployment is ready to use, try it form another terminal.


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@openwhisk.apache.org

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



[GitHub] [openwhisk] nightlessbaron commented on issue #5163: CreateProcess error=206, The filename or extension is too long

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


   Thanks, @rabbah. I am closing this issue


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@openwhisk.apache.org

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



[GitHub] [openwhisk] nightlessbaron closed issue #5163: CreateProcess error=206, The filename or extension is too long

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


   


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@openwhisk.apache.org

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



[GitHub] [openwhisk] nightlessbaron edited a comment on issue #5163: CreateProcess error=206, The filename or extension is too long

Posted by GitBox <gi...@apache.org>.
nightlessbaron edited a comment on issue #5163:
URL: https://github.com/apache/openwhisk/issues/5163#issuecomment-929843178


   Hello @rabbah, I noticed on a forum that `Gradle version 6.x` resolves `error=206`.
   - Thus, I changed the version in `gradle-wrapper.properties` to `6.0`.
   - Also, apart from this, I had to make a few changes in `build.gradle` 
   - `buildScan` is not compatible with version 6.x, and as I didn't know how to go resolve it in GradleEnterprise plugin, I just removed it for now.
   - I also had to add `classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.13'` in `buildscript -> dependancies`
   - This resulted in installing the open whisk till 97%, after which playground was accessible. I assume, that the installation is complete as you also mentioned it in issue #5023.
   
   Can you please let me know if there would be any issues with this installation process? I know that this is not the best solution to go about it, but I am not familiar with Gradle, thus have to resort to such means. Let me know if you can point to some better solution. Thank you.


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@openwhisk.apache.org

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



[GitHub] [openwhisk] nightlessbaron commented on issue #5163: CreateProcess error=206, The filename or extension is too long

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


   Hello @rabbah, I noticed on a forum that `Gradle version 6.x` resolves `error=206`.
   - Thus, I changed the version in `gradle-wrapper.properties` to `6.0`.
   - Also, apart from this, I had to make a few changes in `build.gradle` 
   - `buildScan` is not compatible with version 6.x, and as I didn't know how to go resolve it in GradleEnterprise plugin, I just removed it for now.
   - I also had to add `classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.13'` in `buildscript -> dependancies`
   - This resulted in installing the open whisk till 97%, after which playground was accessible. I assume, that the installation is complete as you also mentioned it in issue #5023.
   Can you please let me know if there would be any issues with this installation process? I know that this is not the best solution to go about it, but I am familiar with Gradle, thus have to resort to such means. Let me know if you can point to some better solution. Thank you.


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@openwhisk.apache.org

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



[GitHub] [openwhisk] nightlessbaron closed issue #5163: CreateProcess error=206, The filename or extension is too long

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


   


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@openwhisk.apache.org

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



[GitHub] [openwhisk] nightlessbaron commented on issue #5163: CreateProcess error=206, The filename or extension is too long

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


   Thanks, @rabbah. I am closing this issue


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@openwhisk.apache.org

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



[GitHub] [openwhisk] nightlessbaron edited a comment on issue #5163: CreateProcess error=206, The filename or extension is too long

Posted by GitBox <gi...@apache.org>.
nightlessbaron edited a comment on issue #5163:
URL: https://github.com/apache/openwhisk/issues/5163#issuecomment-929843178


   Hello @rabbah, I noticed on a forum that `Gradle version 6.x` resolves `error=206`.
   - Thus, I changed the version in `gradle-wrapper.properties` to `6.0`.
   - Also, apart from this, I had to make a few changes in `build.gradle` 
   - `buildScan` is not compatible with version 6.x, and as I didn't know how to go resolve it in GradleEnterprise plugin, I just removed it for now.
   - I also had to add `classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.13'` in `buildscript -> dependancies`
   - This resulted in installing the open whisk till 97%, after which playground was accessible. I assume, that the installation is complete as you also mentioned it in issue #5023.
   Can you please let me know if there would be any issues with this installation process? I know that this is not the best solution to go about it, but I am not familiar with Gradle, thus have to resort to such means. Let me know if you can point to some better solution. Thank you.


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@openwhisk.apache.org

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