CI: parsing error while installing cliff

Bug #1778748 reported by Aakarsh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Won't Fix
High
Unassigned

Bug Description

Can be noticed in at least the CI jobs that use prep-internal-rhel.sh.

Ex:

periodic-{pike/queens}-rdo_trunk-featureset020-1ctlr_1comp_64gb
All of the PerfCI jobs.

Following error can be seen:

Collecting cliff (from ara==0.14.5->-r requirements.txt (line 2))
08:49:22 Using cached https://files.pythonhosted.org/packages/7e/1c/4582dc9b2cb5164c665221aca70013003a2dbbd0ef837b72f43c62a350c4/cliff-2.12.1.tar.gz
08:49:24 Complete output from command python setup.py egg_info:
08:49:24 /home/rhos-ci/jenkins/workspace/periodic-ocata-rdo_trunk-featureset020-1ctlr_1comp_64gb/lib/python2.7/site-packages/pkg_resources/__init__.py:2510: PEP440Warning: 'pbr (0.5.2.5.g5b3e942)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
08:49:24 PEP440Warning,
08:49:24 /usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'long_description_content_type'
08:49:24 warnings.warn(msg)
08:49:24 /usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'project_urls'
08:49:24 warnings.warn(msg)
08:49:24
08:49:24 Installed /tmp/pip-install-raSytd/cliff/.eggs/pbr-4.0.4-py2.7.egg
08:49:24 Marker evaluation failed, see the following error. For more information see: http://docs.openstack.org/developer/pbr/compatibility.html#evaluate-marker
08:49:24 ERROR:root:Error parsing
08:49:24 Traceback (most recent call last):
08:49:24 File "/tmp/pip-install-raSytd/cliff/.eggs/pbr-4.0.4-py2.7.egg/pbr/core.py", line 96, in pbr
08:49:24 attrs = util.cfg_to_args(path, dist.script_args)
08:49:24 File "/tmp/pip-install-raSytd/cliff/.eggs/pbr-4.0.4-py2.7.egg/pbr/util.py", line 260, in cfg_to_args
08:49:24 kwargs = setup_cfg_to_setup_kwargs(config, script_args)
08:49:24 File "/tmp/pip-install-raSytd/cliff/.eggs/pbr-4.0.4-py2.7.egg/pbr/util.py", line 454, in setup_cfg_to_setup_kwargs
08:49:24 if pkg_resources.evaluate_marker('(%s)' % env_marker):
08:49:24 File "/home/rhos-ci/jenkins/workspace/periodic-ocata-rdo_trunk-featureset020-1ctlr_1comp_64gb/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1481, in evaluate_marker
08:49:24 return cls.interpret(parser.expr(text).totuple(1)[1])
08:49:24 File "/home/rhos-ci/jenkins/workspace/periodic-ocata-rdo_trunk-featureset020-1ctlr_1comp_64gb/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1515, in interpret
08:49:24 return op(nodelist)
08:49:24 File "/home/rhos-ci/jenkins/workspace/periodic-ocata-rdo_trunk-featureset020-1ctlr_1comp_64gb/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1429, in atom
08:49:24 return cls.interpret(nodelist[2])
08:49:24 File "/home/rhos-ci/jenkins/workspace/periodic-ocata-rdo_trunk-featureset020-1ctlr_1comp_64gb/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1515, in interpret
08:49:24 return op(nodelist)
08:49:24 File "/home/rhos-ci/jenkins/workspace/periodic-ocata-rdo_trunk-featureset020-1ctlr_1comp_64gb/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1450, in comparison
08:49:24 raise SyntaxError(msg)
08:49:24 SyntaxError: '<' operator not allowed in environment markers
08:49:24 error in setup command: Error parsing /tmp/pip-install-raSytd/cliff/setup.cfg: SyntaxError: '<' operator not allowed in environment markers

The error occurs despite updating setuptools to the latest version

Tags: quickstart
wes hayutin (weshayutin)
Changed in tripleo:
importance: Undecided → High
tags: added: quickstart
Changed in tripleo:
status: New → Triaged
Revision history for this message
wes hayutin (weshayutin) wrote :
Revision history for this message
wes hayutin (weshayutin) wrote :

Root cause in https://rhos-dev-jenkins.rhev-ci-vms.eng.rdu2.redhat.com is old jenkins slaves.

Fails on:
[root@dhcp-12-53-28 ~]# cat /etc/redhat-release
Fedora release 22 (Twenty Two)
[root@dhcp-12-53-28 ~]#

Works on:
[root@dhcp-12-53-28 ~]# cat /etc/redhat-release
Fedora release 22 (Twenty Two)
[root@dhcp-12-53-28 ~]#

Revision history for this message
wes hayutin (weshayutin) wrote :

Closing the bug, please upgrade your jenkins slaves to a more recent version of fedora or centos.

Thanks

Changed in tripleo:
status: Triaged → Won't Fix
Revision history for this message
Aakarsh (agopi) wrote :

Worked, Thank you!

Changed in tripleo:
milestone: none → rocky-3
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.