Hi,
I'm trying to build the code for Randoop. I have cloned the project from GitHub, and the first instruction to build the project is: ./gradlew build manual
it keeps on building for almost 7 mins, and a lot of tests pass, then at 57%, specifically at (randoop.main.minimizer.MinimizerTests > testWithMulitpleTestCases), the build fails with an exception.
The exception details are as follows:
Attempt 1 failed:
command: [.\gradlew, -q, printJunitJarPath]
exit status: -559038737 (failure)
standard output:
error output:
Attempt 2 failed:
command: [.\gradlew, -q, printJunitJarPath]
exit status: -559038737 (failure)
standard output:
error output:
Attempt 3 failed:
command: [.\gradlew, -q, printJunitJarPath]
exit status: -559038737 (failure)
standard output:
error output:
Failed to run: ./gradlew -q printJunitJarPath
Working directory: [path]
[path]\.project
[path]\.settings
[path]\.travis-build.sh
[path]\.travis.yml
[path]\agent
[path]\azure-pipelines.yml
[path]\bin
[path]\build
[path]\build.gradle
[path]\src
user.dir: [path]\build\resources
Unexpected exception thrown.
org.gradle.internal.remote.internal.MessageIOException: Could not write '/127.0.0.1:52115'.
at org.gradle.internal.remote.internal.inet.SocketConnection.flush(SocketConnection.java:140)
at org.gradle.internal.remote.internal.hub.MessageHub$ConnectionDispatch.run(MessageHub.java:331)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: An existing connection was forcibly closed by the remote host
at sun.nio.ch.SocketDispatcher.write0(Native Method)
at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:51)
at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)
at sun.nio.ch.IOUtil.write(IOUtil.java:51)
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:471)
at org.gradle.internal.remote.internal.inet.SocketConnection$SocketOutputStream.writeWithNonBlockingRetry(SocketConnection.java:279)
at org.gradle.internal.remote.internal.inet.SocketConnection$SocketOutputStream.writeBufferToChannel(SocketConnection.java:267)
at org.gradle.internal.remote.internal.inet.SocketConnection$SocketOutputStream.flush(SocketConnection.java:261)
at org.gradle.internal.remote.internal.inet.SocketConnection.flush(SocketConnection.java:138)
... 7 more
> Task :test FAILED
41 tests completed, 2 failed, 1 skipped
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':test'.
> Process 'Gradle Test Executor 1' finished with non-zero exit value 1
This problem might be caused by incorrect test process configuration.
Please refer to the test execution section in the User Manual at https://docs.gradle.org/6.1.1/userguide/java_testing.html#sec:test_execution
Any idea how to fix this?
:38it keeps on building for almost 7 mins, and a lot of tests p