#2602 CLI list-tag-inheritance with option --stop returns Fault
Closed: Fixed 2 years ago by tkopecek. Opened 2 years ago by mfilip.

For following tag inheritance:

     tag-geod8 (72)
....  └─tag-w0srt (71)
....     └─tag-mmdid (70)

list-tag-inheritance with option --stop returns Fault

koji  list-tag-inheritance tag-geod8 --stop=tag-w0srt
     tag-geod8 (72)
2020-12-15 14:02:30,303 [ERROR] koji: Fault: <Fault 1: "<class 'RuntimeError'>: dictionary changed size during iteration">

Hub log:

[Tue Dec 15 13:25:00.775565 2020] [wsgi:error] [pid 20346:tid 20346] [client 10.36.114.163:44986]   File "/usr/share/koji-hub/kojixmlrpc.py", line 253, in _wrap_handler
[Tue Dec 15 13:25:00.775645 2020] [wsgi:error] [pid 20346:tid 20346] [client 10.36.114.163:44986]     response = handler(environ)
[Tue Dec 15 13:25:00.775721 2020] [wsgi:error] [pid 20346:tid 20346] [client 10.36.114.163:44986]   File "/usr/share/koji-hub/kojixmlrpc.py", line 277, in handle_rpc
[Tue Dec 15 13:25:00.775764 2020] [wsgi:error] [pid 20346:tid 20346] [client 10.36.114.163:44986]     return self._dispatch(method, params)
[Tue Dec 15 13:25:00.775801 2020] [wsgi:error] [pid 20346:tid 20346] [client 10.36.114.163:44986]   File "/usr/share/koji-hub/kojixmlrpc.py", line 314, in _dispatch
[Tue Dec 15 13:25:00.775889 2020] [wsgi:error] [pid 20346:tid 20346] [client 10.36.114.163:44986]     ret = koji.util.call_with_argcheck(func, params, opts)
[Tue Dec 15 13:25:00.775936 2020] [wsgi:error] [pid 20346:tid 20346] [client 10.36.114.163:44986]   File "/usr/lib/python3.9/site-packages/koji/util.py", line 271, in call_with_argcheck
[Tue Dec 15 13:25:00.775993 2020] [wsgi:error] [pid 20346:tid 20346] [client 10.36.114.163:44986]     return func(*args, **kwargs)
[Tue Dec 15 13:25:00.776036 2020] [wsgi:error] [pid 20346:tid 20346] [client 10.36.114.163:44986]   File "/usr/share/koji-hub/kojihub.py", line 11488, in getFullInheritance
[Tue Dec 15 13:25:00.776090 2020] [wsgi:error] [pid 20346:tid 20346] [client 10.36.114.163:44986]     for key in mapping.keys():
[Tue Dec 15 13:25:00.776156 2020] [wsgi:error] [pid 20346:tid 20346] [client 10.36.114.163:44986] RuntimeError: dictionary changed size during iteration
[Tue Dec 15 13:25:00.776214 2020] [wsgi:error] [pid 20346:tid 20346] [client 10.36.114.163:44986] 

Metadata Update from @tkopecek:
- Custom field Size adjusted to None

2 years ago

Metadata Update from @tkopecek:
- Custom field Size adjusted to small (was: None)
- Issue set to the milestone: 1.23.1
- Issue tagged with: bug

2 years ago

Metadata Update from @jcupova:
- Issue tagged with: testing-done, testing-ready

2 years ago

Login to comment on this ticket.

Metadata
Related Pull Requests
  • #2603 Merged 2 years ago