Python tests fails with oslo.serialization absence

Bug #1472018 reported by Stanislaw Bogatkin
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Critical
Vladimir Kozhukalov
6.1.x
Fix Released
Critical
Vladimir Kozhukalov

Bug Description

Some of internal python test fail with absense of oslo.serialization message.
For example:
https://ci.fuel-infra.org/job/verify-fuel-web/1808/consoleFull

___________ ERROR collecting fuel_agent/tests/test_artifact_utils.py ___________
fuel_agent/tests/test_artifact_utils.py:22: in <module>
    from fuel_agent.utils import artifact as au
fuel_agent/utils/artifact.py:25: in <module>
    from fuel_agent.openstack.common import log as logging
fuel_agent/openstack/common/log.py:41: in <module>
    from oslo.serialization import jsonutils
E ImportError: No module named serialization
------------------------------- Captured stderr --------------------------------
/home/jenkins/workspace/verify-fuel-web/fuel_agent/fuel_agent/tests/test_artifact_utils.py:19: DeprecationWarning: The oslo namespace package is deprecated. Please use oslo_config instead.
  from oslo.config import cfg
____________ ERROR collecting fuel_agent/tests/test_build_utils.py _____________
fuel_agent/tests/test_build_utils.py:24: in <module>
    from fuel_agent.utils import build as bu
fuel_agent/utils/build.py:30: in <module>
    from fuel_agent.openstack.common import log as logging
fuel_agent/openstack/common/log.py:41: in <module>
    from oslo.serialization import jsonutils
E ImportError: No module named serialization
____________ ERROR collecting fuel_agent/tests/test_configdrive.py _____________
fuel_agent/tests/test_configdrive.py:19: in <module>
    from fuel_agent.objects import configdrive
fuel_agent/objects/__init__.py:25: in <module>
    from fuel_agent.objects.partition import Fs
fuel_agent/objects/partition.py:18: in <module>
    from fuel_agent.openstack.common import log as logging
fuel_agent/openstack/common/log.py:41: in <module>
    from oslo.serialization import jsonutils
E ImportError: No module named serialization

Tags: non-release
Changed in fuel:
status: Triaged → In Progress
Revision history for this message
Vladimir Kozhukalov (kozhukalov) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-web (master)

Change abandoned by Vladimir Kozhukalov (<email address hidden>) on branch: master
Review: https://review.openstack.org/198919
Reason: There are no available packages for oslo_log module. So, we postpone this fix in favor of https://review.openstack.org/#/c/199031/

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (stable/6.1)

Fix proposed to branch: stable/6.1
Review: https://review.openstack.org/199951

summary: - Python tests fails with oslo.serialization absense
+ Python tests fails with oslo.serialization absence
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-web (stable/6.1)

Change abandoned by Vladimir Kozhukalov (<email address hidden>) on branch: stable/6.1
Review: https://review.openstack.org/199951

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Related fix proposed to fuel-infra/jenkins-jobs (master)

Related fix proposed to branch: master
Change author: Aleksandra Fedorova <email address hidden>
Review: https://review.fuel-infra.org/9256

tags: added: non-release
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Related fix merged to fuel-infra/jenkins-jobs (master)

Reviewed: https://review.fuel-infra.org/9256
Submitter: Aleksandra Fedorova <email address hidden>
Branch: master

Commit: 6fa290612a62aa0978e7934cf8ec67b5ee2f8cfc
Author: Aleksandra Fedorova <email address hidden>
Date: Mon Jul 13 11:11:46 2015

Apply fix for fuel-web stable/6.1 CI

We separate job for stable/6.1 from generic verify-fuel-web template and
additionally cherry-pick the fix for test-requirements.rpm

Change-Id: I2cc31f179a1d0aec07d713fca8b80ed96159c2bc
Closes-Bug: #1473926
Related-Bug: #1472018

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

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-web (master)

Change abandoned by Vladimir Kozhukalov (<email address hidden>) on branch: master
Review: https://review.openstack.org/203833

Changed in fuel:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (stable/6.1)

Reviewed: https://review.openstack.org/201030
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=c399bff865e36f0d40a666b95ef2c1b53349ef34
Submitter: Jenkins
Branch: stable/6.1

commit c399bff865e36f0d40a666b95ef2c1b53349ef34
Author: Sebastian Kalinowski <email address hidden>
Date: Mon Jul 13 09:54:44 2015 +0200

    Fix CI for stable/6.1

    - pin mock in tests for Python 2.6
    - pin oslo.serialization<1.5.0
    - pin oslo.context<0.5.0
    - pin oslo.config<=1.11.0
    - pin oslo.utils<1.4.1
    - pin oslo.i18n<=1.5.0
    - pin networkx<1.10
    - pin netaddr<=0.7.13
    - pin pycadf<=1.0.0
    - pin stevedore<=1.4.0
    - bump gulp-lintspaces to 0.2.5

    Closes-Bug: #1472018
    Change-Id: I7ca9b9ff9b6329b33ab2ed4ed00d8b8a8df8ad25

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Related fix proposed to fuel-infra/jenkins-jobs (master)

Related fix proposed to branch: master
Change author: Aleksandra Fedorova <email address hidden>
Review: https://review.fuel-infra.org/14576

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Change abandoned on fuel-infra/jenkins-jobs (master)

Change abandoned by Aleksandra Fedorova <email address hidden> on branch: master
Review: https://review.fuel-infra.org/14576

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers