-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
IdentityTransform fails with FileNotFound after updating to 7.5-rc1 #20778
Comments
also tried 7.5-20220511195339+0000. didn't work. |
Thanks @yigit. We'll try to reproduce this. Could you give |
@big-guy , triggered a new build for |
That one failed too with the same error: https://github.com/androidx/androidx/runs/6429070066?check_suite_focus=true |
see gradle/gradle#20778 for details Bug: n/a Test: CI
All the things seem to point to 0654460 |
see gradle/gradle#20778 for details Bug: b/232580974 Test: CI This is an imported pull request from #399. Resolves #399 Github-Pr-Head-Sha: 66946a3 GitOrigin-RevId: 6d6ee13 Change-Id: If04aee87ef94025184bd47410dbab501ab7518b7
I was able to reproduce. Instead of purging the whole Gradle user home (
This was enough to raise the error. I'll continue investigating. |
- Dummy dependency substitution rule prevents artifact transforms from executing too early
Hi @yigit and @liutikas, sorry for the delay in responding. We've been looking at the execution graph optimizations which exposed this issue. The reality is the behavior which analyzed the inputs to transformations has been incorrect since at least Gradle 7.4, but something about the androidx setup combined with our recent optimizations has teased out this bug. Unfortunately the proper long-term fix is too disruptive to add to 7.5-rc-2. Instead I've provided a suggested temporary workaround here. This should allow you to test with Gradle 7.5-rc-1, and we will make changes in either 7.5.1 or 7.6 which will remove the need for the workaround. |
This PR updates playground gradle to 7.5-rc2 (aosp is happening in parallel). ` ./gradlew wrapper --gradle-version=7.5-rc-2` It also applies the workaround provided by the gradle team until we can update to 7.5.1 (or 7.6) Bug: gradle/gradle#20778 Test: CI This is an imported pull request from #413. Resolves #413 Github-Pr-Head-Sha: de11c88 GitOrigin-RevId: acc6527 Change-Id: Id7f1dbbe6ee4d92388ce8eb3c43a678bd25065aa
@bamboo I think Adam is looking/working on this. Do you want us to reassign it to him? |
This is fixed now via #21292 |
Remove workaround for gradle/gradle#20778 Test: None
Remove workaround for gradle/gradle#20778 Test: None
Remove workaround for gradle/gradle#20778 Test: None
Unfortunately, we are still seeing this problem with gradle 8: |
I can confirm we are getting exactly the same problem with We detected while executing This happens for us in our CI (on Linux AMIs, with 16 cores) but not locally (on macOS, with 8-10 cores), not sure if the extra available workers or the OS might be connected. This is a project around 140 modules and it always fails in one of the first ones (required by another 14 modules). |
AndroidX Github Build started failing after updating Gradle to
7.5-rc-1
from7.5-20220421031748+0000
First failure: androidx/androidx@dc4af65
Expected Behavior
compileReleaseJavaWithJavac
task should wait for its dependencies.Current Behavior
compileReleaseJavaWithJavac
fails inIdentityTransform
step with aFileNotFound
exception. Unfortunately, the file is there after the build so my guess is that it is not waiting for its dependencies properly.Context
Worked in
7.5-20220421031748+0000
(and before), started failing with7.5-rc-1
.Steps to Reproduce
checkout AndroidX Github Repo
Might also need the one time setup instructions
If you re-run
bOS
it will succeed. You can also validate that the missing file is there after the first failure.Your Environment
Build scan URL: https://ge.androidx.dev/s/sg2yfkiqoxpti/failure#1
The text was updated successfully, but these errors were encountered: