Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Configuration Cache #327

Open
Goooler opened this issue Oct 14, 2023 · 1 comment
Open

Support Configuration Cache #327

Goooler opened this issue Oct 14, 2023 · 1 comment
Assignees
Labels

Comments

@Goooler
Copy link
Contributor

Goooler commented Oct 14, 2023

Description

  1. Enable CC for this project, we can see:
rg.gradle.api.GradleException: Could not load the value of field `subscribedListeners` of `org.gradle.api.tasks.testing.AbstractTestTask$BroadcastSubscriptions` bean found in field `testListenerSubscriptions` of task `:functionalTest` of type `org.gradle.api.tasks.testing.Test`.	
at org.gradle.configurationcache.serialization.beans.BeanPropertyReaderKt.readPropertyValue(BeanPropertyReader.kt:112)	
at org.gradle.configurationcache.serialization.beans.BeanPropertyReaderKt$readPropertyValue$1.invokeSuspend(BeanPropertyReader.kt)	
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)	
at kotlin.coroutines.SafeContinuation.resumeWith(SafeContinuationJvm.kt:41)	
at org.gradle.configurationcache.serialization.CombinatorsKt$reentrant$1$decodeLoop$$inlined$Continuation$1.resumeWith(Continuation.kt:167)	
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)	
at kotlin.coroutines.ContinuationKt.startCoroutine(Continuation.kt:115)

Build scan: https://scans.gradle.com/s/fojpmsyvoqbks/failure?expanded-stacktrace=WyIwIl0#1

  1. Enable CC for all functional tests, we can see:
1 problem was found storing the configuration cache.	
- Gradle runtime: support for using a Java agent with TestKit builds is not yet implemented with the configuration cache.	
  See https://docs.gradle.org/8.4/userguide/configuration_cache.html#config_cache:not_yet_implemented:testkit_build_with_java_agent

Build scan: https://scans.gradle.com/s/ibcfhqf4roxyw/tests/overview?outcome=FAILED

Repro: Goooler#30

Versions

  • Test logger version: 4.0.0
  • Gradle version: 8.4

Type of test being run

Whether it is JUnit, Spock, TestNg, or anything else. Also, try to include a sample test here.

Test logger configuration

Paste your test logger configuration here.

Screenshots

If possible, add screenshots to help explain your problem.

Additional information

Add any other information about the problem here.

@Goooler
Copy link
Contributor Author

Goooler commented Oct 14, 2023

Links #163.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants