[staging BVT ubuntu] OSTF issues with nose_adapter

Bug #1420882 reported by Bogdan Dobrelya
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Critical
Tatyanka
6.0.x
Invalid
Undecided
Tatyanka

Bug Description

VERSION:
  feature_groups:
    - experimental
  production: "docker"
  release: "6.1"
  api: "1.0"
  build_number: "100"
  build_id: "2015-02-11_13-08-11"
  nailgun_sha: "e6d6cd143b3c52713e301b721807ac199482680b"
  python-fuelclient_sha: "312c4fe36cd09a8be63c8ad3541b4cd9ab04defc"
  astute_sha: "2159855ba7b82956ac0787a4e7be053105c4c1f1"
  fuellib_sha: "13d3740f2c985b7c45e34ef5d5ce894a94d1e50d"
  ostf_sha: "6c250763b43fbf359ac9cf9751c0dfb0e19a1d4d"
  fuelmain_sha: "a6e7cc1b8998dd86f627ec4b556310ae1fc1d31e"

Job #87 failed due to OSTF issues:
2015-02-11 15:59:22 ./docker-logs/ostf.log:2015-02-11 15:59:22 ERROR (nose_adapter) Test run ID: 1
2015-02-11 15:59:22 ./docker-logs/ostf-stdout.log:2015-02-11 15:59:22 ERROR (nose_adapter) Test run ID: 1
2015-02-11 15:59:22 ./docker-logs/supervisor/supervisord.log:2015-02-11 15:59:22 ERROR (nose_adapter) Test run ID: 1
2015-02-11 15:59:22 ./docker-ostf.log:2015-02-11 15:59:22 ERROR (nose_adapter) Test run ID: 1
2015-02-11 15:59:22 ./supervisor/supervisord.log:2015-02-11 15:59:22 ERROR (nose_adapter) Test run ID: 1
2015-02-11 15:59:23 ./docker-logs/ostf.log:2015-02-11 15:59:23 ERROR (nose_adapter) Test run ID: 2
2015-02-11 15:59:23 ./docker-logs/ostf-stdout.log:2015-02-11 15:59:23 ERROR (nose_adapter) Test run ID: 2
2015-02-11 15:59:23 ./docker-logs/supervisor/supervisord.log:2015-02-11 15:59:23 ERROR (nose_adapter) Test run ID: 2
2015-02-11 15:59:23 ./docker-ostf.log:2015-02-11 15:59:23 ERROR (nose_adapter) Test run ID: 2
2015-02-11 15:59:23 ./supervisor/supervisord.log:2015-02-11 15:59:23 ERROR (nose_adapter) Test run ID: 2

Restarting of OSTF container doesn't help.

When I run OSTF HA check from CLI I recieve the output only for 1/4 cases:
[root@nailgun ~]# fuel health --check ha --env 1
[ 1 of 4] [error] 'Check data replication over mysql' (1.97 s)

But MySQL cluster looks ok

Tags: staging
Changed in fuel:
milestone: none → 6.1
description: updated
Revision history for this message
Tatyanka (tatyana-leontovich) wrote :

Bogdan it is absolutely unclear hot to reproduce, where to see the logs, could you please add snapshot or link to the failed job, please

Revision history for this message
Tatyanka (tatyana-leontovich) wrote :

.17.42.1 - - [2015-02-11 15:59:21] "GET /v1/testruns/last/1 HTTP/1.0" 200 11659 0.017602
2015-02-11 15:59:22 ERROR (nose_storage_plugin) fuel_health.tests.smoke.test_create_flavor.FlavorsAdminTest.test_create_flavor
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/nose/case.py", line 133, in run
    self.runTest(result)
  File "/usr/lib/python2.6/site-packages/nose/case.py", line 151, in runTest
    test(result)
  File "/usr/lib/python2.6/site-packages/unittest2/case.py", line 398, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib/python2.6/site-packages/unittest2/case.py", line 375, in run
    result.addSuccess(self)
  File "/usr/lib/python2.6/site-packages/nose/proxy.py", line 164, in addSuccess
    self.plugins.addSuccess(self.test)
  File "/usr/lib/python2.6/site-packages/nose/plugins/manager.py", line 99, in __call__
    return self.call(*arg, **kw)
  File "/usr/lib/python2.6/site-packages/nose/plugins/manager.py", line 167, in simple
    result = meth(*arg, **kw)
  File "/usr/lib/python2.6/site-packages/fuel_plugin/ostf_adapter/nose_plugin/nose_storage_plugin.py", line 107, in addSuccess
    self._add_message(test, status='success')
  File "/usr/lib/python2.6/site-packages/fuel_plugin/ostf_adapter/nose_plugin/nose_storage_plugin.py", line 103, in _add_message
    self._add_test_results(test, data)
  File "/usr/lib/python2.6/site-packages/fuel_plugin/ostf_adapter/nose_plugin/nose_storage_plugin.py", line 73, in _add_test_results
    test_name = nose_utils.get_description(test)[0]
KeyError: 0

Changed in fuel:
assignee: nobody → Fuel Python Team (fuel-python)
importance: Undecided → Critical
status: New → Confirmed
Revision history for this message
Tatyanka (tatyana-leontovich) wrote :
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-ostf (master)

Fix proposed to branch: master
Review: https://review.openstack.org/154979

Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Tatyanka (tatyana-leontovich)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-ostf (master)

Reviewed: https://review.openstack.org/154979
Committed: https://git.openstack.org/cgit/stackforge/fuel-ostf/commit/?id=f9c37d0876141e1550eb4e703a8e500cd463282f
Submitter: Jenkins
Branch: master

commit f9c37d0876141e1550eb4e703a8e500cd463282f
Author: tatyana-leontovich <email address hidden>
Date: Wed Feb 11 17:53:57 2015 +0000

    Revert "Add versioning for fuel_health tests"

    This reverts commit 6c250763b43fbf359ac9cf9751c0dfb0e19a1d4d.
    This commit bvt

    Change-Id: I8d4dd55b65aa8ee17049a9a005109508b654597b
    Closes-Bug: #1420882

Changed in fuel:
status: In Progress → Fix Committed
tags: added: staging
Changed in fuel:
status: Fix Committed → Fix Released
Revision history for this message
Tatyanka (tatyana-leontovich) wrote :

related only for 6.1 release

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.