Skip to content

Failure using method (v2_runner_on_start) in callback plugin (<ansible.plugins.callback.nice_stdout.CallbackModule #758

Closed

Description

@moreati

Running the Ansible test suite on the collectionsSupport branch (#715) I found callback warnings in amongst the test output. This appears to have been a side-effect of these tests with tests/ansible/lib/callback/nice_stdout.py, and tests/ansible/lib/callback/profile_tasks.py - which were not completely initilialised.

TASK [Gathering Facts gather_timeout=10, gather_subset=['all']] ****************
task path: /home/alex/src/mitogen/tests/ansible/regression/issue_109__target_has_old_ansible_installed.yml:4
[WARNING]: Failure using method (v2_runner_on_start) in callback plugin
(<ansible.plugins.callback.nice_stdout.CallbackModule object at
0x7f76b3dad090>): 'show_per_host_start'
Callback Exception:
  File "/home/alex/src/mitogen/.tox/py27-ansible2.10/lib/python2.7/site-packages/ansible/executor/task_queue_manager.py", line 372, in send_callback
    method(*new_args, **kwargs)
   File "/home/alex/src/mitogen/.tox/py27-ansible2.10/lib/python2.7/site-packages/ansible/plugins/callback/default.py", line 240, in v2_runner_on_start
    if self.get_option('show_per_host_start'):
   File "/home/alex/src/mitogen/.tox/py27-ansible2.10/lib/python2.7/site-packages/ansible/plugins/callback/__init__.py", line 91, in get_option
    return self._plugin_options[k]
Callback Exception:
  File "/home/alex/src/mitogen/.tox/py27-ansible2.10/lib/python2.7/site-packages/ansible/executor/task_queue_manager.py", line 372, in send_callback
    method(*new_args, **kwargs)
   File "/home/alex/src/mitogen/.tox/py27-ansible2.10/lib/python2.7/site-packages/ansible/plugins/callback/default.py", line 240, in v2_runner_on_start
    if self.get_option('show_per_host_start'):
   File "/home/alex/src/mitogen/.tox/py27-ansible2.10/lib/python2.7/site-packages/ansible/plugins/callback/__init__.py", line 91, in get_option
    return self._plugin_options[k]
[task 339882] 00:00:08.172036 D ansible_mitogen.affinity: CPU mask for WorkerProcess: 0x000004
Callback Exception:
  File "/home/alex/src/mitogen/.tox/py27-ansible2.10/lib/python2.7/site-packages/ansible/executor/task_queue_manager.py", line 372, in send_callback
    method(*new_args, **kwargs)
   File "/home/alex/src/mitogen/.tox/py27-ansible2.10/lib/python2.7/site-packages/ansible/plugins/callback/default.py", line 240, in v2_runner_on_start
    if self.get_option('show_per_host_start'):
   File "/home/alex/src/mitogen/.tox/py27-ansible2.10/lib/python2.7/site-packages/ansible/plugins/callback/__init__.py", line 91, in get_option
    return self._plugin_options[k]

Activity

  1. added a commit that references this issue on Nov 14, 2020
    79b4c0f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions