Build for PR 86 #81
GitHub Actions / Test Report
failed
Dec 23, 2023 in 1s
Test Report ❌
❌ junit.xml
73 tests were completed in 33s with 65 passed, 4 failed and 4 skipped.
✅ net.neoforged.gradle.common.extensions.dependency.replacement.DependencyReplacementsExtensionTest
✅ callingHandleDependencyReplacementRemovesTheOriginalDependency()
✅ callingHandleDependencyReplacementAlwaysInvokesTheIdeReplacementHandlerWhenNoImportIsRunning()
✅ callingHandleDependencyReplacementAlwaysInvokesTheIdeReplacementHandlerWhenAnImportIsRunning()
✅ callingHandleDependencyReplacementDoesNotRegisterTheGenerationTaskWhenAlreadyDone()
✅ aDependencyReplacementIsRegisteredForAnExternalModuleDependency()
✅ invokingOnPostDefinitionBakesDoesNotRunTheRegisteredCallbacksIfTheStateHasAFailure()
✅ callingHandleDependencyReplacementAlwaysInvokesTheGradleReplacementHandler()
✅ aConfigureCallbackForAllConfigurationsInAGivenProjectIsAddedOnConstruction()
✅ aCallbackHandlerIsAddedToEachConfigurationWhenOneIsConfigured()
✅ callingHandleDependencyReplacementToRegistersTheGenerationTaskWhenNotDoneYet()
✅ callingHandleConfigurationRegistersDependencyMonitor()
✅ aDependencyReplacementProperlyConfiguresTheIvyReplacementWithItsOwnExternalModuleDependencies()
✅ invokingOnPostDefinitionBakesRunsTheRegisteredCallbacksIfTheStateHasNoFailure()
✅ aDependencyReplacementProperlyConfiguresTheIvyReplacement()
✅ aDependencyReplacementIsOnlyRegisteredForAnythingThatIsNotAnExternalModuleDependency()
✅ net.neoforged.gradle.neoform.deobfuscation.ObfuscationAndDeobfuscationTestSpecification
✅ supportObfuscationAndDeobfuscation
❌ 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
org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in /tmp/spock_adding_a_dependency_0_internalTestDir8229349137460941273 with arguments []
❌ 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_tempDir2658280487068805795/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_tempDir7655944646499201184/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_tempDir1719262895318536033/neoform-compile-with-ats with arguments [--build-cache, build]
✅ 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
✅ net.neoforged.gradle.userdev.CompatibilityTests
⚪ a mod with userdev as dependency can run the patch task for that dependency
✅ 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
✅ 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
✅ net.neoforged.gradle.util.AdaptingZipBuildingFileTreeVisitorTest
✅ visitingAFileCreatesAnEntryInZipAndCopiesItUsingAStream()
✅ throwingAZipExceptionForAnythingOtherThenDuplicateDirectoriesThrowsAnException()
✅ throwingAZipExceptionForDuplicateDirectoriesDoesNotThrowAnException()
✅ throwingAnIOExceptionDuringEntryClosingWhileVisitingADirectoryThrowsAnException()
✅ visitingADirectoryCreatesAnEntryInZip()
✅ throwingAnIOExceptionDuringEntryPuttingWhileVisitingAFileThrowsAnException()
✅ throwingAnIOExceptionDuringEntryPuttingWhileVisitingADirectoryThrowsAnException()
✅ throwingAnIOExceptionDuringCopyingWhileVisitingAFileThrowsAnException()
✅ throwingAnIOExceptionDuringEntryClosingWhileVisitingAFileThrowsAnException()
✅ visitingAFileInvokesAdapterWhichCanChooseToNotCopyTheFileContentsButStillCreatesTheFile()
✅ net.neoforged.gradle.util.CopyingFileTreeVisitorTest
✅ visitingAFileCreatesAFileInTheTargetAndCopiesItsContent()
✅ passingInAFileUsesItsPath()
✅ visitingAFileCreatesAFileInTheTarget()
✅ visitingADirectoryCreatesADirectoryInTheTarget()
✅ passingANotExistingDirectoryCreatesIt()
✅ tryingToUseAFileAsATargetThrowsARuntimeException()
✅ passingInADirectoryWithContentDeletesTheContent()
✅ net.neoforged.gradle.util.DelegatingFileTreeVisitorTest
✅ visitingADirectoryInvokesDelegate()
✅ visitingAFileInvokesDelegate()
✅ net.neoforged.gradle.util.ModuleDependencyUtilsTest
✅ returnsANullExtensionWhenTheFirstArtifactHasNoExtension()
✅ returnsTheExtensionOfTheFirstArtifact()
✅ returnsANullClassifierWhenNoArtifactsArePresent()
✅ returnsTheClassifierOfTheFirstArtifact()
✅ returnsANullExtensionWhenNoArtifactsArePresent()
✅ returnsANullClassifierWhenTheFirstArtifactHasNoClassifier()
✅ net.neoforged.gradle.util.ResolvedDependencyUtilsTest
✅ returnsANullExtensionWhenTheFirstArtifactHasNoExtension()
✅ returnsTheExtensionOfTheFirstArtifact()
✅ returnsANullClassifierWhenNoArtifactsArePresent()
✅ returnsTheClassifierOfTheFirstArtifact()
✅ returnsANullExtensionWhenNoArtifactsArePresent()
✅ returnsANullClassifierWhenTheFirstArtifactHasNoClassifier()
✅ net.neoforged.gradle.util.ZipBuildingFileTreeVisitorTest
✅ visitingAFileCreatesAnEntryInZipAndCopiesItUsingAStream()
✅ throwingAZipExceptionForAnythingOtherThenDuplicateDirectoriesThrowsAnException()
✅ throwingAZipExceptionForDuplicateDirectoriesDoesNotThrowAnException()
✅ throwingAnIOExceptionDuringEntryClosingWhileVisitingADirectoryThrowsAnException()
✅ visitingADirectoryCreatesAnEntryInZip()
✅ throwingAnIOExceptionDuringEntryPuttingWhileVisitingAFileThrowsAnException()
✅ throwingAnIOExceptionDuringEntryPuttingWhileVisitingADirectoryThrowsAnException()
✅ throwingAnIOExceptionDuringCopyingWhileVisitingAFileThrowsAnException()
✅ throwingAnIOExceptionDuringEntryClosingWhileVisitingAFileThrowsAnException()
Annotations
github-actions / Test Report
net.neoforged.gradle.neoform.dependency.NeoformDependencyManagerTest ► adding a dependency on neoform minecraft with exact version works
Failed test found in:
junit.xml
Error:
org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in /tmp/spock_adding_a_dependency_0_internalTestDir8229349137460941273 with arguments []
Raw output
org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in /tmp/spock_adding_a_dependency_0_internalTestDir8229349137460941273 with arguments []
Output:
FAILURE: Build failed with an exception.
* Where:
Build file '/tmp/spock_adding_a_dependency_0_internalTestDir8229349137460941273/build.gradle' line: 7
* What went wrong:
A problem occurred evaluating root project 'neoform-plugin-apply-succeeds'.
> Could not resolve all dependencies for configuration ':detachedConfiguration1'.
> Could not find any matches for net.neoform:neoform:+ as no versions of net.neoform:neoform are available.
Searched in the following locations:
- file:/tmp/spock_adding_a_dependency_0_internalTestDir8229349137460941273/.gradle/repositories/net/neoform/neoform/
- https://libraries.minecraft.net/net/neoform/neoform/
- https://maven.neoforged.net/releases/net/neoform/neoform/maven-metadata.xml
Required by:
project :
* 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 1s
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 org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:318)
at net.neoforged.gradle.neoform.dependency.NeoformDependencyManagerTest.adding a dependency on neoform minecraft with exact version works(NeoformDependencyManagerTest.groovy:41)
github-actions / Test Report
net.neoforged.gradle.neoform.FunctionalTests ► a mod with neoform as dependency can run the apply official mappings task
Failed test found in:
junit.xml
Error:
org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in /tmp/spock_a_mod_with_neoform__0_tempDir2658280487068805795/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_tempDir2658280487068805795/neoform-has-runnable-patch-task with arguments [:neoFormApplyOfficialMappings]
Output:
FAILURE: Build failed with an exception.
* Where:
Build file '/tmp/spock_a_mod_with_neoform__0_tempDir2658280487068805795/neoform-has-runnable-patch-task/build.gradle' line: 13
* What went wrong:
A problem occurred evaluating root project 'neoform-has-runnable-patch-task'.
> Could not resolve all dependencies for configuration ':detachedConfiguration1'.
> Could not find net.neoform:neoform:1.20.2-20230921.152923.
Searched in the following locations:
- file:/tmp/spock_a_mod_with_neoform__0_tempDir2658280487068805795/neoform-has-runnable-patch-task/.gradle/repositories/net/neoform/neoform/1.20.2-20230921.152923/ivy-1.20.2-20230921.152923-fg2.xml
- https://libraries.minecraft.net/net/neoform/neoform/1.20.2-20230921.152923/neoform-1.20.2-20230921.152923.zip
- https://maven.neoforged.net/releases/net/neoform/neoform/1.20.2-20230921.152923/neoform-1.20.2-20230921.152923.pom
Required by:
project :
* 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 27s
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)
github-actions / Test Report
net.neoforged.gradle.neoform.FunctionalTests ► neoform applies user ATs and allows remapped compiling
Failed test found in:
junit.xml
Error:
org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in /tmp/spock_neoform_applies_use_0_tempDir7655944646499201184/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_tempDir7655944646499201184/neoform-compile-with-ats with arguments [build]
Output:
FAILURE: Build failed with an exception.
* Where:
Build file '/tmp/spock_neoform_applies_use_0_tempDir7655944646499201184/neoform-compile-with-ats/build.gradle' line: 19
* What went wrong:
A problem occurred evaluating root project 'neoform-compile-with-ats'.
> Could not resolve all dependencies for configuration ':detachedConfiguration1'.
> Could not find net.neoform:neoform:1.20.2-20230921.152923.
Searched in the following locations:
- file:/tmp/spock_neoform_applies_use_0_tempDir7655944646499201184/neoform-compile-with-ats/.gradle/repositories/net/neoform/neoform/1.20.2-20230921.152923/ivy-1.20.2-20230921.152923-fg2.xml
- https://libraries.minecraft.net/net/neoform/neoform/1.20.2-20230921.152923/neoform-1.20.2-20230921.152923.zip
- https://maven.neoforged.net/releases/net/neoform/neoform/1.20.2-20230921.152923/neoform-1.20.2-20230921.152923.pom
Required by:
project :
* 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 728ms
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)
github-actions / Test Report
net.neoforged.gradle.neoform.FunctionalTests ► neoform re-setup uses a build-cache
Failed test found in:
junit.xml
Error:
org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in /tmp/spock_neoform_re-setup_us_0_tempDir1719262895318536033/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_tempDir1719262895318536033/neoform-compile-with-ats with arguments [--build-cache, build]
Output:
FAILURE: Build failed with an exception.
* Where:
Build file '/tmp/spock_neoform_re-setup_us_0_tempDir1719262895318536033/neoform-compile-with-ats/build.gradle' line: 13
* What went wrong:
A problem occurred evaluating root project 'neoform-compile-with-ats'.
> Could not resolve all dependencies for configuration ':detachedConfiguration1'.
> Could not find net.neoform:neoform:1.20.2-20230921.152923.
Searched in the following locations:
- file:/tmp/spock_neoform_re-setup_us_0_tempDir1719262895318536033/neoform-compile-with-ats/.gradle/repositories/net/neoform/neoform/1.20.2-20230921.152923/ivy-1.20.2-20230921.152923-fg2.xml
- https://libraries.minecraft.net/net/neoform/neoform/1.20.2-20230921.152923/neoform-1.20.2-20230921.152923.zip
- https://maven.neoforged.net/releases/net/neoform/neoform/1.20.2-20230921.152923/neoform-1.20.2-20230921.152923.pom
Required by:
project :
* 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 805ms
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)
Loading