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 reproducible build failing when deb is set in SONIC_VERSION_CONTROL_COMPONENTS #15395

Open
srthati opened this issue Jun 8, 2023 · 2 comments
Labels
MARVELL Triaged this issue has been triaged

Comments

@srthati
Copy link

srthati commented Jun 8, 2023

Description

I'm trying reproducible build on latest 202106 branch and build fails as debootstrap returns following error.

"E: Unable to execute target architecture"

admin@344fa78d236d:/sonic$ cat fsroot-marvell-arm64/debootstrap/debootstrap.log
arm64: not supported on this machine/kernel

Below is the build command:

make http_proxy=http://72.163.217.104:80 https_proxy=http://72.163.217.104:80 target/sonic-marvell-arm64.bin NOSTRETCH=1 NOBUSTER=0 NOBULLSEYE=1 SONIC_BUILD_JOBS=8 SONIC_VERSION_CONTROL_COMPONENTS=deb,py2,py3,web,git,docker MIRROR_SNAPSHOT=y

Build Configuration
"CONFIGURED_PLATFORM" : "marvell-arm64"
"CONFIGURED_ARCH" : "arm64"
"SONIC_CONFIG_PRINT_DEPENDENCIES" : ""
"SONIC_BUILD_JOBS" : "8"
"SONIC_CONFIG_MAKE_JOBS" : "48"
"SONIC_USE_DOCKER_BUILDKIT" : ""
"USERNAME" : "admin"
"PASSWORD" : "YourPaSsWoRd"
"ENABLE_DHCP_GRAPH_SERVICE" : ""
"SHUTDOWN_BGP_ON_START" : ""
"ENABLE_PFCWD_ON_START" : ""
"SONIC_BUFFER_MODEL" : ""
"INSTALL_DEBUG_TOOLS" : ""
"ROUTING_STACK" : "frr"
"FRR_USER_UID" : "300"
"FRR_USER_GID" : "300"
"ENABLE_SYNCD_RPC" : ""
"ENABLE_ORGANIZATION_EXTENSIONS" : "y"
"HTTP_PROXY" : "http://72.163.217.104:80"
"HTTPS_PROXY" : "http://72.163.217.104:80"
"NO_PROXY" : ".local,.cisco.com,localhost,.nip.io,10.95.1.1"
"ENABLE_ZTP" : ""
"SONIC_DEBUGGING_ON" : ""
"SONIC_PROFILING_ON" : ""
"KERNEL_PROCURE_METHOD" : "build"
"BUILD_TIMESTAMP" : "20230608.223808"
"BUILD_LOG_TIMESTAMP" : "none"
"SONIC_IMAGE_VERSION" : "202106.0-dirty-20230608.223808"
"BLDENV" : "buster"
"VS_PREPARE_MEM" : "yes"
"INCLUDE_MGMT_FRAMEWORK" : "n"
"INCLUDE_ICCPD" : "n"
"INCLUDE_SYSTEM_TELEMETRY" : "n"
"ENABLE_HOST_SERVICE_ON_START" : "n"
"INCLUDE_RESTAPI" : "n"
"INCLUDE_SFLOW" : "y"
"INCLUDE_NAT" : "y"
"INCLUDE_DHCP_RELAY" : "y"
"INCLUDE_KUBERNETES" : "n"
"INCLUDE_MACSEC" : "y"
"TELEMETRY_WRITABLE" : ""
"PDDF_SUPPORT" : "y"
"MULTIARCH_QEMU_ENVIRON" : "y"
"SONIC_VERSION_CONTROL_COMPONENTS": "none"
"DEFAULT_CONTAINER_REGISTRY" : ""

docker images

REPOSITORY TAG IMAGE ID CREATED SIZE
sonic-slave-buster-march-arm64-admin ab8ea93fd77 8d1c111df88d 21 hours ago 4.67GB
sonic-slave-buster-march-arm64 96f75f2f044 9369ee5795e3 21 hours ago 4.67GB
multiarch/debian-debootstrap arm64-buster 82b7befe0fb1 4 days ago 119MB
debian buster 8b5601a5a7f8 2 weeks ago 114MB
multiarch/qemu-user-static register 4a73e8b061ed 4 months ago 4.9MB

Build host details:

uname -a

Linux ubuntu-UCSC-C220-M5SX 5.15.0-73-generic #80~20.04.1-Ubuntu SMP Wed May 17 14:58:14 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

dpkg --print-architecture

amd64

Is there any issue with arm64 deb packages reproducible build if build host is amd64 architecture?

Steps to reproduce the issue:

  1. trigger arm64 target build on amd64 host with deb set in SONIC_VERSION_CONTROL_COMPONENTS

Describe the results you received:

Build failure for arm64 target.

Describe the results you expected:

successful arm64 target build.

Output of show version:

(paste your output here)

Output of show techsupport:

(paste your output here or download and attach the file here )

Additional information you deem important (e.g. issue happens only occasionally):

@srthati
Copy link
Author

srthati commented Jun 12, 2023

@sonic-build team could you pls check on this.

@prgeor prgeor added MARVELL Triaged this issue has been triaged labels Jun 21, 2023
@prgeor
Copy link
Contributor

prgeor commented Jun 21, 2023

@srthati can you please try building in master or 202305 branch?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
MARVELL Triaged this issue has been triaged
Projects
None yet
Development

No branches or pull requests

2 participants