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

[arm64] Fix qemu arm64 compile failing with NO_PUBKEY #17167

Conversation

guxianghong
Copy link
Contributor

Why I did it

Fix qemu arm64 compile failing with NO_PUBKEY. The fail log in sonic-slave-bullseye-march-arm64_44ef87e04db.log:

Get:1 http://debian-archive.trafficmanager.net/debian bullseye InRelease [116 kB]
Get:2 http://debian-archive.trafficmanager.net/debian bullseye-updates InRelease [44.1 kB]
Get:3 http://debian-archive.trafficmanager.net/debian bullseye-backports InRelease [49.0 kB]
Get:4 http://debian-archive.trafficmanager.net/debian-security bullseye-security InRelease [48.4 kB]
Err:1 http://debian-archive.trafficmanager.net/debian bullseye InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKE
Y 6ED0E7B82643E131 NO_PUBKEY 605C66F00D6C9793
Err:2 http://debian-archive.trafficmanager.net/debian bullseye-updates InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKE
Y 6ED0E7B82643E131
Err:3 http://debian-archive.trafficmanager.net/debian bullseye-backports InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKE
Y 6ED0E7B82643E131
Get:5 http://debian-archive.trafficmanager.net/debian-security bullseye-security/main Sources [207 kB]
Get:6 http://debian-archive.trafficmanager.net/debian-security bullseye-security/non-free Sources [716 B]
Get:7 http://debian-archive.trafficmanager.net/debian-security bullseye-security/main arm64 Packages [326 kB]
Reading package lists...
W: GPG error: http://debian-archive.trafficmanager.net/debian bullseye InRelease: The following signatures
 couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131 NO_PUBK
EY 605C66F00D6C9793
E: The repository 'http://debian-archive.trafficmanager.net/debian bullseye InRelease' is not signed.
W: GPG error: http://debian-archive.trafficmanager.net/debian bullseye-updates InRelease: The following signatures co
uldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131
E: The repository 'http://debian-archive.trafficmanager.net/debian bullseye-updates InRelease' is not signed.
W: GPG error: http://debian-archive.trafficmanager.net/debian bullseye-backports InRelease: The following signatures 
couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131
E: The repository 'http://debian-archive.trafficmanager.net/debian bullseye-backports InRelease' is not signed.

The cause of this problem is a missing bullseye's GPG key in march bullseye docker image.

Work item tracking
  • Microsoft ADO (number only):

How I did it

Install latest bullseye GPG keyring.

How to verify it

Compile Centec ARM64 platform on X86 server with qemu march mode:

  1. make init
  2. make configure PLATFORM=centec-arm64 PLATFORM_ARCH=arm64
  3. make all

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211
  • 202305

Tested branch (Please provide the tested image version)

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

…ye slave docker

Signed-off-by: Xianghong Gu <xgu@centec.com>
@guxianghong
Copy link
Contributor Author

/azpw run Azure.sonic-buildimage

@mssonicbld
Copy link
Collaborator

/AzurePipelines run Azure.sonic-buildimage

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@guxianghong
Copy link
Contributor Author

/azpw run kvmtest-t1-lag

@mssonicbld
Copy link
Collaborator

/AzurePipelines run kvmtest-t1-lag

Copy link

No pipelines are associated with this pull request.

@guxianghong
Copy link
Contributor Author

Fixed in this PR: #17182

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

Successfully merging this pull request may close these issues.

2 participants