-
-
Notifications
You must be signed in to change notification settings - Fork 251
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
Clean problematic files on alibaba workspaces #2400
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a worrying amount of hardcoded deletions here. I wonder if there's a much more efficient cleanup mechanism at the end of builds?
Probably related I think some new investigation by @jdekonin pointed at long path lengths being the root cause. |
@Haroon-Khel Can you not just set the workspace variables to Also, ref: adoptium/infrastructure#1818 |
Good spot @Willsparker. Ill change the workspace to that and run some jobs. Should it be sufficient, ill close this pr |
This is while the workspace was |
Ok, I realise that the workspace needs to be C:\workspace\openjdk-build. Having made that change, I get the familiar gradle error
This may be related to @sxa's comment adoptium/infrastructure#1818 (comment) |
@M-Davies How can I test this pr? The build jobs do not give a parameter, for example, from which repo to use build scripts |
run tests See https://github.com/AdoptOpenJDK/openjdk-build/blob/master/pipelines/build/prTester/README.md for all of our potential tests that run :) |
PR TESTER RESULT ❎ Some pipelines failed or the job was aborted! ❎ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Runs ok as per adoptium/infrastructure#1818 (comment)
Failing job was an unrelated aarch64 problem. Windows ran ok |
@Haroon-Khel Does this still need to be in draft in light of all the testing above? |
This is a temporary fix to clean workspaces on alibaba machines before builds. Currently both alibaba machines are facing this issue
This issue has affected other windows boxes, hence the pr #1956, so I am putting a similar fix in for alibaba machines.
Most recent failure on build-alibaba-win2012r2-x64-1 https://ci.adoptopenjdk.net/job/build-scripts/job/jobs/job/jdk11u/job/jdk11u-windows-x64-dragonwell/58/console