Open Bug 1975922 Opened 9 months ago Updated 5 months ago

Intermittent A failure occurred while executing com.google.devtools.ksp.gradle.KspAAWorkerAction | Error while resolving ksp.org.jetbrains.kotlin.fir.declarations.impl.FirRegularClassImpl

Categories

(Firefox for Android :: Tooling, defect)

All
Android
defect

Tracking

()

People

(Reporter: amarc, Unassigned)

Details

Failure Log: https://treeherder.mozilla.org/logviewer?job_id=516606902&repo=autoland

[task 2025-07-07T05:42:59.962+00:00] 
[task 2025-07-07T05:42:59.962+00:00] > Task :components:feature-push:stripDebugAndroidTestDebugSymbols
[task 2025-07-07T05:42:59.962+00:00] Unable to strip the following libraries, packaging them as they are: libjnidispatch.so, libmegazord.so. Run with --info option to learn more.
[task 2025-07-07T05:42:59.962+00:00] 
[task 2025-07-07T05:42:59.962+00:00] > Task :components:feature-pwa:mapDebugAndroidTestSourceSetPaths
[task 2025-07-07T05:42:59.962+00:00] > Task :components:feature-pwa:generateDebugRFile
[task 2025-07-07T05:42:59.962+00:00] > Task :components:feature-pwa:generateDebugAndroidTestResources
[task 2025-07-07T05:43:00.062+00:00] > Task :components:feature-push:processDebugAndroidTestResources
[task 2025-07-07T05:43:00.462+00:00] 
[task 2025-07-07T05:43:00.462+00:00] > Task :components:feature-pwa:kspDebugKotlin FAILED
[task 2025-07-07T05:43:00.462+00:00] e: [ksp] ksp.org.jetbrains.kotlin.utils.exceptions.KotlinIllegalArgumentExceptionWithAttachments: Error while resolving ksp.org.jetbrains.kotlin.fir.declarations.impl.FirRegularClassImpl 
[task 2025-07-07T05:43:00.462+00:00] from RAW_FIR to STATUS
[task 2025-07-07T05:43:00.462+00:00] current declaration phase STATUS
[task 2025-07-07T05:43:00.462+00:00] origin: Source
[task 2025-07-07T05:43:00.462+00:00] session: class ksp.org.jetbrains.kotlin.analysis.low.level.api.fir.sessions.LLFirSourcesSession (Kotlin reflection is not available)
[task 2025-07-07T05:43:00.462+00:00] module data: class ksp.org.jetbrains.kotlin.analysis.low.level.api.fir.projectStructure.LLFirModuleData (Kotlin reflection is not available)
[task 2025-07-07T05:43:00.462+00:00] KaModule: class ksp.org.jetbrains.kotlin.analysis.project.structure.impl.KaSourceModuleImpl (Kotlin reflection is not available)
[task 2025-07-07T05:43:00.462+00:00] platform: JVM (17)
[task 2025-07-07T05:43:00.462+00:00] 
[task 2025-07-07T05:43:00.562+00:00] 
[task 2025-07-07T05:43:00.562+00:00] > Task :components:feature-prompts:mergeExtDexDebugAndroidTest
[task 2025-07-07T05:43:00.762+00:00] > Task :components:feature-push:mergeExtDexDebugAndroidTest
[task 2025-07-07T05:43:00.862+00:00] > Task :components:feature-privatemode:packageDebugAndroidTest
[task 2025-07-07T05:43:00.862+00:00] > Task :components:feature-privatemode:createDebugAndroidTestApkListingFileRedirect
[task 2025-07-07T05:43:00.862+00:00] > Task :components:feature-prompts:compileDebugAndroidTestKotlin
[task 2025-07-07T05:43:01.062+00:00] > Task :components:feature-pwa:mergeDebugAndroidTestResources
[task 2025-07-07T05:43:01.062+00:00] 
[task 2025-07-07T05:43:01.062+00:00] 456 problems were found storing the configuration cache, 2 of which seem unique.
[task 2025-07-07T05:43:01.062+00:00] - Task `:app:focusNightlyOssLicensesTask` of type `com.google.android.gms.oss.licenses.plugin.LicensesTask`: invocation of 'Task.project' at execution time is unsupported.
[task 2025-07-07T05:43:01.062+00:00]   See https://docs.gradle.org/8.14.2/userguide/configuration_cache.html#config_cache:requirements:use_project_during_execution
[task 2025-07-07T05:43:01.062+00:00] - Task `:app:klarNightlyOssLicensesTask` of type `com.google.android.gms.oss.licenses.plugin.LicensesTask`: invocation of 'Task.project' at execution time is unsupported.
[task 2025-07-07T05:43:01.062+00:00]   See https://docs.gradle.org/8.14.2/userguide/configuration_cache.html#config_cache:requirements:use_project_during_execution
[task 2025-07-07T05:43:01.062+00:00] 
[task 2025-07-07T05:43:01.062+00:00] See the complete report at file:///builds/worker/workspace/obj-build/gradle/build/mobile/android/focus-android/reports/configuration-cache/53tb5cfhfoygksk22vtpkquc5/70vb7ixegf1u0j2tgnbdu0uau/configuration-cache-report.html
[task 2025-07-07T05:43:01.062+00:00] 
[task 2025-07-07T05:43:01.062+00:00] [Incubating] Problems report is available at: file:///builds/worker/workspace/obj-build/gradle/build/mobile/android/focus-android/reports/problems/problems-report.html
[task 2025-07-07T05:43:01.062+00:00] 
[task 2025-07-07T05:43:01.062+00:00] FAILURE: Build failed with an exception.
[task 2025-07-07T05:43:01.062+00:00] 
[task 2025-07-07T05:43:01.062+00:00] * What went wrong:
[task 2025-07-07T05:43:01.062+00:00] Execution failed for task ':components:feature-pwa:kspDebugKotlin'.
[task 2025-07-07T05:43:01.062+00:00] > A failure occurred while executing com.google.devtools.ksp.gradle.KspAAWorkerAction
[task 2025-07-07T05:43:01.062+00:00]    > Error while resolving ksp.org.jetbrains.kotlin.fir.declarations.impl.FirRegularClassImpl 
[task 2025-07-07T05:43:01.062+00:00]      from RAW_FIR to STATUS
[task 2025-07-07T05:43:01.062+00:00]      current declaration phase STATUS
[task 2025-07-07T05:43:01.062+00:00]      origin: Source
[task 2025-07-07T05:43:01.062+00:00]      session: class ksp.org.jetbrains.kotlin.analysis.low.level.api.fir.sessions.LLFirSourcesSession (Kotlin reflection is not available)
[task 2025-07-07T05:43:01.062+00:00]      module data: class ksp.org.jetbrains.kotlin.analysis.low.level.api.fir.projectStructure.LLFirModuleData (Kotlin reflection is not available)
[task 2025-07-07T05:43:01.062+00:00]      KaModule: class ksp.org.jetbrains.kotlin.analysis.project.structure.impl.KaSourceModuleImpl (Kotlin reflection is not available)
[task 2025-07-07T05:43:01.062+00:00]      platform: JVM (17)
[task 2025-07-07T05:43:01.062+00:00] 
[task 2025-07-07T05:43:01.062+00:00] 
[task 2025-07-07T05:43:01.062+00:00] * Try:
[task 2025-07-07T05:43:01.062+00:00] > Run with --stacktrace option to get the stack trace.
[task 2025-07-07T05:43:01.062+00:00] > Run with --info or --debug option to get more log output.
[task 2025-07-07T05:43:01.062+00:00] > Run with --scan to get full insights.
[task 2025-07-07T05:43:01.062+00:00] > Get more help at https://help.gradle.org.
[task 2025-07-07T05:43:01.062+00:00] 
[task 2025-07-07T05:43:01.062+00:00] Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
[task 2025-07-07T05:43:01.062+00:00] 
[task 2025-07-07T05:43:01.062+00:00] You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
[task 2025-07-07T05:43:01.062+00:00] 
[task 2025-07-07T05:43:01.062+00:00] For more on this, please refer to https://docs.gradle.org/8.14.2/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
[task 2025-07-07T05:43:01.062+00:00] 
[task 2025-07-07T05:43:01.062+00:00] BUILD FAILED in 8m 56s
[task 2025-07-07T05:43:01.062+00:00] 4178 actionable tasks: 4059 executed, 119 up-to-date
[task 2025-07-07T05:43:01.116+00:00] Configuration cache entry discarded with 456 problems.
[taskcluster 2025-07-07 05:43:04.902Z] === Task Finished ===
[taskcluster 2025-07-07 05:43:05.208Z] Unsuccessful task run with exit code: 1 completed in 704.317 seconds

Severity: -- → S3

The Bugbug bot thinks this bug should belong to the 'Firefox for Android::Tooling' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: General → Tooling
You need to log in before you can comment on or make changes to this bug.