Skip to content

Build for PR 1

Build for PR 1 #8

GitHub Actions / Tests failed Nov 8, 2023 in 0s

Tests ❌

Tests failed

Report Passed Failed Skipped Time
common/build/test-results/test/TEST-net.neoforged.gradle.common.extensions.dependency.replacement.DependencyReplacementsExtensionTest.xml 15✅ 5s
neoform/build/test-results/functionalTest/TEST-net.neoforged.gradle.neoform.deobfuscation.ObfuscationAndDeobfuscationTestSpecification.xml 1✅ 5ms
neoform/build/test-results/functionalTest/TEST-net.neoforged.gradle.neoform.dependency.NeoformDependencyManagerTest.xml 2✅ 21s
neoform/build/test-results/functionalTest/TEST-net.neoforged.gradle.neoform.FunctionalTests.xml 3❌ 82s
neoform/build/test-results/functionalTest/TEST-net.neoforged.gradle.neoform.NeoFormPluginTests.xml 4✅ 2s
userdev/build/test-results/functionalTest/TEST-net.neoforged.gradle.userdev.CompatibilityTests.xml 1⚪ 0ms
userdev/build/test-results/functionalTest/TEST-net.neoforged.gradle.userdev.FunctionalTests.xml 3⚪ 3ms
userdev/build/test-results/functionalTest/TEST-net.neoforged.gradle.userdev.UserDevPluginTests.xml 4✅ 29s
utils/build/test-results/test/TEST-net.neoforged.gradle.util.AdaptingZipBuildingFileTreeVisitorTest.xml 10✅ 2s
utils/build/test-results/test/TEST-net.neoforged.gradle.util.CopyingFileTreeVisitorTest.xml 7✅ 491ms
utils/build/test-results/test/TEST-net.neoforged.gradle.util.DelegatingFileTreeVisitorTest.xml 2✅ 51ms
utils/build/test-results/test/TEST-net.neoforged.gradle.util.ModuleDependencyUtilsTest.xml 6✅ 244ms
utils/build/test-results/test/TEST-net.neoforged.gradle.util.ResolvedDependencyUtilsTest.xml 6✅ 72ms
utils/build/test-results/test/TEST-net.neoforged.gradle.util.ZipBuildingFileTreeVisitorTest.xml 9✅ 32ms

✅ common/build/test-results/test/TEST-net.neoforged.gradle.common.extensions.dependency.replacement.DependencyReplacementsExtensionTest.xml

15 tests were completed in 5s with 15 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
net.neoforged.gradle.common.extensions.dependency.replacement.DependencyReplacementsExtensionTest 15✅ 5s

✅ net.neoforged.gradle.common.extensions.dependency.replacement.DependencyReplacementsExtensionTest

✅ callingHandleDependencyReplacementRemovesTheOriginalDependency()
✅ callingHandleDependencyReplacementAlwaysInvokesTheIdeReplacementHandlerWhenNoImportIsRunning()
✅ callingHandleDependencyReplacementAlwaysInvokesTheIdeReplacementHandlerWhenAnImportIsRunning()
✅ callingHandleDependencyReplacementDoesNotRegisterTheGenerationTaskWhenAlreadyDone()
✅ aDependencyReplacementIsRegisteredForAnExternalModuleDependency()
✅ invokingOnPostDefinitionBakesDoesNotRunTheRegisteredCallbacksIfTheStateHasAFailure()
✅ callingHandleDependencyReplacementAlwaysInvokesTheGradleReplacementHandler()
✅ aConfigureCallbackForAllConfigurationsInAGivenProjectIsAddedOnConstruction()
✅ aCallbackHandlerIsAddedToEachConfigurationWhenOneIsConfigured()
✅ callingHandleDependencyReplacementToRegistersTheGenerationTaskWhenNotDoneYet()
✅ callingHandleConfigurationRegistersDependencyMonitor()
✅ aDependencyReplacementProperlyConfiguresTheIvyReplacementWithItsOwnExternalModuleDependencies()
✅ invokingOnPostDefinitionBakesRunsTheRegisteredCallbacksIfTheStateHasNoFailure()
✅ aDependencyReplacementProperlyConfiguresTheIvyReplacement()
✅ aDependencyReplacementIsOnlyRegisteredForAnythingThatIsNotAnExternalModuleDependency()

