Hi folks,

I'm struggling to create a working multinode job and wondered if someone could help?

Here's the sample job I've submitted to try to get a handle on how multinode works:

    https://validation.linaro.org/scheduler/job/1963418.1#L1745

The main problem happens when LAVA executes this command on the shell:

    /lava-1963419/bin/lava-test-runner /lava-1963419/1

But there is no "/lava-1963419/1" directory, so then it can't find lava-common-functions and fails like this because the path is relative to a path that doesn't exist:

    /lava-1963419/bin/lava-test-runner: line 18: /lava-1963419/1/../bin/lava-common-functions: No such file or directory

When I run a similar definition on a single node, it uses zero for the lava sub-dir, not 1, and it works:

    https://validation.linaro.org/scheduler/job/1963236#L2065

I tried to work out what was running here, to see if I could debug the scripts to work out where the "1" comes from. I cloned the LAVA repo and I cannot see the script "environment", and the lava-test-runner sources lava-common-functions from line 16, not 18. So now I'm curious where LAVA gets its scripts from.

Another minor point, I'm following the instructions on this link:

    https://docs.lavasoftware.org/lava/writing-multinode.html

And there are some dead links in there, eg.

    https://docs.lavasoftware.org/lava/examples/test-jobs/first-multinode-job.yaml
    https://docs.lavasoftware.org/lava/examples/test-jobs/second-multinode-job.yaml
    https://docs.lavasoftware.org/lava/examples/test-jobs/bbb-lxc-ssh-guest.yaml

Thanks,
Ryan.