runIdeForUiTests command fails in windows using the Intellij EAP version 261.22158.46

I am run my tests with ./gradlew runIdeForUiTests.
My windows build failed due to ERROR: Timed out waiting for the Intellij IDE to start.
The build is success when running with the 2025.3.1.1 version.

> Task :runIdeForUiTests FAILED

[Incubating] Problems report is available at: file:///D:/a/filename/problems-report.html

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':runIdeForUiTests'.
> Process 'command 'C:\Users\runneradmin\.gradle\caches\8.13\transforms\9ab41aeccb154211b6b79c6a09870f67\transformed\idea-261.22158.46-win\jbr\bin\java.exe'' finished with non-zero exit value 1

Can you please provide more details such as sacktrace and problems report?

Hi @jakub.chrzanowski .
I updated org.jetbrains.intellij.platform to version 2.13.1 and Gradle to 9.4.0, after which some tests started passing. However, I still encountered failures on Linux and macOS with the same error: ERROR: Timed out waiting for the IntelliJ IDE to start.

I then upgraded org.jetbrains.kotlin.jvm to version 2.1.0, which resolved the issue and allowed the tests to run successfully.

This was the remote log that corresponds to the initial failure.

log

Initialized native services in: /home/runner/.gradle/native
Initialized jansi services in: /home/runner/.gradle/native
The client will now receive all logging from the daemon (pid: 4364). The daemon log file: /home/runner/.gradle/daemon/9.4.0/daemon-4364.out.log
Starting 4th build in daemon [uptime: 3 mins 51.642 secs, performance: 98%]
Using 4 worker leases.
Operational build model parameters: {cachingModelBuilding=false, configurationCache=false, configurationCacheDisabledReason=null, configurationCacheParallelLoad=false, configurationCacheParallelStore=false, configureOnDemand=false, invalidateCoupledProjects=false, isolatedProjects=false, modelAsProjectDependency=false, modelBuilding=false, parallelModelBuilding=false, parallelProjectConfiguration=false, parallelProjectExecution=false, resilientModelBuilding=false}
Now considering [/home/runner/work/liberty-tools-intellij/liberty-tools-intellij/liberty-tools-intellij] as hierarchies to watch
Watching the file system is configured to be enabled if available
File system watching is active
Starting Build
Settings evaluated using settings file ‘/home/runner/work/liberty-tools-intellij/liberty-tools-intellij/liberty-tools-intellij/settings.gradle’.
Projects loaded. Root project using build file ‘/home/runner/work/liberty-tools-intellij/liberty-tools-intellij/liberty-tools-intellij/build.gradle’.
Included projects: [root project ‘liberty-tools-intellij’]

Configure project :
Evaluating root project ‘liberty-tools-intellij’ using build file ‘/home/runner/work/liberty-tools-intellij/liberty-tools-intellij/liberty-tools-intellij/build.gradle’.
Resolved plugin [id: ‘java’]
Resolved plugin [id: ‘org.jetbrains.intellij.platform’, version: ‘2.13.1’]
Resolved plugin [id: ‘org.jetbrains.kotlin.jvm’, version: ‘2.0.20’]
Invalidating in-memory cache of /home/runner/.gradle/caches/journal-1/file-access.bin
[org.jetbrains.intellij.platform] Configuring plugin: org.jetbrains.intellij.platform
[org.jetbrains.intellij.platform] Configuring task: patchPluginXml
[org.jetbrains.intellij.platform] Configuring plugin: org.jetbrains.intellij.platform.base
[org.jetbrains.intellij.platform] Configuring task: initializeIntellijPlatformPlugin
[org.jetbrains.intellij.platform] Configuring task: printBundledModules
[org.jetbrains.intellij.platform] Configuring task: printBundledPlugins
[org.jetbrains.intellij.platform] Configuring task: printProductsReleases
[org.jetbrains.intellij.platform] Configuring task: setupDependencies
[org.jetbrains.intellij.platform] Configuring plugin: org.jetbrains.intellij.platform.module
[org.jetbrains.intellij.platform] Configuring task: generateManifest
[org.jetbrains.intellij.platform] Configuring task: jar
[org.jetbrains.intellij.platform] Configuring task: instrumentCode
[org.jetbrains.intellij.platform] Configuring task: instrumentTestCode
[org.jetbrains.intellij.platform] Configuring task: instrumentedJar
[org.jetbrains.intellij.platform] Configuring task: composedJar
[org.jetbrains.intellij.platform] Configuring task: prepareSandbox
[org.jetbrains.intellij.platform] Configuring task: prepareTestSandbox
[org.jetbrains.intellij.platform] Configuring task: prepareTestIdePerformanceSandbox
[org.jetbrains.intellij.platform] Configuring task: cleanSandbox
[org.jetbrains.intellij.platform] Configuring task: prepareTest
[org.jetbrains.intellij.platform] Configuring task: test
[org.jetbrains.intellij.platform] Configuring task: verifyPluginProjectConfiguration
[org.jetbrains.intellij.platform] Configuring plugin configuration verification task
[org.jetbrains.intellij.platform] Configuring task: patchPluginXml
[org.jetbrains.intellij.platform] Configuring task: processResources
[org.jetbrains.intellij.platform] Configuring task: buildSearchableOptions
[org.jetbrains.intellij.platform] Configuring task: prepareJarSearchableOptions
[org.jetbrains.intellij.platform] Configuring task: jarSearchableOptions
[org.jetbrains.intellij.platform] Configuring task: buildPlugin
[org.jetbrains.intellij.platform] Configuring task: testIdePerformance
[org.jetbrains.intellij.platform] Configuring task: runIde
[org.jetbrains.intellij.platform] Configuring task: verifyPlugin
[org.jetbrains.intellij.platform] Configuring task: verifyPluginSignature
[org.jetbrains.intellij.platform] Configuring task: verifyPluginStructure
[org.jetbrains.intellij.platform] Configuring task: signPlugin
[org.jetbrains.intellij.platform] Configuring task: publishPlugin
Using Kotlin Gradle Plugin gradle85 variant
kotlin scripting plugin: created the scripting discovery configuration: kotlinScriptDef
kotlin scripting plugin: created the scripting discovery configuration: testKotlinScriptDef
All projects evaluated.
Task name matched ‘runIdeForUiTests’
Selected primary task ‘runIdeForUiTests’ from project :
Resource missing. [HTTP GET: https://repo.maven.apache.org/maven2/idea/idea/261.22158.182/idea-261.22158.182.pom]
Resource missing. [HTTP GET: https://repo.eclipse.org/content/repositories/snapshots/idea/idea/261.22158.182/idea-261.22158.182.pom]
Resource missing. [HTTP GET: https://repo.eclipse.org/content/repositories/releases/idea/idea/261.22158.182/idea-261.22158.182.pom]
Resource missing. [HTTP GET: https://oss.sonatype.org/content/repositories/snapshots/idea/idea/261.22158.182/idea-261.22158.182.pom]
Resource missing. [HTTP GET: https://packages.jetbrains.team/maven/p/ij/intellij-dependencies/idea/idea/261.22158.182/idea-261.22158.182.pom]
Resource missing. [HTTP GET: https://d2cico3c979uwg.cloudfront.net/idea/idea/261.22158.182/idea-261.22158.182.pom]
Resource missing. [HTTP GET: https://packages.jetbrains.team/maven/p/kpm/public/idea/idea/261.22158.182/idea-261.22158.182.pom]
Resource missing. [HTTP GET: https://dtahfujkndrht.cloudfront.net/packages.jetbrains.team/maven/p/grazi/grazie-platform-public/idea/idea/261.22158.182/idea-261.22158.182.pom]
Resource missing. [HTTP GET: https://download-cdn.jetbrains.com/teamcity-repository/idea/idea/261.22158.182/idea-261.22158.182.pom]
Resource missing. [HTTP GET: https://dtahfujkndrht.cloudfront.net/packages.jetbrains.team/maven/p/dpgpv/maven/idea/idea/261.22158.182/idea-261.22158.182.pom]
Resource missing. [HTTP GET: https://central.sonatype.com/repository/maven-snapshots/idea/idea/261.22158.182/idea-261.22158.182.pom]
Resource missing. [HTTP GET: https://d2cico3c979uwg.cloudfront.net/idea/idea/261.22158.182/idea-261.22158.182.pom]
Resource missing. [HTTP GET: https://d2s4y8xcwt8bet.cloudfront.net/idea/idea/261.22158.182/idea-261.22158.182.pom]
Resource missing. [HTTP GET: https://dtahfujkndrht.cloudfront.net/packages.jetbrains.team/maven/p/ij/intellij-dependencies/idea/idea/261.22158.182/idea-261.22158.182.pom]
Resource missing. [HTTP GET: https://dtahfujkndrht.cloudfront.net/plugins.jetbrains.com/maven/idea/idea/261.22158.182/idea-261.22158.182.pom]
Downloading https://download.jetbrains.com/idea/idea-261.22158.182.tar.gz to /home/runner/.gradle/.tmp/gradle_download16842478635759034033bin
Caching disabled for ExtractorTransformer: /home/runner/.gradle/caches/modules-2/files-2.1/idea/idea/261.22158.182/e9033a33b9bd3935776931c7aa8b9bc5b126da85/idea-261.22158.182.tar.gz because:
Build cache is disabled
Caching not enabled.
[org.jetbrains.intellij.platform] Extracting archive ‘/home/runner/.gradle/caches/modules-2/files-2.1/idea/idea/261.22158.182/e9033a33b9bd3935776931c7aa8b9bc5b126da85/idea-261.22158.182.tar.gz’ to directory ‘/home/runner/.gradle/caches/9.4.0/transforms/4b7d7075856973ec85ce45a5e27bb70f/transformed/idea-261.22158.182’.
[org.jetbrains.intellij.platform] Resolving the content directory in ‘/home/runner/.gradle/caches/9.4.0/transforms/4b7d7075856973ec85ce45a5e27bb70f/transformed/idea-261.22158.182’.
[org.jetbrains.intellij.platform] The content directory is ‘/home/runner/.gradle/caches/9.4.0/transforms/4b7d7075856973ec85ce45a5e27bb70f/transformed/idea-261.22158.182/idea-IU-261.22158.182’.
[org.jetbrains.intellij.platform] Copying the content from ‘/home/runner/.gradle/caches/9.4.0/transforms/4b7d7075856973ec85ce45a5e27bb70f/transformed/idea-261.22158.182/idea-IU-261.22158.182’ to ‘/home/runner/.gradle/caches/9.4.0/transforms/4b7d7075856973ec85ce45a5e27bb70f/transformed/idea-261.22158.182’.
[org.jetbrains.intellij.platform] Extracting to ‘/home/runner/.gradle/caches/9.4.0/transforms/4b7d7075856973ec85ce45a5e27bb70f/transformed/idea-261.22158.182’ completed.
[org.jetbrains.intellij.platform] LocalIvyArtifactPathComponentMetadataRule has been registered.
Starting process ‘command ‘/home/runner/.gradle/caches/9.4.0/transforms/4b7d7075856973ec85ce45a5e27bb70f/transformed/idea-261.22158.182/jbr/bin/java’’. Working directory: /home/runner/work/liberty-tools-intellij/liberty-tools-intellij/liberty-tools-intellij Command: /home/runner/.gradle/caches/9.4.0/transforms/4b7d7075856973ec85ce45a5e27bb70f/transformed/idea-261.22158.182/jbr/bin/java -XshowSettings:properties -version
Successfully started process ‘command ‘/home/runner/.gradle/caches/9.4.0/transforms/4b7d7075856973ec85ce45a5e27bb70f/transformed/idea-261.22158.182/jbr/bin/java’’
[org.jetbrains.intellij.platform] LocalIvyArtifactPathComponentMetadataRule has been registered.
[org.jetbrains.intellij.platform] Creating new IDE instance from: /home/runner/.gradle/caches/9.4.0/transforms/89734f98e60b74b080049fc5a3b1724b/transformed/ideaIU-2024.3.6
[org.jetbrains.intellij.platform] Created IvyModule.Artifact: url=‘plugins/java/lib’, name=‘jshell-frontend’, ext=‘jar’.
[org.jetbrains.intellij.platform] Created IvyModule.Artifact: url=‘plugins/java/lib’, name=‘maven-resolver-transport-http’, ext=‘jar’.
[org.jetbrains.intellij.platform] Created IvyModule.Artifact: url=‘plugins/java/lib’, name=‘jgoodies-common’, ext=‘jar’.
[org.jetbrains.intellij.platform] Created IvyModule.Artifact: url=‘plugins/java/lib’, name=‘jps-launcher’, ext=‘jar’.
[org.jetbrains.intellij.platform] Created IvyModule.Artifact: url=‘plugins/java/lib’, name=‘jshell-protocol’, ext=‘jar’.
[org.jetbrains.intellij.platform] Created IvyModule.Artifact: url=‘plugins/java/lib’, name=‘jps-builders-6’, ext=‘jar’.
[org.jetbrains.intellij.platform] Created IvyModule.Artifact: url=‘plugins/java/lib’, name=‘aether-dependency-resolver’, ext=‘jar’.
[org.jetbrains.intellij.platform] Created IvyModule.Artifact: url=‘plugins/java/lib’, name=‘javac2’, ext=‘jar’.
[org.jetbrains.intellij.platform] Created IvyModule.Artifact: url=‘plugins/java/lib’, name=‘debugger-memory-agent’, ext=‘jar’.
[org.jetbrains.intellij.platform] Created IvyModule.Artifact: url=‘plugins/java/lib’, name=‘maven-resolver-connector-basic’, ext=‘jar’.
[org.jetbrains.intellij.platform] Created IvyModule.Artifact: url=‘plugins/java/lib’, name=‘sa-jdwp’, ext=‘jar’.
[org.jetbrains.intellij.platform] Created IvyModule.Artifact: url=‘plugins/java/lib’, name=‘java-impl’, ext=‘jar’.
[org.jetbrains.intellij.platform] Created IvyModule.Artifact: url=‘plugins/java/lib’, name=‘jps-javac-extension’, ext=‘jar’.
[org.jetbrains.intellij.platform] Created IvyModule.Artifact: url=‘plugins/java/lib’, name=‘jetbrains.kotlinx.metadata.jvm’, ext=‘jar’.
[org.jetbrains.intellij.platform] Created IvyModule.Artifact: url=‘plugins/java/lib’, name=‘jps-builders’, ext=‘jar’.
[org.jetbrains.intellij.platform] Created IvyModule.Artifact: url=‘plugins/java/lib’, name=‘maven-resolver-transport-file’, ext=‘jar’.
[org.jetbrains.intellij.platform] Created IvyModule.Artifact: url=‘plugins/java/lib’, name=‘java-frontback’, ext=‘jar’.
[org.jetbrains.intellij.platform] Created IvyModule.Artifact: url=‘plugins/java/lib’, name=‘jb-jdi’, ext=‘jar’.
[org.jetbrains.intellij.platform] Created IvyModule.Artifact: url=‘plugins/java/lib/modules’, name=‘intellij.java.unscramble’, ext=‘jar’.
[org.jetbrains.intellij.platform] Created IvyModule.Artifact: url=‘plugins/java/lib/modules’, name=‘intellij.jvm.analysis.impl’, ext=‘jar’.
[org.jetbrains.intellij.platform] Created IvyModule.Artifact: url=‘plugins/java/lib/modules’, name=‘intellij.java.structuralSearch’, ext=‘jar’.
[org.jetbrains.intellij.platform] Created IvyModule.Artifact: url=‘plugins/java/lib/modules’, name=‘intellij.java.vcs’, ext=‘jar’.
[org.jetbrains.intellij.platform] Created IvyModule.Artifact: url=‘plugins/java/lib/modules’, name=‘intellij.java.featuresTrainer’, ext=‘jar’.
[org.jetbrains.intellij.platform] Created IvyModule.Artifact: url=‘plugins/maven/lib’, name=‘maven-jps’, ext=‘jar’.
[org.jetbrains.intellij.platform] Created IvyModule.Artifact: url=‘plugins/maven/lib’, name=‘maven-server-indexer’, ext=‘jar’.
[org.jetbrains.intellij.platform] Created IvyModule.Artifact: url=‘plugins/maven/lib’, name=‘maven3-server’, ext=‘jar’.
[org.jetbrains.intellij.platform] Created IvyModule.Artifact: url=‘plugins/maven/lib’, name=‘artifact-resolver-m31’, ext=‘jar’.
[org.jetbrains.intellij.platform] Created IvyModule.Artifact: url=‘plugins/maven/lib’, name=‘maven’, ext=‘jar’.
[org.jetbrains.intellij.platform] Created IvyModule.Artifact: url=‘plugins/maven/lib’, name=‘maven-event-listener’, ext=‘jar’.
[org.jetbrains.intellij.platform] Created IvyModule.Artifact: url=‘plugins/maven/lib’, name=‘maven40-server’, ext=‘jar’.
[org.jetbrains.intellij.platform] Created IvyModule.Artifact: url=‘plugins/maven/lib’, name=‘maven36-server’, ext=‘jar’.
[org.jetbrains.intellij.platform] Created IvyModule.Artifact: url=‘plugins/maven/lib’, name=‘maven3-server-common’, ext=‘jar’.
[org.jetbrains.intellij.platform] Created IvyModule.Artifact: url=‘plugins/maven/lib’, name=‘maven-server-telemetry’, ext=‘jar’.
[org.jetbrains.intellij.platform] Created IvyModule.Artifact: url=‘plugins/properties/lib’, name=‘properties’, ext=‘jar’.
[org.jetbrains.intellij.platform] Created IvyModule.Artifact: url=‘plugins/repository-search/lib’, name=‘repository-search’, ext=‘jar’.
[org.jetbrains.intellij.platform] Created IvyModule.Artifact: url=‘lib/modules’, name=‘intellij.libraries.ktor.client’, ext=‘jar’.
[org.jetbrains.intellij.platform] Created IvyModule.Artifact: url=‘plugins/maven-model/lib’, name=‘maven-model’, ext=‘jar’.
[org.jetbrains.intellij.platform] Created IvyModule.Artifact: url=‘plugins/maven-model/lib’, name=‘maven-model’, ext=‘jar’.
[org.jetbrains.intellij.platform] Rewriting Ivy module ‘IU-243.26574.91/bundledPlugin-org.jetbrains.idea.maven.model-IU-243.26574.91.xml’ detected. Paths match ‘/home/runner/.gradle/caches/9.4.0/transforms/89734f98e60b74b080049fc5a3b1724b/transformed/ideaIU-2024.3.6/plugins/maven-model’, the cached value will used.
[org.jetbrains.intellij.platform] Created IvyModule.Artifact: url=‘plugins/maven-server/lib’, name=‘maven-server’, ext=‘jar’.
[org.jetbrains.intellij.platform] Created IvyModule.Artifact: url=‘plugins/maven-model/lib’, name=‘maven-model’, ext=‘jar’.
[org.jetbrains.intellij.platform] Rewriting Ivy module ‘IU-243.26574.91/bundledPlugin-org.jetbrains.idea.maven.model-IU-243.26574.91.xml’ detected. Paths match ‘/home/runner/.gradle/caches/9.4.0/transforms/89734f98e60b74b080049fc5a3b1724b/transformed/ideaIU-2024.3.6/plugins/maven-model’, the cached value will used.
[org.jetbrains.intellij.platform] Created IvyModule.Artifact: url=‘plugins/gradle/lib’, name=‘gradle-tooling-extension-impl’, ext=‘jar’.
[org.jetbrains.intellij.platform] Created IvyModule.Artifact: url=‘plugins/gradle/lib’, name=‘gradle-tooling-extension-api’, ext=‘jar’.
[org.jetbrains.intellij.platform] Created IvyModule.Artifact: url=‘plugins/gradle/lib’, name=‘gradle’, ext=‘jar’.
[org.jetbrains.intellij.platform] Created IvyModule.Artifact: url=‘plugins/gradle/lib’, name=‘gradle-api-8.10’, ext=‘jar’.
[org.jetbrains.intellij.platform] Created IvyModule.Artifact: url=‘plugins/terminal/lib’, name=‘terminal’, ext=‘jar’.
[org.jetbrains.intellij.platform] Rewriting Ivy module ‘IU-243.26574.91/bundledPlugin-com.intellij.properties-IU-243.26574.91.xml’ detected. Paths match ‘/home/runner/.gradle/caches/9.4.0/transforms/89734f98e60b74b080049fc5a3b1724b/transformed/ideaIU-2024.3.6/plugins/properties’, the cached value will used.

[Incubating] Problems report is available at: file:///home/runner/work/liberty-tools-intellij/liberty-tools-intellij/liberty-tools-intellij/build/reports/problems/problems-report.html

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not determine the dependencies of task ‘:compileKotlin’.

Could not create task ‘:checkKotlinGradlePluginConfigurationErrors’.
DefaultTaskCollection#configureEach(Action) on task set cannot be executed in the current context.

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --debug option to get more log output.
Run with --scan to get full insights from a Build Scan (powered by Develocity).
Get more help at https://help.gradle.org.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 10.

You can use ‘–warning-mode all’ to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to Command-Line Interface in the Gradle documentation.

BUILD FAILED in 48s

Upgrading the Gradle and Kotlin versions seems to resolve the issue and could be the solution. If you have any other suggestions, please let me know. Thanks