Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug][AzureDevops] ERROR: ValueError: Missing required value for field display_title at /triggerInfo/ci.message #7453

Closed
2 of 3 tasks
klemen-df opened this issue May 10, 2024 · 0 comments · Fixed by #7460
Closed
2 of 3 tasks
Assignees
Labels
type/bug This issue is a bug

Comments

@klemen-df
Copy link

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

When running collecting of data I get this error:

subtask Extract Builds ended unexpectedly Wraps: (2) remote error response: | ERROR: ValueError: Missing required value for field display_title at /triggerInfo/ci.message

What do you expect to happen

Collecting of data should be successful

How to reproduce

Upgrade from 0.21 to v1.0.0-beta7
Run collection of data

Anything else

Worked in v0.21.0

Full error:
subtask Extract Builds ended unexpectedly Wraps: (2) remote error response: | ERROR: ValueError: Missing required value for field display_title at /triggerInfo/ci.message | Traceback (most recent call last): | File "/app/.cache/pypoetry/virtualenvs/azuredevops-ANnMAkq9-py3.9/lib/python3.9/site-packages/jsonpointer.py", line 288, in walk | return doc[part] | KeyError: 'ci.message' | | During handling of the above exception, another exception occurred: | | Traceback (most recent call last): | File "/app/python/pydevlake/pydevlake/extractor.py", line 51, in autoextract | value = resolve_pointer(json, pointer) | File "/app/.cache/pypoetry/virtualenvs/azuredevops-ANnMAkq9-py3.9/lib/python3.9/site-packages/jsonpointer.py", line 128, in resolve_pointer | return pointer.resolve(doc, default) | File "/app/.cache/pypoetry/virtualenvs/azuredevops-ANnMAkq9-py3.9/lib/python3.9/site-packages/jsonpointer.py", line 206, in resolve | doc = self.walk(doc, part) | File "/app/.cache/pypoetry/virtualenvs/azuredevops-ANnMAkq9-py3.9/lib/python3.9/site-packages/jsonpointer.py", line 291, in walk | raise JsonPointerException("member '%s' not found in %s" % (part, doc)) | jsonpointer.JsonPointerException: member 'ci.message' not found in {} | | During handling of the above exception, another exception occurred: | | Traceback (most recent call last): | File "/app/python/plugins/azuredevops/azuredevops/main.py", line 157, in <module> | AzureDevOpsPlugin.start() | File "/app/python/pydevlake/pydevlake/plugin.py", line 254, in start | fire.Fire(PluginCommands(plugin)) | File "/app/.cache/pypoetry/virtualenvs/azuredevops-ANnMAkq9-py3.9/lib/python3.9/site-packages/fire/core.py", line 141, in Fire | component_trace = _Fire(component, args, parsed_flag_args, context, name) | File "/app/.cache/pypoetry/virtualenvs/azuredevops-ANnMAkq9-py3.9/lib/python3.9/site-packages/fire/core.py", line 466, in _Fire | component, remaining_args = _CallAndUpdateTrace( | File "/app/.cache/pypoetry/virtualenvs/azuredevops-ANnMAkq9-py3.9/lib/python3.9/site-packages/fire/core.py", line 681, in _CallAndUpdateTrace | component = fn(*varargs, **kwargs) | File "/app/python/pydevlake/pydevlake/ipc.py", line 62, in wrapper | for each in ret: | File "/app/python/pydevlake/pydevlake/ipc.py", line 82, in extract | yield from self._plugin.extract(self._mk_context(ctx), stream) | File "/app/python/pydevlake/pydevlake/plugin.py", line 111, in _run_stream | yield from getattr(stream, subtask).run(ctx) | File "/app/python/pydevlake/pydevlake/subtasks.py", line 82, in run | raise e | File "/app/python/pydevlake/pydevlake/subtasks.py", line 62, in run | self.process(data, session, ctx) | File "/app/python/pydevlake/pydevlake/subtasks.py", line 188, in process | tool_model = self.stream.extract(json.loads(raw.data)) | File "/app/python/pydevlake/pydevlake/stream.py", line 90, in extract | return autoextract(raw_data, self.tool_model) | File "/app/python/pydevlake/pydevlake/extractor.py", line 53, in autoextract | raise ValueError(f"Missing required value for field {field.name} at {pointer}") | ValueError: Missing required value for field display_title at /triggerInfo/ci.message Wraps: (3) exit status 1 Wraps: (4) exit status 1 Error types: (1) *hintdetail.withDetail (2) *hintdetail.withDetail (3) *hintdetail.withDetail (4) *exec.ExitError

Version

v1.0.0-beta7

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug This issue is a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants