Hello Remi,
Thank you for the help. It is for me a huge help in Lava understanding.
I went to the following link: https://staging.validation.linaro.org/static/docs/v2/first-job.html
BTW, where I can find such job in the local lava directory structures (so I can also use CLI commands)?
And drag and drop YAML file in: http://localhost:8080/scheduler/jobsubmit
The job failed immediately. Since the following message poped up in my localhost browser:
https://images.validation.linaro.org/kvm/standard/stretch-2.img.gz -> Resources not available!
So, do you have some another viable stretch image I can pick up and test? Or, perhaps, I can extract the image from YOCTO Project (I need to find out where in YOCTO Project they keep QEMU images after bitbake core-image-minimal, for x86_64 (host architecture), for example)?
The transcript of the failure follows.
Should I place QEMU stretch image somewhere locally, in local Lava directories (CLI question)? Where exactly?
Thank you, Zoran _______
lava-dispatcher, installed at version: 2017.7-1~bpo9+1start: 0 validateValidating that https://images.validation.linaro.org/kvm/standard/stretch-2.img.gz existsRessource not availableqemu-system-x86, installed at version: 1:2.8+dfsg-6+deb9u3Invalid job definitionInvalid job data: ["Unable to get 'https://images.validation.linaro.org/kvm/standard/stretch-2.img.gz': HTTPSConnectionPool(host='images.validation.linaro.org', port=443): Max retries exceeded with url: /kvm/standard/stretch-2.img.gz (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f4db0e0dc50>: Failed to establish a new connection: [Errno 110] Connection timed out',))"] validate duration: 15.37case: validate definition: lava result: fail Cleaning after the jobRoot tmp directory removed at /var/lib/lava/dispatcher/tmp/1JobError: Your job cannot terminate cleanly.case: job definition: lava error_type: Job result: fail error_msg: Invalid job data: ["Unable to get 'https://images.validation.linaro.org/kvm/standard/stretch-2.img.gz': HTTPSConnectionPool(host='images.validation.linaro.org', port=443): Max retries exceeded with url: /kvm/standard/stretch-2.img.gz (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f4db0e0dc50>: Failed to establish a new connection: [Errno 110] Connection timed out',))"] _______
On Tue, Feb 13, 2018 at 8:30 AM, Remi Duraffort remi.duraffort@linaro.org wrote:
Actually, I already have two devices in the following localhost web location: http://localhost:8080/admin/lava_scheduler_app/device/
Also visible in the normal web interface: http://localhost:8080/scheduler/alldevices
I would like to submit the following test for my qemu01 hiost of device-type qemu: https://staging.validation.linaro.org/static/docs/v2/first-job.html
Where I do this on the http://localhost:8080/admin ?
http://localhost:8080/scheduler/jobsubmit
-- RĂ©mi Duraffort LAVA Team