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

jenkins agent jdk - build failure #1037

Closed
tbugfinder opened this issue Aug 7, 2024 · 1 comment · Fixed by #1050
Closed

jenkins agent jdk - build failure #1037

tbugfinder opened this issue Aug 7, 2024 · 1 comment · Fixed by #1050
Labels
bug Something isn't working

Comments

@tbugfinder
Copy link
Contributor

Describe the bug
Jenkins Agent JDK builds fail within PRs:

Dockerfile.ubi8:36

35 | # Note: use java scripts are executed to test the scripts but also use-j11.sh in called 3nd place to set is as default version
36 | >>> RUN yum -y --nobest --skip-broken update &&
37 | >>> yum install -y java-11-openjdk-devel &&
38 | >>> yum install -y --enablerepo Adoptium temurin-17-jdk &&
39 | >>> yum install -y --enablerepo Adoptium temurin-21-jdk &&
40 | >>> yum install -y binutils &&
41 | >>> yum updateinfo -y &&
42 | >>> yum repolist -y &&
43 | >>> sh -c "yum list installed | grep -i '(java|jdk|temurin)'" &&
44 | >>> yum clean all -y && rm -rf /var/cache/yum
45 |

ERROR: failed to solve: process "/bin/bash -o pipefail -c yum -y --nobest --skip-broken update && yum install -y java-11-openjdk-devel && yum install -y --enablerepo Adoptium temurin-17-jdk && yum install -y --enablerepo Adoptium temurin-21-jdk && yum install -y binutils && yum updateinfo -y && yum repolist -y && sh -c "yum list installed | grep -i '\(java\|jdk\|temurin\)'" && yum clean all -y && rm -rf /var/cache/yum" did not complete successfully: exit code: 1
Error: Process completed with exit code 1.

@tbugfinder tbugfinder added the bug Something isn't working label Aug 7, 2024
@BraisVQ
Copy link
Contributor

BraisVQ commented Aug 20, 2024

JDK agent is prone to failure due to the instability of adoptium repositories for jdk.....

image

@BraisVQ BraisVQ linked a pull request Aug 29, 2024 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants