eygraber
08/19/2025, 3:01 PMAdam Semenenko
08/19/2025, 3:32 PM./gradlew --version
) are you using?
3. What other Gradle plugins are used?
4. What KMP targets are enabled? If you disable the targets one-by-one, does it show that one target is a problem?
5. Do other tasks, like ./gradlew build
, also hang?
6. Could you share the console output? (in Slack you can do 'create snippet' to share a large text output)tapchicoma
08/19/2025, 3:33 PMCould you share the console output?Better Gradle build scan + Kotlin daemon logs
eygraber
08/19/2025, 3:36 PMGradle build scan + Kotlin daemon logsI can't get the build scan because the build never completes. I will try to get the daemon logs when I repro again
eygraber
08/19/2025, 3:37 PMAdam Semenenko
08/19/2025, 3:38 PMExtracting dependency...
? 🤔eygraber
08/19/2025, 3:41 PMeygraber
08/19/2025, 3:41 PMAdam Semenenko
08/19/2025, 4:06 PMAndroidxSqliteConcurrencyIntegrationTest
... given that enabling CC means tests from different projects can run at the same time, maybe one of the tests is locking a shared resource?Adam Semenenko
08/19/2025, 4:09 PMAndroidxSqliteConcurrencyIntegrationTest
is in commonTest, so it will be run multiple times (once for each target). When CC is enabled, the test tasks will run in parallel, so concurrency_integration.db
will be opened multiple times simultaneouslyeygraber
08/19/2025, 4:10 PMallTests
again after killing the hanging one seems to work though.Adam Semenenko
08/19/2025, 4:12 PMoverride var type: AndroidxSqliteDatabaseType = AndroidxSqliteDatabaseType.File("concurrency_integration-${Random.nextULong()}.db")
making the name random fixes it on my machine (just a quick fix - deleting the db after the test would be nicer)Adam Semenenko
08/19/2025, 4:13 PMeygraber
08/19/2025, 4:14 PMAndroidxSqliteConcurrencyTest
but not for AndroidxSqliteConcurrencyIntegrationTest
🙈Adam Semenenko
08/19/2025, 4:17 PMrunTest {}
supposed to timeout? That would have helped reveal it wasn't a Gradle issue.eygraber
08/19/2025, 4:19 PMAdam Semenenko
08/19/2025, 4:20 PM