In lava job definition, boot action can use "connection-namespace" to indicate use previous namespace's connection.Does deploy action have such as "deploy-namespace" to indicate to use previous deploy image?
For example in an application scenario, it need to sequential execution two phases pipeline(deploy,boot,test), it can be solved by define two namespace in job definiton.
When run it executed in serial as : phase1(namespace1) deploy->boot->test -> phase2(namespace2) deploy->boot->test.
If phase2 deploy images(kernel,dtb,rootfs) are exactly same as phase2 deploy images,how to speed up phase2 deploy execution? I guess if deploy action have such as "deploy-namespace" to indicate previous deploy,then phase2 deploy process can be pass.
Before test job,we need to add a "device_type" .jinja2 file to directory /etc/lava-server/dispatcher-config/device-types/,and add a "device" .jinja2 file to /etc/lava-server/dispatcher-config/devices/.
The "device_type" .jinja2 file defines device type(for example different hardware) ,and "device" .jinja2 file(at: /etc/lava-server/dispatcher-config/devices/) defines a concrete device.
When the dispatcher submits job, a job should be submited to a concrete device.But In job defintion file,the description of the related device is only the "device_type" but no "device", why is not "device"?
for example:
# Your first LAVA JOB definition for arm
device_type: arm
job_name: arm pipeline, first job
## why not as:
# Your first LAVA JOB definition for arm
device: arm01
job_name: arm pipeline, first job
https://validation.linaro.org/static/docs/v2/admin-lxc-deploy.html#lxc-depl…
,
It say that LXC devices can run lava tests within a container without
disturbing the dispatcher host.
Does LXC support the arm device? Although LXC may supports to run the arm
virtual machine in PC server,but how does it support the completed arm
device(Including various peripheral interfaces eg ethernet,usb.. ) ?
Because the test job often test various peripheral interfaces,Is LXC
emulating these interfaces?
Hello,
Currently I'm testing a board type which deploys OE via u-boot-ums. Before flashing the image into the device, LAVA slave modifies the image copying tests definition onto it. Once the image is modified with all the tests, this is dd'ed into the device, booted and tests will be running.
This is OK so far but as soon as we enable signed images (roofs will be R/O but we will be having other R/W partitions) this won't work anymore as we are changing the image and it needs to be resigned. Moreover, this is very board specific.
I'm here to investigate alternative solutions which have a more "generic" approach which also a developer (without LAVA) can run. The only assumption is that *the DUT has always wired network connectivity with the SLAVE*.
The workflow I have in mind is something like:
1) I have a signed image which I deploy onto the DUT
2) Boot the DUT
3) Instruct the device to get tests from somewhere (either from the SLAVE or internet)
4) Run those tests
The step I'd like to solve is 3). I was thinking something like that:
* download/compile all I need on the SLAVE (it is not possible to do it on the DUT due to limited resources/libraries/tooling)
* setup some sort of server http on the SLAVE in order to serve those files
* wget those files onto the DUT
* setup and execute the tests.
The above approach should work WITHOUT LAVA as well. Basically, replace SLAVE with "developer computer"
Is it something I can architect with LAVA? Does LAVA give me this flexibility?
Thanks for your help
Regards
--
Diego Russo
Staff Software Engineer - diego.russo(a)arm.com
Direct Tel. no: +44 1223 405920
Main Tel. no: +44 1223 400400
ARM Ltd. CPC1, Capital Park, Cambridge Road, Fulbourn, CB21 5XE, United Kingdom
http://www.diegor.co.uk - http://twitter.com/diegorhttp://www.linkedin.com/in/diegor
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
>On Mon, 8 Oct 2018 at 10:19, Tim Jaacks <tim.jaacks at garz-fricke.com> wrote:
>
>> Hello everyone,
>>
>> is there a detailed description for all the user permissions defined by
>> LAVA? Or where do I find them in the source code?
>>
>
>LAVA currently only has one level of permissions - superuser or not.
>
>There is on custom permission - cancel or resubmit test job.
>
>Everything else comes from Django and is ignored.
>
At least the "Can add test job" permission seems to be evaluated as well. The UI element "Scheduler -> Submit" is available only if this permission is set.
>
>>
>> There are lots of permissions of which I have no idea what they mean, e.g.
>> "Can [add|change|delete] action data". How is this permission used?
>>
>> Mit freundlichen Grüßen / Best regards
>> Tim Jaacks
>> DEVELOPMENT ENGINEER
>> Garz & Fricke GmbH
>> Tempowerkring 2
>> 21079 Hamburg
>> Direct: +49 40 791 899 - 55
>> Fax: +49 40 791899 - 39
>> tim.jaacks at garz-fricke.com
>> www.garz-fricke.com
>> SOLUTIONS THAT COMPLETE!
>>
>> Sitz der Gesellschaft: D-21079 Hamburg
>> Registergericht: Amtsgericht Hamburg, HRB 60514
>> Geschäftsführer: Matthias Fricke, Manfred Garz
>>
>> _______________________________________________
>> Lava-users mailing list
>> Lava-users at lists.linaro.org
>> https://lists.linaro.org/mailman/listinfo/lava-users
>>
>
>
>--
>
>Neil Williams
>=============
>neil.williams at linaro.org
>http://www.linux.codehelp.co.uk/
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL: <http://lists.linaro.org/pipermail/lava-users/attachments/20181008/bf5abb68/…>
Mit freundlichen Grüßen / Best regards
Tim Jaacks
DEVELOPMENT ENGINEER
Garz & Fricke GmbH
Tempowerkring 2
21079 Hamburg
Direct: +49 40 791 899 - 55
Fax: +49 40 791899 - 39
tim.jaacks(a)garz-fricke.com
www.garz-fricke.com
SOLUTIONS THAT COMPLETE!
Sitz der Gesellschaft: D-21079 Hamburg
Registergericht: Amtsgericht Hamburg, HRB 60514
Geschäftsführer: Matthias Fricke, Manfred Garz
>On Mon, 8 Oct 2018 at 10:19, Tim Jaacks <tim.jaacks at garz-fricke.com> wrote:
>
>> Hello everyone,
>>
>> is there a detailed description for all the user permissions defined by
>> LAVA? Or where do I find them in the source code?
>>
>
>LAVA currently only has one level of permissions - superuser or not.
>
>There is on custom permission - cancel or resubmit test job.
>
>Everything else comes from Django and is ignored.
>
Oh thanks, I didn't know that. Is this noted anywhere in the docs?
>
>>
>> There are lots of permissions of which I have no idea what they mean, e.g.
>> "Can [add|change|delete] action data". How is this permission used?
>>
>> Mit freundlichen Grüßen / Best regards
>> Tim Jaacks
>> DEVELOPMENT ENGINEER
>> Garz & Fricke GmbH
>> Tempowerkring 2
>> 21079 Hamburg
>> Direct: +49 40 791 899 - 55
>> Fax: +49 40 791899 - 39
>> tim.jaacks at garz-fricke.com
>> www.garz-fricke.com
>> SOLUTIONS THAT COMPLETE!
>>
>> Sitz der Gesellschaft: D-21079 Hamburg
>> Registergericht: Amtsgericht Hamburg, HRB 60514
>> Geschäftsführer: Matthias Fricke, Manfred Garz
>>
>> _______________________________________________
>> Lava-users mailing list
>> Lava-users at lists.linaro.org
>> https://lists.linaro.org/mailman/listinfo/lava-users
>>
>
>
>--
>
>Neil Williams
>=============
>neil.williams at linaro.org
>http://www.linux.codehelp.co.uk/
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL: <http://lists.linaro.org/pipermail/lava-users/attachments/20181008/bf5abb68/…>
Mit freundlichen Grüßen / Best regards
Tim Jaacks
DEVELOPMENT ENGINEER
Garz & Fricke GmbH
Tempowerkring 2
21079 Hamburg
Direct: +49 40 791 899 - 55
Fax: +49 40 791899 - 39
tim.jaacks(a)garz-fricke.com
www.garz-fricke.com
SOLUTIONS THAT COMPLETE!
Sitz der Gesellschaft: D-21079 Hamburg
Registergericht: Amtsgericht Hamburg, HRB 60514
Geschäftsführer: Matthias Fricke, Manfred Garz
Hello everyone,
is there a detailed description for all the user permissions defined by LAVA? Or where do I find them in the source code?
There are lots of permissions of which I have no idea what they mean, e.g. "Can [add|change|delete] action data". How is this permission used?
Mit freundlichen Grüßen / Best regards
Tim Jaacks
DEVELOPMENT ENGINEER
Garz & Fricke GmbH
Tempowerkring 2
21079 Hamburg
Direct: +49 40 791 899 - 55
Fax: +49 40 791899 - 39
tim.jaacks(a)garz-fricke.com
www.garz-fricke.com
SOLUTIONS THAT COMPLETE!
Sitz der Gesellschaft: D-21079 Hamburg
Registergericht: Amtsgericht Hamburg, HRB 60514
Geschäftsführer: Matthias Fricke, Manfred Garz
The bootloader-commands step breaks into u-boot and begins to issue commands, but some commands are issued prior to receiving the prompt.
I've attempted changing the boot_char_delay, but it doesn't solve the issue.
I'm getting symptoms much like the ones in this thread, except I'm sending space rather than a newline, so the fix is not relevant to me.
https://lists.linaro.org/pipermail/lava-users/2018-May/001069.html
Jeremy Stashluk
Embedded Software Engineer
[cid:image002.jpg@01D45B04.B75D2A40]
Geophysical Survey Systems, Inc.
40 Simon Street * Nashua, NH 03060-3075
603. 893.1109 main * 603.681.2045 direct * 603.889.3984 fax
stashlukj(a)geophysical.com<mailto:stashlukj@geophysical.com> * www.geophysical.com<http://www.geophysical.com/>
Dear users,
I'm looking for a way to detect a possible watchdog in u-boot during a test session.
It happened that on one our test platforms a watchdog was triggered, u-boot restarted, and eventually the test session started. Unless we take a look at every trace of every job, there is a big chance to leave this type of errors undetected.
Do you have any idea on a possible way to handle this in Lava, maybe via device dictionary?
Thanks in advance,
Denis
Hi,
We're using LAVA 2018.5.post1 and we have not been able to log into the web interface since upgrading to this version. The system is running within a docker container. Trying to log in results in a CSRF warning.
The same version of LAVA running on a dedicated debian machine does start working when adding the mentioned lines from this page: https://validation.linaro.org/static/docs/v2/installing_on_debian.html#djan…
Making the same changes to /etc/lava-server/settings.conf within the docker container has no effect on the way the web interface works. It still provides the same errors.
Is there anything else we should do to try to get the web interface to allow logins? I'm not even sure the settings.conf file is being read when restarting the LAVA services, would it appear in one of the logs so that I could search for it?
Thanks for any help you can provide regarding this matter.
Regards,
Jorgen Peddersen
Jorgen Peddersen
Researcher
t +61 2 6103 4700
m
e jorgen.peddersen(a)seeingmachines.com
a 80 Mildura Street, Fyshwick ACT 2609, Australia
SEEINGMACHINES.COM<http://seeingmachines.com>
[SEEINGMACHINES]
This email may contain confidential information. If you are not the intended recipient, destroy all copies and do not disclose or use the information within. Any content that is not concerned with the business of the Seeing Machines Group reflects the views of the sender only, not those of Seeing Machines. No warranties are given that this email does not contain viruses or harmful code. [http://www.seeingmachines.com/wp-content/uploads/2018/04/sm-email-twitter-i…] <https://twitter.com/seeingmachines> [http://www.seeingmachines.com/wp-content/uploads/2018/04/sm-email-linkedin-…] <https://www.linkedin.com/company/258949/>