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

Bug #1325907 reported by Tatyanka
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Critical
Tatyanka
4.1.x
Fix Released
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.

Tags: system-tests
Revision history for this message
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
Revision history for this message
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
Revision history for this message
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
Revision history for this message
Artem Panchenko (apanchenko-8) wrote :
Dmitry Ilyin (idv1985)
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)
no longer affects: fuel/5.1.x
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-main (master)

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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-main (master)

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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-main (stable/5.0)

Fix proposed to branch: stable/5.0
Review: https://review.openstack.org/108716

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-main (stable/4.1)

Fix proposed to branch: stable/4.1
Review: https://review.openstack.org/108718

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-main (stable/4.1)

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)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-main (stable/5.0)

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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.