Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-12119

CI: Downstream CI broken for networking-baremetal

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • rhos-18.0 FR 2 (Mar 2025)
    • internal
    • None
    • 2
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • None
    • Important

      When trying to backport OSPRH-10799 related work, I noticed the downstream CI is broken for networking baremetal.
       
      [notice] A new release of pip is available: 24.2 -> 24.3.1
      [notice] To update, run: pip install --upgrade pip
      py39 finish: getenv /home/zuul/src/code.engineering.redhat.com/python-networking-baremetal/.tox/py39 after 2.95 seconds
      py39 start: developpkg /home/zuul/src/code.engineering.redhat.com/python-networking-baremetal
      py39 develop-inst: /home/zuul/src/code.engineering.redhat.com/python-networking-baremetal
      write config to /home/zuul/src/code.engineering.redhat.com/python-networking-baremetal/.tox/py39/.tox-config1 as '48b93d0a4e748b9e1f389cb291db34fd7535ff52778249dc16ae7711215fcc66 /opt/tox/bin/python3\n3.28.0 1 1 0\n00000000000000000000000000000000 -chttps://releases.openstack.org/constraints/upper/2023.1\n00000000000000000000000000000000 -r/home/zuul/src/code.engineering.redhat.com/python-networking-baremetal/requirements.txt\n00000000000000000000000000000000 -r/home/zuul/src/code.engineering.redhat.com/python-networking-baremetal/test-requirements.txt'
      setting PATH=/home/zuul/src/code.engineering.redhat.com/python-networking-baremetal/.tox/py39/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
      [1367] /home/zuul/src/code.engineering.redhat.com/python-networking-baremetal$ /home/zuul/src/code.engineering.redhat.com/python-networking-baremetal/.tox/py39/bin/python -m pip install --exists-action w -e .
      Obtaining file:///home/zuul/src/code.engineering.redhat.com/python-networking-baremetal
      Preparing metadata (setup.py): started
      Preparing metadata (setup.py): finished with status 'error'
      error: subprocess-exited-with-error

      × python setup.py egg_info did not run successfully.
      │ exit code: 1
      ╰─> [94 lines of output]
      /home/zuul/src/code.engineering.redhat.com/python-networking-baremetal/.tox/py39/lib/python3.9/site-packages/setuptools/installer.py:34: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
      import pkg_resources # Delay import to avoid unnecessary side-effects
      /home/zuul/src/code.engineering.redhat.com/python-networking-baremetal/.tox/py39/lib/python3.9/site-packages/pkg_resources/_init_.py:3154: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('paste')`.
      Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
      declare_namespace(pkg)
      /home/zuul/src/code.engineering.redhat.com/python-networking-baremetal/.tox/py39/lib/python3.9/site-packages/pkg_resources/_init_.py:3154: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('repoze')`.
      Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
      declare_namespace(pkg)
      /home/zuul/src/code.engineering.redhat.com/python-networking-baremetal/.tox/py39/lib/python3.9/site-packages/setuptools/_init_.py:94: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
      !!

      ********************************************************************************
      Requirements should be satisfied by a PEP 517 installer.
      If you are using pip, you can try `pip install --use-pep517`.
      ********************************************************************************

      !!
      dist.fetch_build_eggs(dist.setup_requires)
      [pbr] Generating ChangeLog
      /home/zuul/src/code.engineering.redhat.com/python-networking-baremetal/.tox/py39/lib/python3.9/site-packages/setuptools/command/develop.py:41: EasyInstallDeprecationWarning: easy_install command is deprecated.
      !!

      ********************************************************************************
      Please avoid running ``setup.py`` and ``easy_install``.
      Instead, use pypa/build, pypa/installer or other
      standards-based tools.

      See https://github.com/pypa/setuptools/issues/917 for details.
      ********************************************************************************

      !!
      easy_install.initialize_options(self)
      /home/zuul/src/code.engineering.redhat.com/python-networking-baremetal/.tox/py39/lib/python3.9/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
      !!

      ********************************************************************************
      Please avoid running ``setup.py`` directly.
      Instead, use pypa/build, pypa/installer or other
      standards-based tools.

      See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
      ********************************************************************************

      !!
      self.initialize_options()
      running egg_info
      creating /tmp/pip-pip-egg-info-4bmc0jq6/networking_baremetal.egg-info
      writing /tmp/pip-pip-egg-info-4bmc0jq6/networking_baremetal.egg-info/PKG-INFO
      writing dependency_links to /tmp/pip-pip-egg-info-4bmc0jq6/networking_baremetal.egg-info/dependency_links.txt
      writing entry points to /tmp/pip-pip-egg-info-4bmc0jq6/networking_baremetal.egg-info/entry_points.txt
      writing top-level names to /tmp/pip-pip-egg-info-4bmc0jq6/networking_baremetal.egg-info/top_level.txt
      writing pbr to /tmp/pip-pip-egg-info-4bmc0jq6/networking_baremetal.egg-info/pbr.json
      [pbr] Processing SOURCES.txt
      writing manifest file '/tmp/pip-pip-egg-info-4bmc0jq6/networking_baremetal.egg-info/SOURCES.txt'
      [pbr] In git context, generating filelist from git
      warning: no previously-included files matching '*.pyc' found anywhere in distribution
      reading manifest template 'MANIFEST.in'
      warning: no previously-included files found matching '.gitignore'
      warning: no previously-included files found matching '.gitreview'
      warning: no previously-included files matching '*.pyc' found anywhere in distribution
      adding license file 'LICENSE'
      adding license file 'AUTHORS'
      Traceback (most recent call last):
      File "<string>", line 2, in <module>
      File "<pip-setuptools-caller>", line 34, in <module>
      File "/home/zuul/src/code.engineering.redhat.com/python-networking-baremetal/setup.py", line 18, in <module>
      setuptools.setup(
      File "/home/zuul/src/code.engineering.redhat.com/python-networking-baremetal/.tox/py39/lib/python3.9/site-packages/setuptools/_init_.py", line 117, in setup
      return distutils.core.setup(**attrs)
       
      File "/home/zuul/src/code.engineering.redhat.com/python-networking-baremetal/.tox/py39/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 183, in setup
      return run_commands(dist)
      File "/home/zuul/src/code.engineering.redhat.com/python-networking-baremetal/.tox/py39/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 199, in run_commands
      dist.run_commands()
      File "/home/zuul/src/code.engineering.redhat.com/python-networking-baremetal/.tox/py39/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 954, in run_commands
      self.run_command(cmd)
      File "/home/zuul/src/code.engineering.redhat.com/python-networking-baremetal/.tox/py39/lib/python3.9/site-packages/setuptools/dist.py", line 950, in run_command
      super().run_command(command)
      File "/home/zuul/src/code.engineering.redhat.com/python-networking-baremetal/.tox/py39/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 973, in run_command
      cmd_obj.run()
      File "/home/zuul/src/code.engineering.redhat.com/python-networking-baremetal/.tox/py39/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 311, in run
      self.find_sources()
      File "/usr/lib/python3.9/site-packages/pbr/packaging.py", line 579, in find_sources
      mm.run()
      File "/home/zuul/src/code.engineering.redhat.com/python-networking-baremetal/.tox/py39/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 545, in run
      self.prune_file_list()
      File "/home/zuul/src/code.engineering.redhat.com/python-networking-baremetal/.tox/py39/lib/python3.9/site-packages/setuptools/command/sdist.py", line 161, in prune_file_list
      super().prune_file_list()
      File "/home/zuul/src/code.engineering.redhat.com/python-networking-baremetal/.tox/py39/lib/python3.9/site-packages/setuptools/_distutils/command/sdist.py", line 380, in prune_file_list
      base_dir = self.distribution.get_fullname()
      File "/home/zuul/src/code.engineering.redhat.com/python-networking-baremetal/.tox/py39/lib/python3.9/site-packages/setuptools/_core_metadata.py", line 267, in get_fullname
      return _distribution_fullname(self.get_name(), self.get_version())
      File "/home/zuul/src/code.engineering.redhat.com/python-networking-baremetal/.tox/py39/lib/python3.9/site-packages/setuptools/_core_metadata.py", line 285, in _distribution_fullname
      canonicalize_version(version, strip_trailing_zero=False),
      TypeError: canonicalize_version() got an unexpected keyword argument 'strip_trailing_zero'
      [end of output]

      note: This error originates from a subprocess, and is likely not a problem with pip.

      [notice] A new release of pip is available: 24.2 -> 24.3.1
      [notice] To update, run: pip install --upgrade pip
      error: metadata-generation-failed

      × Encountered error while generating package metadata.
      ╰─> See above for output.

      note: This is an issue with the package mentioned above, not pip.
      hint: See above for details.
      ERROR: invocation failed (exit code 1)
      py39 finish: developpkg /home/zuul/src/code.engineering.redhat.com/python-networking-baremetal after 1.50 seconds
       
      Job logs: https://sf.apps.int.gpc.ocp-hub.prod.psi.redhat.com/zuul/t/rhos-ci/build/24f43d1504b4491dbc663c4b7966d6a9

              jkreger@redhat.com Julia Kreger
              jkreger@redhat.com Julia Kreger
              rhos-dfg-hardprov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: