On Fri, Dec 14, 2018 at 05:45:46PM +0900, Patrick.C Jeon wrote:
Dear squad developer
I used to squad docker of https://github.com/Linaro/squad.
And squad system running in my localhost. LAVA too.
I want check the submit test for squad.
Using a python script submit_for_testing.py in https://git.linaro.org/ci/job/configs.git
command is below : python submit_for_testing.py --device-type abc-abc-abc --build-number no1 --lava-server https://192.168.1.20:9099 --qa-server http://192.168.1.70:8000 --qa-server-project remote-lava-prj --qa-server-team remote-lava-team --test-plan lava-test-plan.yaml
response : "QA Reports submission failed"
What is that mean ? Squad system setup missing or wrong command?
If that command are success respone, something show on squad explore?
Hi Patrick -
Are you setting --qa-token or QA_REPORTS_TOKEN?
If that's not the problem, you may need to patch submit_for_testing.py to get a better error; it looks like the try/except is a little broad and it could be a number of things. I don't know where your submit_for_testing.py is coming from, but you could try a patch like the following to try to narrow it down:
diff --git a/openembedded-lkft/submit_for_testing.py b/openembedded-lkft/submit_for_testing.py index 5cc137a0..b0ecb706 100644 --- a/openembedded-lkft/submit_for_testing.py +++ b/openembedded-lkft/submit_for_testing.py @@ -84,7 +84,7 @@ def _submit_to_squad(lava_job, lava_url_base, qa_server_api, qa_server_base, qa_ print(results.status_code) print(results.text) except requests.exceptions.RequestException as err: - print("QA Reports submission failed") + print("QA Reports submission failed: {}".format(str(err))) if not quiet: print("offending job definition:") print(lava_job)
Hope that helps, Dan
Thanks
kchhero
-- *행동하지 않으면 변화는 없다* _______________________________________________ Squad-dev mailing list Squad-dev@lists.linaro.org https://lists.linaro.org/mailman/listinfo/squad-dev