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

Gradle 8.3-rc-2 fails with com.gradle.enterprise 3.14.1 #25934

Closed
natros opened this issue Jul 27, 2023 · 2 comments
Closed

Gradle 8.3-rc-2 fails with com.gradle.enterprise 3.14.1 #25934

natros opened this issue Jul 27, 2023 · 2 comments
Labels
Milestone

Comments

@natros
Copy link

natros commented Jul 27, 2023

Expected Behavior

BUILD SUCCESSFUL

Current Behavior

> Task :mylib:lib:test FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':mylib:lib:test'.
> java.lang.NullPointerException (no error message)

Context (optional)

Gradle fails when executing a test of an included build using com.gradle.enterprise 3.14.1. Works with 3.13.4

Steps to Reproduce

ge.zip

  • unzip ge.zip
  • cd ge/myapp
  • ./gradlew :mylib:lib:test
  • FAILS
  • sed 's/3.14.1/3.13.4/g' -i settings.gradle.kts ../mylib/settings.gradle.kts
  • ./gradlew :mylib:lib:test
  • BUILD SUCCESSFUL

Gradle version

8.3-rc-2

Build scan URL (optional)

No response

Your Environment (optional)

MacOS 13.5 intel

$ java --version
openjdk 11.0.20 2023-07-18 LTS
OpenJDK Runtime Environment Zulu11.66+15-CA (build 11.0.20+8-LTS)
OpenJDK 64-Bit Server VM Zulu11.66+15-CA (build 11.0.20+8-LTS, mixed mode)

@ov7a ov7a added in:develocity-plugin enterprise plugin 👋 team-triage Issues that need to be triaged by a specific team and removed to-triage labels Jul 31, 2023
@ov7a
Copy link
Member

ov7a commented Jul 31, 2023

Thank you for your interest in Gradle!

This issue needs a decision from the team responsible for that area. They have been informed. Response time may vary.

@pshevche
Copy link
Member

@natros , this is an issue in interoperability of Gradle and Gradle Enterprise plugin when executing tests in included builds and with configuration cache enabled. We are aware of the problem and are working on a solution. Currently, the only possible workarounds are either to disable configuration cache for test tasks in included builds or to wait with the GE plugin upgrade. Since disabling configuration cache may significantly increase your build times, I'd recommend waiting with the upgrade. We'll notify you once the issue has been resolved. Sorry for inconvenience.

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

5 participants