Bug #2618

Exception if the last phase end message was not received

Added by J. Wienke over 5 years ago. Updated over 5 years ago.

Status:ResolvedStart date:07/21/2016
Priority:NormalDue date:
Assignee:J. Wienke% Done:

100%

Category:validation-script
Target version:0.3

Description

Traceback (most recent call last):
  File "/vol/perfmon/0.3/bin/perfmoneval", line 9, in <module>
    load_entry_point('perfmonvalidation==0.3', 'console_scripts', 'perfmoneval')()
  File "build/bdist.linux-x86_64/egg/perfmonvalidation/__init__.py", line 290, in main
  File "build/bdist.linux-x86_64/egg/perfmonvalidation/__init__.py", line 298, in main_dump
  File "build/bdist.linux-x86_64/egg/perfmonvalidation/bag.py", line 281, in load_test_cases
  File "build/bdist.linux-x86_64/egg/perfmonvalidation/bag.py", line 188, in finish_test_case
  File "/vol/perfmon/0.3/local/lib/python2.7/site-packages/pandas/core/frame.py", line 224, in __init__
    mgr = self._init_dict(data, index, columns, dtype=dtype)
  File "/vol/perfmon/0.3/local/lib/python2.7/site-packages/pandas/core/frame.py", line 360, in _init_dict
    return _arrays_to_mgr(arrays, data_names, index, columns, dtype=dtype)
  File "/vol/perfmon/0.3/local/lib/python2.7/site-packages/pandas/core/frame.py", line 5241, in _arrays_to_mgr
    return create_block_manager_from_arrays(arrays, arr_names, axes)
  File "/vol/perfmon/0.3/local/lib/python2.7/site-packages/pandas/core/internals.py", line 4004, in create_block_manager_from_arrays
    construction_error(len(arrays), arrays[0].shape, axes, e)
  File "/vol/perfmon/0.3/local/lib/python2.7/site-packages/pandas/core/internals.py", line 3970, in construction_error
    passed, implied))
ValueError: Shape of passed values is (3, 17), indices imply (3, 18)

Be resilient against this or at least display a real error message.


Related issues

Related to RSB Performance Test API - Bug #2619: Last events missed during recording Resolved 07/21/2016

Associated revisions

Revision c764d0c4
Added by J. Wienke over 5 years ago

Add assertions that all phase events are received

At least be a bit more specific of what is violated in case the
recording is incomplete.

fixes #2618

History

#1 Updated by J. Wienke over 5 years ago

  • Related to Bug #2619: Last events missed during recording added

#2 Updated by J. Wienke over 5 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF