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

Investigate JDK8/JRE8 Alpine Action Failure #1084

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

steelhead31
Copy link
Contributor

@steelhead31 steelhead31 commented Dec 18, 2024

The Github Action for JDK/JRE8 for alpine is failing

This is due to Alpine:latest container moving to 3.21, which causes issues for JDK/JRE8

This PR pins the dockerfile to 3.19.

@steelhead31 steelhead31 marked this pull request as ready for review December 18, 2024 15:56
@steelhead31 steelhead31 self-assigned this Dec 18, 2024
Copy link
Contributor

@adamfarley adamfarley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@sxa sxa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - can you add in a comment (just in this PR, not the code) mentioning what the failure message is so we can identify it if we see it in the future?
I'm assuming it's not a concern for an end user installing on Alpine 3.21?

@steelhead31
Copy link
Contributor Author

The error in the GHA shows as this.. which appears to be because of a dependency no longer present in Alpine 3.21,  this dependency is only required at build time, and is related to the apk build command. This doesn't impact the installation of a JDK built on an older version, deployed on Alpine 3.21 ) tested in an 3.21 alpine container.

>>> ERROR: temurin-8-jdk*: create_apks failed
>>> ERROR: temurin-8-jdk: rootpkg failed
> Task :jdk:alpine:packageJdkAlpine FAILED
FAILURE: Build failed with an exception.

* Where:
Build file '/home/runner/work/installer/installer/linux/jdk/alpine/build.gradle' line: 104

* What went wrong:
Execution failed for task ':jdk:alpine:packageJdkAlpine'.
> Process 'command 'docker'' finished with non-zero exit value 1

* Try:
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':jdk:alpine:packageJdkAlpine'.

@steelhead31 steelhead31 merged commit f988094 into adoptium:master Dec 18, 2024
65 checks passed
@steelhead31 steelhead31 deleted the sfr_test_alpine_8 branch December 18, 2024 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants