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

build errors on master, happened again #2004

Closed
yangbashuang opened this issue Aug 31, 2018 · 7 comments
Closed

build errors on master, happened again #2004

yangbashuang opened this issue Aug 31, 2018 · 7 comments

Comments

@yangbashuang
Copy link
Contributor

yangbashuang commented Aug 31, 2018

Description

Steps to reproduce the issue:
1.http_proxy=http://192.168.25.29:3128 https_proxy=http://192.168.25.29:3128 make configure PLATFORM=centec
2.http_proxy=http://192.168.25.29:3128 https_proxy=http://192.168.25.29:3128 make

Describe the results you received:
Build CentecNetworks/sonic-buildimage forked from Azure/sonic-buildimage master today
Build with proxy
Got some build errors, tried many times, still got same errors

Describe the results you expected:

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

@centec-OSP:~/sonic/centec/master/sonic-buildimage$ http_proxy=http://192.168.25.29:3128 https_proxy=http://192.168.25.29:3128 make configure PLATFORM=centec
+++ Making configure +++
make -f Makefile.work configure
make[1]: Entering directory '/home/yangbs/sonic/centec/master/sonic-buildimage'
SONiC Build System

Build Configuration
"CONFIGURED_PLATFORM"             : "centec"
"SONIC_CONFIG_PRINT_DEPENDENCIES" : ""
"SONIC_BUILD_JOBS"                : "1"
"SONIC_CONFIG_MAKE_JOBS"          : "12"
"USERNAME"                        : "admin"
"PASSWORD"                        : "x"
"ENABLE_DHCP_GRAPH_SERVICE"       : ""
"SHUTDOWN_BGP_ON_START"           : ""
"ENABLE_PFCWD_ON_START"           : ""
"SONIC_INSTALL_DEBUG_TOOLS"       : ""
"ROUTING_STACK"                   : "quagga"
"ENABLE_SYNCD_RPC"                : ""
"ENABLE_ORGANIZATION_EXTENSIONS"  : "y"
"HTTP_PROXY"                      : "http://192.168.25.29:3128"
"HTTPS_PROXY"                     : "http://192.168.25.29:3128"
"ENABLE_SYSTEM_TELEMETRY"         : ""
"SONIC_DEBUGGING_ON"              : "y"
"SONIC_PROFILING_ON"              : ""
"KERNEL_PROCURE_METHOD"           : "build"

make[1]: Leaving directory '/home/yangbs/sonic/centec/master/sonic-buildimage'
yangbs@centec-OSP:~/sonic/centec/master/sonic-buildimage$ http_proxy=http://192.168.25.29:3128 https_proxy=http://192.168.25.29:3128 make 
+++ Making stretch +++
BLDENV=stretch make -f Makefile.work stretch
make[1]: Entering directory '/home/yangbs/sonic/centec/master/sonic-buildimage'
Image sonic-slave-stretch-base:b1d9644dea0 not found. Building...
Sending build context to Docker daemon  10.75kB
Step 1/24 : FROM debian:stretch
 ---> 3bbb526d2608
Step 2/24 : MAINTAINER gulv@microsoft.com
 ---> Running in ccc3130adb82
 ---> 941d11df2ccc
Removing intermediate container ccc3130adb82
Step 3/24 : RUN echo "deb http://debian-archive.trafficmanager.net/debian/ stretch main contrib non-free" >> /etc/apt/sources.list &&         echo "deb-src http://debian-archive.trafficmanager.net/debian/ stretch main contrib non-free" >> /etc/apt/sources.list &&         echo "deb http://debian-archive.trafficmanager.net/debian-security/ stretch/updates main contrib non-free" >> /etc/apt/sources.list &&         echo "deb-src http://debian-archive.trafficmanager.net/debian-security/ stretch/updates main contrib non-free" >> /etc/apt/sources.list &&         echo "deb http://debian-archive.trafficmanager.net/debian stretch-backports main" >> /etc/apt/sources.list
 ---> Running in 38ffb00478c4
 ---> cd21b400a945
Removing intermediate container 38ffb00478c4
Step 4/24 : ENV DEBIAN_FRONTEND noninteractive
 ---> Running in 282fe779c4b0
 ---> 024ff3f9019b
Removing intermediate container 282fe779c4b0
Step 5/24 : RUN apt-get update && apt-get install -y         apt-utils         default-jre-headless         openssh-server         curl         wget         unzip         git         build-essential         libtool         lintian         sudo         dh-make         dh-exec         kmod         libtinyxml2-4         libboost-program-options1.62-dev         libtinyxml2-dev         python         python-pip         libncurses5-dev         texinfo         dh-autoreconf         python3-pip         doxygen         devscripts         git-buildpackage         perl-modules         libswitch-perl         dh-systemd         libreadline-dev         texlive-latex-base         texlive-generic-recommended         texlive-fonts-recommended         libpam0g-dev         libpam-dev         libcap-dev         imagemagick         ghostscript         groff         libpcre3-dev         gawk         chrpath         libc-ares-dev         libsnmp-dev         libjson-c3         libjson-c-dev         libsystemd-dev         python-ipaddr         cdbs         libxml-simple-perl         graphviz         aspell         bc         fakeroot         build-essential         devscripts         quilt         stgit         module-assistant         gem2deb         libboost-all-dev         libevent-dev         libglib2.0-dev         libqt4-dev         python-all-dev         python-twisted         phpunit         libbit-vector-perl         openjdk-8-jdk         javahelper         maven-debian-helper         ant         libmaven-ant-tasks-java         libhttpclient-java         libslf4j-java         libservlet3.1-java         qt5-default         libpcre3         libpcre3-dev         byacc         flex         libglib2.0-dev         bison         expat         libexpat1-dev         dpatch         libdb-dev         iptables-dev         swig         libtool-bin         libxml2-dev         cpio         squashfs-tools         zip         linux-compiler-gcc-6-x86         linux-kbuild-4.9         libdaemon-dev         libdbus-1-dev         libjansson-dev         libpcap-dev         dnsutils         libusb-dev         augeas-tools         libyaml-dev         libevent-dev         libjudy-dev         libedit-dev         libnanomsg-dev         python-stdeb         libjemalloc-dev         dkms         sharutils         libncursesw5-dev         libbz2-dev         liblzma-dev         libgdbm-dev         tk-dev         blt-dev         libmpdec-dev         libbluetooth-dev         locales         libsqlite3-dev         libgpm2         time         net-tools         xvfb         python-sphinx         python3-sphinx         cppcheck         clang         pylint         python-pytest         gcovr         python-pytest-cov         python-parse         default-libmysqlclient-dev         libssl-dev         libperl-dev         libpci-dev         libpci3         libsensors4         libsensors4-dev         libwrap0-dev         docutils-common         libjs-sphinxdoc         libjs-underscore         python-docutils         python-jinja2         python-markupsafe         python-pygments         python-roman         python-sphinx         sphinx-common         python3-sphinx         python-lxml         python-jinja2         python-netaddr         python-ipaddr         python-yaml         procmail         libgtest-dev         cmake         autoconf-archive         bash-completion
 ---> Running in da581c59bd7b
Get:2 http://security.debian.org/debian-security stretch/updates InRelease [94.3 kB]
Ign:4 http://debian-archive.trafficmanager.net/debian stretch InRelease
Get:5 http://debian-archive.trafficmanager.net/debian-security stretch/updates InRelease [94.3 kB]
Ign:1 http://cdn-fastly.deb.debian.org/debian stretch InRelease
Get:3 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease [91.0 kB]
Get:7 http://security.debian.org/debian-security stretch/updates/main amd64 Packages [391 kB]
Get:6 http://cdn-fastly.deb.debian.org/debian stretch Release [118 kB]
Get:8 http://cdn-fastly.deb.debian.org/debian stretch-updates/main amd64 Packages [5148 B]
Get:9 http://cdn-fastly.deb.debian.org/debian stretch Release.gpg [2434 B]
Get:10 http://debian-archive.trafficmanager.net/debian stretch-backports InRelease [91.8 kB]
Get:11 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 Packages [7099 kB]
Get:12 http://debian-archive.trafficmanager.net/debian stretch Release [118 kB]
Get:13 http://debian-archive.trafficmanager.net/debian-security stretch/updates/main Sources [164 kB]
Err:13 http://debian-archive.trafficmanager.net/debian-security stretch/updates/main Sources
  Hash Sum mismatch
  Hashes of expected file:
   - Filesize:164324 [weak]
   - SHA256:45eadaf907bcb31d5b4b6af252d897078e7834eaa826fc57473dac5b8b879ffe
   - SHA1:bb3b6b3efe4be203c4c47f64cc91685c76e9c36a [weak]
   - MD5Sum:b7e8552bee2d6c53a6329cda1dcb67a1 [weak]
  Hashes of received file:
   - SHA256:a8850c16bca8260665042e2dd27a4c23af32beec2ae89d0fb88a882f48ad6c2c
   - SHA1:e6284981c4a01c94244a99c445b455c438b228af [weak]
   - MD5Sum:9f9a1fe7b969607d584d77ebc2062be2 [weak]
   - Filesize:164324 [weak]
  Last modification reported: Wed, 29 Aug 2018 05:42:47 +0000
  Release file created at: Thu, 30 Aug 2018 20:32:32 +0000
