Skip to content

Tests for PR 262

Tests for PR 262 #240

GitHub Actions / JUnit Test Report failed Jan 18, 2025 in 0s

224 tests run, 222 passed, 0 skipped, 2 failed.

Annotations

Check failure on line 443 in userdev/src/functionalTest/groovy/net/neoforged/gradle/userdev/RunTests.groovy

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

RunTests.userdev supports unit testing

org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in /home/runner/work/NeoGradle/NeoGradle/userdev/build/unit-testing-2/userdev_supports_unit_tests with arguments [:testJunit]

Output:
> Task :cacheVersionManifest1.21.4
> Task :cacheVersionExecutableClient1.21.4
> Task :cacheVersionExecutableServer1.21.4
> Task :cacheVersionMappingsClient1.21.4
> Task :cacheVersionMappingsServer1.21.4
> Task :neoFormListLibraries
> Task :neoFormStripClient
> Task :neoFormExtractServer
> Task :neoFormStripServer
> Task :neoFormMerge
> Task :neoFormMergeMappings
> Task :neoFormRename
> Task :neoFormDecompile
> Task :neoFormApplyForgesAccessTransformer
> Task :neoFormInject
> Task :neoFormPatch
> Task :neoFormPatchUserDev
> Task :neoFormApplyOfficialMappings
> Task :neoFormUnzipAdditionalSources
> Task :neoFormUnzipSources
> Task :create1.21.4ClientExtraJar
> Task :selectRawArtifactNg_dummy_ng.net.minecraft_client_1.21.4_client-extra

> Task :neoFormRecompile
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API that is marked for removal.
Note: Recompile with -Xlint:removal for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :neoFormPackRecomp
> Task :supplyRawJarForneoFormJoined1.21.4-20241203.161809
> Task :selectRawArtifactNg_dummy_ng.net.neoforged_neoforge_21.4.64-beta
> Task :compileJava NO-SOURCE
> Task :processResources NO-SOURCE
> Task :classes UP-TO-DATE
> Task :compileTestJava
> Task :neoFormJoined1.21.4-20241203.161809DownloadAssets
> Task :neoFormJoined1.21.4-20241203.161809ExtractNatives
> Task :processTestResources
> Task :testClasses
> Task :writeMinecraftClasspathJunit

> Task :testJunit FAILED
Unrecognized option: --launchTarget
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':testJunit'.
> Process 'Gradle Test Executor 2' 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 42s
32 actionable tasks: 32 executed
Raw output
org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in /home/runner/work/NeoGradle/NeoGradle/userdev/build/unit-testing-2/userdev_supports_unit_tests with arguments [:testJunit]

Output:
> Task :cacheVersionManifest1.21.4
> Task :cacheVersionExecutableClient1.21.4
> Task :cacheVersionExecutableServer1.21.4
> Task :cacheVersionMappingsClient1.21.4
> Task :cacheVersionMappingsServer1.21.4
> Task :neoFormListLibraries
> Task :neoFormStripClient
> Task :neoFormExtractServer
> Task :neoFormStripServer
> Task :neoFormMerge
> Task :neoFormMergeMappings
> Task :neoFormRename
> Task :neoFormDecompile
> Task :neoFormApplyForgesAccessTransformer
> Task :neoFormInject
> Task :neoFormPatch
> Task :neoFormPatchUserDev
> Task :neoFormApplyOfficialMappings
> Task :neoFormUnzipAdditionalSources
> Task :neoFormUnzipSources
> Task :create1.21.4ClientExtraJar
> Task :selectRawArtifactNg_dummy_ng.net.minecraft_client_1.21.4_client-extra

> Task :neoFormRecompile
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API that is marked for removal.
Note: Recompile with -Xlint:removal for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :neoFormPackRecomp
> Task :supplyRawJarForneoFormJoined1.21.4-20241203.161809
> Task :selectRawArtifactNg_dummy_ng.net.neoforged_neoforge_21.4.64-beta
> Task :compileJava NO-SOURCE
> Task :processResources NO-SOURCE
> Task :classes UP-TO-DATE
> Task :compileTestJava
> Task :neoFormJoined1.21.4-20241203.161809DownloadAssets
> Task :neoFormJoined1.21.4-20241203.161809ExtractNatives
> Task :processTestResources
> Task :testClasses
> Task :writeMinecraftClasspathJunit

> Task :testJunit FAILED
Unrecognized option: --launchTarget
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':testJunit'.
> Process 'Gradle Test Executor 2' 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 42s
32 actionable tasks: 32 executed

	at app//org.gradle.testkit.runner.internal.DefaultGradleRunner.lambda$build$2(DefaultGradleRunner.java:274)
	at app//org.gradle.testkit.runner.internal.DefaultGradleRunner.run(DefaultGradleRunner.java:367)
	at app//org.gradle.testkit.runner.internal.DefaultGradleRunner.build(DefaultGradleRunner.java:272)
	at app//net.neoforged.trainingwheels.gradle.functional.builder.Runtime.run(Runtime.groovy:257)
	at app//org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:318)
	at net.neoforged.gradle.userdev.RunTests.userdev supports unit testing(RunTests.groovy:443)

Check failure on line 443 in userdev/src/functionalTest/groovy/net/neoforged/gradle/userdev/RunTests.groovy

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

RunTests.userdev supports unit testing

org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in D:\a\NeoGradle\NeoGradle\userdev\build\unit-testing-2\userdev_supports_unit_tests with arguments [:testJunit]

Output:
> Task :cacheVersionManifest1.21.4
> Task :cacheVersionExecutableClient1.21.4
> Task :cacheVersionExecutableServer1.21.4
> Task :cacheVersionMappingsClient1.21.4
> Task :cacheVersionMappingsServer1.21.4
> Task :neoFormListLibraries
> Task :neoFormStripClient
> Task :neoFormExtractServer
> Task :neoFormStripServer
> Task :neoFormMerge
> Task :neoFormMergeMappings
> Task :neoFormRename
> Task :neoFormDecompile
> Task :neoFormApplyForgesAccessTransformer
> Task :neoFormInject
> Task :neoFormPatch
> Task :neoFormPatchUserDev
> Task :neoFormApplyOfficialMappings
> Task :neoFormUnzipAdditionalSources
> Task :neoFormUnzipSources
> Task :create1.21.4ClientExtraJar
> Task :selectRawArtifactNg_dummy_ng.net.minecraft_client_1.21.4_client-extra
> Task :neoFormRecompile
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API that is marked for removal.
Note: Recompile with -Xlint:removal for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :neoFormPackRecomp
> Task :supplyRawJarForneoFormJoined1.21.4-20241203.161809
> Task :selectRawArtifactNg_dummy_ng.net.neoforged_neoforge_21.4.64-beta
> Task :compileJava NO-SOURCE
> Task :processResources NO-SOURCE
> Task :classes UP-TO-DATE
> Task :compileTestJava
> Task :neoFormJoined1.21.4-20241203.161809DownloadAssets
> Task :neoFormJoined1.21.4-20241203.161809ExtractNatives
> Task :processTestResources
> Task :testClasses
> Task :writeMinecraftClasspathJunit
Could not write standard input to Gradle Test Executor 2.
java.io.IOException: The pipe is being closed
	at java.base/java.io.FileOutputStream.writeBytes(Native Method)
	at java.base/java.io.FileOutputStream.write(FileOutputStream.java:349)
	at java.base/java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:81)
	at java.base/java.io.BufferedOutputStream.flush(BufferedOutputStream.java:142)
	at org.gradle.process.internal.streams.ExecOutputHandleRunner.writeBuffer(ExecOutputHandleRunner.java:98)
	at org.gradle.process.internal.streams.ExecOutputHandleRunner.forwardContent(ExecOutputHandleRunner.java:85)
	at org.gradle.process.internal.streams.ExecOutputHandleRunner.run(ExecOutputHandleRunner.java:64)
	at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
	at org.gradle.internal.concurrent.AbstractManagedExecutor$1.run(AbstractManagedExecutor.java:48)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:840)

