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

sonic-vs.img.gz target build failure #5551

Closed
vganesan-nokia opened this issue Oct 6, 2020 · 1 comment · Fixed by #5498
Closed

sonic-vs.img.gz target build failure #5551

vganesan-nokia opened this issue Oct 6, 2020 · 1 comment · Fixed by #5498

Comments

@vganesan-nokia
Copy link
Contributor

Description
Build fails for target sonic-vs.img.gz.

Steps to reproduce the issue:

  1. Clone latest sonic-buildimage master (as of Oct 4, 2020)
  2. make init
  3. make configure PLATFORM=vs
  4. make target/sonic-vs.img.gz

Describe the results you received:

The failure occurs during installation of sonic-utilities python 2 wheel, when sonic_debian_extension.sh is run as part of build_debian.sh. While downloading dependencies, the collection times out for dependent package xmltodict==0.12.0
Since the sonic-vs-img.gz is a big file, here the snap shot of the error is given

Setting up python-colorama (0.3.7-1) ...
Setting up python-click (7.0-1) ...
++ basename target/python-wheels/sonic_utilities-1.2-py2-none-any.whl
+ SONIC_UTILITIES_PY2_WHEEL_NAME=sonic_utilities-1.2-py2-none-any.whl
+ sudo cp target/python-wheels/sonic_utilities-1.2-py2-none-any.whl ./fsroot/sonic_utilities-1.2-py2-none-any.whl
+ sudo LANG=C chroot ./fsroot pip install sonic_utilities-1.2-py2-none-any.whl
Processing /sonic_utilities-1.2-py2-none-any.whl
Requirement already satisfied: sonic-py-common in /usr/local/lib/python2.7/dist-packages (from sonic-utilities==1.2) (1.0)
Requirement already satisfied: swsssdk>=2.0.1 in /usr/local/lib/python2.7/dist-packages (from sonic-utilities==1.2) (2.0.1)
Requirement already satisfied: ipaddress in /usr/local/lib/python2.7/dist-packages (from sonic-utilities==1.2) (1.0.23)
Requirement already satisfied: netifaces in /usr/local/lib/python2.7/dist-packages (from sonic-utilities==1.2) (0.10.7)
Requirement already satisfied: click in /usr/lib/python2.7/dist-packages (from sonic-utilities==1.2) (7.0)
Requirement already satisfied: sonic-yang-mgmt in /usr/local/lib/python2.7/dist-packages (from sonic-utilities==1.2) (1.0)
Requirement already satisfied: m2crypto in /usr/lib/python2.7/dist-packages (from sonic-utilities==1.2) (0.31.0)
Collecting xmltodict==0.12.0 (from sonic-utilities==1.2)
  Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x7f824ee3ff90>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/xmltodict/
  Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x7f824ee3ff50>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/xmltodict/
  Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x7f824ee3f990>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/xmltodict/
  Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x7f824ee3ff10>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/xmltodict/
  Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x7f824f49f150>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/xmltodict/
  Could not find a version that satisfies the requirement xmltodict==0.12.0 (from sonic-utilities==1.2) (from versions: )
No matching distribution found for xmltodict==0.12.0 (from sonic-utilities==1.2)
+ clean_sys
+ sudo chroot ./fsroot umount /sys/fs/cgroup/blkio /sys/fs/cgroup/cpu /sys/fs/cgroup/cpu,cpuacct /sys/fs/cgroup/cpuacct /sys/fs/cgroup/cpuset /sys/fs/cgroup/devices /sys/fs/cgroup/freezer /sys/fs/cgroup/hugetlb /sys/fs/cgroup/memory /sys/fs/cgroup/net_cls /sys/fs/cgroup/net_cls,net_prio /sys/fs/cgroup/net_prio /sys/fs/cgroup/perf_event /sys/fs/cgroup/pids /sys/fs/cgroup/rdma /sys/fs/cgroup/systemd /sys/fs/cgroup /sys
umount: /sys/fs/cgroup/cpu: no mount point specified.
umount: /sys/fs/cgroup/cpu,cpuacct: no mount point specified.
umount: /sys/fs/cgroup/cpuacct: no mount point specified.
umount: /sys/fs/cgroup/net_cls: no mount point specified.
umount: /sys/fs/cgroup/net_cls,net_prio: no mount point specified.
umount: /sys/fs/cgroup/net_prio: no mount point specified.
umount: /sys/fs/cgroup/systemd: no mount point specified.
+ true
+ true
+ sudo LANG=C chroot ./fsroot umount /proc
+ true

Describe the results you expected:

The build should be successful and the target sonic-vs.img.gz should available under directory sonic-buildimage/target

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

**Output of `show version`:**

N/A

**Attach debug file `sudo generate_dump`:** 

N/A

@vganesan-nokia
Copy link
Contributor Author

This is fixed by PR #5498

@lguohan lguohan linked a pull request Oct 6, 2020 that will close this issue
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 a pull request may close this issue.

1 participant