Skip to content

fix gradle custom step with closure and configuration cache #2012

fix gradle custom step with closure and configuration cache

fix gradle custom step with closure and configuration cache #2012

Triggered via pull request January 6, 2025 18:28
Status Failure
Total duration 12m 30s
Artifacts

ci.yml

on: pull_request
spotlessCheck assemble testClasses
1m 1s
spotlessCheck assemble testClasses
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 12 warnings
BumpThisNumberIfACustomStepChangesTest$WithConfigCache.customRuleNeverUpToDate(): BumpThisNumberIfACustomStepChangesTest$WithConfigCache#L1
org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in /tmp/junit-3228568989924824466 with arguments [spotlessApply] Output: Calculating task graph as no configuration cache is available for tasks: spotlessApply > Task :spotlessInternalRegisterDependencies > Task :spotlessMisc > Task :spotlessMiscApply > Task :spotlessApply FAILURE: Build failed with an exception. * What went wrong: Configuration cache problems found in this build. 2 problems were found storing the configuration cache. - Class `org.eclipse.jgit.util.FS`: external process started '/usr/bin/git --version' See https://docs.gradle.org/8.4/userguide/configuration_cache.html#config_cache:requirements:external_processes - Class `org.eclipse.jgit.util.FS`: external process started '/usr/bin/git config --system --show-origin --list -z' See https://docs.gradle.org/8.4/userguide/configuration_cache.html#config_cache:requirements:external_processes See the complete report at file:///tmp/junit-3228568989924824466/build/reports/configuration-cache/6zcla3pgu8qenz6arrs5m2199/8gbndj0xysqy32ihrt7jouir1/configuration-cache-report.html > Starting an external process '/usr/bin/git --version' during configuration time is unsupported. > Starting an external process '/usr/bin/git config --system --show-origin --list -z' during configuration time is unsupported. * 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 16s 3 actionable tasks: 3 executed Configuration cache entry discarded with 2 problems.
build (gradle, 11, ubuntu-latest)
Process completed with exit code 1.
spotlessCheck assemble testClasses
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build (shfmt, 11, ubuntu-latest, v3.8.0)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build (shfmt, 11, ubuntu-latest, v3.8.0)
Restore cache failed: Dependencies file is not found in /home/runner/work/spotless/spotless. Supported file pattern: go.sum
build (npm, 11, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build (maven, 11, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build (maven, 17, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build (gradle, 23, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build (maven, 23, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build (maven, 21, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build (gradle, 21, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build (gradle, 17, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build (gradle, 11, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636