[systest] Snapshot was not created for test in error state

Bug #1325907 reported by Tatyanka on 2014-06-03
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Critical
Tatyanka
4.1.x
Critical
Fuel QA Team

Bug Description

http://jenkins-product.srt.mirantis.net:8080/view/4.1_swarm/job/4.1_fuelmain.system_test.centos.thread_1/163/console

There are not any snapshots fo failed tests. It is hard to understand what was happened.

Nastya Urlapova (aurlapova) wrote :

Incomplete after serial of cherry-picks.

Changed in fuel:
status: New → Incomplete
Changed in fuel:
milestone: 4.1.1 → 4.1.2
Tatyanka (tatyana-leontovich) wrote :

Move to invalid, issue was caused by wrong job configuration. Do not reproduced last runs

Changed in fuel:
status: Incomplete → Invalid
Artem Panchenko (apanchenko-8) wrote :

This issue was reproduced during system tests in CI once again:

http://jenkins-product.srt.mirantis.net:8080/view/4.1_swarm/job/4.1_fuelmain.system_test.centos.thread_1/167/testReport/junit/(root)/deploy_neutron_gre/deploy_neutron_gre/

If creation of diagnostic snapshot fails, VMs snapshots also isn't created, so there is no way to investigate the problem. We need to add something like try/except there:

https://github.com/stackforge/fuel-main/blob/stable/4.1/fuelweb_test/helpers/decorators.py#L55

Changed in fuel:
status: Invalid → Confirmed
Dmitry Ilyin (idv1985) on 2014-07-15
summary: - [system tests] Snapshot was not created for test in error state
+ [systest] Snapshot was not created for test in error state
Dmitry Pyzhov (dpyzhov) on 2014-07-15
no longer affects: fuel/5.1.x

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

Changed in fuel:
assignee: Fuel QA Team (fuel-qa) → Tatyana (tatyana-leontovich)
status: Confirmed → In Progress

Reviewed: https://review.openstack.org/108408
Committed: https://git.openstack.org/cgit/stackforge/fuel-main/commit/?id=c021106c9b61e34bc24ad464b42a6104ce66bb7a
Submitter: Jenkins
Branch: master

commit c021106c9b61e34bc24ad464b42a6104ce66bb7a
Author: Tatyana Leontovich <email address hidden>
Date: Mon Jul 21 16:20:39 2014 +0000

    Move create snapshot to finally block

    In case if create diagnostic snapshot failed,
    we can not create env snapshot with devops.
    To avoid this - move create snapshot in finally block

    Change-Id: I6826930d997006a51ca79b94314f7df3c06b2f66
    Closes-Bug: #1325907

Changed in fuel:
status: In Progress → Fix Committed

Reviewed: https://review.openstack.org/108718
Committed: https://git.openstack.org/cgit/stackforge/fuel-main/commit/?id=095ca3b56a946370bb18c310a57edcd062d536ea
Submitter: Jenkins
Branch: stable/4.1

commit 095ca3b56a946370bb18c310a57edcd062d536ea
Author: Tatyana Leontovich <email address hidden>
Date: Mon Jul 21 16:20:39 2014 +0000

    Move create snapshot to finally block

    In case if create diagnostic snapshot failed,
    we can not create env snapshot with devops.
    To avoid this - move create snapshot in finally block

    Change-Id: I6826930d997006a51ca79b94314f7df3c06b2f66
    Closes-Bug: #1325907
    (cherry picked from commit c021106c9b61e34bc24ad464b42a6104ce66bb7a)

Reviewed: https://review.openstack.org/108716
Committed: https://git.openstack.org/cgit/stackforge/fuel-main/commit/?id=6ce4fbabab43e5e35c97c889ef2a3706c6ad4af6
Submitter: Jenkins
Branch: stable/5.0

commit 6ce4fbabab43e5e35c97c889ef2a3706c6ad4af6
Author: Tatyana Leontovich <email address hidden>
Date: Mon Jul 21 16:20:39 2014 +0000

    Move create snapshot to finally block

    In case if create diagnostic snapshot failed,
    we can not create env snapshot with devops.
    To avoid this - move create snapshot in finally block

    Change-Id: I6826930d997006a51ca79b94314f7df3c06b2f66
    Closes-Bug: #1325907
    (cherry picked from commit c021106c9b61e34bc24ad464b42a6104ce66bb7a)

Changed in fuel:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers