No module named fixtures on CI envs

Bug #1615962 reported by Kairat Kushaev
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Critical
Dmitry Kaigarodеsev

Bug Description

Currently, gates are blocked because this patch has been merged to fuel-qa code recently:
https://review.openstack.org/#/c/358633/.
See failed build here:
https://product-ci.infra.mirantis.net/view/10.0/job/10.0.main.ubuntu.bvt_2/581/

We discussed this patch with Fuel-QA team and it was recommended to update virtualenv on all CI.
Here is requirements from Fuel-QA:
pytest==3.0.0
pytest-django==2.9.1

Changed in fuel:
assignee: nobody → Fuel CI (fuel-ci)
importance: Undecided → Critical
tags: added: bvt-failure
tags: added: swarm-blocker
Revision history for this message
Dmitry Kaigarodеsev (dkaiharodsev) wrote :

fuel-qa team, please update related 'requirements.txt' file by mentioned dependencies

Changed in fuel:
assignee: Fuel CI (fuel-ci) → Fuel QA Team (fuel-qa)
Changed in fuel:
milestone: none → 10.0
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/359022

Changed in fuel:
assignee: Fuel QA Team (fuel-qa) → Vladimir Khlyunev (vkhlyunev)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-qa (master)

Reviewed: https://review.openstack.org/359022
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=4ee508ef8bfd0fb46906d4b601ee0d0c62204235
Submitter: Jenkins
Branch: master

commit 4ee508ef8bfd0fb46906d4b601ee0d0c62204235
Author: Vladimir Khlyunev <email address hidden>
Date: Tue Aug 23 11:13:41 2016 +0300

    Bump pytest version to 3.0.0

    Since FixtureManager was moved from _pytest.python
    to _pytest.fixtures and fuel-qa's code was updated with this change
    we should bump minimal vertion of pytest

    Change-Id: I6d8a29d0410704e784212bcfead5ee8d5a5009a6
    Partial-bug:1615962

Changed in fuel:
assignee: Vladimir Khlyunev (vkhlyunev) → Fuel CI (fuel-ci)
status: In Progress → Confirmed
Roman Vyalov (r0mikiam)
Changed in fuel:
assignee: Fuel CI (fuel-ci) → Dmitry Kaigarodеsev (dkaiharodsev)
Revision history for this message
Aleksandra Fedorova (bookwar) wrote :

Fixed on Packaging CI and Product CI

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

Fixed on fuel-ci slaves

Changed in fuel:
status: Confirmed → Fix Committed
Revision history for this message
Roman Vyalov (r0mikiam) wrote :

ETA: 23AUG

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

Related fix proposed to branch: master
Review: https://review.openstack.org/359204

Revision history for this message
Vladimir Sharshov (vsharshov) wrote :

Still actual:

https://ci.fuel-infra.org/job/master.fuel-web.pkgs.ubuntu.review_fuel_web_deploy/3887/console It failed with error
```Traceback (most recent call last):
  File "run_system_test.py", line 225, in <module>
    shell()
  File "run_system_test.py", line 221, in shell
    COMMAND_MAP[args.command](**vars(args))
  File "run_system_test.py", line 144, in run
    if group_in_pytest(g):
  File "run_system_test.py", line 64, in group_in_pytest
    from _pytest.python import FixtureManager
ImportError: cannot import name FixtureManager
```
Same problem in Astute jobs https://ci.fuel-infra.org/job/master.fuel-astute.pkgs.ubuntu.review_astute_patched/664/console

Changed in fuel:
status: Fix Committed → Confirmed
Revision history for this message
Dmitry Kaigarodеsev (dkaiharodsev) wrote :

issue solved by updating up to latest deployment environment (ISO, fuel-qa)
https://ci.fuel-infra.org/job/master.fuel-web.pkgs.ubuntu.review_fuel_web_deploy/3896/console

Changed in fuel:
status: Confirmed → In Progress
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to fuel-qa (master)

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

commit ea443c3cc2d9cabf0bccd10d66538c01665cf40d
Author: Alexey Stepanov <email address hidden>
Date: Tue Aug 23 16:42:35 2016 +0300

    Drop private API usage in pytest groups grab

    use hook pytest_collection_finish
    Related-bug: #1615962

    Change-Id: I3a2cb1276a7621bf59b464930e280f5bc4786f1a

Revision history for this message
Aleksei Stepanov (penguinolog) wrote :

This module is not required now.

Changed in fuel:
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.