thread 7 swarm tests has failed status on 6.1 version because of wrong test

Bug #1560425 reported by Vadim Rovachev on 2016-03-22
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
High
Vadim Rovachev

Bug Description

Detailed bug description:
thread 7 swarm tests has failed status on 6.1 release with exception:
https://paste.mirantis.net/show/2010/

This problem reproduced because method:
https://github.com/openstack/fuel-qa/blob/master/fuelweb_test/models/collector_client.py#L45
returned json, such as:
https://paste.mirantis.net/show/2006/
but in method:
https://github.com/openstack/fuel-qa/blob/master/fuelweb_test/models/collector_client.py#L66
we wait list.

>>> [actions['id'] for actions in collector.get_action_logs(uuid)]
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: string indices must be integers
>>> [actions['id'] for actions in collector.get_action_logs(uuid)['objs']]
[305032, 305033, 305034, 305035, 305204, 305205, 305206, 305207, 305208, 305209, 305210, 305211, 305212, 305213, 305526, 305527, 305528, 305529]

Steps to reproduce:
1. Run thread 7 test
2. Wait
Expected results:
Test passed
Actual result:
test failed:
https://patching-ci.infra.mirantis.net/view/All/job/6.1.system_test.centos.thread_7/18/console
Reproducibility:
100%
Workaround:
nothing

Changed in fuel:
assignee: nobody → Vadim Rovachev (vrovachev)
importance: Undecided → High
milestone: none → 6.1-updates
tags: added: area-qa
description: updated
Changed in fuel:
status: New → In Progress

Reviewed: https://review.openstack.org/295709
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=c65e34faac6d5cbe92f7f5b0e4537697462f81cb
Submitter: Jenkins
Branch: stable/6.1

commit c65e34faac6d5cbe92f7f5b0e4537697462f81cb
Author: vrovachev <email address hidden>
Date: Tue Mar 22 13:23:03 2016 +0300

    Fix method for get collector logs

    Fixed methods for get collector action logs,
    count and info by ID.
    Closes-bug: #1560425

    Change-Id: Ied8e1d1a77026f6de80e72f8fffe33c67ae7e421

tags: added: non-release
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers