Gradle 8:无法在运行工作中取得进展。有项目排队等待执行,但没有一个项目可以启动

mah*_*san 6 java teamcity gradle selenium-webdriver

在我的 CI: Teamcity 服务器中运行的基于 Selenium-JAVA-Gradle 的自动化测试项目中,最近我们更新了 JAVA 和 Gradle 版本。测试在本地运行良好,没有任何错误,但 TeamCity 中的构建标记为失败。可能是什么原因?

\n
    \n
  • Teamcity 服务器 - JAVA 版本:21
  • \n
  • Teamcity 服务器 - Gradle 版本:8.4
  • \n
\n

所有测试都运行良好,没有任何错误,但构建标记为失败并出现以下错误:

\n
 Unable to make progress running work. The following items are queued for execution but none of them can be started:\n10:49:51\xc2\xa0    - Build \':\':\n10:49:51\xc2\xa0        - Waiting for nodes:\n10:49:51\xc2\xa0            - :build (state=SHOULD_RUN, dependencies=NOT_COMPLETE, group=task group 2, dependencies=[:assemble (SHOULD_RUN), :check (EXECUTED)], waiting-for=[:assemble (SHOULD_RUN)], has-failed-dependency=false )\n10:49:51\xc2\xa0            - :clean (state=SHOULD_RUN, dependencies=COMPLETE_AND_SUCCESSFUL, group=task group 1, dependencies=[Resolve mutations for :clean (EXECUTED), producer locations for task group 0 (EXECUTED)], has-failed-dependency=false )\n10:49:51\xc2\xa0        - Nodes ready to start:\n10:49:51\xc2\xa0            - :jar\n10:49:51\xc2\xa0            - :clean\n10:49:51\xc2\xa0        - Reachable nodes:\n10:49:51\xc2\xa0            - :jar (state=SHOULD_RUN, dependencies=COMPLETE_AND_SUCCESSFUL, group=task group 2, dependencies=[Resolve mutations for :jar (EXECUTED), destroyer locations for task group 1 (EXECUTED), :classes (EXECUTED), :compileJava (EXECUTED)], has-failed-dependency=false )\n10:49:51\xc2\xa0            - :assemble (state=SHOULD_RUN, dependencies=NOT_COMPLETE, group=task group 2, dependencies=[:jar (SHOULD_RUN)], waiting-for=[:jar (SHOULD_RUN)], has-failed-dependency=false )\n10:49:51\xc2\xa0        - Scheduling events:\n10:49:51\xc2\xa0            - node added to plan: destroyer locations for task group 0, when: scheduled, state: SHOULD_RUN, dependencies: 0, is ready node? true\n10:49:51\xc2\xa0            - node added to plan: destroyer locations for task group 1, when: scheduled, state: SHOULD_RUN, dependencies: 2, is ready node? false\n10:49:51\xc2\xa0            - node added to plan: producer locations for task group 0, when: scheduled, state: SHOULD_RUN, dependencies: 5, is ready node? false\n10:49:51\xc2\xa0        - Ordinal groups:\n10:49:51\xc2\xa0            - group 0 entry nodes: [:test (EXECUTED)]\n10:49:51\xc2\xa0            - group 1 entry nodes: [:clean (SHOULD_RUN)]\n10:49:51\xc2\xa0            - group 2 entry nodes: [:build (SHOULD_RUN)]\n10:49:51\xc2\xa0    - Workers waiting for work: 4\n10:49:51\xc2\xa0    - Stopped workers: 0\n10:49:51\xc2\xa0  java.lang.IllegalStateException: Unable to make progress running work. There are items queued for execution but none of them can be started\n\n
Run Code Online (Sandbox Code Playgroud)\n