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

OpenSSF Scorecard Patch Needs #2927

Closed
sgoggins opened this issue Oct 15, 2024 · 0 comments · Fixed by #2935
Closed

OpenSSF Scorecard Patch Needs #2927

sgoggins opened this issue Oct 15, 2024 · 0 comments · Fixed by #2935
Assignees
Labels
bug Documents unexpected/wrong/buggy behavior deployed version Live problems with deployed versions

Comments

@sgoggins
Copy link
Member

sgoggins commented Oct 15, 2024

OpenSSF Worker

Prevalent ... I think its broken

Traceback (most recent call last):
  File "/home/ubuntu/github/augur/augur/tasks/git/dependency_tasks/core.py", line 102, in generate_scorecard
    if not required_output['checks']:
           ~~~~~~~~~~~~~~~^^^^^^^^^^
KeyError: 'checks'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/github/augur/augur/tasks/git/dependency_tasks/tasks.py", line 25, in process_ossf_dependency_metrics
    generate_scorecard(logger, repo_git)
  File "/home/ubuntu/github/augur/augur/tasks/git/dependency_tasks/core.py", line 141, in generate_scorecard
    raise MetadataException(e, f"required_output: {required_output}")
augur.tasks.util.metadata_exception.MetadataException: 'checks' | Additional metadata: required_output: {}

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/github/virtualenvs/hosted/lib/python3.11/site-packages/celery/app/trace.py", line 451, in trace_task
    R = retval = fun(*args, **kwargs)
                 ^^^^^^^^^^^^^^^^^^^^
  File "/home/ubuntu/github/virtualenvs/hosted/lib/python3.11/site-packages/celery/app/trace.py", line 734, in __protected_call__
    return self.run(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ubuntu/github/augur/augur/tasks/git/dependency_tasks/tasks.py", line 30, in process_ossf_dependency_metrics
    raise MetadataException(f"An error occurred while generating the scorecard: {str(e)}")
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: MetadataException.__init__() missing 1 required positional argument: 'additional_metadata'
@sgoggins sgoggins converted this from a draft issue Oct 15, 2024
@sgoggins sgoggins added deployed version Live problems with deployed versions bug Documents unexpected/wrong/buggy behavior labels Oct 15, 2024
@IsaacMilarky IsaacMilarky mentioned this issue Oct 15, 2024
1 task
@github-project-automation github-project-automation bot moved this from In Progress to Main in Augur TSC Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Documents unexpected/wrong/buggy behavior deployed version Live problems with deployed versions
Projects
Status: Main
Development

Successfully merging a pull request may close this issue.

2 participants