sonic-net / sonic-buildimage

Scripts which perform an installable binary image build for SONiC
Other
723 stars 1.38k forks source link

Sonic 202106 broadcom does not build for DX010 ICCPD #18400

Open Applepi opened 5 months ago

Applepi commented 5 months ago

I have tried literally everyhting on these boards but nothing is working so I'm suspecting the build is broken.

Description

Trying to build from Proxmox host (latest Debian stable)

Steps to reproduce the issue:

  1. Follow steps for build (watch it fail)
  2. Follow fixes to build (watch it pass those points and fail later)
  3. No logs are generated in target/
  4. No errors are generated besides Error 2
make configure PLATFORM=broadcom SONIC_BUILD_JOBS=4 ARCHIVE_MIRROR_URLS=http://archive.debian.org/debian-archive/debian/ ARCHIVE_MIRROR_SECURITY_URLS=http://archive.debian.org/debian-archive/debian-security/ NOSTRETCH=1 NOBUSTER=0 NOBULLSEYE=1 SONIC_VERSION_CONTROL_COMPONENTS=deb,py2,py3,web,git,docker MIRROR_SNAPSHOT=y

make all SONIC_BUILD_JOBS=4 ARCHIVE_MIRROR_URLS=http://archive.debian.org/debian-archive/debian/ ARCHIVE_MIRROR_SECURITY_URLS=http://archive.debian.org/debian-archive/debian-security/ NOSTRETCH=1 NOBUSTER=0 NOBULLSEYE=1 SONIC_VERSION_CONTROL_COMPONENTS=deb,py2,py3,web,git,docker MIRROR_SNAPSHOT=y

Describe the results you received:

intained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
[ 01 ] [ target/debs/buster/linux-headers-4.19.0-12-2-common_4.19.152-1_all.deb ]
[ 02 ] [ target/debs/buster/iptables_1.8.2-4_amd64.deb ]
[ 03 ] [ target/debs/buster/libsaibcm_5.0.0.12_amd64.deb ]
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
make[1]: *** [Makefile.work:307: all] Error 2
make[1]: Leaving directory '/home/nota/sonic-buildimage'
make: *** [Makefile:31: all] Error 2

Describe the results you expected:

The build script should be working and verified but it's apparently not I don't know how this is broken

Output of show version:

WONT BOOT because no output file

Output of show techsupport:

WONT BOOT because no output file

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

Does no one test old build for switches that don't work on new builds? I'm getting memory leaks on every stable release of this. Trying the 202106 because that's the only mentioned working firmware.

I've tried these fixes: https://github.com/sonic-net/sonic-buildimage/issues/9741 https://github.com/sonic-net/sonic-buildimage/issues/9919 but nothing works. I'm really not sure why y'all didn't just enable ICCPD on the actual automatic builds.

prgeor commented 5 months ago

@Applepi looks like azure pipeline is passing https://sonic-build.azurewebsites.net/ui/sonic/pipelines/138/builds?branchName=202106