Ign:14 http://debian-archive.trafficmanager.net/debian-security stretch/updates/non-free Sources
Get:15 http://debian-archive.trafficmanager.net/debian-security stretch/updates/contrib Sources [1384 B]
Get:16 http://debian-archive.trafficmanager.net/debian-security stretch/updates/non-free amd64 Packages [1600 B]
Get:17 http://debian-archive.trafficmanager.net/debian-security stretch/updates/contrib amd64 Packages [1760 B]
Get:18 http://debian-archive.trafficmanager.net/debian-security stretch/updates/main amd64 Packages [391 kB]
Err:18 http://debian-archive.trafficmanager.net/debian-security stretch/updates/main amd64 Packages
  
Get:19 http://debian-archive.trafficmanager.net/debian stretch-backports/main amd64 Packages [409 kB]
Get:20 http://debian-archive.trafficmanager.net/debian stretch Release.gpg [2434 B]
Get:21 http://debian-archive.trafficmanager.net/debian stretch/non-free Sources [79.7 kB]
Get:22 http://debian-archive.trafficmanager.net/debian stretch/main Sources [6758 kB]
Get:23 http://debian-archive.trafficmanager.net/debian stretch/contrib Sources [44.7 kB]
Get:24 http://debian-archive.trafficmanager.net/debian stretch/main amd64 Packages [7099 kB]
Get:25 http://debian-archive.trafficmanager.net/debian stretch/non-free amd64 Packages [78.7 kB]
Get:26 http://debian-archive.trafficmanager.net/debian stretch/contrib amd64 Packages [50.9 kB]
Fetched 23.2 MB in 2min 23s (162 kB/s)
Reading package lists...
E: Failed to fetch http://debian-archive.trafficmanager.net/debian-security/dists/stretch/updates/main/source/Sources.xz  Hash Sum mismatch
   Hashes of expected file:
    - Filesize:164324 [weak]
    - SHA256:45eadaf907bcb31d5b4b6af252d897078e7834eaa826fc57473dac5b8b879ffe
    - SHA1:bb3b6b3efe4be203c4c47f64cc91685c76e9c36a [weak]
    - MD5Sum:b7e8552bee2d6c53a6329cda1dcb67a1 [weak]
   Hashes of received file:
    - SHA256:a8850c16bca8260665042e2dd27a4c23af32beec2ae89d0fb88a882f48ad6c2c
    - SHA1:e6284981c4a01c94244a99c445b455c438b228af [weak]
    - MD5Sum:9f9a1fe7b969607d584d77ebc2062be2 [weak]
    - Filesize:164324 [weak]
   Last modification reported: Wed, 29 Aug 2018 05:42:47 +0000
   Release file created at: Thu, 30 Aug 2018 20:32:32 +0000
