'FuelMasterMigrate' object has no attribute 'd_env'

Bug #1502243 reported by Maksym Strukov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Maksym Strukov

Bug Description

This code fail system test (https://github.com/stackforge/fuel-qa/blob/master/fuelweb_test/tests/test_admin_node.py#L524):
self.env.d_env.nodes().admin.await(network_name=self.d_env.admin_net,
                                           timeout=60 * 15)

Stacktrace (https://product-ci.infra.mirantis.net/job/8.0.system_test.ubuntu.fuel_master_migrate/7/testReport/(root)/fuel_migration/fuel_migration/)

Traceback (most recent call last):
  File "/usr/lib/python2.7/unittest/case.py", line 331, in run
    testMethod()
  File "/usr/lib/python2.7/unittest/case.py", line 1043, in runTest
    self._testFunc()
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
    compatability.capture_type_error(s_func)
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
    func()
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/proboscis/case.py", line 350, in func
    func(test_case.state.get_state())
  File "/home/jenkins/workspace/8.0.system_test.ubuntu.fuel_master_migrate/fuelweb_test/helpers/decorators.py", line 80, in wrapper
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/8.0.system_test.ubuntu.fuel_master_migrate/fuelweb_test/tests/test_admin_node.py", line 524, in fuel_migration
    self.env.d_env.nodes().admin.await(network_name=self.d_env.admin_net,
AttributeError: 'FuelMasterMigrate' object has no attribute 'd_env'

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/230565

Changed in fuel:
assignee: Fuel QA Team (fuel-qa) → Maksym Strukov (unbelll)
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/230565
Committed: https://git.openstack.org/cgit/stackforge/fuel-qa/commit/?id=c77a148e78eb82ecff5699f6ac608827de1ddb44
Submitter: Jenkins
Branch: master

commit c77a148e78eb82ecff5699f6ac608827de1ddb44
Author: Maksym Strukov <email address hidden>
Date: Fri Oct 2 20:15:21 2015 +0300

    Hotfix: d_env should be access through this.env in fuel_migration sys test

    Change-Id: Ic7bd8b3ac59539b0df45929f22e5150e00710b08
    Closes-Bug: #1502243

Changed in fuel:
status: In Progress → Fix Committed
Changed in fuel:
milestone: none → 8.0
Revision history for this message
Veronica Krayneva (vkrayneva) wrote :
Changed in fuel:
status: Fix Committed → Fix Released
Dmitry Pyzhov (dpyzhov)
tags: added: area-qa
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.