paul42 opened a new issue #60:
URL: https://github.com/apache/openwhisk-runtime-dotnet/issues/60
Hey everyone, I'm working on getting .net6.0 working and I'm not used to
gradle unfortunately - when I run it in the openwhisk-runtime-dot as `gradle
build` I get an error about compileTestScala:
I'm running this on my ubuntu 18.04 WSL2 terminal.
my thought is that I need to get all the tests to run against the basic
openwhisk repo, but when I run that I get lots of tests failing with
`initializationError` are there any docs around about how to get the tests to
build/compile/pass for the basic openwhisk repo and then how to do so for a new
runtime?
Do you have to have openwhisk running in standalone mode to have the gradle
build pass?
Output of dotnet runtime's `gradle build`
```
> Task :tests:compileTestScala FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':tests:compileTestScala'.
> Could not resolve all files for configuration
':tests:testCompileClasspath'.
> Could not find org.apache.openwhisk:openwhisk-tests:1.0.0-SNAPSHOT.
Searched in the following locations:
-
https://repo.maven.apache.org/maven2/org/apache/openwhisk/openwhisk-tests/1.0.0-SNAPSHOT/maven-metadata.xml
-
https://repo.maven.apache.org/maven2/org/apache/openwhisk/openwhisk-tests/1.0.0-SNAPSHOT/openwhisk-tests-1.0.0-SNAPSHOT.pom
-
https://repo.maven.apache.org/maven2/org/apache/openwhisk/openwhisk-tests/1.0.0-SNAPSHOT/openwhisk-tests-1.0.0-SNAPSHOT-tests.jar
-
file:/home/paul42/.m2/repository/org/apache/openwhisk/openwhisk-tests/1.0.0-SNAPSHOT/maven-metadata.xml
-
file:/home/paul42/.m2/repository/org/apache/openwhisk/openwhisk-tests/1.0.0-SNAPSHOT/openwhisk-tests-1.0.0-SNAPSHOT.pom
-
file:/home/paul42/.m2/repository/org/apache/openwhisk/openwhisk-tests/1.0.0-SNAPSHOT/openwhisk-tests-1.0.0-SNAPSHOT-tests.jar
Required by:
project :tests
* 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
BUILD FAILED in 25s
26 actionable tasks: 25 executed, 1 up-to-date
```
lots of errors in the test file for the `gradle build` in the openwhisk repo:
`java.lang.AssertionError: could not determine openwhisk home` etc.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]