standalone job fails because "TASK [list_skipped : List skipped tests]" crashes

Bug #1941995 reported by Takashi Kajinami
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Invalid
Undecided
Unassigned

Bug Description

Description
===========
Currently tripleo jobs in puppet repos continuously fails because of the failure in "TASK [list_skipped : List skipped tests]"

Example: https://zuul.opendev.org/t/openstack/build/69d61a362a284745b1fd6fc484c2ff27
```
TASK [list_skipped : List skipped tests] ***************************************
Sunday 29 August 2021 10:52:43 +0000 (0:00:00.156) 0:37:35.139 *********
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: TypeError: 'EntryPoint' object is not subscriptable
fatal: [undercloud -> localhost]: FAILED! => {
    "changed": false,
    "rc": 1
}

MSG:

MODULE FAILURE
See stdout/stderr for the exact error

MODULE_STDERR:

Traceback (most recent call last):
  File "/home/zuul/workspace/.quickstart/lib/python3.6/site-packages/stevedore/_cache.py", line 159, in _get_data_for_path
    with open(filename, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/zuul/.cache/python-entrypoints/e54a2d9eb9ba9f40ea768e0f3b0689af38f3fe0fdb4356ac4e0ec2d0b4001513'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 102, in <module>
  File "<stdin>", line 94, in _ansiballz_main
  File "<stdin>", line 40, in invoke_module
  File "/usr/lib64/python3.6/runpy.py", line 205, in run_module
    return _run_module_code(code, init_globals, run_name, mod_spec)
  File "/usr/lib64/python3.6/runpy.py", line 96, in _run_module_code
    mod_name, mod_spec, pkg_name, script_name)
  File "/usr/lib64/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmp/ansible_list_skipped_payload_97ovn3g_/ansible_list_skipped_payload.zip/ansible/modules/list_skipped.py", line 137, in <module>
  File "/tmp/ansible_list_skipped_payload_97ovn3g_/ansible_list_skipped_payload.zip/ansible/modules/list_skipped.py", line 133, in main
  File "/tmp/ansible_list_skipped_payload_97ovn3g_/ansible_list_skipped_payload.zip/ansible/modules/list_skipped.py", line 117, in run_module
  File "/home/zuul/workspace/.quickstart/lib/python3.6/site-packages/cliff/display.py", line 30, in __init__
    self._formatter_plugins = self._load_formatter_plugins()
  File "/home/zuul/workspace/.quickstart/lib/python3.6/site-packages/cliff/display.py", line 44, in _load_formatter_plugins
    invoke_on_load=True,
  File "/home/zuul/workspace/.quickstart/lib/python3.6/site-packages/stevedore/extension.py", line 136, in __init__
    verify_requirements)
  File "/home/zuul/workspace/.quickstart/lib/python3.6/site-packages/stevedore/extension.py", line 218, in _load_plugins
    for ep in self.list_entry_points():
  File "/home/zuul/workspace/.quickstart/lib/python3.6/site-packages/stevedore/extension.py", line 207, in list_entry_points
    eps = list(_cache.get_group_all(self.namespace))
  File "/home/zuul/workspace/.quickstart/lib/python3.6/site-packages/stevedore/_cache.py", line 179, in get_group_all
    data = self._get_data_for_path(path)
  File "/home/zuul/workspace/.quickstart/lib/python3.6/site-packages/stevedore/_cache.py", line 162, in _get_data_for_path
    data = _build_cacheable_data(path)
  File "/home/zuul/workspace/.quickstart/lib/python3.6/site-packages/stevedore/_cache.py", line 119, in _build_cacheable_data
    item = ep[:] # convert namedtuple to tuple
TypeError: 'EntryPoint' object is not subscriptable
```

Revision history for this message
Takashi Kajinami (kajinamit) wrote :
Revision history for this message
Takashi Kajinami (kajinamit) wrote :

The tripleo job for the second patch passed, so it is likely that the issue was a temporal one.

Revision history for this message
Takashi Kajinami (kajinamit) wrote :

I'll close this as Invalid because we no longer observe the issue.

Changed in tripleo:
status: New → 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.