You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the results you received:
Step 12/38 : RUN pip install pytest-ansible==2.2.2
---> Running in 8d26d8beba70
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
Collecting pytest-ansible==2.2.2
Downloading pytest-ansible-2.2.2.tar.gz (16 kB)
ERROR: Command errored out with exit status 1:
command: /usr/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-OLv9ZG/pytest-ansible/setup.py'"'"'; file='"'"'/tmp/pip-install-OLv9ZG/pytest-ansible/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-P8mvOD
cwd: /tmp/pip-install-OLv9ZG/pytest-ansible/
Complete output (49 lines):
Unable to import pypandoc - No module named pypandoc
Installed /tmp/pip-install-OLv9ZG/pytest-ansible/.eggs/setuptools_markdown-0.4.1-py2.7.egg
Searching for pypandoc
Reading https://pypi.python.org/simple/pypandoc/
Best match: pypandoc 1.5
Downloading https://files.pythonhosted.org/packages/d6/b7/5050dc1769c8a93d3ec7c4bd55be161991c94b8b235f88bf7c764449e708/pypandoc-1.5.tar.gz#sha256=14a49977ab1fbc9b14ef3087dcb101f336851837fca55ca79cf33846cc4976ff
Processing pypandoc-1.5.tar.gz
Writing /tmp/easy_install-R6fcvg/pypandoc-1.5/setup.cfg
Running pypandoc-1.5/setup.py -q bdist_egg --dist-dir /tmp/easy_install-R6fcvg/pypandoc-1.5/egg-dist-tmp-8q8hI9
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'long_description_content_type'
warnings.warn(msg)
zip_safe flag not set; analyzing archive contents...
pypandoc.__init__: module references __file__
creating /tmp/pip-install-OLv9ZG/pytest-ansible/.eggs/pypandoc-1.5-py2.7.egg
Extracting pypandoc-1.5-py2.7.egg to /tmp/pip-install-OLv9ZG/pytest-ansible/.eggs
Installed /tmp/pip-install-OLv9ZG/pytest-ansible/.eggs/pypandoc-1.5-py2.7.egg
Searching for wheel>=0.25.0
Reading https://pypi.python.org/simple/wheel/
Best match: wheel 0.34.2
Downloading https://files.pythonhosted.org/packages/75/28/521c6dc7fef23a68368efefdcd682f5b3d1d58c2b90b06dc1d0b805b51ae/wheel-0.34.2.tar.gz#sha256=8788e9155fe14f54164c1b9eb0a319d98ef02c160725587ad60f14ddc57b6f96
Processing wheel-0.34.2.tar.gz
Writing /tmp/easy_install-1JaTVW/wheel-0.34.2/setup.cfg
Running wheel-0.34.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-1JaTVW/wheel-0.34.2/egg-dist-tmp-uTQR2J
warning: no files found matching '*.dynlib' under directory 'tests'
no previously-included directories found matching 'tests/testdata/*/build'
no previously-included directories found matching 'tests/testdata/*/dist'
no previously-included directories found matching 'tests/testdata/*/*.egg-info'
'tests/testdata/unicode.dist/unicodedist/åäö_日本語.py' not ANSI_X3.4-1968 encodable -- skipping
warning: install_lib: 'build/lib.linux-x86_64-2.7' does not exist -- no Python modules to install
zip_safe flag not set; analyzing archive contents...
Moving UNKNOWN-0.0.0-py2.7.egg to /tmp/pip-install-OLv9ZG/pytest-ansible/.eggs
Installed /tmp/pip-install-OLv9ZG/pytest-ansible/.eggs/UNKNOWN-0.0.0-py2.7.egg
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-OLv9ZG/pytest-ansible/setup.py", line 141, in <module>
'Programming Language :: Python :: 3.6',
File "/usr/lib/python2.7/distutils/core.py", line 111, in setup
_setup_distribution = dist = klass(attrs)
File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 269, in __init__
self.fetch_build_eggs(attrs['setup_requires'])
File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 313, in fetch_build_eggs
replace_conflicting=True,
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 829, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'wheel>=0.25.0' distribution was not found and is required by pypandoc
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
The command '/bin/sh -c pip install pytest-ansible==2.2.2' returned a non-zero code: 1
[ FAIL LOG END ] [ target/docker-sonic-mgmt.gz ]
slave.mk:538: recipe for target 'target/docker-sonic-mgmt.gz' failed
make: *** [target/docker-sonic-mgmt.gz] Error 1
Makefile.work:201: recipe for target 'target/docker-sonic-mgmt.gz' failed
make[1]: *** [target/docker-sonic-mgmt.gz] Error 2
make[1]: Leaving directory '/home/alan_chen/code/sonic-buildimage'
Makefile:6: recipe for target 'target/docker-sonic-mgmt.gz' failed
make: *** [target/docker-sonic-mgmt.gz] Error 2
Additional information you deem important (e.g. issue happens only occasionally):
alan_chen@cameo-ws:/code/sonic-buildimage$ uname -a
Linux cameo-ws 5.3.0-61-generic #5518.04.1-Ubuntu SMP Mon Jun 22 16:40:20 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered:
There are some changes in master branch that are missing from 201911 branch. Rita will cherry-pick them into 201911 branch and address the build issue. Meanwhile, please use sonic-mgmt docker built from the master branch.
Description
"make target/docker-sonic-mgmt.gz" failed on 201911 branch (commit d32beff, 2020/Jun/28; HEAD -> 201911, origin/201911)
Steps to reproduce the issue:
Describe the results you received:
Step 12/38 : RUN pip install pytest-ansible==2.2.2
---> Running in 8d26d8beba70
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
Collecting pytest-ansible==2.2.2
Downloading pytest-ansible-2.2.2.tar.gz (16 kB)
ERROR: Command errored out with exit status 1:
command: /usr/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-OLv9ZG/pytest-ansible/setup.py'"'"'; file='"'"'/tmp/pip-install-OLv9ZG/pytest-ansible/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-P8mvOD
cwd: /tmp/pip-install-OLv9ZG/pytest-ansible/
Complete output (49 lines):
Unable to import pypandoc - No module named pypandoc
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
The command '/bin/sh -c pip install pytest-ansible==2.2.2' returned a non-zero code: 1
[ FAIL LOG END ] [ target/docker-sonic-mgmt.gz ]
slave.mk:538: recipe for target 'target/docker-sonic-mgmt.gz' failed
make: *** [target/docker-sonic-mgmt.gz] Error 1
Makefile.work:201: recipe for target 'target/docker-sonic-mgmt.gz' failed
make[1]: *** [target/docker-sonic-mgmt.gz] Error 2
make[1]: Leaving directory '/home/alan_chen/code/sonic-buildimage'
Makefile:6: recipe for target 'target/docker-sonic-mgmt.gz' failed
make: *** [target/docker-sonic-mgmt.gz] Error 2
Additional information you deem important (e.g. issue happens only occasionally):
alan_chen@cameo-ws:
/code/sonic-buildimage$ uname -a18.04.1-Ubuntu SMP Mon Jun 22 16:40:20 UTC 2020 x86_64 x86_64 x86_64 GNU/LinuxLinux cameo-ws 5.3.0-61-generic #55
The text was updated successfully, but these errors were encountered: