We need to cover in sys tests tasks status after deployment

Bug #1564943 reported by Alexander Kurenyshev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Aleksei Stepanov
Mitaka
Fix Released
High
Aleksei Stepanov

Bug Description

We have a bug [0] and should cover this with tests.
I think we could add some checks after deploying like getting tasks list and grep it on wrong statuses.
This check should be called after each deploy on SWARM.

[0] https://bugs.launchpad.net/fuel/+bug/1564295

Tags: area-qa
Changed in fuel:
assignee: alexandrius (astepanov) → Alexey Stepanov (astepanov-m)
Changed in fuel:
status: New → Confirmed
Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-qa (master)

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

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

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/302157

Changed in fuel:
milestone: 9.0 → 10.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-qa (master)

Reviewed: https://review.openstack.org/301589
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=2c66fa7720390939496f107fa248e5d39be2f134
Submitter: Jenkins
Branch: master

commit 2c66fa7720390939496f107fa248e5d39be2f134
Author: Alexey Stepanov <email address hidden>
Date: Tue Apr 5 14:29:19 2016 +0300

    Check tasks status after cluster deployment

    1. add FuelWebClient.assert_all_tasks_completed, which could check status
        for specified cluster or wide
    2. add NailgunClient.get_all_tasks_list for retrieving all tasks info from database
    3. Call tasks status check after deployment success before short OSTF (
        self.assert_ha_services_ready(cluster_id)
        self.assert_os_services_ready(cluster_id)
        )
    4. add TestCliBase.assert_all_tasks_completed
    5. call TestCliBase.assert_all_tasks_completed after deployment

    Change-Id: I428fc17434d40951c6eb6cefe88dd007d1eb0761
    Closes-bug: #1564943

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-qa (stable/mitaka)

Reviewed: https://review.openstack.org/302157
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=41071ba6b92e617061252c5a5eea9a8e7c5bc7f5
Submitter: Jenkins
Branch: stable/mitaka

commit 41071ba6b92e617061252c5a5eea9a8e7c5bc7f5
Author: Alexey Stepanov <email address hidden>
Date: Tue Apr 5 14:29:19 2016 +0300

    Check tasks status after cluster deployment

    1. add FuelWebClient.assert_all_tasks_completed, which could check status
        for specified cluster or wide
    2. add NailgunClient.get_all_tasks_list for retrieving all tasks info from database
    3. Call tasks status check after deployment success before short OSTF (
        self.assert_ha_services_ready(cluster_id)
        self.assert_os_services_ready(cluster_id)
        )
    4. add TestCliBase.assert_all_tasks_completed
    5. call TestCliBase.assert_all_tasks_completed after deployment

    Change-Id: I428fc17434d40951c6eb6cefe88dd007d1eb0761
    Closes-bug: #1564943

Revision history for this message
Aleksei Stepanov (penguinolog) wrote :

Checker is working and fails some tests: tasks not always has completed|skipped status for now.

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.