Using custom tests in the LAVA farm is not documented

Bug #911142 reported by Marcin Juszkiewicz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LAVA Project
Won't Fix
Critical
Unassigned

Bug Description

I have a test which I like to run on LAVA farm. But after checking all documentation available at http://lava.rtfd.org/ I do not see a way to do it.

This part should have documentation cause it may be more and more used by other users. Running tests locally with 'lava-test' is not always possible due to lack of ARM hardware or other use of available one.

Revision history for this message
Zygmunt Krynicki (zyga) wrote :

We should document this in the dispatcher documentation. Alternatively we should have a task-oriented part of the global documentation that focuses on users wanting to use the infrastructure we provide

summary: - Lack of way to submit tests
+ Using custom tests in the LAVA farm is not documented
Changed in lava-project:
status: New → Confirmed
importance: Undecided → Critical
Revision history for this message
Marcin Juszkiewicz (hrw) wrote :

Let me clarify.

I have a test definition locally which I used locally (with lava-test) and it works fine. But from all documentation about lava which I got that on lava farm I can run only your tests (so mine is not possible).

And I plain shell inside of job description (which I would use to skip 'lets find out how to add own test') is not possible.

Revision history for this message
Marcin Juszkiewicz (hrw) wrote :

This test requires extra PPA and 'gcc-linaro' from it.

Revision history for this message
Marcin Juszkiewicz (hrw) wrote :

This is a job definition which adds PPA, installs 'gcc-linaro' from it and then runs test.

Revision history for this message
Marcin Juszkiewicz (hrw) wrote :
Revision history for this message
Marcin Juszkiewicz (hrw) wrote :

For those which find a bug:

The key is to write test and put it somewhere in internet (available by http is best). Then in job description you have to register test:

 {
  "command": "lava_test_install",
  "parameters": {
   "tests": [
    "gcc-linaro-build-test"
    ],
   "register": [
    "http://people.linaro.org/~hrw/lava/job-gcc-linaro-build-test.json"
    ],
    "timeout": 7200
  }
 },

And then you should be able to use it.

Revision history for this message
Ricardo Salveti (rsalveti) wrote :

There's an example for out-of-tree tests at https://wiki.linaro.org/Platform/Validation/LAVA/SubmittingTests, but I agree it'd be good to improve it, explaining better the possible variables and results.

Alan Bennett (akbennett)
Changed in lava-project:
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.