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

EKS demo issue with Amazon Linux 2023 #66

Open
guessi opened this issue Oct 18, 2024 · 0 comments
Open

EKS demo issue with Amazon Linux 2023 #66

guessi opened this issue Oct 18, 2024 · 0 comments

Comments

@guessi
Copy link

guessi commented Oct 18, 2024

Issue description

For some reason, under Amazon 2023, the command below will failed,

./mvnw clean install -P buildDocker

image

After hours debug, found it is okay to run under Amazon Linux 2, but not Amazon Linux 2023.

Deep dive into the issue, I doubt it is related to Java version support issue?

Amazon Linux 2 - Java version info

[ec2-user@ip-10-0-24-252 ~]$ java --version
openjdk 17.0.12 2024-07-16 LTS
OpenJDK Runtime Environment Corretto-17.0.12.7.1 (build 17.0.12+7-LTS)
OpenJDK 64-Bit Server VM Corretto-17.0.12.7.1 (build 17.0.12+7-LTS, mixed mode, sharing)

Amazon Linux 2023 - Java version info

[ec2-user@ip-172-31-45-245 application-signals-demo]$ java -version
openjdk version "22.0.2" 2024-07-16
OpenJDK Runtime Environment Corretto-22.0.2.9.1 (build 22.0.2+9-FR)
OpenJDK 64-Bit Server VM Corretto-22.0.2.9.1 (build 22.0.2+9-FR, mixed mode, sharing)

How I fix the issue, pinning lombok version to 1.18.32 issue disappear? but I'm not sure if it is actually the root cause or not, so issue created here. Please verify if it is necessary to pin version here, or maybe it's caused by parent package's version pin issue?

image

Diff

image

image

Testing Environment

[ec2-user@ip-172-31-45-245 application-signals-demo]$ cat /etc/os-release
NAME="Amazon Linux"
VERSION="2023"
ID="amzn"
ID_LIKE="fedora"
VERSION_ID="2023"
PLATFORM_ID="platform:al2023"
PRETTY_NAME="Amazon Linux 2023.6.20241010"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2023"
HOME_URL="https://aws.amazon.com/linux/amazon-linux-2023/"
DOCUMENTATION_URL="https://docs.aws.amazon.com/linux/"
SUPPORT_URL="https://aws.amazon.com/premiumsupport/"
BUG_REPORT_URL="https://github.com/amazonlinux/amazon-linux-2023"
VENDOR_NAME="AWS"
VENDOR_URL="https://aws.amazon.com/"
SUPPORT_END="2028-03-15"
[ec2-user@ip-172-31-45-245 application-signals-demo]$ java -version
openjdk version "22.0.2" 2024-07-16
OpenJDK Runtime Environment Corretto-22.0.2.9.1 (build 22.0.2+9-FR)
OpenJDK 64-Bit Server VM Corretto-22.0.2.9.1 (build 22.0.2+9-FR, mixed mode, sharing)
[ec2-user@ip-172-31-45-245 application-signals-demo]$ kubectl version
Client Version: v1.31.0-eks-a737599
Kustomize Version: v5.4.2
Server Version: v1.30.5-eks-ce1d5eb
[ec2-user@ip-172-31-45-245 application-signals-demo]$ eksctl version
0.192.0
[ec2-user@ip-172-31-45-245 application-signals-demo]$ aws --version
aws-cli/2.15.30 Python/3.9.16 Linux/6.1.112-122.189.amzn2023.x86_64 source/x86_64.amzn.2023 prompt/off
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant