Skip to content

Update create_cve_json.py#856

Merged
IgorTodorovskiIBM merged 1 commit intomainfrom
HarithaIBM-builderror
Oct 11, 2024
Merged

Update create_cve_json.py#856
IgorTodorovskiIBM merged 1 commit intomainfrom
HarithaIBM-builderror

Conversation

@HarithaIBM
Copy link
Copy Markdown
Member

Nightly builds were failing due to pythong error:
Traceback (most recent call last):
File "/var/lib/jenkins/workspace/Port-Update-Nightly/meta_update/tools/create_cve_json.py", line 218, in
asyncio.run(main())
File "/usr/lib64/python3.9/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib64/python3.9/asyncio/base_events.py", line 642, in run_until_complete
return future.result()
File "/var/lib/jenkins/workspace/Port-Update-Nightly/meta_update/tools/create_cve_json.py", line 153, in main
all_cves = await asyncio.gather(*tasks)
File "/var/lib/jenkins/workspace/Port-Update-Nightly/meta_update/tools/create_cve_json.py", line 69, in get_release_cve_info
if not severity or not severity[0]:
UnboundLocalError: local variable 'severity' referenced before assignment

Copy link
Copy Markdown
Collaborator

@DevonianTeuchter DevonianTeuchter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable!

@IgorTodorovskiIBM IgorTodorovskiIBM merged commit 6a50df9 into main Oct 11, 2024
@IgorTodorovskiIBM IgorTodorovskiIBM deleted the HarithaIBM-builderror branch October 11, 2024 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants