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

common.py: handle missing "runtime" job result field #52

Merged
merged 1 commit into from
Jan 17, 2024

Conversation

kaspar030
Copy link
Contributor

@kaspar030 kaspar030 commented Jan 17, 2024

"dwq-subjob" might send these.

Traceback (most recent call last):
  File "/opt/murdock-scripts/reporter.py", line 175, in <module>
    main()
  File "/opt/murdock-scripts/reporter.py", line 126, in main
    job = parse_job(job_raw)
  File "/opt/murdock-scripts/common.py", line 26, in parse_job
    result["runtime"] = float(job["result"]["runtime"])
KeyError: 'runtime'

@kaspar030
Copy link
Contributor Author

@kaspar030
Copy link
Contributor Author

And here's how the error manifests: https://ci-staging.riot-os.org/details/ff1d811c24ea4a799df12d6df43fa18f

@maribu maribu merged commit 591eba9 into RIOT-OS:master Jan 17, 2024
1 check passed
@kaspar030 kaspar030 deleted the handle_missing_runtime branch January 17, 2024 19:20
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.

2 participants