sometimes the count field in result table is not equal to the setting value

Bug #1577716 reported by chenhb
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Rally
Invalid
Undecided
chenhb

Bug Description

For example, set 5 times for the runner object, and the task run 5 times. but finally the count field's value is 7 .

Have somebody met it?

eg 1:

--------------------------------------------------------------------------------
 Task 538a1bbc-8045-4a36-840f-da1d7170797d: started
--------------------------------------------------------------------------------

Benchmarking... This can take a while...

To track task status use:

        rally task status
        or
        rally task detailed

2016-05-03 15:21:46.175 3359 INFO rally.api [-] Benchmark Task 538a1bbc-8045-4a36-840f-da1d7170797d on Deployment d52ca8fc-b0c4-4620-a194-070341ec660a
2016-05-03 15:21:46.176 3359 INFO rally.benchmark.engine [-] Task 538a1bbc-8045-4a36-840f-da1d7170797d | Starting: Task validation.
2016-05-03 15:21:46.252 3359 INFO rally.benchmark.engine [-] Task 538a1bbc-8045-4a36-840f-da1d7170797d | Starting: Task validation of scenarios names.
2016-05-03 15:21:46.281 3359 INFO rally.benchmark.engine [-] Task 538a1bbc-8045-4a36-840f-da1d7170797d | Completed: Task validation of scenarios names.
2016-05-03 15:21:46.281 3359 INFO rally.benchmark.engine [-] Task 538a1bbc-8045-4a36-840f-da1d7170797d | Starting: Task validation of syntax.
2016-05-03 15:21:46.289 3359 INFO rally.benchmark.engine [-] Task 538a1bbc-8045-4a36-840f-da1d7170797d | Completed: Task validation of syntax.
2016-05-03 15:21:46.290 3359 INFO rally.benchmark.engine [-] Task 538a1bbc-8045-4a36-840f-da1d7170797d | Starting: Task validation of semantic.
2016-05-03 15:21:46.290 3359 INFO rally.benchmark.engine [-] Task 538a1bbc-8045-4a36-840f-da1d7170797d | Starting: Task validation check cloud.
2016-05-03 15:21:46.451 3359 INFO rally.benchmark.engine [-] Task 538a1bbc-8045-4a36-840f-da1d7170797d | Completed: Task validation check cloud.
2016-05-03 15:21:46.460 3359 INFO rally.benchmark.context.users [-] Task 538a1bbc-8045-4a36-840f-da1d7170797d | Starting: Enter context: `users`
2016-05-03 15:21:47.164 3359 INFO rally.benchmark.context.users [-] Task 538a1bbc-8045-4a36-840f-da1d7170797d | Completed: Enter context: `users`
2016-05-03 15:21:49.329 3359 INFO rally.benchmark.context.users [-] Task 538a1bbc-8045-4a36-840f-da1d7170797d | Starting: Exit context: `users`
2016-05-03 15:21:50.170 3359 INFO rally.benchmark.context.users [-] Task 538a1bbc-8045-4a36-840f-da1d7170797d | Completed: Exit context: `users`
2016-05-03 15:21:50.171 3359 INFO rally.benchmark.engine [-] Task 538a1bbc-8045-4a36-840f-da1d7170797d | Completed: Task validation of semantic.
2016-05-03 15:21:50.171 3359 INFO rally.benchmark.engine [-] Task 538a1bbc-8045-4a36-840f-da1d7170797d | Completed: Task validation.
2016-05-03 15:21:50.172 3359 INFO rally.benchmark.engine [-] Task 538a1bbc-8045-4a36-840f-da1d7170797d | Starting: Benchmarking.
2016-05-03 15:21:50.252 3359 INFO rally.benchmark.engine [-] Running benchmark with key:
{
  "kw": {
    "runner": {
      "type": "constant",
      "concurrency": 1,
      "times": 5
    },
    "args": {
      "delete_on_terminate": true,
      "image": {
        "name": "win7_x32_40G_Admin"
      },
      "data_size1": 50,
      "nics": [
        {
          "net-id": "af8acf12-43b7-43e4-a07e-862c4d364f93"
        }
      ],
      "system_size": 50,
      "flavor": {
        "name": "m1.large"
      },
      "volume_type": "d7e89869-49b6-4888-bfe0-5c1cd1ea794c"
    },
    "context": {
      "users": {
        "users_per_tenant": 1,
        "tenants": 1
      }
    }
  },
  "name": "CinderVolumes.create_from_volume_and_attach_volume",
  "pos": 0
}
2016-05-03 15:21:50.255 3359 INFO rally.benchmark.context.users [-] Task 538a1bbc-8045-4a36-840f-da1d7170797d | Starting: Enter context: `users`
2016-05-03 15:21:50.963 3359 INFO rally.benchmark.context.users [-] Task 538a1bbc-8045-4a36-840f-da1d7170797d | Completed: Enter context: `users`
2016-05-03 15:21:51.692 4983 INFO rally.benchmark.runners.base [-] Task 538a1bbc-8045-4a36-840f-da1d7170797d | ITER: 0 START
create sys_volume ad9b85ce-553b-4fc0-9d54-681cecbb99a0 success
boot server 857aacbc-730b-428d-b1de-f17f3dd4a903 success
create volume1 0942b296-7b48-49ad-b1ac-39705333a450 success
attach volume1 0942b296-7b48-49ad-b1ac-39705333a450 success
detach volume1 0942b296-7b48-49ad-b1ac-39705333a450 success
2016-05-03 15:35:51.939 4983 INFO rally.benchmark.runners.base [-] Task 538a1bbc-8045-4a36-840f-da1d7170797d | ITER: 0 END: Error TimeoutException: Rally tired waiting for Volume <Volume: 0942b296-7b48-49ad-b1ac-39705333a450>:0942b296-7b48-49ad-b1ac-39705333a450 to become deleted current status AVAILABLE
2016-05-03 15:35:51.941 4983 INFO rally.benchmark.runners.base [-] Task 538a1bbc-8045-4a36-840f-da1d7170797d | ITER: 1 START
create sys_volume 71fb2ca9-3c2e-4aec-98c4-16f3b3138283 success
boot server 6ecf492b-29c4-4810-a1d8-3a9c10d32459 success
create volume1 c194034f-840a-4101-b449-8854d1a35467 success
attach volume1 c194034f-840a-4101-b449-8854d1a35467 success
detach volume1 c194034f-840a-4101-b449-8854d1a35467 success
2016-05-03 15:49:48.329 4983 INFO rally.benchmark.runners.base [-] Task 538a1bbc-8045-4a36-840f-da1d7170797d | ITER: 1 END: Error TimeoutException: Rally tired waiting for Volume <Volume: c194034f-840a-4101-b449-8854d1a35467>:c194034f-840a-4101-b449-8854d1a35467 to become deleted current status AVAILABLE
2016-05-03 15:49:48.330 4983 INFO rally.benchmark.runners.base [-] Task 538a1bbc-8045-4a36-840f-da1d7170797d | ITER: 2 START
create sys_volume 5fc924b8-5f8d-41e1-b109-e791a5acb936 success
boot server 577195f0-8ea4-460f-b22a-417b083e9e68 success
create volume1 cacf9f1e-9324-43d8-bb7e-94347c5d488c success
2016-05-03 15:51:11.402 4983 INFO rally.benchmark.runners.base [-] Task 538a1bbc-8045-4a36-840f-da1d7170797d | ITER: 2 END: Error ClientException: Unknown Error (HTTP 504)
2016-05-03 15:51:11.403 4983 INFO rally.benchmark.runners.base [-] Task 538a1bbc-8045-4a36-840f-da1d7170797d | ITER: 3 START
create sys_volume ae6c0380-c660-4f77-bb95-cf49f2096e36 success
boot server 89f84717-96c2-48a6-bf62-35558c338795 success
create volume1 456c0663-6e31-48da-b648-93947b37acb2 success
attach volume1 456c0663-6e31-48da-b648-93947b37acb2 success
detach volume1 456c0663-6e31-48da-b648-93947b37acb2 success
delete volume1 456c0663-6e31-48da-b648-93947b37acb2 success
delete server 89f84717-96c2-48a6-bf62-35558c338795 success
2016-05-03 15:53:44.004 4983 INFO rally.benchmark.runners.base [-] Task 538a1bbc-8045-4a36-840f-da1d7170797d | ITER: 3 END: OK
2016-05-03 15:53:44.005 4983 INFO rally.benchmark.runners.base [-] Task 538a1bbc-8045-4a36-840f-da1d7170797d | ITER: 4 START
create sys_volume 7948a3c5-b02b-44dc-ab05-e8e6a46ab1f0 success
boot server 30af311b-b416-4c86-8f15-2cce2b25437f success
create volume1 9dfa622c-7f14-4612-93f5-36a60371abe3 success
2016-05-03 15:55:02.171 4983 INFO rally.benchmark.runners.base [-] Task 538a1bbc-8045-4a36-840f-da1d7170797d | ITER: 4 END: Error ClientException: Unknown Error (HTTP 504)
2016-05-03 15:55:02.206 3359 INFO rally.benchmark.context.cleanup.context [-] Task 538a1bbc-8045-4a36-840f-da1d7170797d | Starting: user resources cleanup
2016-05-03 15:55:18.277 3359 INFO rally.benchmark.context.cleanup.context [-] Task 538a1bbc-8045-4a36-840f-da1d7170797d | Completed: user resources cleanup
2016-05-03 15:55:18.278 3359 INFO rally.benchmark.context.users [-] Task 538a1bbc-8045-4a36-840f-da1d7170797d | Starting: Exit context: `users`
2016-05-03 15:55:19.128 3359 INFO rally.benchmark.context.users [-] Task 538a1bbc-8045-4a36-840f-da1d7170797d | Completed: Exit context: `users`
2016-05-03 15:55:19.527 3359 INFO rally.benchmark.engine [-] Task 538a1bbc-8045-4a36-840f-da1d7170797d | Completed: Benchmarking.

--------------------------------------------------------------------------------
Task 538a1bbc-8045-4a36-840f-da1d7170797d: finished
--------------------------------------------------------------------------------

test scenario CinderVolumes.create_from_volume_and_attach_volume
args position 0
args values:
{u'args': {u'data_size1': 50,
           u'delete_on_terminate': True,
           u'flavor': {u'name': u'm1.large'},
           u'image': {u'name': u'win7_x32_40G_Admin'},
           u'nics': [{u'net-id': u'af8acf12-43b7-43e4-a07e-862c4d364f93'}],
           u'system_size': 50,
           u'volume_type': u'd7e89869-49b6-4888-bfe0-5c1cd1ea794c'},
 u'context': {u'users': {u'project_domain': u'default',
                         u'resource_management_workers': 30,
                         u'tenants': 1,
                         u'user_domain': u'default',
                         u'users_per_tenant': 1}},
 u'runner': {u'concurrency': 1, u'times': 5, u'type': u'constant'}}
+--------------------------+-----------+-----------+-----------+---------------+---------------+---------+-------+
| action | min (sec) | avg (sec) | max (sec) | 90 percentile | 95 percentile | success | count |
+--------------------------+-----------+-----------+-----------+---------------+---------------+---------+-------+
| cinder.create_volume | 2.903 | 3.85 | 6.477 | 5.238 | 5.858 | 71.4% | 7 |
| cinder.create_volume (2) | 2.568 | 3.266 | 3.72 | 3.719 | 3.719 | 71.4% | 7 |
| cinder.delete_volume | 2.702 | 2.702 | 2.702 | 2.702 | 2.702 | 14.3% | 7 |
| nova.attach_volume | 6.442 | 28.214 | 71.305 | 58.423 | 64.864 | 42.9% | 7 |
| nova.boot_server | 11.188 | 12.711 | 13.858 | 13.804 | 13.831 | 71.4% | 7 |
| nova.delete_server | 50.909 | 50.909 | 50.909 | 50.909 | 50.909 | 14.3% | 7 |
| nova.detach_volume | 7.021 | 10.035 | 11.645 | 11.603 | 11.624 | 42.9% | 7 |
| total | 152.6 | 152.6 | 152.6 | 152.6 | 152.6 | 14.3% | 7 |
+--------------------------+-----------+-----------+-----------+---------------+---------------+---------+-------+
Load duration: 1990.5270679
Full duration: 2008.87381697

HINTS:
* To plot HTML graphics with this data, run:
        rally task report 538a1bbc-8045-4a36-840f-da1d7170797d --out output.html

* To get raw JSON output of task results, run:
        rally task results 538a1bbc-8045-4a36-840f-da1d7170797d

Using task: 538a1bbc-8045-4a36-840f-da1d7170797d

eg 2:
[root@host-192-21-10-3 samples(keystone_admin)]# rally task start create-from-volume-and-attach-volume.json
--------------------------------------------------------------------------------
 Preparing input task
--------------------------------------------------------------------------------

Input task is:
{
    "CinderVolumes.create_from_volume_and_attach_volume": [
        {
            "args": {
                "system_size": 50,
                "delete_on_terminate": true,
                "data_size1": 50,
                "flavor": {
                    "name": "m1.large"
                },
                "image": {
                    "name": "win7_x32_40G_Admin"
                },
                "nics":[{"net-id": "af8acf12-43b7-43e4-a07e-862c4d364f93"}],
                "volume_type": "d7e89869-49b6-4888-bfe0-5c1cd1ea794c"
            },
            "runner": {
                "type": "constant",
                "times": 1,
                "concurrency": 1
            },
            "context": {
                "users": {
                    "tenants": 1,
                    "users_per_tenant": 1
                }
            }
        }
    ]
}

--------------------------------------------------------------------------------
 Task de9e6388-e2b8-4edf-bac5-a5c1c68ce24f: started
--------------------------------------------------------------------------------

Benchmarking... This can take a while...

To track task status use:

        rally task status
        or
        rally task detailed

create sys_volume 6803e003-aad0-41de-b89a-5d09ca0954eb success
boot server 0b3e3f0b-bdcb-40e0-9020-6ad47d174982 success
create volume1 c0226a83-ee46-4e8b-8593-72f91b71fd85 success
attach volume1 c0226a83-ee46-4e8b-8593-72f91b71fd85 success
detach volume1 c0226a83-ee46-4e8b-8593-72f91b71fd85 success

--------------------------------------------------------------------------------
Task de9e6388-e2b8-4edf-bac5-a5c1c68ce24f: finished
--------------------------------------------------------------------------------

test scenario CinderVolumes.create_from_volume_and_attach_volume
args position 0
args values:
{u'args': {u'data_size1': 50,
           u'delete_on_terminate': True,
           u'flavor': {u'name': u'm1.large'},
           u'image': {u'name': u'win7_x32_40G_Admin'},
           u'nics': [{u'net-id': u'af8acf12-43b7-43e4-a07e-862c4d364f93'}],
           u'system_size': 50,
           u'volume_type': u'd7e89869-49b6-4888-bfe0-5c1cd1ea794c'},
 u'context': {u'users': {u'project_domain': u'default',
                         u'resource_management_workers': 30,
                         u'tenants': 1,
                         u'user_domain': u'default',
                         u'users_per_tenant': 1}},
 u'runner': {u'concurrency': 1, u'times': 1, u'type': u'constant'}}
+--------+-----------+-----------+-----------+---------------+---------------+---------+-------+
| action | min (sec) | avg (sec) | max (sec) | 90 percentile | 95 percentile | success | count |
+--------+-----------+-----------+-----------+---------------+---------------+---------+-------+
| total | n/a | n/a | n/a | n/a | n/a | 0.0% | 3 |
+--------+-----------+-----------+-----------+---------------+---------------+---------+-------+
Load duration: 1241.91195798
Full duration: 1258.52339578

HINTS:
* To plot HTML graphics with this data, run:
        rally task report de9e6388-e2b8-4edf-bac5-a5c1c68ce24f --out output.html

* To get raw JSON output of task results, run:
        rally task results de9e6388-e2b8-4edf-bac5-a5c1c68ce24f

Using task: de9e6388-e2b8-4edf-bac5-a5c1c68ce24f

chenhb (chen-haibing1)
Changed in rally:
assignee: nobody → chenhb (chen-haibing1)
status: New → In Progress
chenhb (chen-haibing1)
Changed in rally:
status: In Progress → Invalid
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.