> Task :testJunit FAILED
Unrecognized option: --launchTarget
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':testJunit'.
> Process 'Gradle Test Executor 2' 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 3m 30s
32 actionable tasks: 32 executed
Raw output
org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in D:\a\NeoGradle\NeoGradle\userdev\build\unit-testing-2\userdev_supports_unit_tests with arguments [:testJunit]

Output:
> Task :cacheVersionManifest1.21.4
> Task :cacheVersionExecutableClient1.21.4
> Task :cacheVersionExecutableServer1.21.4
> Task :cacheVersionMappingsClient1.21.4
> Task :cacheVersionMappingsServer1.21.4
> Task :neoFormListLibraries
> Task :neoFormStripClient
> Task :neoFormExtractServer
> Task :neoFormStripServer
> Task :neoFormMerge
> Task :neoFormMergeMappings
> Task :neoFormRename
> Task :neoFormDecompile
> Task :neoFormApplyForgesAccessTransformer
> Task :neoFormInject
> Task :neoFormPatch
> Task :neoFormPatchUserDev
> Task :neoFormApplyOfficialMappings
> Task :neoFormUnzipAdditionalSources
> Task :neoFormUnzipSources
> Task :create1.21.4ClientExtraJar
> Task :selectRawArtifactNg_dummy_ng.net.minecraft_client_1.21.4_client-extra
> Task :neoFormRecompile
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API that is marked for removal.
Note: Recompile with -Xlint:removal for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :neoFormPackRecomp
> Task :supplyRawJarForneoFormJoined1.21.4-20241203.161809
> Task :selectRawArtifactNg_dummy_ng.net.neoforged_neoforge_21.4.64-beta
> Task :compileJava NO-SOURCE
> Task :processResources NO-SOURCE
> Task :classes UP-TO-DATE
> Task :compileTestJava
> Task :neoFormJoined1.21.4-20241203.161809DownloadAssets
> Task :neoFormJoined1.21.4-20241203.161809ExtractNatives
> Task :processTestResources
> Task :testClasses
> Task :writeMinecraftClasspathJunit
Could not write standard input to Gradle Test Executor 2.
java.io.IOException: The pipe is being closed
	at java.base/java.io.FileOutputStream.writeBytes(Native Method)
	at java.base/java.io.FileOutputStream.write(FileOutputStream.java:349)
	at java.base/java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:81)
	at java.base/java.io.BufferedOutputStream.flush(BufferedOutputStream.java:142)
	at org.gradle.process.internal.streams.ExecOutputHandleRunner.writeBuffer(ExecOutputHandleRunner.java:98)
	at org.gradle.process.internal.streams.ExecOutputHandleRunner.forwardContent(ExecOutputHandleRunner.java:85)
	at org.gradle.process.internal.streams.ExecOutputHandleRunner.run(ExecOutputHandleRunner.java:64)
	at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
	at org.gradle.internal.concurrent.AbstractManagedExecutor$1.run(AbstractManagedExecutor.java:48)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:840)

> Task :testJunit FAILED
Unrecognized option: --launchTarget
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':testJunit'.
> Process 'Gradle Test Executor 2' 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 3m 30s
32 actionable tasks: 32 executed

	at app//org.gradle.testkit.runner.internal.DefaultGradleRunner.lambda$build$2(DefaultGradleRunner.java:274)
	at app//org.gradle.testkit.runner.internal.DefaultGradleRunner.run(DefaultGradleRunner.java:367)
	at app//org.gradle.testkit.runner.internal.DefaultGradleRunner.build(DefaultGradleRunner.java:272)
	at app//net.neoforged.trainingwheels.gradle.functional.builder.Runtime.run(Runtime.groovy:257)
	at app//org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:318)
	at net.neoforged.gradle.userdev.RunTests.userdev supports unit testing(RunTests.groovy:443)