✅ neoform/build/test-results/functionalTest/TEST-net.neoforged.gradle.neoform.deobfuscation.ObfuscationAndDeobfuscationTestSpecification.xml

1 tests were completed in 5ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
net.neoforged.gradle.neoform.deobfuscation.ObfuscationAndDeobfuscationTestSpecification 1✅ 5ms

✅ net.neoforged.gradle.neoform.deobfuscation.ObfuscationAndDeobfuscationTestSpecification

✅ supportObfuscationAndDeobfuscation

✅ neoform/build/test-results/functionalTest/TEST-net.neoforged.gradle.neoform.dependency.NeoformDependencyManagerTest.xml

2 tests were completed in 21s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
net.neoforged.gradle.neoform.dependency.NeoformDependencyManagerTest 2✅ 21s

✅ net.neoforged.gradle.neoform.dependency.NeoformDependencyManagerTest

✅ adding a dependency to something other then neoform minecraft works
✅ adding a dependency on neoform minecraft with exact version works

❌ neoform/build/test-results/functionalTest/TEST-net.neoforged.gradle.neoform.FunctionalTests.xml

3 tests were completed in 82s with 0 passed, 3 failed and 0 skipped.

Test suite Passed Failed Skipped Time
net.neoforged.gradle.neoform.FunctionalTests 3❌ 82s

❌ net.neoforged.gradle.neoform.FunctionalTests

❌ a mod with neoform as dependency can run the apply official mappings task
	org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in /tmp/spock_a_mod_with_neoform__0_tempDir2686689963536608611/a mod with neoform as dependency can run the apply official mappings task/neoform-has-runnable-patch-task with arguments [:neoFormApplyOfficialMappings]
❌ neoform applies user ATs and allows remapped compiling
	org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in /tmp/spock_neoform_applies_use_0_tempDir3910887504715597296/neoform applies user ATs and allows remapped compiling/neoform-compile-with-ats with arguments [build]
❌ neoform re-setup uses a build-cache
	org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in /tmp/spock_neoform_re-setup_us_0_tempDir3327278225046444764/neoform re-setup uses a build-cache/neoform-compile-with-ats with arguments [--build-cache, build]

✅ neoform/build/test-results/functionalTest/TEST-net.neoforged.gradle.neoform.NeoFormPluginTests.xml

4 tests were completed in 2s with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
net.neoforged.gradle.neoform.NeoFormPluginTests 4✅ 2s

✅ net.neoforged.gradle.neoform.NeoFormPluginTests

✅ can apply plugin
✅ applying neoform plugin applies common plugin
✅ applying neoform plugin adds a neoFormRuntime configurable extension
✅ applying neoform plugin adds the required maven plugins

✅ userdev/build/test-results/functionalTest/TEST-net.neoforged.gradle.userdev.CompatibilityTests.xml

1 tests were completed in 0ms with 0 passed, 0 failed and 1 skipped.

Test suite Passed Failed Skipped Time
net.neoforged.gradle.userdev.CompatibilityTests 1⚪ 0ms

✅ net.neoforged.gradle.userdev.CompatibilityTests

⚪ a mod with userdev as dependency can run the patch task for that dependency

✅ userdev/build/test-results/functionalTest/TEST-net.neoforged.gradle.userdev.FunctionalTests.xml

3 tests were completed in 3ms with 0 passed, 0 failed and 3 skipped.

Test suite Passed Failed Skipped Time
net.neoforged.gradle.userdev.FunctionalTests 3⚪ 3ms

✅ net.neoforged.gradle.userdev.FunctionalTests

⚪ a mod with userdev as dependency can run the patch task for that dependency
⚪ a mod with userdev as dependency and official mappings can compile through gradle
⚪ the userdev runtime by default supports the build cache

✅ userdev/build/test-results/functionalTest/TEST-net.neoforged.gradle.userdev.UserDevPluginTests.xml

4 tests were completed in 29s with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
net.neoforged.gradle.userdev.UserDevPluginTests 4✅ 29s

✅ net.neoforged.gradle.userdev.UserDevPluginTests

✅ applying userdev plugin succeeds
✅ applying userdev plugin applies neoform plugin
✅ applying userdev plugin applies forge extension
✅ applying userdev plugin applies userDev runtime extension

✅ utils/build/test-results/test/TEST-net.neoforged.gradle.util.AdaptingZipBuildingFileTreeVisitorTest.xml

10 tests were completed in 2s with 10 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
net.neoforged.gradle.util.AdaptingZipBuildingFileTreeVisitorTest 10✅ 2s

✅ net.neoforged.gradle.util.AdaptingZipBuildingFileTreeVisitorTest

✅ visitingAFileCreatesAnEntryInZipAndCopiesItUsingAStream()
✅ throwingAZipExceptionForAnythingOtherThenDuplicateDirectoriesThrowsAnException()
✅ throwingAZipExceptionForDuplicateDirectoriesDoesNotThrowAnException()
✅ throwingAnIOExceptionDuringEntryClosingWhileVisitingADirectoryThrowsAnException()
✅ visitingADirectoryCreatesAnEntryInZip()
✅ throwingAnIOExceptionDuringEntryPuttingWhileVisitingAFileThrowsAnException()
✅ throwingAnIOExceptionDuringEntryPuttingWhileVisitingADirectoryThrowsAnException()
✅ throwingAnIOExceptionDuringCopyingWhileVisitingAFileThrowsAnException()
✅ throwingAnIOExceptionDuringEntryClosingWhileVisitingAFileThrowsAnException()
✅ visitingAFileInvokesAdapterWhichCanChooseToNotCopyTheFileContentsButStillCreatesTheFile()

✅ utils/build/test-results/test/TEST-net.neoforged.gradle.util.CopyingFileTreeVisitorTest.xml

7 tests were completed in 491ms with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
net.neoforged.gradle.util.CopyingFileTreeVisitorTest 7✅ 491ms

✅ net.neoforged.gradle.util.CopyingFileTreeVisitorTest

✅ visitingAFileCreatesAFileInTheTargetAndCopiesItsContent()
✅ passingInAFileUsesItsPath()
✅ visitingAFileCreatesAFileInTheTarget()
✅ visitingADirectoryCreatesADirectoryInTheTarget()
✅ passingANotExistingDirectoryCreatesIt()
✅ tryingToUseAFileAsATargetThrowsARuntimeException()
✅ passingInADirectoryWithContentDeletesTheContent()

✅ utils/build/test-results/test/TEST-net.neoforged.gradle.util.DelegatingFileTreeVisitorTest.xml

2 tests were completed in 51ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
net.neoforged.gradle.util.DelegatingFileTreeVisitorTest 2✅ 51ms

✅ net.neoforged.gradle.util.DelegatingFileTreeVisitorTest

✅ visitingADirectoryInvokesDelegate()
✅ visitingAFileInvokesDelegate()

✅ utils/build/test-results/test/TEST-net.neoforged.gradle.util.ModuleDependencyUtilsTest.xml

6 tests were completed in 244ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
net.neoforged.gradle.util.ModuleDependencyUtilsTest 6✅ 244ms

✅ net.neoforged.gradle.util.ModuleDependencyUtilsTest

✅ returnsANullExtensionWhenTheFirstArtifactHasNoExtension()
✅ returnsTheExtensionOfTheFirstArtifact()
✅ returnsANullClassifierWhenNoArtifactsArePresent()
✅ returnsTheClassifierOfTheFirstArtifact()
✅ returnsANullExtensionWhenNoArtifactsArePresent()
✅ returnsANullClassifierWhenTheFirstArtifactHasNoClassifier()

✅ utils/build/test-results/test/TEST-net.neoforged.gradle.util.ResolvedDependencyUtilsTest.xml

6 tests were completed in 72ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
net.neoforged.gradle.util.ResolvedDependencyUtilsTest 6✅ 72ms

✅ net.neoforged.gradle.util.ResolvedDependencyUtilsTest

✅ returnsANullExtensionWhenTheFirstArtifactHasNoExtension()
✅ returnsTheExtensionOfTheFirstArtifact()
✅ returnsANullClassifierWhenNoArtifactsArePresent()
✅ returnsTheClassifierOfTheFirstArtifact()
✅ returnsANullExtensionWhenNoArtifactsArePresent()
✅ returnsANullClassifierWhenTheFirstArtifactHasNoClassifier()

✅ utils/build/test-results/test/TEST-net.neoforged.gradle.util.ZipBuildingFileTreeVisitorTest.xml

9 tests were completed in 32ms with 9 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
net.neoforged.gradle.util.ZipBuildingFileTreeVisitorTest 9✅ 32ms

✅ net.neoforged.gradle.util.ZipBuildingFileTreeVisitorTest

✅ visitingAFileCreatesAnEntryInZipAndCopiesItUsingAStream()
✅ throwingAZipExceptionForAnythingOtherThenDuplicateDirectoriesThrowsAnException()
✅ throwingAZipExceptionForDuplicateDirectoriesDoesNotThrowAnException()
✅ throwingAnIOExceptionDuringEntryClosingWhileVisitingADirectoryThrowsAnException()
✅ visitingADirectoryCreatesAnEntryInZip()
✅ throwingAnIOExceptionDuringEntryPuttingWhileVisitingAFileThrowsAnException()
✅ throwingAnIOExceptionDuringEntryPuttingWhileVisitingADirectoryThrowsAnException()
✅ throwingAnIOExceptionDuringCopyingWhileVisitingAFileThrowsAnException()
✅ throwingAnIOExceptionDuringEntryClosingWhileVisitingAFileThrowsAnException()

Annotations

Check failure on line 35 in neoform/src/functionalTest/groovy/net/neoforged/gradle/neoform/FunctionalTests.groovy

See this annotation in the file changed.

@github-actions github-actions / Tests

net.neoforged.gradle.neoform.FunctionalTests ► a mod with neoform as dependency can run the apply official mappings task

Failed test found in:
  neoform/build/test-results/functionalTest/TEST-net.neoforged.gradle.neoform.FunctionalTests.xml
Error:
  org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in /tmp/spock_a_mod_with_neoform__0_tempDir2686689963536608611/a mod with neoform as dependency can run the apply official mappings task/neoform-has-runnable-patch-task with arguments [:neoFormApplyOfficialMappings]
Raw output
org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in /tmp/spock_a_mod_with_neoform__0_tempDir2686689963536608611/a mod with neoform as dependency can run the apply official mappings task/neoform-has-runnable-patch-task with arguments [:neoFormApplyOfficialMappings]

Output:
> Task :cacheLauncherMetadata
> Task :cacheVersionManifest1.20.2
> Task :cacheVersionExecutableClient1.20.2
> Task :cacheVersionMappingsClient1.20.2
> Task :cacheVersionMappingsServer1.20.2
> Task :neoFormListLibraries
> Task :neoFormMergeMappings FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':neoFormMergeMappings'.
> d != java.math.BigDecimal

* 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 59s
7 actionable tasks: 7 executed

	at org.gradle.testkit.runner.internal.DefaultGradleRunner.lambda$build$2(DefaultGradleRunner.java:269)
	at org.gradle.testkit.runner.internal.DefaultGradleRunner.run(DefaultGradleRunner.java:362)
	at org.gradle.testkit.runner.internal.DefaultGradleRunner.build(DefaultGradleRunner.java:267)
	at net.neoforged.trainingwheels.gradle.functional.builder.Runtime.run(Runtime.groovy:162)
	at org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:318)
	at net.neoforged.gradle.neoform.FunctionalTests.a mod with neoform as dependency can run the apply official mappings task(FunctionalTests.groovy:35)

Check failure on line 76 in neoform/src/functionalTest/groovy/net/neoforged/gradle/neoform/FunctionalTests.groovy

See this annotation in the file changed.

@github-actions github-actions / Tests

net.neoforged.gradle.neoform.FunctionalTests ► neoform applies user ATs and allows remapped compiling

Failed test found in:
  neoform/build/test-results/functionalTest/TEST-net.neoforged.gradle.neoform.FunctionalTests.xml
Error:
  org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in /tmp/spock_neoform_applies_use_0_tempDir3910887504715597296/neoform applies user ATs and allows remapped compiling/neoform-compile-with-ats with arguments [build]
Raw output
org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in /tmp/spock_neoform_applies_use_0_tempDir3910887504715597296/neoform applies user ATs and allows remapped compiling/neoform-compile-with-ats with arguments [build]

Output:
> Task :cacheLauncherMetadata
> Task :cacheVersionManifest1.20.2
> Task :cacheVersionExecutableClient1.20.2
> Task :cacheVersionMappingsClient1.20.2
> Task :cacheVersionMappingsServer1.20.2
> Task :neoFormListLibraries
> Task :neoFormMergeMappings FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':neoFormMergeMappings'.
> d != java.math.BigDecimal

* 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 15s
7 actionable tasks: 7 executed

	at org.gradle.testkit.runner.internal.DefaultGradleRunner.lambda$build$2(DefaultGradleRunner.java:269)
	at org.gradle.testkit.runner.internal.DefaultGradleRunner.run(DefaultGradleRunner.java:362)
	at org.gradle.testkit.runner.internal.DefaultGradleRunner.build(DefaultGradleRunner.java:267)
	at net.neoforged.trainingwheels.gradle.functional.builder.Runtime.run(Runtime.groovy:162)
	at org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:318)
	at net.neoforged.gradle.neoform.FunctionalTests.neoform applies user ATs and allows remapped compiling(FunctionalTests.groovy:76)

Check failure on line 115 in neoform/src/functionalTest/groovy/net/neoforged/gradle/neoform/FunctionalTests.groovy

See this annotation in the file changed.

@github-actions github-actions / Tests

net.neoforged.gradle.neoform.FunctionalTests ► neoform re-setup uses a build-cache

Failed test found in:
  neoform/build/test-results/functionalTest/TEST-net.neoforged.gradle.neoform.FunctionalTests.xml
Error:
  org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in /tmp/spock_neoform_re-setup_us_0_tempDir3327278225046444764/neoform re-setup uses a build-cache/neoform-compile-with-ats with arguments [--build-cache, build]
Raw output
org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in /tmp/spock_neoform_re-setup_us_0_tempDir3327278225046444764/neoform re-setup uses a build-cache/neoform-compile-with-ats with arguments [--build-cache, build]

Output:
> Task :cacheLauncherMetadata
> Task :cacheVersionManifest1.20.2
> Task :cacheVersionExecutableClient1.20.2
> Task :cacheVersionMappingsClient1.20.2
> Task :cacheVersionMappingsServer1.20.2
> Task :neoFormListLibraries
> Task :neoFormMergeMappings FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':neoFormMergeMappings'.
> d != java.math.BigDecimal

* 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 3s
7 actionable tasks: 7 executed

	at org.gradle.testkit.runner.internal.DefaultGradleRunner.lambda$build$2(DefaultGradleRunner.java:269)
	at org.gradle.testkit.runner.internal.DefaultGradleRunner.run(DefaultGradleRunner.java:362)
	at org.gradle.testkit.runner.internal.DefaultGradleRunner.build(DefaultGradleRunner.java:267)
	at net.neoforged.trainingwheels.gradle.functional.builder.Runtime.run(Runtime.groovy:162)
	at org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:318)
	at net.neoforged.gradle.neoform.FunctionalTests.neoform re-setup uses a build-cache(FunctionalTests.groovy:115)