python-neutronclient-pep8 and python-neutronclient-python27 are broken

Bug #1662471 reported by Alexey Stupnikov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Fix Released
High
Alexander Evseev

Bug Description

It looks like virtualnv package was updated at CI nodes, as a result, updated pip is unable to process dependencies correctly. virtualenv 13.1.0 with pip 7.1.0 works great for me.

I am not saying that we have to pin virtualenv on CI nodes, but we definitely have to do something to fix this issue.

Review: https://review.fuel-infra.org/#/c/30211/

Broken tests:

http://logs.mosi.mirantis.net/11/30211/4/check/gate-python-neutronclient-pep8/60a2a95/

http://logs.mosi.mirantis.net/11/30211/4/check/gate-python-neutronclient-python27/8f70a1b/

description: updated
Changed in mos:
status: New → In Progress
assignee: Fuel CI (fuel-ci) → Alexander Evseev (aevseev-h)
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to mos-infra/project-config (mosi)

Fix proposed to branch: mosi
Change author: Alexander Evseev <email address hidden>
Review: https://review.fuel-infra.org/30626

Changed in mos:
status: In Progress → Fix Committed
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to mos-infra/project-config (mosi)

Reviewed: https://review.fuel-infra.org/30626
Submitter: Alexander Evseev <email address hidden>
Branch: mosi

Commit: c3a43bb086f5b89d656a89a26519c63f65200e30
Author: Alexander Evseev <email address hidden>
Date: Wed Feb 8 15:14:09 2017

Use system python modules for venv creation by tox

To test changes to old stable branches it's required to use contemporary
for this branches tools and python modules, but by default virtualenv
installs latest available tools.

To fix this behavior macros upgrade-tox is replaced by another one, doing
several tasks:

  -- remove ALL the python modules installed by pip
  -- reinstall system packages broken by pip with addition of some tools,
     like pip itself, tox and setuptools
  -- inject environment variable VIRTUALENV_NO_DOWNLOAD to install system
     python modules into virtualenv created by tox

Change-Id: I2cacafcb12343ef996af655b32244bad0c990bdb
Closes-Bug: #1662471

Changed in mos:
status: Fix Committed → In Progress
Changed in mos:
status: In Progress → Fix Released
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to mos-infra/mos-requirements (master)

Fix proposed to branch: master
Change author: Alexander Evseev <email address hidden>
Review: https://review.fuel-infra.org/30727

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to mos-infra/mos-requirements (master)

Reviewed: https://review.fuel-infra.org/30727
Submitter: Alexander Evseev <email address hidden>
Branch: master

Commit: 13058d95f18831ccf9c5e3830cc7453ea87ce843
Author: Alexander Evseev <email address hidden>
Date: Fri Feb 10 13:16:00 2017

Limit setuptools version for MOS 8.0

Upstream's upper-constraints.txt has constraint for packaging===15.3
and this version is supported by setuptools prior to 19.0

Change-Id: Id6c478e6a4bade57ebd125750b04a14be3b46c79
Partial-Bug: #1662471

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Related fix proposed to mos-infra/project-config (mosi)

Related fix proposed to branch: mosi
Change author: Alexander Evseev <email address hidden>
Review: https://review.fuel-infra.org/30730

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Related fix merged to mos-infra/project-config (mosi)

Reviewed: https://review.fuel-infra.org/30730
Submitter: Alexander Evseev <email address hidden>
Branch: mosi

Commit: 9918531f198d328f861d3beb425ae8368c5bcb60
Author: Alexander Evseev <email address hidden>
Date: Fri Feb 10 13:38:11 2017

Install latest python tools into nodepool images

Change-Id: I9f8534139c51b5a3e18c13bc99576148cd7c60a1
Related-Bug: #1662471

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to mos-infra/project-config (mosi)

Fix proposed to branch: mosi
Change author: Alexander Evseev <email address hidden>
Review: https://review.fuel-infra.org/30737

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to mos-infra/project-config (mosi)

Reviewed: https://review.fuel-infra.org/30737
Submitter: Alexander Evseev <email address hidden>
Branch: mosi

Commit: d0332609be138010d0694459f04ab4aff0ba6c81
Author: Alexander Evseev <email address hidden>
Date: Fri Feb 10 13:58:56 2017

Install python tools into nodepool images (2nd try)

Change-Id: Ib10d43fd634b7f5b44690ab2be672fe5824c42da
Partial-Bug: #1662471

Revision history for this message
Alexey Stupnikov (astupnikov) wrote :

This issue came back, as we unable to merge patch https://review.fuel-infra.org/#/c/29943/. Re-opening the bug.

Test commit: https://review.fuel-infra.org/#/c/30211/4

Changed in mos:
status: Fix Released → Confirmed
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to mos-infra/project-config (mosi)

Fix proposed to branch: mosi
Change author: Alexander Evseev <email address hidden>
Review: https://review.fuel-infra.org/30960

Changed in mos:
status: Confirmed → In Progress
status: In Progress → Fix Committed
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to mos-infra/project-config (mosi)

Reviewed: https://review.fuel-infra.org/30960
Submitter: Alexander Evseev <email address hidden>
Branch: mosi

Commit: d801822feb279427159d307687f7d02c05a40f05
Author: Alexander Evseev <email address hidden>
Date: Thu Feb 16 14:58:03 2017

Install virtualenv using upper constraint for branch

Re-install virtualenv taking into account upstream's upper constraints.

Change-Id: I24efe5d69a9f3045945fee3db34e3d9efe81bb5b
Closes-Bug: #1662471

Changed in mos:
status: Fix Committed → Fix Released
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.