Skip to content
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

create-windows-installer deletes wix/ReleaseDir before upstream build has copied artifacts #1945

Closed
andrew-m-leonard opened this issue Jul 1, 2020 · 2 comments
Assignees
Labels
bug Issues that are problems in the code as reported by the community installer Issues that relate to our installer jobs or installer repo
Milestone

Comments

@andrew-m-leonard
Copy link
Contributor

Evidence from build failure: https://ci.adoptopenjdk.net/view/Failing%20Builds/job/build-scripts/job/jobs/job/jdk15/job/jdk15-windows-x64-openj9/27/console

[Pipeline] copyArtifacts
05:46:38  Copied 0 artifacts from "build-scripts » release » create_installer_windows" build number 5319
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] echo
05:46:38  Execution error: hudson.AbortException: Failed to copy artifacts from build-scripts/release/create_installer_windows with filter: wix/ReleaseDir/*

and the fact that #5320 the subsequent create_installer_windows job ran at 05:41 (5 mins before above job tried to copy artifacts from #5319):
https://ci.adoptopenjdk.net/job/build-scripts/job/release/job/create_installer_windows/5320/console
and that the contents of the wix/ReleaseDir only contains the #5320 output:

OpenJDK15-jre_x64_windows_hotspot_2020-07-01-03-32.msi
@andrew-m-leonard
Copy link
Contributor Author

andrew-m-leonard commented Jul 1, 2020

So the problem was in the create_installer_windows job configuration:

  | Max # of builds to keep with artifacts
was set to 1 !!!
So as soon as the next job started the previous artifact was deleted potentially bewfore it's upstream job had copied it...

I have changed it to 20

create_installer_mac had the same problem too, changed to 20 as well

@M-Davies M-Davies added bug Issues that are problems in the code as reported by the community installer Issues that relate to our installer jobs or installer repo labels Jul 1, 2020
@karianna karianna added this to TODO in temurin-build via automation Jul 1, 2020
@sxa
Copy link
Member

sxa commented Jul 2, 2020

I'm not seeing any Windows failures overnight so let's close this and assume it's fixed until proven otherwise ;-)

@sxa sxa closed this as completed Jul 2, 2020
temurin-build automation moved this from TODO to Done Jul 2, 2020
@karianna karianna added this to the July 2020 milestone Jul 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues that are problems in the code as reported by the community installer Issues that relate to our installer jobs or installer repo
Projects
No open projects
temurin-build
  
Done
Development

No branches or pull requests

4 participants