-
-
Notifications
You must be signed in to change notification settings - Fork 102
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
windocker: script.sh.copy: No such file or directory
#3714
Comments
Noting that |
The attempt to use
If I issue that immediately after adding a safe.directory parameter with git config then it shows the correct value so it's using a git configuration from elsewhere at that point. If I move it out of the way then it fails earlier in the pipeline:
So for now it seems that this gitconfig file, and whatever it's using when I explicitly add in the safe.directory setting, are both required, so I'll leave both in place. Note that before I set the |
Ref: https://ci.adoptium.net/job/build-scripts/job/jobs/job/jdk21u/job/windbld/ Note that after a successful (ish) jdk8u build (169) I had two consecutive failures trying to kick off jdk21u (170,171), but then the third one (172) passed that step without requiring the workspace to be moved out of the way. |
Based on some investigations in #3723 I tried changing the ownership of the |
Answer: No. 247 run afterwards then went straight through without problems (Again after removing those two directories). So we still have inconsistencies. I'm thinking it would be nice to get a simple pipeline which starts a container and is able to demonstrate this, since out multi-thousand line monolith isn't ideal for problem reproduction/raising upstream, |
I've just tested this using a standalone jenkins pipeline:
Running a sequence of jobs I had the error after a varying amount of failures: 5,1,6,0,0,1,1,0,0,0,0 (The 6 passed all of them!!) |
Running the same jobs with |
Noting also that having git bash in the path first (before the Cygwin one) makes no difference - the error still occurs. |
Memo to self: We have some functions executed in Windows pipelines that are run on either Windows or UNIX systems depending on the pipeline - specifically the writeMetadata function https://github.com/adoptium/ci-jenkins-pipelines/blob/4bfdbb67722dd7e96b256511ac6586e749650524/pipelines/build/common/openjdk_build_pipeline.groovy#L1280
I'm going to leave this with |
Now sorted that case - using an |
This is seen periodically in the
windbld
jobs - maybe just after error conditions on previous runs but that is not certain. It is often resolved by removing theC:\jw\workspace\build-scripts
directory, although I have seen situations where I've done that, run another build which has failed, cleared it again and it works, so it's unclear if we're experience some delay somewhere in the clearup having the desired effect. The root cause of this error is currently unknown.Noting that to run a test multiple times without taking up a full build cycle you can set
"JAVA_TO_BUILD": "jdkXXu",
in the job which will start the job but abort with an error about the java version after the point at which this failure occurs.The text was updated successfully, but these errors were encountered: