Total Time > Total Delta

Bug #1554058 reported by Jedrzej Nowak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Solar
Fix Released
Undecided
Maciej Kwiek

Bug Description

Total Delta: 13.6857147217
Total Time: 464.781021833

```
from solar.core.resource import composer as cr

def run(num):
    node = cr.create('nodes', 'templates/nodes', {'count': 1})['node1']

    elem = node
    for x in xrange(num):
        noop = cr.create('noop%d' % x, 'resources/noop', {'num': x})[0]
        elem.connect(noop)
        elem = noop

if __name__ == '__main__':
    import sys
    run(int(sys.argv[1]))
```
run it with python script.py 50

then normal solar things, and solar o run-once last, then solar o restart last, and each restart will make Total time higher.

Changed in solar:
assignee: nobody → Maciej Kwiek (maciej-iai)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to solar (master)

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

Changed in solar:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to solar (master)

Reviewed: https://review.openstack.org/289396
Committed: https://git.openstack.org/cgit/openstack/solar/commit/?id=c281237a8fea533b5babe7420888fe05182c8af2
Submitter: Jenkins
Branch: master

commit c281237a8fea533b5babe7420888fe05182c8af2
Author: Maciej Kwiek <email address hidden>
Date: Mon Mar 7 16:30:08 2016 +0100

    Reset times in tasks on graph reset

    It will stop pollution of subsequent orchestrations with time values
    from previous runs.

    Change-Id: I2b0e495f84768aee3545f33e388c9bfb20d76fa4
    Closes-bug: 1554058

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