Dear all,

 

This is my first post on the mailing list, I hope I’m at the right place.

 

Using Lava V2, I’m trying to install packages in the DUT following the guidelines from

https://validation.linaro.org/static/docs/v2/writing-tests.html#test-definition-yaml

 

My job looks like this:

 

metadata:

            (…)

install:

  sources:

    - http://<local_network_package_server>/sti

    - http:// <local_network_package_server>/all

    - http:// <local_network_package_server>/cortexa9hf-neon

  deps:

    - python-pytest

    - python-lxml

    - packagegroup-core-buildessential*

 

run:

  steps:

    - step1

    - step2

 

parse:

    pattern:  "^(?P<test_case_id>\\w+) RESULT:(?P<result>(pass|fail|unknown))"

    fixupdict:

      FAILED: fail

      SUCCESS: pass

      ABORTED: unknown

 

 

Running this test, I get the following error:

<LAVA_TEST_RUNNER>: started<LAVA_TEST_RUNNER>: looking for work in /lava-3715/0/lava-test-runner.conf-1484266027

<LAVA_TEST_RUNNER>: running 0_TC_BENCH_DISK_AIO_STRESS under lava-test-shell...

<LAVA_TEST_RUNNER>: running 0_TC_BENCH_DISK_AIO_STRESS installer ...

/lava-3715/0/tests/0_TC_BENCH_DISK_AIO_STRESS/install.sh: line 5: lava-add-sources: command not found

/lava-3715/0/tests/0_TC_BENCH_DISK_AIO_STRESS/install.sh: line 6: lava-add-sources: command not found

/lava-3715/0/tests/0_TC_BENCH_DISK_AIO_STRESS/install.sh: line 7: lava-add-sources: command not found

Error: OPKG package manager not found in the path.

 

It seems lava-add-sources is not copied to the target. Do I understand the log correctly?

 

Best regards,

 

Denis