Check_file_exists for test neutron_tun has harcoded version of python-fuelclient

Bug #1529093 reported by Tatyanka
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Critical
Tatyanka
8.0.x
Invalid
Critical
Tatyanka

Bug Description

deploy_neutron_tun.deploy_neutron_tun (from nosetests)
Failing for the past 1 build (Since Failed#1 )
Took 47 min.
add description
Error Message

Can not find /usr/share/doc/python-fuelclient-8.0.0/fuel_client.yaml

Stacktrace

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/9.0-liberty.ubuntu.smoke_neutron/fuelweb_test/helpers/decorators.py", line 81, in wrapper
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/9.0-liberty.ubuntu.smoke_neutron/fuelweb_test/tests/test_neutron_tun.py", line 95, in deploy_neutron_tun
    remote, '/usr/share/doc/python-fuelclient-8.0.0/'
  File "/home/jenkins/workspace/9.0-liberty.ubuntu.smoke_neutron/fuelweb_test/__init__.py", line 57, in wrapped
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/9.0-liberty.ubuntu.smoke_neutron/fuelweb_test/helpers/checkers.py", line 260, in check_file_exists
    'Can not find {0}'.format(path))
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/proboscis/asserts.py", line 55, in assert_equal
    raise ASSERTION_ERROR(message)
AssertionError: Can not find /usr/share/doc/python-fuelclient-8.0.0/fuel_client.yaml

We bumped version of packages, but has harcoded 8.0 in tests,

 with self.env.d_env.get_admin_remote() as remote:
            checkers.check_file_exists(
                remote, '/usr/share/doc/python-fuelclient-8.0.0/'
                        'fuel_client.yaml')
            checkers.check_client_smoke(remote)

Tags: area-qa
summary: - Check_file_exists for test neutron_tun should get version ofpython
- client from settings.py
+ Check_file_exists for test neutron_tun has harcoded version of python-
+ fuelclient
Revision history for this message
Tatyanka (tatyana-leontovich) wrote :

Actually this chek is deprecated at all

Changed in fuel:
assignee: Fuel QA Team (fuel-qa) → Tatyanka (tatyana-leontovich)
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/261320

Changed in fuel:
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/261320
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=e9b56f11060da3acee38033df5e9fa2ed66d2d59
Submitter: Jenkins
Branch: master

commit e9b56f11060da3acee38033df5e9fa2ed66d2d59
Author: Tatyana Leontovich <email address hidden>
Date: Thu Dec 24 15:47:59 2015 +0200

    Remove depricated check for fuel_client.yaml

    Change-Id: Idc0da384000499b3623c8d00051ef5bb1116887c
    Closes-Bug: #1529093

Changed in fuel:
status: In Progress → Fix Committed
Changed in fuel:
status: Fix Committed → Fix Released
no longer affects: fuel/future
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.