On Wed, 4 Sep 2019 at 12:01, Vladut Magas vladut.m@l4b-software.com wrote:
Hello,
I have a question regarding running a test that I have on my host machine inside a Lava job.
Basically, I start Lava and try to submit a job through: Scheduler/Submit
The job description looks like this: device_type: qemu job_name: qemu amd64 LTP
timeouts: job: minutes: 120 action: minutes: 120 connection: minutes: 120 priority: medium visibility: public
metadata: source: https://ci.linaro.org/view/lava-ci/job/lava-debian-stable-amd64-vm/ path: https://git.linaro.org/ci/job/configs.git/blob/HEAD:/lava-debian-stable-amd6... build-readme: https://images.validation.linaro.org/snapshots.linaro.org/components/lava/st... build-console: https://ci.linaro.org/view/lava-ci/job/lava-debian-stable-amd64-vm/console build-log: http://images.validation.linaro.org/snapshots.linaro.org/components/lava/sta...
# CONTEXT_BLOCK context: arch: amd64
# ACTIONS_BLOCK actions:
- deploy: timeout: minutes: 120 to: tmpfs images: rootfs: image_arg: -drive format=raw,file={rootfs} url: https://images.validation.linaro.org/snapshots.linaro.org/components/lava/st... sha256sum: 4ab50cc69fc61faa9bf48edada8bc1a317247f77ced5a815f40e75cef1d62cc7 compression: gz
# BOOT_BLOCK
boot: method: qemu media: tmpfs timeout: minutes: 120 prompts:
- "root@debian:"
auto_login: login_prompt: "login:" username: root
test: timeout: minutes: 120 definitions:
- repository: metadata: format: Lava-Test Test Definition 1.0 name: apache-server description: "server installation" os: - debian scope: - functional run: steps:
Here I would like to have my test.Something like: - make - ./home/user/folder/mytest
this looks about right. I assume you realize that this is $HOME inside the large-stable.img.gz that's run in QEMU. Do you have the /home/user/folder there?
milosz
from: inline name: apache-server path: inline/apache-server.yaml
Can you maybe give me a short example on how to do that? I tried using the "inline" keyword, but to no avail.
Best regards,
Emanuel-Vladut Magas
L4B Software, Iasi, Romania E-mail: vladut.m@l4b-software.com
Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users