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

Issues with logics in openjdk*-pipeline publish process #1148

Open
sophia-guo opened this issue Nov 20, 2024 · 4 comments
Open

Issues with logics in openjdk*-pipeline publish process #1148

sophia-guo opened this issue Nov 20, 2024 · 4 comments
Labels
hotspot mac testing x64 Issues that affect or relate to the x64/x32 LINUX OS

Comments

@sophia-guo
Copy link
Contributor

sophia-guo commented Nov 20, 2024

Currently the openjdk*-pipeline can be triggered manually with releaseType='weekly' and enableTests=false. That is with no tests at all all build results will be published to temurin binary repo. When run tests query by nightly or url directly tests failed without workable jdk. https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u442-b02-ea-beta/OpenJDK8U-jdk_x64_mac_hotspot_8u442b02-ea.tar.gz.

Another thing is in openjdk*-pipeline build it's clearly build job failed, we will still publish archived artifacts. https://ci.adoptium.net/job/build-scripts/job/openjdk8-pipeline/2947/consoleFull. Four platforms build jobs failed, artifacts published regardless. This is common to release build, as it's difficult to tell if the build job itself (build process ) fails or it fails because the downstream test jobs fail. Need to think about discriminating those two situation and decide publish or not.

@github-actions github-actions bot added hotspot mac testing x64 Issues that affect or relate to the x64/x32 LINUX OS labels Nov 20, 2024
@andrew-m-leonard
Copy link
Contributor

Another thing is in openjdk*-pipeline build it's clearly build job failed, we will still publish archived artifacts. https://ci.adoptium.net/job/build-scripts/job/openjdk8-pipeline/2947/consoleFull. Four platforms build jobs failed, artifacts published regardless. This is common to release build, as it's difficult to tell if the build job itself (build process ) fails or it fails because the downstream test jobs fail. Need to think about discriminating those two situation and decide publish or not.

I'm thinking we should try and get to the position of not publishing if the build job status is not SUCCESSFUL|UNSTABLE,
we still unfortunately have some test jobs that fail...we should bite the bullet and make that change maybe?? force us to fix those failures..........

@sophia-guo
Copy link
Contributor Author

sophia-guo commented Nov 21, 2024

Another choice is not publishing if build itself failed ( build, any other build related jobs - sign, installer,.., jobs/steps before test jobs). This can be done by check job status ( set by related jobs) before tests. If it's non successful do the artifacts deletion so no artifacts available. Hence no artifacts will be publish for EA and no release link will be generated for release.

@andrew-m-leonard
Copy link
Contributor

The discussion point needs to be had about whether we still publish EA builds regardless of test results.

@sophia-guo
Copy link
Contributor Author

sophia-guo commented Nov 22, 2024

Yes, there are two cases needed to discuss.

  • build job failed itself ( build, any other build related jobs - sign, installer,... etc) -- this is the one I'm talking

Another choice is not publishing if build itself failed ( build, any other build related jobs - sign, installer,.., jobs/steps before test jobs). This can be done by check job status ( set by related jobs) before tests. If it's non successful do the artifacts deletion so no artifacts available. Hence no artifacts will be publish for EA and no release link will be generated for release.

  • build job failed due to test failures. - This is the one

The discussion point needs to be had about whether we still publish EA builds regardless of test results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hotspot mac testing x64 Issues that affect or relate to the x64/x32 LINUX OS
Projects
Status: Todo
Development

No branches or pull requests

2 participants