-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[action] [PR:16668] Fixing netaddr build issue #16692
Conversation
Fixing the following build issue [2023-09-20T04:42:00.004Z] [ FAIL LOG START ] [ target/python-wheels/bullseye/sonic_bgpcfgd-1.0-py3-none-any.whl ] [2023-09-20T04:42:00.004Z] Build start time: Wed Sep 20 04:41:54 UTC 2023 [2023-09-20T04:42:00.004Z] [ REASON ] : target/python-wheels/bullseye/sonic_bgpcfgd-1.0-py3-none-any.whl does not exist NON-EXISTENT PREREQUISITES: target/python-wheels/bullseye/sonic_config_engine-1.0-py3-none-any.whl-install target/python-wheels/bullseye/sonic_yang_mgmt-1.0-py3-none-any.whl-install target/python-wheels/bullseye/sonic_yang_models-1.0-py3-none-any.whl-install target/debs/bullseye/libyang_1.0.73_amd64.deb-install target/debs/bullseye/libyang-cpp_1.0.73_amd64.deb-install target/debs/bullseye/python3-yang_1.0.73_amd64.deb-install target/debs/bullseye/python3-swsscommon_1.0.0_amd64.deb-install [2023-09-20T04:42:00.004Z] [ FLAGS FILE ] : [] [2023-09-20T04:42:00.005Z] [ FLAGS DEPENDS ] : [mellanox amd64 bullseye] [2023-09-20T04:42:00.005Z] [ FLAGS DIFF ] : [mellanox amd64 bullseye ] [2023-09-20T04:42:00.005Z] /sonic/src/sonic-bgpcfgd /sonic [2023-09-20T04:42:00.005Z] running pytest [2023-09-20T04:42:00.005Z] Searching for netaddr==0.8.0 [2023-09-20T04:42:00.005Z] Best match: netaddr 0.8.0 [2023-09-20T04:42:00.005Z] [2023-09-20T04:42:00.005Z] Using /var/sw-r2d2-bot/.local/lib/python3.9/site-packages [2023-09-20T04:42:00.005Z] running egg_info [2023-09-20T04:42:00.005Z] writing sonic_bgpcfgd.egg-info/PKG-INFO [2023-09-20T04:42:00.005Z] writing dependency_links to sonic_bgpcfgd.egg-info/dependency_links.txt [2023-09-20T04:42:00.005Z] writing entry points to sonic_bgpcfgd.egg-info/entry_points.txt [2023-09-20T04:42:00.005Z] writing requirements to sonic_bgpcfgd.egg-info/requires.txt [2023-09-20T04:42:00.005Z] writing top-level names to sonic_bgpcfgd.egg-info/top_level.txt [2023-09-20T04:42:00.005Z] reading manifest file 'sonic_bgpcfgd.egg-info/SOURCES.txt' [2023-09-20T04:42:00.005Z] writing manifest file 'sonic_bgpcfgd.egg-info/SOURCES.txt' [2023-09-20T04:42:00.005Z] running build_ext [2023-09-20T04:42:00.005Z] Traceback (most recent call last): [2023-09-20T04:42:00.005Z] File "/sonic/src/sonic-bgpcfgd/setup.py", line 3, in <module> [2023-09-20T04:42:00.005Z] setuptools.setup( [2023-09-20T04:42:00.005Z] File "/usr/local/lib/python3.9/dist-packages/setuptools/__init__.py", line 163, in setup [2023-09-20T04:42:00.005Z] return distutils.core.setup(**attrs) [2023-09-20T04:42:00.005Z] File "/usr/lib/python3.9/distutils/core.py", line 148, in setup [2023-09-20T04:42:00.005Z] dist.run_commands() [2023-09-20T04:42:00.006Z] File "/usr/lib/python3.9/distutils/dist.py", line 966, in run_commands [2023-09-20T04:42:00.006Z] self.run_command(cmd) [2023-09-20T04:42:00.006Z] File "/usr/lib/python3.9/distutils/dist.py", line 985, in run_command [2023-09-20T04:42:00.006Z] cmd_obj.run() [2023-09-20T04:42:00.006Z] File "/usr/local/lib/python3.9/dist-packages/ptr.py", line 208, in run [2023-09-20T04:42:00.006Z] with self.project_on_sys_path(): [2023-09-20T04:42:00.006Z] File "/usr/lib/python3.9/contextlib.py", line 117, in __enter__ [2023-09-20T04:42:00.006Z] return next(self.gen) [2023-09-20T04:42:00.006Z] File "/usr/local/lib/python3.9/dist-packages/setuptools/command/test.py", line 168, in project_on_sys_path [2023-09-20T04:42:00.006Z] require('%s==%s' % (ei_cmd.egg_name, ei_cmd.egg_version)) [2023-09-20T04:42:00.006Z] File "/usr/local/lib/python3.9/dist-packages/pkg_resources/__init__.py", line 899, in require [2023-09-20T04:42:00.006Z] needed = self.resolve(parse_requirements(requirements)) [2023-09-20T04:42:00.006Z] File "/usr/local/lib/python3.9/dist-packages/pkg_resources/__init__.py", line 790, in resolve [2023-09-20T04:42:00.006Z] raise VersionConflict(dist, req).with_context(dependent_req) [2023-09-20T04:42:00.006Z] pkg_resources.ContextualVersionConflict: (netaddr 0.9.0 (/var/sw-r2d2-bot/.local/lib/python3.9/site-packages), Requirement.parse('netaddr==0.8.0'), {'sonic-bgpcfgd'}) [2023-09-20T04:42:00.007Z] [ FAIL LOG END ] [ target/python-wheels/bullseye/sonic_bgpcfgd-1.0-py3-none-any.whl ] [2023-09-20T04:42:00.007Z] make: *** [slave.mk:881: target/python-wheels/bullseye/sonic_bgpcfgd-1.0-py3-none-any.whl] Error 1 [2023-09-20T04:42:00.007Z] make: *** Waiting for unfinished jobs....
Original PR: #16668 |
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
Issue with test, not related to the build fix itself. |
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
Why I did it
Fixing the following build issue
Work item tracking
How I did it
Specified the netaddr version to download
How to verify it
Build with changes
Which release branch to backport (provide reason below if selected)
Tested branch (Please provide the tested image version)
Description for the changelog
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)