Grenade job fails because of is_service_running check

Bug #1501775 reported by Andrey Pavlov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sahara
Fix Released
High
Andrey Pavlov
Liberty
Fix Released
High
Andrey Pavlov
Mitaka
Fix Released
High
Andrey Pavlov

Bug Description

The following lines can be found in logs

2015-09-30 14:52:03.007 | + is_service_running sahara
2015-09-30 14:52:03.007 | + local name=sahara
2015-09-30 14:52:03.007 | + ps auxw
2015-09-30 14:52:03.007 | + grep -v grep
2015-09-30 14:52:03.007 | + grep -v shutdown.sh
2015-09-30 14:52:03.008 | + grep -v upgrade.sh
2015-09-30 14:52:03.008 | + grep -e sahara
2015-09-30 14:52:03.026 | jenkins 13094 0.0 0.0 11712 480 ? S 14:20 0:00 timeout -s 9 104m bash -c source /home/jenkins/workspace/gate-grenade-dsvm-sahara/devstack-gate/functions.sh && gate_hook
2015-09-30 14:52:03.026 | jenkins 13095 0.0 0.0 13300 928 ? S 14:20 0:00 bash -c source /home/jenkins/workspace/gate-grenade-dsvm-sahara/devstack-gate/functions.sh && gate_hook
2015-09-30 14:52:03.037 | + local exitcode=0
2015-09-30 14:52:03.038 | + return 0
2015-09-30 14:52:03.038 | + still_running+=' sahara'
2015-09-30 14:52:03.038 | + [[ -n sahara ]]
2015-09-30 14:52:03.038 | + echo 'The following services are still running: sahara... sleeping and trying again'
2015-09-30 14:52:03.038 | The following services are still running: sahara... sleeping and trying again

Changed in sahara:
assignee: nobody → Andrey Pavlov (apavlov-n)
Changed in sahara:
status: New → In Progress
Changed in sahara:
importance: Undecided → High
milestone: none → mitaka-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to sahara (master)

Reviewed: https://review.openstack.org/229766
Committed: https://git.openstack.org/cgit/openstack/sahara/commit/?id=3db52e4f6651af7b1360b5490515c496c6e1b6b2
Submitter: Jenkins
Branch: master

commit 3db52e4f6651af7b1360b5490515c496c6e1b6b2
Author: Andrey Pavlov <email address hidden>
Date: Thu Oct 1 10:57:21 2015 +0300

    Fixing grenade_job

    Grenade job fails on is_service_running check
    because it waits for the stop of the wrong process

    Change-Id: I3e06d987b3fd047f45b59fbadc41c3284fab90d5
    Closes-bug: #1501775

Changed in sahara:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to sahara (stable/liberty)

Fix proposed to branch: stable/liberty
Review: https://review.openstack.org/240463

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to sahara (stable/liberty)

Reviewed: https://review.openstack.org/240463
Committed: https://git.openstack.org/cgit/openstack/sahara/commit/?id=570a0ba700ee5f19878976445db6547d356c3e76
Submitter: Jenkins
Branch: stable/liberty

commit 570a0ba700ee5f19878976445db6547d356c3e76
Author: Andrey Pavlov <email address hidden>
Date: Thu Oct 1 10:57:21 2015 +0300

    Fixing grenade_job

    Grenade job fails on is_service_running check
    because it waits for the stop of the wrong process

    Change-Id: I3e06d987b3fd047f45b59fbadc41c3284fab90d5
    Closes-bug: #1501775
    (cherry picked from commit 3db52e4f6651af7b1360b5490515c496c6e1b6b2)

Changed in sahara:
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.