E: Failed to fetch http://debian-archive.trafficmanager.net/debian-security/dists/stretch/updates/main/binary-amd64/Packages.xz  
E: Some index files failed to download. They have been ignored, or old ones used instead.
The command '/bin/sh -c apt-get update && apt-get install -y         apt-utils         default-jre-headless         openssh-server         curl         wget         unzip         git         build-essential         libtool         lintian         sudo         dh-make         dh-exec         kmod         libtinyxml2-4         libboost-program-options1.62-dev         libtinyxml2-dev         python         python-pip         libncurses5-dev         texinfo         dh-autoreconf         python3-pip         doxygen         devscripts         git-buildpackage         perl-modules         libswitch-perl         dh-systemd         libreadline-dev         texlive-latex-base         texlive-generic-recommended         texlive-fonts-recommended         libpam0g-dev         libpam-dev         libcap-dev         imagemagick         ghostscript         groff         libpcre3-dev         gawk         chrpath         libc-ares-dev         libsnmp-dev         libjson-c3         libjson-c-dev         libsystemd-dev         python-ipaddr         cdbs         libxml-simple-perl         graphviz         aspell         bc         fakeroot         build-essential         devscripts         quilt         stgit         module-assistant         gem2deb         libboost-all-dev         libevent-dev         libglib2.0-dev         libqt4-dev         python-all-dev         python-twisted         phpunit         libbit-vector-perl         openjdk-8-jdk         javahelper         maven-debian-helper         ant         libmaven-ant-tasks-java         libhttpclient-java         libslf4j-java         libservlet3.1-java         qt5-default         libpcre3         libpcre3-dev         byacc         flex         libglib2.0-dev         bison         expat         libexpat1-dev         dpatch         libdb-dev         iptables-dev         swig         libtool-bin         libxml2-dev         cpio         squashfs-tools         zip         linux-compiler-gcc-6-x86         linux-kbuild-4.9         libdaemon-dev         libdbus-1-dev         libjansson-dev         libpcap-dev         dnsutils         libusb-dev         augeas-tools         libyaml-dev         libevent-dev         libjudy-dev         libedit-dev         libnanomsg-dev         python-stdeb         libjemalloc-dev         dkms         sharutils         libncursesw5-dev         libbz2-dev         liblzma-dev         libgdbm-dev         tk-dev         blt-dev         libmpdec-dev         libbluetooth-dev         locales         libsqlite3-dev         libgpm2         time         net-tools         xvfb         python-sphinx         python3-sphinx         cppcheck         clang         pylint         python-pytest         gcovr         python-pytest-cov         python-parse         default-libmysqlclient-dev         libssl-dev         libperl-dev         libpci-dev         libpci3         libsensors4         libsensors4-dev         libwrap0-dev         docutils-common         libjs-sphinxdoc         libjs-underscore         python-docutils         python-jinja2         python-markupsafe         python-pygments         python-roman         python-sphinx         sphinx-common         python3-sphinx         python-lxml         python-jinja2         python-netaddr         python-ipaddr         python-yaml         procmail         libgtest-dev         cmake         autoconf-archive         bash-completion' returned a non-zero code: 100
Makefile.work:97: recipe for target 'stretch' failed
make[1]: *** [stretch] Error 100
make[1]: Leaving directory '/home/yangbs/sonic/centec/master/sonic-buildimage'
Makefile:13: recipe for target 'stretch' failed
make: *** [stretch] Error 2
yangbs@centec-OSP:~/sonic/centec/master/sonic-buildimage$
@jleveque
Copy link
Contributor

I formatted your output for easier reading.

It looks like there was a problem downloading files during apt-get update. May have been a problem on the remote side. Please try again in 24 hours and report back if the issue still persists.

@yangbashuang
Copy link
Contributor Author

@jleveque
thanks and sorry for the late reply, errors are gone, closing it

@yangbashuang
Copy link
Contributor Author

@jleveque
i cleaned and build from start aging, this is happening again, please help

@yangbashuang yangbashuang reopened this Sep 3, 2018
@yangbashuang yangbashuang changed the title build errors on master build errors on master, happened again Sep 3, 2018
@lguohan
Copy link
Collaborator

lguohan commented Sep 4, 2018

@yangbashuang , daily build for the master branch looks fine.

https://sonic-jenkins.westus2.cloudapp.azure.com/job/broadcom/job/buildimage-brcm-all/

such behavior is usually transient.

@yangbashuang
Copy link
Contributor Author

@lguohan have no idea, i tried so many times today, still same error

@pavel-shirshov
Copy link
Contributor

I'd suggest to remove all docker images. And rebuild all the docker images from scratch.
If it doesn't help I'd suggest to switch from your Debian mirror to some other Debian mirror. I hope this will help

@yangbashuang
Copy link
Contributor Author

@pavel-shirshov thanks very much, i found it has something to do with my proxy, do not have this error without proxy(except can not go through the great firewall),i will try to find another way to fix this, closing it
thank you all.

