Hi all,
When I try to run a test in lava , hacking session is not starting .
it is exiting by showing:
Using /lava-18
export SHELL=/bin/sh
# export SHELL=/bin/sh
/lava-18/bin/lava-test-runner /lava-18/0
/lava-18/bin/lava-test-runner /lava-18/0
Test shell timeout: 10s (minimum of the action and connection timeout)
export SHELL=/bin/sh
# /lava-18/bin/lava-test-runner /lava-18/0
Illegal instruction
<LAVA_TEST_RUNNER EXIT>
ok: lava_test_shell seems to have completed
end: 3.1 lava-test-shell (duration 00:00:01) [common]
end: 3 lava-test-retry (duration 00:00:01) [common]
start: 4 finalize (timeout 00:10:00) [common]
start: 4.1 power-off (timeout 00:00:05) [common]
end: 4.1 power-off (duration 00:00:00) [common]
my board linux has busybox init system
Please help me resolve the issue.
I've attached the job log below.
Thanks & Regards,
Manoj
Hi everyone,
I'm currently running CTS tests on imx8mq on Android 9.
My test job is based on Linaro's test definition located here :
https://git.linaro.org/qa/test-definitions.git/tree/automated/android/trade…
I had issue concerning the Java heap size, causing the test to abort and
skip a lot of tests.
So, I cloned this git tree and made modifications in "tradefed.sh" :
export _JAVA_OPTIONS="-Xmx350M"
replaced by :
export _JAVA_OPTIONS="-Xmx700M"
Since this modification, I'm able to run the full CTS 9.
So, I think you should consider modify this script, so other users
can benefit from it.
Best regards,
Axel
Hi all,
In Tftp deploy , How to give new set of u-boot bootargs by modifying device
configuration file?
I've tried by giving:
{% set base_kernel_args = "setenv bootargs console=serial1,115200
console=tty1 root=/dev/ram0 ip=dhcp rootwait" %}
But it is not taking these args.
Please suggest the modifications I have to make.
Thanks and regards,
Manoj
Hi Neil,
When LAVA start container from image for the first time(usually docker run ), if failed, it will bring a zoobie container.
And I found that LAVA did not check whether LAVA run is OK, and has no dead container cleanup method.(maybe I was wrong).
Does LAVA have some method to prevent it or do you think it is necessary?
Best Regards
Li Xiaoming
Hi all,
During send-reboot-commands phase in Health check on my raspberry pi 3
board,
LAVA is trying to match the keyword "The system is going down for reboot
NOW" after sending the reset command "reboot -n" to the DUT.
But the problem is when my board starts Reboot it shows "Started Show
Plymouth Reboot Screen .." , not the same as what LAVA want.
So is there any way to specify the keywords to what it should be("Started
Show Plymouth Reboot Screen" or something) in the corresponding DUTs jinja2
file?
I've attached the reslult log of my test below.
Regards,
Manoj
Hi everyone,
I have some troubles to log in my Web UI. I type the good password and
username and then the website sends me back to the home page. If I type a
wrong password, I get an error message. It does the same thing for all user
accounts. Tried to restart lava services, apache2 but it's still doing the
same thing. No error messages returned in logs.
Best regards,
Axel Le Bourhis
Hi all,
When health check is running on my raspberry pi 3 board , in boot phase it
is
taking default soft reboot commands like reboot , reboot -n , reboot -nf.
which is not working with
U-boot boot type. It is showing unknown command ' reboot' .
How to set soft reboot command manually in test job definition?
Thanks & regards,
Manoj
Hi everyone,
I got an issue using LAVA today. After trying to load a job page, LAVA
crashed returning PROXY ERROR. I tried to restart lava-master, lava-slave
and lava-server-gunicorn services without success. The django.log returns
an error about django tables2, saying it can't find the module. I'm running
LAVA 2018.10.
See attached log for more precision.
Best regards,
Axel Le Bourhis
Ok i'll keep that in mind.
To mailing list : I confirm this solution fixed the issue.
Kind regards,
Axel
On Tue, 6 Nov 2018 at 16:55, Neil Williams <neil.williams(a)linaro.org> wrote:
> Yes, please always include the mailing list in replies. When people do
> search for help in the list archives, it is frustrating to find the
> question without the solution - or even just a confirmation that the
> reply worked.
> On Tue, 6 Nov 2018 at 15:47, Axel Lebourhis <axel.lebourhis(a)linaro.org>
> wrote:
> >
> > Thank you for the clarification. I've been able to fix the problem
> thanks to your help.
> >
> > Just a quick question : should I reply including the mailing list ?
> >
> > Regards,
> > Axel
> >
> > On Tue, 6 Nov 2018 at 16:08, Neil Williams <neil.williams(a)linaro.org>
> wrote:
> >>
> >> On Tue, 6 Nov 2018 at 14:59, Axel Lebourhis <axel.lebourhis(a)linaro.org>
> wrote:
> >> >
> >> > Hi everyone,
> >> >
> >> > I just upgraded NXP's installation for DRM team from 2018.4 to
> 2018.10.
> >> > I changed my default LXC folder for storage purpose and when I was at
> 2018.4, there was a constant.py file in
> /usr/lib/python3/dist-packages/lava_dispatcher/utils in order to make LAVA
> know where are located LXC containers.
> >>
> >> Avoid making code changes for these kinds of settings. Constants and
> >> settings can be modified in configuration files. There is no need to
> >> alter anything in /usr/lib/python3/dist-packages/lava* - any change
> >> there will always be undone at the next package upgrade.
> >>
> >>
> https://git.lavasoftware.org/lava/lava/blob/master/etc/dispatcher.yaml#L13
> >>
> >> So on a per-worker basis, you can set the LXC_PATH
> >>
> >> This support is covered under simple administration in the LAVA help:
> >>
> https://master.lavasoftware.org/static/docs/v2/simple-admin.html#lava-server
> >>
> >> In 2018.10 release, this file doesn't exist anymore, so I'd like to
> >> know how I can specify to LAVA the correct path to LXC containers.
> >> >
> >> > Best regards,
> >> > Axel Le Bourhis
> >> >
> >> > _______________________________________________
> >> > Lava-users mailing list
> >> > Lava-users(a)lists.lavasoftware.org
> >> > https://lists.lavasoftware.org/mailman/listinfo/lava-users
> >>
> >>
> >>
> >> --
> >>
> >> Neil Williams
> >> =============
> >> neil.williams(a)linaro.org
> >> http://www.linux.codehelp.co.uk/
>
>
>
> --
>
> Neil Williams
> =============
> neil.williams(a)linaro.org
> http://www.linux.codehelp.co.uk/
>
Hi everyone,
I just upgraded NXP's installation for DRM team from 2018.4 to 2018.10.
I changed my default LXC folder for storage purpose and when I was at
2018.4, there was a constant.py file in
/usr/lib/python3/dist-packages/lava_dispatcher/utils in order to make LAVA
know where are located LXC containers. In 2018.10 release, this file
doesn't exist anymore, so I'd like to know how I can specify to LAVA the
correct path to LXC containers.
Best regards,
Axel Le Bourhis
Hello,
I am having an issue adding a health-check job for a device-type using the API. I have tried doing so using both lavacli and through a python script using the xml-rpc client, but both times I get the following error:
With lavacli:
Unable to call 'device-types.health-check': <Fault 400: 'Unable to write health-check: Permission denied'>
With the python script:
Traceback (most recent call last):
File "./API.py", line 9, in <module>
server.scheduler.device_types.set_health_check("r8a7743-iwg20d-q7-dbcm-ca","r8a7743-iwg20d-q7-dbcm-ca.yaml")
File "/usr/lib/python3.5/xmlrpc/client.py", line 1092, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python3.5/xmlrpc/client.py", line 1432, in __request
verbose=self.__verbose
File "/usr/lib/python3.5/xmlrpc/client.py", line 1134, in request
return self.single_request(host, handler, request_body, verbose)
File "/usr/lib/python3.5/xmlrpc/client.py", line 1150, in single_request
return self.parse_response(resp)
File "/usr/lib/python3.5/xmlrpc/client.py", line 1322, in parse_response
return u.close()
File "/usr/lib/python3.5/xmlrpc/client.py", line 655, in close
raise Fault(**self._stack[0])
xmlrpc.client.Fault: <Fault 400: 'Unable to write health-check: Permission denied'>
The user I use to authenticate the xml-rpc client has superuser privileges and I have tried using a number of different API functions (including ones which require superuser privileges like device-types add and devices add), all of which have worked with both lavacli and the python script.
I have also made sure that the name of the healthcheck file matches the device-type.
Has anyone else encountered this issue?
Thanks,
Patryk
Renesas Electronics Europe Ltd, Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, UK. Registered in England & Wales under Registered No. 04586709.
Hi all,
I've installed lava-docker from
https://github.com/kernelci/lava-docker
but I'm little confused about adding devices and device-types to it .
As described in the link above , i've edited boards.yaml file and added the
board name as follows
masters:
- name: master1
host: local
users:
- name: admin
token: longrandomtokenadmin
password: admin
superuser: yes
staff: yes
tokens:
- username: admin
token: dfjdfkfkdjfkdsjfsl
description: no description
slaves:
- name: lab-slave-0
host: local
remote_master: master1
remote_user: admin
boards:
- name: bcm2837-rpi-3-b-01
type: bcm2837-rpi-3-b
uart:
idvendor: 0x0403
idproduct: 0x6001
serial: A904MHLH
after I built docker image and ran it.
i'm getting following error while loading docker images
Removing local_lab-slave-0_1
local_master1_1 is up-to-date
Recreating 5b8d2c91c519_local_lab-slave-0_1 ... error
ERROR: for 5b8d2c91c519_local_lab-slave-0_1 Cannot start service
lab-slave-0: linux runtime spec devices: error gathering device information
while adding custom device "/dev/bcm2837-rpi-3-b-01": lstat
/dev/bcm2837-rpi-3-b-01: no such file or directory
ERROR: for lab-slave-0 Cannot start service lab-slave-0: linux runtime
spec devices: error gathering device information while adding custom device
"/dev/bcm2837-rpi-3-b-01": lstat /dev/bcm2837-rpi-3-b-01: no such file or
directory
help me resolve this issue.
Thanks,
Manoj
Hello Lava-users,
I am trying to run some test suites in LAVA and my test suite is organized
as below
-single script with multiple test cases
-want to have report the results from LAVA of all test cases
-don't want to depend on the return value of script which will make as test
case as PASS or FAIL
Developing test suites in shell script and using sh-test-lib and attached
is sample test script for reference.
Want to report the result of iptable_packageCheck_test and
iptable_kernel_config_test separately in LAVA framework and will be having
single script for both the test cases.
Based on above criteria which is best method of running the test script in
LAVA.Referred
https://validation.linaro.org/static/docs/v2/developing-tests.html
Following is the content of LAVA Test Shell Definition I am using
metadata:
name: applications
format: "Lava-Test-Shell Test Definition 1.0"
description: "Application tests."
os:
- debian
scope:
- Functional
environment:
- lava-test-shell
run:
steps:
- cd /opt/applications
- ./cron.sh
- ./iptable.sh
- . ../utils/send-to-lava.sh output/result.txt
Thanks,
Hemanth.
Hello,
Is there a way to overwrite the SERVER_IP variable either in the LAVA environment or in the device-types template/device dictionary? https://lava.ciplatform.org/static/docs/v2/migrating-admin-example.html?hig…
No matter what I do, it remains in the rendered yaml file for a device. Unfortunately, the IP it picks up for the environment I'm working is wrong, as I'm running LAVA within a docker-container and it picks up the IP of the container, but the tftp server (within docker) is proxified to the host, meaning that the IP address it needs to pick up is the host's IP. Hence my question, is there a way to overwrite it so that the desired IP appears in the rendered job submission yaml?
Thanks,
Patryk
Renesas Electronics Europe Ltd, Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, UK. Registered in England & Wales under Registered No. 04586709.
Hello,
When trying to use lavacli to add a remote worker, it works fine if
the user is a superuser. However, if I drop the superuser privileges
and add just the privileges for adding workers, it fails with:
Unable to call 'workers.add': <Fault 403: "User 'testuser' is not superuser."
we even tried enabling all the permissions for that user, but leaving
the superuser flag off, and it still fails.
Why does this require superuser and the specific permissions related
to workers don't work?
Kevin
Hi,
I made a first attempt to add REST API for some LAVA objects (jobs,
devices and device types). The API is very rudimentary but already
solves some basic job filtering issues. However I'm not sure how to
add dependencies. There are 2 packages required for this code to work
properly. Pip packages are named 'djangorestframework' and
'djangorestframework-filters'. Former has a corresponding debian
package 'python3-djangorestframework' but the later does not. Any
hints how to add proper dependencies to LAVA?
The code can be found here:
https://git.lavasoftware.org/mwasilew/lava/tree/rest_api
milosz
Hello,
I am looking for a suitable method for the following use-case: during test,
I need to access the connection to the workstation that runs my LAVA worker
and use it as a second namespace in order to be able to issue some commands
on the the workstation (like playing an audio file). In other words I need
to integrate the workstation as an auxiliary device needed for testing in
the test job definition (like ssh <user>@<ws_ip_addr> and send some
commands). Using LXC is not an option at this moment.
At a first sight, the Multinode support would have the most of the needed
features, but I did not find an example of such an usage, if there is any
example you can point me to, I will be grateful.
Thank you in advance,
Oana Ercus
Hello everyone,
is there a way of setting tags for existing devices via the command line? The "lava-server manage devices update" command does not have a "--tags" parameter, as the "lava-server manage devices add" has.
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
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/>
Hi everyone,
I'm a newbie to LAVA, so this may be a stupid question, but I have no idea
how to fix this issue.
I am using a device for which I enabled the usage of the second serial port
as described in the example beaglebone-black job with a second serial port
- it seems that the configuration works fine, I was able to enable the
secondary connection.
The problem is the following: the second serial port connects to a
different shell, which at this moment is used for freeRTOS application, and
its prompt ("SHELL>>") is different of the primary connection prompt which
is used for Linux("root@imx8mqevk"). When trying to actually run some
commands on freeRTOS, I get timeout error and I have no idea how to fix it.
I attached to this e-mail my test job definition, together with the log and
the snip from my web.
Thanks in advance for your support,
Oana
[image: image.png]
[image: image.png]
Hi,
As far as I could figure out - the uboot environment server ip is set in the base_uboot_dhcp_command in base-ubooy.jinja2. The value of SERVER_IP seems to be set somehow within lava. And it looks if it's not possible to overide it in the device dictionary, isn't it?
Is there a way to change the value of SERVER_IP?
Thanks in advance.
Best regards,
Thomas Klaehn
Senior Software Engineer
u-blox Berlin GmbH
Rudower Chaussee 9
DE-12489 Berlin
Phone +49 30 55573 1032
Mobile +49 151 23990904
www.u-blox.com<http://www.u-blox.com/>
locate.communicate.accelerate
follow us on twitter<https://twitter.com/ublox> | subscribe to our youtube channel<https://www.youtube.com/c/ublox1> | follow us on linkedin<https://www.linkedin.com/company/u-blox> | connect with us on facebook<https://www.facebook.com/ublox1> | follow us on google+<https://plus.google.com/+ublox1>
u-blox Berlin GmbH
CEO (Geschäftsführer): Daniel Ammann
Registered: Berlin HRB 164301 B
This message contains confidential information intended only for the use of the addressee(s) and may be legally privileged. If you are not the intended recipient, you are hereby notified that any use, dissemination, or reproduction is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return email and destroy all copies of the original message.
All suggestions, recommendations, or other comments contained in this email are provided as a courtesy only. We do not assume any responsibility or liability for the correctness of the information contained in the email.
Hi Neil,
thanks for your quick and direct feedback and please excuse my incautiousness. Being a software developer, I am still new to admin stuff and don't have much experience in hosting servers.
The "flush" command is documented in the help text of "lava-server manage". From the information there it seemed as if "lava-server manage dumpdata" would create a dump of the database (which it did) and that I might be able to restore it with "lava-server manage loaddata" (which I couldn't) if the flush would not do what I expected.
However, the database in that installation was not important at all, I spent some time experimenting with LAVA on this machine and just wanted to have a clean database for starting production use. I assumed there should be an easy way to achieve this.
With your help, I was able to reset my LAVA database using the following commands:
sudo apt-get purge lava-server
sudo rm -rf /etc/lava-server/
sudo rm -rf /var/lib/lava-server/
sudo pg_dropcluster 9.6 main --stop
sudo pg_createcluster 9.6 main --start
sudo apt-get install lava-server
Thanks for pointing me to the backup topic, I will address that in my next step.
Cheers,
Tim
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 way to reset the LAVA database to the state of a fresh installation? From the docs I thought that "lava-server manage flush" command would do that. However, there are some things missing afterwards, e.g. the lava-health user and the master worker. Any hints on how to repair this? Re-installing lava-server did not help.
Mit freundlichen Grüßen / Best regards
i.A. Tim Jaacks
Software Engineering
Garz & Fricke GmbH
Tempowerkring 2, 21079 Hamburg - Germany
Amtsgericht Hamburg HRB 60514
Geschäftsführer: Manfred Garz, Matthias Fricke
Phone: +49 40 791899 - 55
Fax: +49 40 791899 – 39
tim.jaacks(a)garz-fricke.com
www.garz-fricke.com
Hello to Linaro developers,
Recently I have learned that Linaro has developed its own tool to build
Embedded Debian-based system images.
I am very interested in this work/this tool. So I have some questions
regarding this domain.
[1] Do you have published this tool on the Open Source?
[2] If YES, what are the web pointers to it, and the docs I can read and
get familiar with the process?
[3] Does it include scripts to enhance initramfs (the technology Linaro
uses to do that), and where are the locations to read about it?
[4] You name it (if I miss something, please, feel free to fill the gaps)!
I use (almost always) YOCTO based build tool to create initramfses to test
upon them (you know this already if you read my recent emails to this list).
But I would like to have alternative method, and Linaro tool seems
excellent one as alternative, for many reasons.
Thank you in advance,
Zoran Stojsavljevic
_______
Lava xml-rpc notification machnism, criteria.status indicates which event can be notified to user (by hook callback). But the criteria.status only has such as "Complete Incomplete,Canceled,finished" events. Why the lava is not designed a machnism that notify user when only a test case is complete(err..),if so that user has more rights to control test process execution.
hi all
i add a worker to master from the slave container by lavacli..,
But the worker is offline in the localhost:10080 web .
Master and slave can ping each other sucessfully.
any guy konw why?
THX
https://validation.linaro.org/static/docs/v2/glossary.html#term-multinodehttps://validation.linaro.org/static/docs/v2/multinode.html
it said "A single test job which runs across multiple devices".
I still don't quite understandt the purpose of MultiNode. Is that mean
that a single test job's all test cases are parallel executed
simultaneously on multiple devices?
For example it have 10 test cases and 5 devices, when job is running,
firstly the former 5 cases is distributed to 5 devices and parallel run
(case 1 is run on device 1,case 2 is run on device 2,... device 5 is run on
device 5). When a case is end(suppose case 2) ,then case 6 is scheduled to
run on device 2... and so on.Is my understanding correct?
I want to implement a function: When a test case in job is crush or return err(no zero), the job can be rescheduled(or resubmit). Does it need to write own event notification? Need monitor "job Incomplete" action?
In addition, according to lava xmlrpc doc, I input command in lava server console: python zmq_client.py -j 121 --hostname tcp://127.0.0.1:5500 -t 1200 .The was error :
....
File "/usr/lib/python2.7/httplib.py", line 821, in connect
self.timeout, self.source_address)
File "/usr/lib/python2.7/socket.py", line 557, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
In lava website,it is lack the documents on how to build multiple remote slave test system.For example,if our system has a lot of test devices.
What are the general design principles about how to plan to deploy remote workers, how many dut connect to one worker,etc.
Is there any background knowledges about multiple slave and multiNode?
The board has usb serial, it connected to computer running dispatcher. On dispatcher computer that usb serial device name is /dev/ttyUSB0 .
How to configure usb serial in device .jinja2 file?
Hello Lava users,
Do you have any example or advice to share on a way to measure boot time using Lava?
Let's say that I use u-boot, a minimal boot for a device running Linux, and I want to measure the time spent between Power On (pdu-reboot e.g) and Linux prompt.
Best regards,
Denis
Hi Team,
Do you know how to fix below issue when I trigger one LAVA job on LAVA V2 server?
Traceback (most recent call last):
File "trigger.py", line 184, in <module>
main(sys.argv[1:])
File "trigger.py", line 174, in main
lava_bn = lava_server.submit_job(lava_jd)
* File "trigger.py", line 52, in submit_job*
return self._server.scheduler.submit_job(job_data)
File "/usr/lib/python3.5/xmlrpc/client.py", line 1092, in _call_
return self._send(self._name, args)
File "/usr/lib/python3.5/xmlrpc/client.py", line 1432, in __request
verbose=self.__verbose
File "/usr/lib/python3.5/xmlrpc/client.py", line 1134, in request
return self.single_request(host, handler, request_body, verbose)
File "/usr/lib/python3.5/xmlrpc/client.py", line 1150, in single_request
return self.parse_response(resp)
File "/usr/lib/python3.5/xmlrpc/client.py", line 1322, in parse_response
return u.close()
File "/usr/lib/python3.5/xmlrpc/client.py", line 655, in close
raise Fault(**self._stack[0])
xmlrpc.client.Fault: <Fault -32603: 'Internal Server Error (contact server administrator for details): relation "lava_scheduler_app_build" does not exist\nLINE 1: ...number", "lava_scheduler_app_build"."branch" FROM "lava_sche...\n
Best Regards
Zhanghui Yuan
OTC Production Kernel Integration Test
Refer to https://validation.linaro.org/scheduler/job/1890179,I had run a test case in real board successfully
The nfsrootfs image is too big ,it took too many download time in every test. So I put kernel nfs and dtb image files on tftp server, then delete deploy action and add a few boot action commands to specify tftp addr... The parameters(login_prompt&usrname&prompts) of the boot action are same with success version(has deploy action):
...
- boot:
connection: telnet localhost 7000
method: u-boot
##note the fellow commands lines is new added,the success version(has deploy action)that commands line is only "commands:nfs"
commands:
- setenv serverip 192.168.1.5
- tftp 0x8...0000 zImage_arm_1
- tftp 0x4...0000 dtb_arm_1
- setenv nfsroot rootfs_1
- boot
auto_login:
login_prompt: "arm login:"
username: root
prompts:
- root@arm:~#
timeout:
minutes: 3
...
After job submited,the log display that kernel startup and rootfs mount ok, but it always failed at login error.
error log lines:
err info:lava-test-shell: Wait for prompt ['root@arm:~#', 'Login incorrect', 'Login timed out', 'lava-test: # '] (timeout 00:05:00)
Nothing to run. Maybe the 'deploy' stage is missing, otherwise this is a bug which should be reported.
In addition, does the uboot prompts(u-boot=>) no need to describe in boot action section? In other words the prompts auto_login is only described for kernel?
Lava document contains content of how to add simple qemu devices and how to write its job define. But it does not contain how to add real machine device and how to write its test job like uboot image and linex kernel specifications,etc.
Is there any document on how to step by step to build real machine testing?
I have an important question neet to clarify.
For exampe when I manunl boot kernel by uboot, once board startup and into uboot interactive environment, I manual input follow command as:
setenv image zImage_mx....
setenv nfsroot /rootfs/rootfs001....
...
if I whan to dispatcher to boot the board kernel, I need write job definition,Is it written like this?:
boot:
# list of boot methods which this device supports.
methods:
- u-boot:
parameters:
...
oe:
commands:
- setenv image zImage_mx....
- setenv nfsroot /rootfs/rootfs001....
Through web admin interface,I had added qemu device,and web devices list can display qemu device. It seems qemu device had startuped ok.
We know that if linux device startup successfully it must included uboot and kernel image. But where are the uboot image and kernel image of qemu ? In which config file is described the path of uboot and kernel image?