Skip to content

Migrate FenceStep and the toggleOffOn to support ConfigurationCacheHackList #3939

Migrate FenceStep and the toggleOffOn to support ConfigurationCacheHackList

Migrate FenceStep and the toggleOffOn to support ConfigurationCacheHackList #3939

Triggered via pull request January 3, 2025 22:07
Status Success
Total duration 7m 9s
Artifacts

codeql-analysis.yml

on: pull_request
Matrix: Analyze
Fit to window
Zoom out
Zoom in

Annotations

1 error and 6 warnings
ToggleOffOnTest$WithConfigCache.lowercase(): ToggleOffOnTest$WithConfigCache#L1
org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in /tmp/junit-13695786806194665163 with arguments [spotlessApply, --stacktrace] Output: Configuration cache is an incubating feature. Reusing configuration cache. FAILURE: Build failed with an exception. * What went wrong: Could not load the value of field `stepsInternalEquality` of task `:spotlessToLower` of type `com.diffplug.gradle.spotless.SpotlessTaskImpl`. > java.lang.reflect.InvocationTargetException (no error message) * Try: Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Exception is: org.gradle.api.GradleException: Could not load the value of field `stepsInternalEquality` of task `:spotlessToLower` of type `com.diffplug.gradle.spotless.SpotlessTaskImpl`. at org.gradle.instantexecution.serialization.beans.BeanPropertyReaderKt.readPropertyValue(BeanPropertyReader.kt:111) at org.gradle.instantexecution.serialization.beans.BeanPropertyReader.readStateOf(BeanPropertyReader.kt:68) at org.gradle.instantexecution.serialization.codecs.TaskNodeCodec.readTask(TaskNodeCodec.kt:119) at org.gradle.instantexecution.serialization.codecs.TaskNodeCodec.decode(TaskNodeCodec.kt:79) at org.gradle.instantexecution.serialization.codecs.BindingsBackedCodec.decode(BindingsBackedCodec.kt:60) at org.gradle.instantexecution.serialization.DefaultReadContext.read(Contexts.kt:212) at org.gradle.instantexecution.serialization.CodecKt.readNonNull(Codec.kt:78) at org.gradle.instantexecution.serialization.codecs.WorkNodeCodec.readNode(WorkNodeCodec.kt:84) at org.gradle.instantexecution.serialization.codecs.WorkNodeCodec.readNodes(WorkNodeCodec.kt:65) at org.gradle.instantexecution.serialization.codecs.WorkNodeCodec.readWork(WorkNodeCodec.kt:45) at org.gradle.instantexecution.InstantExecutionState.decodeScheduledWork(InstantExecutionState.kt:101) at org.gradle.instantexecution.InstantExecutionState.readState(InstantExecutionState.kt:65) at org.gradle.instantexecution.DefaultInstantExecution$readInstantExecutionState$1.invokeSuspend(DefaultInstantExecution.kt:212) at org.gradle.instantexecution.DefaultInstantExecution$readInstantExecutionState$1.invoke(DefaultInstantExecution.kt) at org.gradle.instantexecution.DefaultInstantExecution$withReadContextFor$$inlined$use$lambda$1.invokeSuspend(DefaultInstantExecution.kt:288) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlin.coroutines.ContinuationKt.startCoroutine(Continuation.kt:114) at org.gradle.instantexecution.coroutines.RunToCompletionKt.runToCompletion(RunToCompletion.kt:31) at org.gradle.instantexecution.DefaultInstantExecution.withReadContextFor(DefaultInstantExecution.kt:287) at org.gradle.instantexecution.DefaultInstantExecution.readInstantExecutionState(DefaultInstantExecution.kt:210) at org.gradle.instantexecution.DefaultInstantExecution.access$readInstantExecutionState(DefaultInstantExecution.kt:51) at org.gradle.instantexecution.DefaultInstantExecution$loadScheduledWork$1$1.invoke(DefaultInstantExecution.kt:186) at org.gradle.instantexecution.DefaultInstantExecution$loadScheduledWork$1$1.invoke(DefaultInstantExecution.kt:51) at org.gradle.instantexecution.InstantExecutionCache$useForStateLoad$1.invoke(InstantExecutionCache.kt:120) at org.gradle.instantexecution.InstantExecutionCache$useForStateLoad$1.invoke(InstantExecutionCache.kt:38) at org.gradle.instantexecution.InstantExecutionCache$withBaseCacheDirFor$1.create(InstantExecutionCache.kt:146) at org.gradle.cache.internal.LockOnDemandCrossProcessCacheAccess.withFileLock(LockOnDemandCrossProcessCacheAccess.java:90) at org.gradle.cache.internal.DefaultCacheAccess.withFileLock(DefaultCacheAccess.java:191) at org.gradle.cache.internal.DefaultPersistentDirectoryStore.withFileLock(DefaultPersistentDirectoryStore.java:177) at org.gradle.cache.internal.DefaultCacheFactory$ReferenceTrackingCache.withFileLock(DefaultCacheFactory.java:201) at org.gradle.instantexecution.InstantExecutionCache.withBaseCacheDirFor(InstantExecutionCache.kt:145) at org.gradle.instantexecution.InstantExecutionCache.useForStateLoad(InstantExecutionCache.kt:117) at org.gradle.instantexecution.DefaultInstantExecution$loadScheduledWork$1.invoke(DefaultInstantExecution.kt:185) at org.gradle.instantexecution.DefaultInstantExecution$loadScheduledWork$1.invoke(DefaultInstantExecution.kt:51) at org.gradle.instantexecution.InstantExecutionBuildOperationsKt$withOperation$1.run(InstantExecutionBuildOperations.kt:43) at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:395) at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:387) at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:157) at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:242) at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:150) at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:84) at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31) at org.gradle.instantexecution.InstantExecutionBuildOperationsKt.withOperation(InstantExecutionBuildOperations.kt:37) at org.gradle.instantexecution.InstantExecutionBuildOperationsKt.withLoadOperation(InstantExecutionBuildOperations.kt:27) at org.gradle.instantexecution.DefaultInstantExecution.loadScheduledWork(DefaultInstantExecution.kt:184) at org.gradle.initialization.DefaultGradleLauncher.doInstantExecution(DefaultGradleLauncher.java:185) at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:153) at org.gradle.initialization.DefaultGradleLauncher.executeTasks(DefaultGradleLauncher.java:131) at org.gradle.internal.invocation.GradleBuildController$1.create(GradleBuildController.java:72) at org.gradle.internal.invocation.GradleBuildController$1.create(GradleBuildController.java:67) at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:180) at org.gradle.internal.work.StopShieldingWorkerLeaseService.withLocks(StopShieldingWorkerLeaseService.java:40) at org.gradle.internal.invocation.GradleBuildController.doBuild(GradleBuildController.java:67) at org.gradle.internal.invocation.GradleBuildController.run(GradleBuildController.java:56) at org.gradle.tooling.internal.provider.runner.BuildModelActionRunner.run(BuildModelActionRunner.java:54) at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35) at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35) at org.gradle.launcher.exec.BuildOutcomeReportingBuildActionRunner.run(BuildOutcomeReportingBuildActionRunner.java:63) at org.gradle.tooling.internal.provider.ValidatingBuildActionRunner.run(ValidatingBuildActionRunner.java:32) at org.gradle.tooling.internal.provider.FileSystemWatchingBuildActionRunner.run(FileSystemWatchingBuildActionRunner.java:52) at org.gradle.launcher.exec.BuildCompletionNotifyingBuildActionRunner.run(BuildCompletionNotifyingBuildActionRunner.java:41) at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner$3.call(RunAsBuildOperationBuildActionRunner.java:49) at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner$3.call(RunAsBuildOperationBuildActionRunner.java:44) at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:409) at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:399) at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:157) at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:242) at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:150) at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:94) at org.gradle.internal.operations.DelegatingBuildOperationExecutor.call(DelegatingBuildOperationExecutor.java:36) at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner.run(RunAsBuildOperationBuildActionRunner.java:44) at org.gradle.launcher.exec.InProcessBuildActionExecuter$1.transform(InProcessBuildActionExecuter.java:50) at org.gradle.launcher.exec.InProcessBuildActionExecuter$1.transform(InProcessBuildActionExecuter.java:47) at org.gradle.composite.internal.DefaultRootBuildState.run(DefaultRootBuildState.java:87) at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:47) at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:31) at org.gradle.launcher.exec.BuildTreeScopeBuildActionExecuter.execute(BuildTreeScopeBuildActionExecuter.java:44) at org.gradle.launcher.exec.BuildTreeScopeBuildActionExecuter.execute(BuildTreeScopeBuildActionExecuter.java:29) at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:87) at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:55) at org.gradle.tooling.internal.provider.SubscribableBuildActionExecuter.execute(SubscribableBuildActionExecuter.java:60) at org.gradle.tooling.internal.provider.SubscribableBuildActionExecuter.execute(SubscribableBuildActionExecuter.java:38) at org.gradle.tooling.internal.provider.SessionScopeBuildActionExecuter.execute(SessionScopeBuildActionExecuter.java:68) at org.gradle.tooling.internal.provider.SessionScopeBuildActionExecuter.execute(SessionScopeBuildActionExecuter.java:38) at org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute(GradleThreadBuildActionExecuter.java:37) at org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute(GradleThreadBuildActionExecuter.java:26) at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:60) at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:32) at org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:56) at org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:42) at org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:48) at org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:32) at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:68) at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:37) at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104) at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:39) at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104) at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:29) at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104) at org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:35) at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104) at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.create(ForwardClientInput.java:78) at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.create(ForwardClientInput.java:75) at org.gradle.util.Swapper.swap(Swapper.java:38) at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:75) at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104) at org.gradle.launcher.daemon.server.exec.LogAndCheckHealth.execute(LogAndCheckHealth.java:55) at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104) at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:63) at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:37) at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104) at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:82) at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:37) at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104) at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:52) at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:297) at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64) at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48) at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56) Caused by: java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at org.gradle.instantexecution.serialization.codecs.jos.JavaObjectSerializationCodecKt.invokeAll(JavaObjectSerializationCodec.kt:353) at org.gradle.instantexecution.serialization.codecs.jos.JavaObjectSerializationCodecKt.access$invokeAll(JavaObjectSerializationCodec.kt:1) at org.gradle.instantexecution.serialization.codecs.jos.JavaObjectSerializationCodec.decode(JavaObjectSerializationCodec.kt:115) at org.gradle.instantexecution.serialization.codecs.BindingsBackedCodec.decode(BindingsBackedCodec.kt:60) at org.gradle.instantexecution.serialization.DefaultReadContext.read(Contexts.kt:212) at org.gradle.instantexecution.serialization.beans.BeanPropertyReaderKt.readPropertyValue(BeanPropertyReader.kt:103) ... 118 more Caused by: java.lang.InstantiationError: [B at java.base/jdk.internal.reflect.GeneratedSerializationConstructorAccessor65.newInstance(Unknown Source) at org.gradle.instantexecution.serialization.beans.BeanPropertyReader.newBean(BeanPropertyReader.kt:58) at org.gradle.instantexecution.serialization.beans.BeanStateReader$DefaultImpls.newBeanWithId(BeanStateReader.kt:25) at org.gradle.instantexecution.serialization.beans.BeanPropertyReader.newBeanWithId(BeanPropertyReader.kt:37) at org.gradle.instantexecution.serialization.codecs.BeanCodec.readBeanOf(BeanCodec.kt:66) at org.gradle.instantexecution.serialization.codecs.BeanCodec.decode(BeanCodec.kt:47) at org.gradle.instantexecution.serialization.CombinatorsKt$reentrant$1.decode(Combinators.kt:103) at org.gradle.instantexecution.serialization.codecs.BindingsBackedCodec.decode(BindingsBackedCodec.kt:60) at org.gradle.instantexecution.serialization.DefaultReadContext.read(Contexts.kt:212) at org.gradle.instantexecution.serialization.codecs.jos.ObjectInputStreamAdapter$readObjectOverride$1.invokeSuspend(ObjectInputStreamAdapter.kt:52) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlin.coroutines.ContinuationKt.startCoroutine(Continuation.kt:114) at org.gradle.instantexecution.coroutines.RunToCompletionKt.runToCompletion(RunToCompletion.kt:31) at org.gradle.instantexecution.serialization.codecs.jos.ObjectInputStreamAdapter.readObjectOverride(ObjectInputStreamAdapter.kt:51) at com.diffplug.spotless.ConfigurationCacheHackList.readObject(ConfigurationCacheHackList.java:74) ... 127 more * Get more help at https://help.gradle.org BUILD FAILED in 97ms Configuration cache entry reused.
Analyze (javascript)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Analyze (javascript)
1 issue was detected with this workflow: git checkout HEAD^2 is no longer necessary. Please remove this step as Code Scanning recommends analyzing the merge commit for best results.
Analyze (javascript)
Unable to validate code scanning workflow: CheckoutWrongHead
Analyze (java)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Analyze (java)
1 issue was detected with this workflow: git checkout HEAD^2 is no longer necessary. Please remove this step as Code Scanning recommends analyzing the merge commit for best results.
Analyze (java)
Unable to validate code scanning workflow: CheckoutWrongHead