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

JDK 16 tumbleweed images are failing to build due to installation failure of curl #566

Open
bharathappali opened this issue May 4, 2021 · 5 comments
Assignees
Labels
Milestone

Comments

@bharathappali
Copy link
Collaborator

Dockerfile : https://github.com/AdoptOpenJDK/openjdk-docker/blob/master/16/jdk/tumbleweed/Dockerfile.hotspot.releases.full

Failure Log:

Step 3/7 : RUN zypper install --no-recommends -y timezone openssl curl ca-certificates fontconfig gzip tar     && zypper update -y; zypper clean --all
 ---> Running in 01c0135f4f7e
Retrieving repository 'openSUSE-Tumbleweed-Oss' metadata [.error]
Repository 'openSUSE-Tumbleweed-Oss' is invalid.
[repo-oss|http://download.opensuse.org/ports/armv7hl/tumbleweed/repo/oss/] Valid metadata not found at specified URL
History:
 - [|] Error trying to read from 'http://download.opensuse.org/ports/armv7hl/tumbleweed/repo/oss/'
 - Timeout exceeded when accessing 'http://download.opensuse.org/ports/armv7hl/tumbleweed/repo/oss/content'.

Please check if the URIs defined for this repository are pointing to a valid repository.
Warning: Skipping repository 'openSUSE-Tumbleweed-Oss' because of the above error.
Retrieving repository 'openSUSE-Tumbleweed-Update' metadata [.error]
Repository 'openSUSE-Tumbleweed-Update' is invalid.
[repo-update|http://download.opensuse.org/ports/armv7hl/update/tumbleweed/] Valid metadata not found at specified URL
History:
 - [|] Error trying to read from 'http://download.opensuse.org/ports/armv7hl/update/tumbleweed/'
 - Timeout exceeded when accessing 'http://download.opensuse.org/ports/armv7hl/update/tumbleweed/content'.

Please check if the URIs defined for this repository are pointing to a valid repository.
Some of the repositories have not been refreshed because of an error.
Warning: Skipping repository 'openSUSE-Tumbleweed-Update' because of the above error.
Loading repository data...
Reading installed packages...
No provider of 'curl' found.
No provider of 'fontconfig' found.
No provider of 'gzip' found.'ca-certificates' is already installed.
Package 'ca-certificates' is not available in your repositories. Cannot reinstall, upgrade, or downgrade.
'curl' not found in package names. Trying capabilities.
'fontconfig' not found in package names. Trying capabilities.
'gzip' not found in package names. Trying capabilities.

No provider of 'openssl' found.
No provider of 'tar' found.
No provider of 'timezone' found.
'openssl' not found in package names. Trying capabilities.
'tar' not found in package names. Trying capabilities.
'timezone' not found in package names. Trying capabilities.
All repositories have been cleaned up.

@bharathappali bharathappali changed the title JDK 16 tumbleweed images are failing due to installation failure of curl JDK 16 tumbleweed images are failing to build due to installation failure of curl May 4, 2021
@karianna karianna added this to the May 2021 milestone May 5, 2021
@karianna karianna added the bug label May 5, 2021
@bharathappali
Copy link
Collaborator Author

bharathappali commented May 18, 2021

http://download.opensuse.org/ports/armv7hl/tumbleweed/repo/oss/armv7hl/ is missing curl package, as the docker image build process expects curl to be installed we need to check if we can install curl by any other way as there is no provider in the repository that zypper is trying to install from

It looks like the curl package is available, sorry updated incorrectly earlier. Will check why it's not able to get it from there.

@bharathappali
Copy link
Collaborator Author

Tried to install curl via zypper and sometimes it's showing me the error:

Step 3/7 : RUN zypper install --no-recommends -y timezone openssl curl ca-certificates fontconfig gzip tar     && zypper update -y; zypper clean --all
 ---> Running in bc1e0eaf22cb
Retrieving repository 'openSUSE-Tumbleweed-Oss' metadata [.The futex facility returned an unexpected error code.
All repositories have been cleaned up.
Removing intermediate container bc1e0eaf22cb

I expect it's a problem from tumbleweed side or at zypper end. Jus to make sure I have raised an issue at zypper repository openSUSE/zypper#387

@grzesuav
Copy link
Contributor

grzesuav commented Jun 3, 2021

@bharathappali is it happening locally on your side ? Or on adoptium jenkins builds ?

@sxa
Copy link
Member

sxa commented Jun 3, 2021

The tumbleweed builds have been failing on the adopt CI systems. @bharathappali Can you keep this issue updated with currnet progress please? I believe you have determined that we have different issues on three of the architectures now?

@bharathappali
Copy link
Collaborator Author

Or on adoptium jenkins builds ?

@grzesuav as @sxa mentioned it's happening on adopt jenkins build

Can you keep this issue updated with current progress, please?

Sure @sxa

I believe you have determined that we have different issues on three of the architectures now?

Yes, On ARM the failure is due to curl installation problem. Packages are not getting installed as zypper couldn't installed them for some tumbleweed internal issue Ref: openSUSE/zypper#387

On s390x OpenJ9 images are failing on tumbleweed due to permissions to run catalina.sh. other images are getting created successfully

On PPC64LE OpenJ9 images are failling on tumbleweed due to some error in generating SCC I'm currently debugging that issue

@karianna karianna modified the milestones: May 2021, June 2021 Jun 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants