You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Running on devel branch with commit 21f8804 it fails after running the command tesar test copr c2r -ref pr1022 -g github oamg main -p /plans/tier0/basic_sanity_checks -t al8
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
CLI Output
If applicable, please provide the CLI output to help us with debugging the issue.
❯ tesar test copr c2r -ref pr1022 -g github oamg main -p /plans/tier0/basic_sanity_checks -t al8
INFO | Getting copr build info for referenced PR1022.
INFO | LINK: https://github.com/oamg/convert2rhel/pull/1022
INFO | Getting build ID for convert2rhel version 1.6.1-1.20240108201105810920.pr1022.10.gfd6d73c.
INFO | Built at 2024-01-08 20:11:00
INFO | LINK: https://copr.fedorainfracloud.org/coprs/g/oamg/convert2rhel/build/6873352
INFO | Assigning copr build id 6873352 for testing on AlmaLinux OS 8.8.20230524 x86_64 to test batch.
INFO | Sending test plan basic_sanity_checks for copr build pr1022 for AlmaLinux OS 8.8.20230524 x86_64 to the testing farm.
Traceback (most recent call last):
File "/home/egustavs/code/.virtualenvs/tesar-iikm-MRO/bin/tesar", line 8, in <module>
sys.exit(main())
^^^^^^
File "/home/egustavs/code/.virtualenvs/tesar-iikm-MRO/lib/python3.12/site-packages/tesar/__init__.py", line 19, in main
sys.exit(dispatch())
^^^^^^^^^^
File "/home/egustavs/code/.virtualenvs/tesar-iikm-MRO/lib/python3.12/site-packages/dispatch/__main__.py", line 138, in main
submit_test(
File "/home/egustavs/code/.virtualenvs/tesar-iikm-MRO/lib/python3.12/site-packages/dispatch/tf_send_request.py", line 109, in submit_test
task_id = response.json()["id"]
~~~~~~~~~~~~~~~^^^^^^
KeyError: 'id'
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Hi @SpyTec, thank you for the report.
Sadly. I was not able to reproduce the issue on the same commit.
The only reproducer I have found is by mangling the API endpoint URL.
Which leads me to a suspicion, that the API endpoint might have been down and the request did not get posted.
I am keeping the issue open, so we can handle this case better.
Additionally, when the API key is missing in the config, the traceback is the same.
@SpyTec did you have the API key set in the default ~/.config/tesar config file?
Describe the bug
Running on devel branch with commit 21f8804 it fails after running the command
tesar test copr c2r -ref pr1022 -g github oamg main -p /plans/tier0/basic_sanity_checks -t al8
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
CLI Output
If applicable, please provide the CLI output to help us with debugging the issue.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: