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 upauto clean cache in build bot #19713
Conversation
highfive
commented
Jan 7, 2018
|
Heads up! This PR modifies the following files:
|
|
@bors-servo r+ |
|
|
auto clean cache in build bot <!-- Please describe your changes on the following line: --> auto clean cache in build bot once this merged, servo/saltfs#321 should be closed --- <!-- 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 - [X] These changes fix #19712 (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/19713) <!-- Reviewable:end -->
|
|
|
|
All build machines failed with this message. I cannot imagine why since local can run the script. |
|
@bors-servo try |
auto clean cache in build bot <!-- Please describe your changes on the following line: --> auto clean cache in build bot once this merged, servo/saltfs#321 should be closed --- <!-- 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 - [X] These changes fix #19712 (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/19713) <!-- Reviewable:end -->
|
|
@aneeshusa Windows's cargo is under admin, seems we cannot touch it.
|
|
@bors-servo r- I suspect there is an actual error here as the error message indicates that My guess is that recent changes to the bootstrapping code may have caused this; cc @SimonSapin who has touched this recently. |
|
@aneeshusa the origin issue can solve by adding but there is new issue as I post above |
|
@tigercosmos ah sorry about that, I commented at the same time as you and didn't see your comment! It looks like there are some more issues with I'm not sure about what to do about the first issue with access denied, but the second issue looks like bytes/unicode confusion that will need to be fixed. Also, good catch that this is |
|
@aneeshusa I don't understand what you mean "always use that behavior"? |
|
could someone review? |
| @@ -156,6 +176,7 @@ windows-msvc-dev: | |||
| - mach.bat test-stylo | |||
|
|
|||
| windows-msvc-nightly: | |||
| - mach.bat clean-cargo-cache --keep 3 --force --custom-path | |||
This comment has been minimized.
This comment has been minimized.
jdm
Jan 16, 2018
Member
Since #19395 has merged, let's make the --custom-path behaviour the default behaviour and remove the argument entirely from the mach command implementation.
This comment has been minimized.
This comment has been minimized.
|
@bors-servo try |
auto clean cache in build bot <!-- Please describe your changes on the following line: --> auto clean cache in build bot once this merged, servo/saltfs#321 should be closed --- <!-- 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 - [X] These changes fix #19712 (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/19713) <!-- Reviewable:end -->
|
|
|
r? @jdm |
|
@bors-servo r+ |
|
|
auto clean cache in build bot <!-- Please describe your changes on the following line: --> auto clean cache in build bot once this merged, servo/saltfs#321 should be closed --- <!-- 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 - [X] These changes fix #19712 (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/19713) <!-- Reviewable:end -->
|
|
Don't clean the cargo cache on Windows. I previously added the CARGO_HOME for Windows builders because I thought there might be a permissions problem with the default location that was causing the errors when cloning repositories. I suspect that cleaning the cache is to blame for those somehow, since as far as I recall the problems started after #19713. Let's take it out and see if they go away! <!-- 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/20233) <!-- Reviewable:end -->
Don't clean the cargo cache on Windows. I previously added the CARGO_HOME for Windows builders because I thought there might be a permissions problem with the default location that was causing the errors when cloning repositories. I suspect that cleaning the cache is to blame for those somehow, since as far as I recall the problems started after #19713. Let's take it out and see if they go away! <!-- 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/20233) <!-- Reviewable:end -->
tigercosmos commentedJan 7, 2018
•
edited by SimonSapin
auto clean cache in build bot
once this merged, servo/saltfs#321 should be closed
./mach build -ddoes not report any errors./mach test-tidydoes not report any errorsThis change is