dgsudharsan added a commit to dgsudharsan/sonic-buildimage that referenced this issue Nov 4, 2021
Including the below commits to update swss submodule
8448a60 [vs tests]Migrating sonic-swss tests to use hwsku instead of fakeplatform (sonic-net#1978)
faa26db Fix random failure in PR/CI build. (sonic-net#2006)
e03edb6 Allow interface type value none (sonic-net#1991)
71b9650 [orchagent] Fix group name of port-buffer-drop in flexcounterorch.cpp (sonic-net#1967)
facdef5 [VS test] Skip flaky virtual chassis test (sonic-net#2004)
8261c1f [pytest]: Increase timeout when checking services (sonic-net#2000)
67278be [teammgrd]: Handle LAGs cleanup gracefully on Warm/Fast reboot. (sonic-net#1934)
e92c1df Enable FEC statistics collection for Ethernet ports (sonic-net#1994)
9f30ca1 VxLAN Tunnel Counters and Rates implementation (sonic-net#1859)

Signed-off-by: Sudharsan Dhamal Gopalarathnam <sudharsand@nvidia.com>
prsunny pushed a commit that referenced this issue Nov 5, 2021
Including the below commits to update swss submodule
8448a60 [vs tests]Migrating sonic-swss tests to use hwsku instead of fakeplatform (#1978)
faa26db Fix random failure in PR/CI build. (#2006)
e03edb6 Allow interface type value none (#1991)
71b9650 [orchagent] Fix group name of port-buffer-drop in flexcounterorch.cpp (#1967)
facdef5 [VS test] Skip flaky virtual chassis test (#2004)
8261c1f [pytest]: Increase timeout when checking services (#2000)
67278be [teammgrd]: Handle LAGs cleanup gracefully on Warm/Fast reboot. (#1934)
e92c1df Enable FEC statistics collection for Ethernet ports (#1994)
9f30ca1 VxLAN Tunnel Counters and Rates implementation (#1859)

Signed-off-by: Sudharsan Dhamal Gopalarathnam <sudharsand@nvidia.com>
stepanblyschak added a commit to stepanblyschak/sonic-buildimage that referenced this issue Nov 11, 2021
```
5f8ebfa (HEAD, origin/master, origin/HEAD, master) [AclOrch] move ACL counters to flex counter infrastructure (sonic-net#1943)
8119ec0 [bfdorch] Orchagent support hardware BFD (sonic-net#1883)
15074ac [sonic-swss]:enable unconfiguring PFC on last TC on a port (sonic-net#1962)
05c7c05 [Mux orch] set default as standby, change mux orch priority (sonic-net#2010)
fe5b2a9 [pytest]: Ignore errors deleting host ifs (sonic-net#2005)
70da9af [ci]: use native arm64 and armhf pool (sonic-net#2013)
e14a071 [qos] Add EXP to TC map support (sonic-net#1954)
c91a7f2 [switchorch] Implement VXLAN src port range feature  (sonic-net#1959)
b20f0f4 Gcov for swss daemon (sonic-net#1737)
01c243a [CRM][MPLS] Fix the mpls nexthop CRM attribute (sonic-net#2008)
8448a60 [vs tests]Migrating sonic-swss tests to use hwsku instead of fakeplatform (sonic-net#1978)
faa26db Fix random failure in PR/CI build. (sonic-net#2006)
e03edb6 Allow interface type value none (sonic-net#1991)
71b9650 [orchagent] Fix group name of port-buffer-drop in flexcounterorch.cpp (sonic-net#1967)
facdef5 [VS test] Skip flaky virtual chassis test (sonic-net#2004)
8261c1f [pytest]: Increase timeout when checking services (sonic-net#2000)
67278be [teammgrd]: Handle LAGs cleanup gracefully on Warm/Fast reboot. (sonic-net#1934)
e92c1df Enable FEC statistics collection for Ethernet ports (sonic-net#1994)
9f30ca1 VxLAN Tunnel Counters and Rates implementation (sonic-net#1859)
ac3103a Add missing neighbor resolution for MPLS route programming (sonic-net#1968)
bfba0ad [vlanmgr]Fix for STATE_DB port check logic (sonic-net#1980)
9ef2ba4 [vlanmgr]: Update VLAN removal code to work with 5.10 kernel and newer iproute2 versions (sonic-net#1970)
41fb26c [Mux orch] Handle setting unknown mux state (sonic-net#1984)
ac09bde [azp]: Increase timeout for VS tests (sonic-net#1988)
da8a43e [pytest]: Check if appl DB exists before deleting (sonic-net#1983)
553d75a [tunnel decap] Change tunnel orch order (sonic-net#1977)
7444e96 [macsecmgr]: Add rekey period in macsec mgr (sonic-net#1958)
d95823d [Buffermgr]Graceful handling of buffer model change (sonic-net#1956)
b0aa6a0 EVPN VxLAN enhancement to support P2MP tunnel based programming for Layer2 extension (sonic-net#1858)
85bdf54 Fix the option missing in kernel config issue (sonic-net#1973)
6b15584 Orchagent validates mirror session queue parameter against maximum value from SAI (sonic-net#1957)
fc9ffb9 [copp] Add ISIS, LDP and micro-BFD trap types to CoPP manager (sonic-net#1890)
452cbc1 [macsecorch]: Add IPG adjusting for MACsec gearbox model (sonic-net#1925)
```

Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
theasianpianist pushed a commit to theasianpianist/sonic-buildimage that referenced this issue Feb 5, 2022
*skip test_virtual_chassis.py tests for lag_id
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

No branches or pull requests

4 participants