Test failed according to ironicclient is missed in venv

Bug #1534986 reported by Tatyanka
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
Critical
Dmitry Kaigarodеsev
8.0.x
Invalid
Critical
Dmitry Kaigarodеsev

Bug Description

Bvt failed with:
echo /home/jenkins/workspace/9.0-liberty.ubuntu.bvt_2
/home/jenkins/workspace/9.0-liberty.ubuntu.bvt_2
+ python fuelweb_test/run_tests.py -q --nologcapture --with-xunit --group=bvt_2
Traceback (most recent call last):
  File "fuelweb_test/run_tests.py", line 170, in <module>
    import_tests()
  File "fuelweb_test/run_tests.py", line 45, in import_tests
    from tests import test_backup_restore # noqa
  File "/home/jenkins/workspace/9.0-liberty.ubuntu.bvt_2/fuelweb_test/tests/test_backup_restore.py", line 21, in <module>
    from fuelweb_test.helpers import os_actions
  File "/home/jenkins/workspace/9.0-liberty.ubuntu.bvt_2/fuelweb_test/helpers/os_actions.py", line 22, in <module>
    from fuelweb_test.helpers import common
  File "/home/jenkins/workspace/9.0-liberty.ubuntu.bvt_2/fuelweb_test/helpers/common.py", line 30, in <module>
    import ironicclient.client as ironicclient
ImportError: No module named ironicclient.client

We have ironicclient in requirements:
https://github.com/openstack/fuel-qa/blob/master/fuelweb_test/requirements.txt#L14

But looks like we miss it in venv:

(venv-nailgun-tests-2.9)tleontovich@srv44-bud:~$ pip freeze| grep ironic
(venv-nailgun-tests-2.9)tleontovich@srv44-bud:~$

So we need to update venv on all the slaves or revert https://review.openstack.org/#/c/265355/ until salves updated

https://172.18.160.103/view/9.0-liberty/job/9.0-liberty.ubuntu.bvt_2/72/console

Revision history for this message
Tatyanka (tatyana-leontovich) wrote :

Patch for test revert until venv updates https://review.openstack.org/#/c/268704/

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to fuel-qa (master)

Reviewed: https://review.openstack.org/268704
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=87a7bca7eeb89da467a2b2316c9f912d7dca98e9
Submitter: Jenkins
Branch: master

commit 87a7bca7eeb89da467a2b2316c9f912d7dca98e9
Author: tatyana-leontovich <email address hidden>
Date: Sat Jan 16 20:16:51 2016 +0000

    Revert "Introduce deployment test for Ironic"

    We do not have ironicclient in venv - so test will fail all the tests. So revert it until CI team updates venvs on all the Jenkins slaves
    This reverts commit 689b7c409df2236027ae16c1a05bf75090f45899.

    Related-Bug: #1534986
    Change-Id: I3157d128788e609b0805fae6a80ab8f8dbdca99c

Revision history for this message
Aleksandra Fedorova (bookwar) wrote :

We are waiting fot fuel-devops 2.9.17 tag to perform mass update of environements

Changed in fuel:
assignee: Fuel CI (fuel-ci) → Dmitry Kaigarodеsev (dkaiharodsev)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-qa (master)

Fix proposed to branch: master
Review: https://review.openstack.org/272023

Revision history for this message
Dmitry Kaigarodеsev (dkaiharodsev) wrote :

ironicclient.client was installed with deploy 'fuel-devops' 2.9.16

Changed in fuel:
status: In Progress → Invalid
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-qa (master)

Change abandoned by Dmitry Kaigarodsev (<email address hidden>) on branch: master
Review: https://review.openstack.org/272023
Reason: outdated since we're already using 2.9.19

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.