adoptium / infrastructure

This repo contains all information about machine maintenance.
Apache License 2.0
86 stars 102 forks source link

unixPB: Dont install GA JDK17 bootjdk on alpine aarch64 #3805

Closed Haroon-Khel closed 2 weeks ago

Haroon-Khel commented 2 weeks ago

Installing GA JDK17 aarch64 alpine linux as a bootjdk (using the adoptopenjdk_install role) is causing an error since the GA doesnt exist. We install a nightly version in the common role.

Theres an issue here to discuss merging the bootjdk installs in the common role and the adoptopenjdk_install role, but until then this pr will stop errors such as https://ci.adoptium.net/job/centos7_docker_image_updater/574/execution/node/77/log/ in the build image updater job

 > [5/5] RUN set -eux;  cd /ansible;  ansible-playbook -i hosts ansible/playbooks/AdoptOpenJDK_Unix_Playbook/main.yml -e "git_sha=8803a16b196c127edb73c33b63ec9ace14008fd5" --skip-tags="debug,hosts_file,hostname,adoptopenjdk,jenkins,nagios,superuser,docker,swap_file,crontab,nvidia_cuda_toolkit";  rm -rf /ansible; apk del ansible:
671.6 
671.6 TASK [adoptopenjdk_install : Download latest release (Linux/Alpine-Linux)] *****
672.3 FAILED - RETRYING: Download latest release (Linux/Alpine-Linux) (3 retries left).
678.1 FAILED - RETRYING: Download latest release (Linux/Alpine-Linux) (2 retries left).
683.8 FAILED - RETRYING: Download latest release (Linux/Alpine-Linux) (1 retries left).
689.6 fatal: [localhost]: FAILED! => {"attempts": 3, "changed": false, "dest": "/tmp/jdk17.tar.gz", "elapsed": 0, "msg": "Request failed", "response": "HTTP Error 404: Not Found", "status_code": 404, "url": "https://api.adoptium.net/v3/binary/latest/17/ga/alpine-linux/aarch64/jdk/hotspot/normal/eclipse?project=jdk"}
Haroon-Khel commented 2 weeks ago

Now that hyphens are removed in the boot jdk symlinks, they should be removed from the symlinks created in the Common role too, which this pr now includes

sxa commented 2 weeks ago

Will we still have a JDK17 (Temurin EA or from elsewhere) installed on the machine to bootstrap the 17EA builds?

Haroon-Khel commented 2 weeks ago

Will we still have a JDK17 (Temurin EA or from elsewhere) installed on the machine to bootstrap the 17EA builds?

Yes, line 183 will still install a nightly boot JDK17 on aarch64 alpine linux