Skip to content

Improve Windows tests on GitHub Workflow #408

Improve Windows tests on GitHub Workflow

Improve Windows tests on GitHub Workflow #408

Triggered via pull request August 20, 2023 11:09
Status Failure
Total duration 19m 57s
Artifacts

tests.yml

on: pull_request
Matrix: gradle-check
Fit to window
Zoom out
Zoom in

Annotations

6 errors
MultiModuleFunctionalTest.logging expect no Dokkatoo logs when built using lifecycle log level: modules\dokkatoo-plugin\build\classes\kotlin\testFunctional\dev\adamko\dokkatoo\MultiModuleFunctionalTest.class#L320
org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in D:\a\dokkatoo\dokkatoo\modules\dokkatoo-plugin\build\test-temp-dir\functional-tests\multi-module-hello-goodbye\logging with arguments [-Pdev.adamko.dokkatoo.tasks.logHtmlPublicationLinkEnabled=false, clean, :dokkatooGenerate, --no-configuration-cache, --no-build-cache, --no-parallel] Output: > Task :clean > Task :subproject-goodbye:clean > Task :subproject-hello:clean > Task :dokkatooGenerateModuleGfm > Task :dokkatooGenerateModuleHtml > Task :dokkatooGenerateModuleJavadoc > Task :dokkatooGenerateModuleJekyll # # There is insufficient memory for the Java Runtime Environment to continue. # Native memory allocation (malloc) failed to allocate 550656 bytes for Chunk::new # An error report file with more information is saved as: # D:\a\dokkatoo\dokkatoo\modules\dokkatoo-plugin\build\tmp\testFunctional\work\.gradle-test-kit\workers\hs_err_pid4044.log [thread 7060 also had an error] # # There is insufficient memory for the Java Runtime Environment to continue. # Native memory allocation (malloc) failed to allocate 1048576 bytes for AllocateHeap # An error report file with more information is saved as: # D:\a\dokkatoo\dokkatoo\modules\dokkatoo-plugin\build\tmp\testFunctional\work\.gradle-test-kit\workers\hs_err_pid5468.log Unexpected exception thrown. org.gradle.internal.remote.internal.MessageIOException: Could not write '/127.0.0.1:50390'. at org.gradle.internal.remote.internal.inet.SocketConnection.flush(SocketConnection.java:140) at org.gradle.internal.remote.internal.hub.MessageHub$ConnectionDispatch.run(MessageHub.java:333) at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64) at org.gradle.internal.concurrent.AbstractManagedExecutor$1.run(AbstractManagedExecutor.java:47) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829) Caused by: java.io.IOException: An existing connection was forcibly closed by the remote host at java.base/sun.nio.ch.SocketDispatcher.write0(Native Method) at java.base/sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:51) at java.base/sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:113) at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:58) at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:50) at java.base/sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:462) 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) ... 6 more > Task :subproject-hello:dokkatooGenerateModuleGfm FAILED > Task :subproject-goodbye:dokkatooGenerateModuleGfm # [ timer expired, abort... ] Unexpected exception thrown. org.gradle.internal.remote.internal.MessageIOException: Could not write '/127.0.0.1:50384'. at org.gradle.internal.remote.internal.inet.SocketConnection.flush(SocketConnection.java:140) at org.gradle.internal.remote.internal.hub.MessageHub$ConnectionDispatch.run(MessageHub.java:333) at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64) at org.gradle.internal.concurrent.AbstractManagedExecutor$1.run(AbstractManagedExecutor.java:47) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829) Caused by: java.io.IOException: An existing connection was forcibly closed by the remote host at java.base/sun.nio.ch.SocketDispatcher.write0(Native Method) at java.base/sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:51) at java.base/sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:113) at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:58) at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:50) at java.base/sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:462) 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) ... 6 more > Task :subproject-goodbye:dokkatooGenerateModuleGfm FAILED FAILURE: Build completed with 2 failures. 1: Task failed with an exception. ----------- * What went wrong: Execution failed for task ':subproject-hello:dokkatooGenerateModuleGfm'. > A failure occurred while executing dev.adamko.dokkatoo.workers.DokkaGeneratorWorker > Failed to run Gradle Worker Daemon > Process 'Gradle Worker Daemon 71' finished with non-zero exit value 1 * 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. ============================================================================== 2: Task failed with an exception. ----------- * What went wrong: Execution failed for task ':subproject-goodbye:dokkatooGenerateModuleGfm'. > A failure occurred while executing dev.adamko.dokkatoo.workers.DokkaGeneratorWorker > Failed to run Gradle Worker Daemon > Process 'Gradle Worker Daemon 70' finished with non-zero exit value -1 * 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 2m 14s 9 actionable tasks: 9 executed
gradle-check (windows-latest, check --continue -x :modules:dokkatoo-plugin-integration-tests:chec... / ./gradlew check --continue -x :modules:dokkatoo-plugin-integration-tests:check --no-parallel --no-configuration-cache --no-daemon --max-workers=1 -Dorg.gradle.workers.max=1 --stacktrace @ windows-latest
ENOENT: no such file or directory, realpath 'D:\a\dokkatoo\dokkatoo\modules\dokkatoo-plugin\build\tmp\testFunctional\work\.gradle-test-kit\caches\modules-2\metadata-2.106\descriptors\org.jetbrains.kotlin.multiplatform\org.jetbrains.kotlin.multiplatform.gradle.plugin\1.8.22\26c913274550a0b2221f47a0fe2d2358'
gradle-check (macos-latest, check --continue) / ./gradlew check --continue --stacktrace @ macos-latest
Canceling since a higher priority waiting request for 'Tests @ adamko-dev:fix/improve_gh_windows_tests' exists
Tests
GitHub Actions has encountered an internal error when running your job.