Actions
action #91359
openopenqa-clone-job creates a huge output on stderr when cloning remote jobs
Start date:
2021-04-19
Due date:
% Done:
0%
Estimated time:
Description
I have just tried to clone a job on o3 with the following call:
openqa-clone-job --skip-download --host openqa.opensuse.org --from https://openqa.opensuse.org/tests/1704248 --skip-chained-deps _SKIP_POST_FAIL_HOOKS=1 CASEDIR='https://github.com/dcermak/os-autoinst-distri-opensuse#add_sleep_to_rstudio' NEEDLES_DIR='https://github.com/dcermak/os-autoinst-needles-opensuse#add_firefox_loading_needle'
This call times out after a few minutes and produces 74MB of output on stderr with:
job not created. duplicate? "${A HUGE TON OF JSON ON A SINGLE LINE HERE}" at /usr/share/openqa/script/../lib/OpenQA/Script/CloneJob.pm line 281.
Substituting --skip-download --host openqa.opensuse.org --from https://openqa.opensuse.org/tests/1704248
with --within-instance https://openqa.opensuse.org/tests/1704248
solves the problem for me, but the error message is still hard to parse.
Actions