Incorrect resource setUp in VolumesV2SnapshotTestJSON/VolumesV1SnapshotTestJSON

Bug #1593278 reported by Ivan Kolodyazhny
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tempest
Fix Released
Undecided
Oleksiy Butenko

Bug Description

Commit [1] introduce snapshots setUp for each test. But it's needed only for few of them.

It leads to gate-tempest-dsvm-full-bdd-nv job [2] failures in Cinder's gates

[1] https://github.com/openstack/tempest/commit/755c6ee99133ffe586d8290910dc286459339264
[2] http://logs.openstack.org/12/330212/1/check/gate-tempest-dsvm-full-bdd-nv/a20d659/console.html

Changed in tempest:
status: New → Confirmed
assignee: nobody → Oleksiy Butenko (obutenko)
Revision history for this message
Matthew Treinish (treinish) wrote :

This does not look like a tempest bug to me at all:

http://logs.openstack.org/12/330212/1/check/gate-tempest-dsvm-full-bdd-nv/a20d659/logs/screen-c-vol.txt.gz?level=TRACE#_2016-06-15_22_25_09_138

Stack traces in the service logs are never a good thing. I suspect this has more to do with that job configuration and less to do with the tests.

Revision history for this message
Ivan Kolodyazhny (e0ne) wrote :

Matthew, partially, you're right. But we can't change our configuration due to the infra limitations.

In any case, creation resources only for the few tests in test case setup is not a good test design. All tests passed before patch [1] was merged

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tempest (master)

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

Changed in tempest:
status: Confirmed → In Progress
Revision history for this message
Jordan Pittier (jordan-pittier) wrote :

`resource_setup` is called by `setUpClass`. So it's called once per test class, not once par test. This bug looks invalid to me.

Changed in tempest:
assignee: Oleksiy Butenko (obutenko) → Ivan Kolodyazhny (e0ne)
Changed in tempest:
assignee: Ivan Kolodyazhny (e0ne) → Oleksiy Butenko (obutenko)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tempest (master)

Reviewed: https://review.openstack.org/332066
Committed: https://git.openstack.org/cgit/openstack/tempest/commit/?id=f93209bb523a9ee14770f5fd7f7ac2812046c039
Submitter: Jenkins
Branch: master

commit f93209bb523a9ee14770f5fd7f7ac2812046c039
Author: Oleksii Butenko <email address hidden>
Date: Tue Jun 21 13:32:34 2016 +0300

    Move test_snapshot_list_* tests to new file

    test_snapshot_list_param_* tests require two volume snapshots.
    Moving all *_list_* tests to new file will repair
    gate-tempest-dsvm-full-bdd-nv job.

    Closes-bug: #1593278

    Change-Id: I1cff2bd62a40659f291ec7b78dbe080686149e34

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