RHEL-8 check job broken with Cannot uninstall requirement virtualenv, not installed

Bug #1862909 reported by chandan kumar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
yatin

Bug Description

All RHEL8 jobs standalone and fs01 ovb jobs are broken.
https://logserver.rdoproject.org/54/707054/9/openstack-check/tripleo-ci-rhel-8-scenario001-standalone-rdo/93cee97/job-output.txt

2020-02-12 00:50:56.234515 | primary | Removed:
2020-02-12 00:50:56.234523 | primary | python3-virtualenv-15.1.0-19.module+el8.1.0+3514+14e79d98.noarch
2020-02-12 00:50:56.234530 | primary | python3-wheel-wheel-1:0.31.1-2.module+el8.1.0+3724+3c097090.noarch
2020-02-12 00:50:56.234536 | primary |
2020-02-12 00:50:56.235040 | primary | Complete!
2020-02-12 00:50:56.710481 | primary | Cannot uninstall requirement virtualenv, not installed
2020-02-12 05:50:57.316965 | primary | ERROR
2020-02-12 05:50:57.317314 | primary | {
2020-02-12 05:50:57.317410 | primary | "delta": "0:00:42.879586",
2020-02-12 05:50:57.317458 | primary | "end": "2020-02-12 00:50:56.843696",
2020-02-12 05:50:57.317508 | primary | "msg": "non-zero return code",
2020-02-12 05:50:57.317551 | primary | "rc": 1,
2020-02-12 05:50:57.317589 | primary | "start": "2020-02-12 00:50:13.964110"
2020-02-12 05:50:57.317626 | primary | }

Yesterday we merged https://review.opendev.org/#/c/707062 -> [install-deps]Install "virtualenv<20.0.1" which removes the previously installed virtualenv from rpm as well as pip
Since IN RHEL-8, we have only rpm it will work fine.

We need to tweak the workaround for not removing python-virtualenv in RHEL-8 will fix the issue.

Changed in tripleo:
assignee: nobody → chandan kumar (chkumar246)
status: Confirmed → In Progress
Changed in tripleo:
assignee: chandan kumar (chkumar246) → yatin (yatinkarel)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-quickstart (master)

Reviewed: https://review.opendev.org/707329
Committed: https://git.openstack.org/cgit/openstack/tripleo-quickstart/commit/?id=fab65a41f5e14553f7e34ecdfc3b4793dd43ef2b
Submitter: Zuul
Branch: master

commit fab65a41f5e14553f7e34ecdfc3b4793dd43ef2b
Author: Chandan Kumar (raukadah) <email address hidden>
Date: Wed Feb 12 13:09:59 2020 +0530

    Donot remove virtualenv for RHEL-8

    Since RHEL-8 virtualenv rpm works fine and is not incompatible.
    Removing venv there breaks the whole RHEL8 jobs. So keep the
    workaround for CentOS 7 only.

    For CentOS-8, we will be using Python3 so it will not affect.

    Closes-Bug: #1862909

    Change-Id: I197c32308c9a33378d1f97f3949727303697a4e7
    Signed-off-by: Chandan Kumar (raukadah) <email address hidden>

Changed in tripleo:
status: In Progress → Fix Released
wes hayutin (weshayutin)
tags: added: promotion-blocker
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.