ImportError: No module named metaclasses

Bug #1619975 reported by Maksim Malchuk
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Dmitry Kaigarodеsev
Mitaka
Fix Committed
High
Dmitry Kaigarodеsev

Bug Description

Both 10.0.custom.ubuntu.bvt_2 and 10.0.custom.system_test are broken due an error with fuel-qa/fuel-devops:

https://custom-ci.infra.mirantis.net/job/10.0.custom.system_test/1193/console

+ export PYTHONPATH=/home/jenkins/workspace/10.0.custom.system_test
+ echo /home/jenkins/workspace/10.0.custom.system_test
/home/jenkins/workspace/10.0.custom.system_test
+ python run_system_test.py run -q --nologcapture --with-xunit --group=bvt_2
Traceback (most recent call last):
  File "run_system_test.py", line 13, in <module>
    from fuelweb_test.helpers.utils import pretty_log
  File "/home/jenkins/workspace/10.0.custom.system_test/fuelweb_test/helpers/utils.py", line 51, in <module>
    from fuelweb_test.helpers.ssh_manager import SSHManager
  File "/home/jenkins/workspace/10.0.custom.system_test/fuelweb_test/helpers/ssh_manager.py", line 28, in <module>
    from devops.helpers.metaclasses import SingletonMeta
ImportError: No module named metaclasses
+ ec=1

https://custom-ci.infra.mirantis.net/job/10.0.custom.ubuntu.bvt_2/292/console

+ export PYTHONPATH=/home/jenkins/workspace/10.0.custom.ubuntu.bvt_2
+ echo /home/jenkins/workspace/10.0.custom.ubuntu.bvt_2
/home/jenkins/workspace/10.0.custom.ubuntu.bvt_2
+ python run_system_test.py run -q --nologcapture --with-xunit --group=bvt_2
Traceback (most recent call last):
  File "run_system_test.py", line 13, in <module>
    from fuelweb_test.helpers.utils import pretty_log
  File "/home/jenkins/workspace/10.0.custom.ubuntu.bvt_2/fuelweb_test/helpers/utils.py", line 51, in <module>
    from fuelweb_test.helpers.ssh_manager import SSHManager
  File "/home/jenkins/workspace/10.0.custom.ubuntu.bvt_2/fuelweb_test/helpers/ssh_manager.py", line 28, in <module>
    from devops.helpers.metaclasses import SingletonMeta
ImportError: No module named metaclasses
+ ec=1

===============================
The same error for 9.1 env:
ci-team: and this strange thing with virtual env https://product-ci.infra.mirantis.net/view/9.x_swarm/job/9.x.system_test.ubuntu.ha_neutron/56/console

[11:43]
https://product-ci.infra.mirantis.net/view/9.x_swarm/job/9.x.system_test.ubuntu.cic_maintenance_mode/56/console

Dmitry Kaigarodtsev [11:44 AM]
@nurla https://product-ci.infra.mirantis.net/view/9.x_swarm/job/9.x.system_test.ubuntu.ha_neutron/57/console
affected slave mentioned in failed runs has been exluded from the pool for investigation (edited)

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

Inconsistent venv: devops < 2.9.23

tags: removed: area-qa
Changed in fuel:
importance: Critical → High
status: New → Confirmed
assignee: Fuel CI (fuel-ci) → Aleksandra Fedorova (afedorova)
Changed in fuel:
assignee: Aleksandra Fedorova (afedorova) → Dmitry Kaigarodеsev (dkaiharodsev)
Revision history for this message
Nastya Urlapova (aurlapova) wrote :

Nastya Urlapova [11:41 AM]
ci-team: and this strange thing with virtual env https://product-ci.infra.mirantis.net/view/9.x_swarm/job/9.x.system_test.ubuntu.ha_neutron/56/console

[11:43]
https://product-ci.infra.mirantis.net/view/9.x_swarm/job/9.x.system_test.ubuntu.cic_maintenance_mode/56/console

Dmitry Kaigarodtsev [11:44 AM]
@nurla https://product-ci.infra.mirantis.net/view/9.x_swarm/job/9.x.system_test.ubuntu.ha_neutron/57/console
affected slave mentioned in failed runs has been exluded from the pool for investigation (edited)

tags: added: blocker-for-qa
Roman Vyalov (r0mikiam)
Changed in fuel:
status: Confirmed → In Progress
tags: removed: area-devops
description: updated
Revision history for this message
Roman Vyalov (r0mikiam) wrote :

@Nastya this bug related to the custom-ci for 10.0 (from description) and 9.x from bug series. But this bug dont affect 9.x swarm.
@Sergey because of this i think its not a qa blocker

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

both times venv issue had found on srv82-bud.infra.mirantis.net
'fuel-devops' used on that slave was:

(venv-nailgun-tests-2.9)root@srv82-bud:~# dos.py version
2.9.21

so 'fuel-devops' has been updated:
(venv-nailgun-tests-2.9)dkaiharodsev@srv82-bud:~$ dos.py version
2.9.23

Changed in fuel:
status: In Progress → Fix Committed
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.