Dear Dan
I tried to narrow it down as your comment.
Of course, the qa-token value matches the token value of the squad user, and qemu01.yaml also exists.
$ python configs/submit_for_testing.py \ --device-type qemu \ --build-number no1 \ --lava-server my.lava.server \ --qa-server http://192.168.1.20:8000 \ --qa-server-project my-prj \ --qa-server-team my-lava-team \ --test-plan qemu01.yaml \ --qa-token 6e8795e925a3a7a6568e463fb2fd98f6d80a1338
Response message was bellow.
------------------------------------------------------------------------------------------------
Submit to: http://192.168.1.20:8000/api/submitjob/my-lava-team/my-prj/no1/qemu QA Reports submission failed: HTTPConnectionPool(host='192.168.1.20', port=8000): Read timed out. (read timeout=31)
offending job definition: # Your first LAVA JOB definition for an x86_64 QEMU device_type: qemu job_name: QEMU pipeline, first job
timeouts: job: minutes: 15 action: minutes: 5 connection: minutes: 2 priority: medium visibility: public
...(snip)...
------------------------------------------------------------------------------------------------
I do not know what the problem is.
Please hep me.
thanks,
suker
On 18. 12. 15. 오전 2:12, Dan Rue wrote:
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
Squad-dev mailing list Squad-dev@lists.linaro.org https://lists.linaro.org/mailman/listinfo/squad-dev