master.fuel-library.pkgs.ubuntu.review_in_fuel_library: failed when ironic related files are touched

Bug #1614546 reported by Vasyl Saienko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Artem Hrechanychenko
Mitaka
Invalid
High
Artem Hrechanychenko

Bug Description

When ironic related files are changed job launches ironic tests, but devops environment is not configured to use ironic. As result job always fail:

======================================================================
ERROR: Deploy ironic with 1 baremetal node
----------------------------------------------------------------------
Traceback (most recent call last):
  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/master.fuel-library.pkgs.ubuntu.review_in_fuel_library/fuel-qa/fuelweb_test/helpers/decorators.py", line 117, in wrapper
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/master.fuel-library.pkgs.ubuntu.review_in_fuel_library/fuel-qa/fuelweb_test/tests/test_ironic_base.py", line 265, in ironic_deploy_ceph
    cluster_id = self._deploy_ironic_cluster(settings=data, nodes=nodes)
  File "/home/jenkins/workspace/master.fuel-library.pkgs.ubuntu.review_in_fuel_library/fuel-qa/fuelweb_test/tests/test_ironic_base.py", line 115, in _deploy_ironic_cluster
    nodes
  File "/home/jenkins/workspace/master.fuel-library.pkgs.ubuntu.review_in_fuel_library/fuel-qa/fuelweb_test/__init__.py", line 60, in wrapped
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/master.fuel-library.pkgs.ubuntu.review_in_fuel_library/fuel-qa/fuelweb_test/models/fuel_web_client.py", line 1476, in update_nodes
    self.update_nodes_interfaces(cluster_id, updated_nodes)
  File "/home/jenkins/workspace/master.fuel-library.pkgs.ubuntu.review_in_fuel_library/fuel-qa/fuelweb_test/__init__.py", line 60, in wrapped
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/master.fuel-library.pkgs.ubuntu.review_in_fuel_library/fuel-qa/fuelweb_test/models/fuel_web_client.py", line 1680, in update_nodes_interfaces
    self.update_node_networks(node['id'], assigned_networks)
  File "/home/jenkins/workspace/master.fuel-library.pkgs.ubuntu.review_in_fuel_library/fuel-qa/fuelweb_test/__init__.py", line 60, in wrapped
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/master.fuel-library.pkgs.ubuntu.review_in_fuel_library/fuel-qa/fuelweb_test/models/fuel_web_client.py", line 1537, in update_node_networks
    [{'id': node_id, 'interfaces': interfaces}])
  File "/home/jenkins/workspace/master.fuel-library.pkgs.ubuntu.review_in_fuel_library/fuel-qa/fuelweb_test/__init__.py", line 60, in wrapped
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/master.fuel-library.pkgs.ubuntu.review_in_fuel_library/fuel-qa/fuelweb_test/models/nailgun_client.py", line 269, in put_node_interfaces
    return self._put(url="/nodes/interfaces", json=data).json()
  File "/home/jenkins/workspace/master.fuel-library.pkgs.ubuntu.review_in_fuel_library/fuel-qa/fuelweb_test/models/nailgun_client.py", line 85, in _put
    return self.session.put(url=url, **kwargs)
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/keystoneauth1/session.py", line 683, in put
    return self.request(url, 'PUT', **kwargs)
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/positional/__init__.py", line 101, in inner
    return wrapped(*args, **kwargs)
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/keystoneauth1/session.py", line 570, in request
    raise exceptions.from_response(resp, method, url)
BadRequest: Bad Request (HTTP 400)

More logs may be found:
https://ci.fuel-infra.org/job/master.fuel-library.pkgs.ubuntu.review_in_fuel_library/2149/

The following environment variables should be set:
IRONIC_ENABLED=true
IRONIC_NODES_COUNT=1

Vasyl Saienko (vsaienko)
Changed in fuel:
assignee: nobody → Fuel QA Team (fuel-qa)
Changed in fuel:
importance: Undecided → High
milestone: none → 10.0
status: New → Confirmed
Changed in fuel:
assignee: Fuel QA Team (fuel-qa) → Artem Grechanichenko (agrechanichenko)
Changed in fuel:
status: Confirmed → In Progress
Changed in fuel:
assignee: Artem Grechanichenko (agrechanichenko) → Alexey Stepanov (astepanov-m)
Changed in fuel:
assignee: Alexey Stepanov (astepanov-m) → Artem Grechanichenko (agrechanichenko)
Revision history for this message
Artem Hrechanychenko (agrechanichenko) wrote :

https://review.openstack.org/#/c/357513/

Custom test bvt_2 passed
 Ironic cloud successfully deployed but failed 3 ironic ostf test. Wait for report from ironic team about reason of failure

Revision history for this message
Artem Hrechanychenko (agrechanichenko) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-qa (master)

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

commit 8d3b5e3de96b4582fcfe8830f3efa876c5a5a14e
Author: Artem Grechanichenko <email address hidden>
Date: Fri Aug 19 01:05:58 2016 +0300

    Add devops_template for each test in fuel_library and puppet-openstack mapping

    Closes-Bug: #1614546
    Change-Id: Ifaacf0fab80de26a55d2ba1cfe5afeb6867766c1

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