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

openliberty-mp-tck fails in build-image ant target #4225

Closed
smlambert opened this issue Jan 3, 2023 · 3 comments
Closed

openliberty-mp-tck fails in build-image ant target #4225

smlambert opened this issue Jan 3, 2023 · 3 comments
Assignees

Comments

@smlambert
Copy link
Contributor

From https://ci.adoptopenjdk.net/job/Test_openjdk11_hs_sanity.external_x86-64_linux/566/
openliberty-mp-tck fails in build-image ant target during docker build step with:

12:29:57       [exec] Step 7/34 : RUN apt-get update 	&& apt-get install -qq -y --no-install-recommends software-properties-common 	&& apt-get install -qq -y --no-install-recommends gnupg 	&& add-apt-repository ppa:ubuntu-toolchain-r/test 	&& apt-get update 	&& apt-get install -y --no-install-recommends git wget tar 	&& rm -rf /var/lib/apt/lists/*
12:29:57       [exec]  ---> Running in 69244b7c5319
12:29:58       [exec] Get:1 http://archive.ubuntu.com/ubuntu jammy InRelease [270 kB]
12:29:58       [exec] Get:2 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
12:29:58       [exec] Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [114 kB]
12:29:58       [exec] Get:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [99.8 kB]
12:29:58       [exec] Err:1 http://archive.ubuntu.com/ubuntu jammy InRelease
12:29:58       [exec]   The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
12:29:58       [exec] Err:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
12:29:58       [exec]   The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
12:29:58       [exec] Err:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
12:29:58       [exec]   The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
12:29:59       [exec] Err:2 http://security.ubuntu.com/ubuntu jammy-security InRelease
12:29:59       [exec]   The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
12:29:59       [exec] Reading package lists...
12:29:59       [exec] �[91mW: http://archive.ubuntu.com/ubuntu/dists/jammy/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
12:29:59       [exec] W: http://archive.ubuntu.com/ubuntu/dists/jammy/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
12:29:59       [exec] W: GPG error: http://archive.ubuntu.com/ubuntu jammy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
12:29:59       [exec] E: The repository 'http://archive.ubuntu.com/ubuntu jammy InRelease' is not signed.
12:29:59       [exec] W: http://archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
12:29:59       [exec] W: http://archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
12:29:59       [exec] W: GPG error: http://archive.ubuntu.com/ubuntu jammy-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
12:29:59       [exec] E: The repository 'http://archive.ubuntu.com/ubuntu jammy-updates InRelease' is not signed.
12:29:59       [exec] W: http://archive.ubuntu.com/ubuntu/dists/jammy-backports/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
12:29:59       [exec] W: http://archive.ubuntu.com/ubuntu/dists/jammy-backports/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
12:29:59       [exec] W: GPG error: http://archive.ubuntu.com/ubuntu jammy-backports InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
12:29:59       [exec] E: The repository 'http://archive.ubuntu.com/ubuntu jammy-backports InRelease' is not signed.
12:29:59       [exec] W: http://security.ubuntu.com/ubuntu/dists/jammy-security/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
12:29:59       [exec] W: http://security.ubuntu.com/ubuntu/dists/jammy-security/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
12:29:59       [exec] W: GPG error: http://security.ubuntu.com/ubuntu jammy-security InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
12:29:59       [exec] E: The repository 'http://security.ubuntu.com/ubuntu jammy-security InRelease' is not signed.
12:29:59       [exec] E: Problem executing scripts APT::Update::Post-Invoke 'rm -f /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin || true'
12:29:59       [exec] E: Sub-process returned an error code
12:29:59       [exec] The command '/bin/sh -c apt-get update 	&& apt-get install -qq -y --no-install-recommends software-properties-common 	&& apt-get install -qq -y --no-install-recommends gnupg 	&& add-apt-repository ppa:ubuntu-toolchain-r/test 	&& apt-get update 	&& apt-get install -y --no-install-recommends git wget tar 	&& rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100
12:29:59       [exec] �[0m
12:29:59  
12:29:59  BUILD FAILED
12:29:59  /home/jenkins/workspace/Test_openjdk11_hs_sanity.external_x86-64_linux/aqa-tests/TKG/scripts/build_test.xml:95: The following error occurred while executing this line:
12:29:59  /home/jenkins/workspace/Test_openjdk11_hs_sanity.external_x86-64_linux/aqa-tests/external/openliberty-mp-tck/build.xml:34: The following error occurred while executing this line:
12:29:59  /home/jenkins/workspace/Test_openjdk11_hs_sanity.external_x86-64_linux/aqa-tests/external/build.xml:97: exec returned: 100
12:29:59  
12:29:59  Total time: 3 seconds

This test target should be excluded until this issue can be resolved.

@adamfarley
Copy link
Contributor

This issue has been seen again here: https://ci.adoptium.net/job/Test_openjdk11_hs_sanity.external_x86-64_linux/588/console

I'm not seeing an exclusion for the jdk11+ version of this test in the relevant playlist.xml file, and the history of the file doesn't seem to show any changes this year.

Presuming this was a simple oversight (easy to do), and that the test should be excluded, so I'm excluding the test target now.

@adamfarley
Copy link
Contributor

auto exclude test openliberty_microprofile_tck ver=11

@smlambert
Copy link
Contributor Author

Fixed via #4622

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
Development

No branches or pull requests

2 participants