Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAndroid builds are failing on servo-linux-cross3 #661
Comments
…s, r=<try> [DO NOT MERGE] Test hypothesis for failing Android builds on cross3 See servo/saltfs#661 (comment). <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [ ] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
…s, r=<try> [DO NOT MERGE] Test hypothesis for failing Android builds on cross3 See servo/saltfs#661 (comment). <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [ ] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16772) <!-- Reviewable:end -->
…s, r=<try> [DO NOT MERGE] Test hypothesis for failing Android builds on cross3 See servo/saltfs#661 (comment). <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [ ] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16772) <!-- Reviewable:end -->
|
OK, reproduced the failure on servo-linux-cross2 with the above test PR (see http://build.servo.org/builders/android/builds/6786), SDK 25.2.3 breaks |
|
This line in blurdroid dependency is the one causing the problem: https://github.com/szeged/blurdroid/blob/master/build.rs#L64 The problem is that when SDK 25.2.3 is enabled, only android-25 platform is installed. When r24.4.1 is enabled only android-18 platform is installled. Blurdroid dependency has android-18 path hardcoded... Possible solutions:
|
|
Making platforms into an array in saltfs is a fairly easy change. However, IMO it makes more sense to update blurdroid, then send a servo/servo PR with that change (and also fixing buildbot_steps.yml to pass the ANDROID_SDK var for
Also, I just noticed we should update the |
|
It might also make sense to use an environment variable for the platform version in |
|
Yes, good reasons to update blurdroid. I'll do the PR to blurdroid, it's a easy change too. |
Update blurdroid and set ANDROID_SDK in build_steps.yml <!-- Please describe your changes on the following line: --> See servo/saltfs#661. Update blurdroid and set ANDROID_SDK in build_steps.yml cc @aneeshusa @larsbergstrom --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [x] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16812) <!-- Reviewable:end -->
|
Thanks for the PRs @MortimerGoro! I just grepped servo/servo and I still see |
|
@aneeshusa the android-18 in the log are related to Android NDK (C++) which is a different SDK (it has all the platforms included). I think that there aren't more dependencies in Servo that use Android SDK (java). So the cross3 build should work |
|
I didn't know that about SDK vs. NDK, thanks for the explanation. Indeed, the force build succeeded: http://build.servo.org/builders/android/builds/6858 I'm going to roll out #644 to |
…teps.yml (from MortimerGoro:update_blurdroid); r=jdm <!-- Please describe your changes on the following line: --> See servo/saltfs#661. Update blurdroid and set ANDROID_SDK in build_steps.yml cc @aneeshusa @larsbergstrom --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [x] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Source-Repo: https://github.com/servo/servo Source-Revision: 060a651f8847189e8d0830e35bbf4497014f01d5 --HG-- extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear extra : subtree_revision : c70047d684d85626b0fe84ce8df83d7336df02a5
…teps.yml (from MortimerGoro:update_blurdroid); r=jdm <!-- Please describe your changes on the following line: --> See servo/saltfs#661. Update blurdroid and set ANDROID_SDK in build_steps.yml cc @aneeshusa @larsbergstrom --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [x] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Source-Repo: https://github.com/servo/servo Source-Revision: 060a651f8847189e8d0830e35bbf4497014f01d5
…teps.yml (from MortimerGoro:update_blurdroid); r=jdm <!-- Please describe your changes on the following line: --> See servo/saltfs#661. Update blurdroid and set ANDROID_SDK in build_steps.yml cc aneeshusa larsbergstrom --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [x] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Source-Repo: https://github.com/servo/servo Source-Revision: 060a651f8847189e8d0830e35bbf4497014f01d5 UltraBlame original commit: 2f5a221eedf65d950fb932f5eb6949635a76adb5
…teps.yml (from MortimerGoro:update_blurdroid); r=jdm <!-- Please describe your changes on the following line: --> See servo/saltfs#661. Update blurdroid and set ANDROID_SDK in build_steps.yml cc aneeshusa larsbergstrom --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [x] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Source-Repo: https://github.com/servo/servo Source-Revision: 060a651f8847189e8d0830e35bbf4497014f01d5 UltraBlame original commit: 2f5a221eedf65d950fb932f5eb6949635a76adb5
…teps.yml (from MortimerGoro:update_blurdroid); r=jdm <!-- Please describe your changes on the following line: --> See servo/saltfs#661. Update blurdroid and set ANDROID_SDK in build_steps.yml cc aneeshusa larsbergstrom --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [x] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Source-Repo: https://github.com/servo/servo Source-Revision: 060a651f8847189e8d0830e35bbf4497014f01d5 UltraBlame original commit: 2f5a221eedf65d950fb932f5eb6949635a76adb5
We've tried re-highstating servo-linux-cross3; jury is still out on the last highstate, but previous attempts have not fixed the problem.
I'm not well versed with Android, but I have a new idea about what might be going wrong:
/mach build --android --devstepANDROID_SDKvariable for the./mach packagestep, not the./mach buildstep, so thecurrentSDK symlink takes precedence-cross1and-cross2, only-cross3:-cross1and-cross2still have the olderr24.4.1SDKs on disk, while all three have the newr25.2.3SDK on disk.-cross1and-cross2have the old SDK ascurrent, while-cross3has the new SDK ascurrent.Is it feasible that
./mach build --android --devis failing due to getting the newr25.2.3SDK on-cross3, while working OK with ther24.4.1SDK on-cross1and-cross2?cc @larsbergstrom @MortimerGoro