tempest:AttributeError: 'functools.partial' object has no attribute '__name__'

Bug #1744659 reported by licanwei
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
watcher
Fix Released
Undecided
licanwei

Bug Description

2018-01-18 10:30:34.477945 | primary | watcher_tempest_plugin.tests.scenario.test_execute_actuator.TestExecuteActionsViaActuator.test_execute_change_nova_service_state
2018-01-18 10:30:34.478235 | primary | --------------------------------------------------------------------------------------------------------------------------------
2018-01-18 10:30:34.478282 | primary |
2018-01-18 10:30:34.478362 | primary | Captured traceback:
2018-01-18 10:30:34.478445 | primary | ~~~~~~~~~~~~~~~~~~~
2018-01-18 10:30:34.478563 | primary | Traceback (most recent call last):
2018-01-18 10:30:34.478991 | primary | File "/opt/stack/new/tempest/.tox/tempest/local/lib/python2.7/site-packages/watcher_tempest_plugin/tests/scenario/test_execute_actuator.py", line 297, in test_execute_change_nova_service_state
2018-01-18 10:30:34.479114 | primary | self._execute_actions(actions)
2018-01-18 10:30:34.479493 | primary | File "/opt/stack/new/tempest/.tox/tempest/local/lib/python2.7/site-packages/watcher_tempest_plugin/tests/scenario/test_execute_actuator.py", line 236, in _execute_actions
2018-01-18 10:30:34.479608 | primary | sleep_for=.5
2018-01-18 10:30:34.479807 | primary | File "tempest/lib/common/utils/test_utils.py", line 108, in call_until_true
2018-01-18 10:30:34.479969 | primary | getattr(func, '__name__'), time.time() - begin_time)
2018-01-18 10:30:34.480154 | primary | AttributeError: 'functools.partial' object has no attribute '__name__'

2018-01-18 10:30:34.840351 | primary | watcher_tempest_plugin.tests.scenario.test_execute_basic_optim.TestExecuteBasicStrategy.test_execute_basic_action_plan
2018-01-18 10:30:34.840667 | primary | ----------------------------------------------------------------------------------------------------------------------
2018-01-18 10:30:34.840715 | primary |
2018-01-18 10:30:34.840795 | primary | Captured traceback:
2018-01-18 10:30:34.840878 | primary | ~~~~~~~~~~~~~~~~~~~
2018-01-18 10:30:34.841025 | primary | Traceback (most recent call last):
2018-01-18 10:30:34.841435 | primary | File "/opt/stack/new/tempest/.tox/tempest/local/lib/python2.7/site-packages/watcher_tempest_plugin/tests/scenario/test_execute_basic_optim.py", line 153, in test_execute_basic_action_plan
2018-01-18 10:30:34.841518 | primary | sleep_for=2
2018-01-18 10:30:34.841715 | primary | File "tempest/lib/common/utils/test_utils.py", line 108, in call_until_true
2018-01-18 10:30:34.841875 | primary | getattr(func, '__name__'), time.time() - begin_time)
2018-01-18 10:30:34.842060 | primary | AttributeError: 'functools.partial' object has no attribute '__name__'
2018-01-18 10:30:34.842125 | primary |

2018-01-18 10:30:35.371379 | primary | watcher_tempest_plugin.tests.scenario.test_execute_workload_balancing.TestExecuteWorkloadBalancingStrategy.test_execute_workload_stabilization
2018-01-18 10:30:35.371654 | primary | ----------------------------------------------------------------------------------------------------------------------------------------------
2018-01-18 10:30:35.371685 | primary |
2018-01-18 10:30:35.371747 | primary | Captured traceback:
2018-01-18 10:30:35.371810 | primary | ~~~~~~~~~~~~~~~~~~~
2018-01-18 10:30:35.371906 | primary | Traceback (most recent call last):
2018-01-18 10:30:35.372288 | primary | File "/opt/stack/new/tempest/.tox/tempest/local/lib/python2.7/site-packages/watcher_tempest_plugin/tests/scenario/test_execute_workload_balancing.py", line 182, in test_execute_workload_stabilization
2018-01-18 10:30:35.372353 | primary | sleep_for=2
2018-01-18 10:30:35.372521 | primary | File "tempest/lib/common/utils/test_utils.py", line 108, in call_until_true
2018-01-18 10:30:35.372655 | primary | getattr(func, '__name__'), time.time() - begin_time)
2018-01-18 10:30:35.372833 | primary | AttributeError: 'functools.partial' object has no attribute '__name__'

licanwei (li-canwei2)
Changed in watcher:
assignee: nobody → licanwei (li-canwei2)
Revision history for this message
Hidekazu Nakamura (nakamura-h) wrote :
licanwei (li-canwei2)
Changed in watcher:
status: New → 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.