Hello,
I said "lava-master" and not "lava-server".
Le mar. 19 nov. 2019 à 11:56, Klaas Schulze-Dieckhoff <
K.Schulze-Dieckhoff(a)sonnen.de> a écrit :
> Hello Remi,
>
>
>
> yes it is visible, the first command-line output I showed in the original
> message was from inside the lava-server container. I also played around
> with the ownership of the file since it is a problem for devices/* and
> health-check/* files (they must be lavaserver:lavaserver). But this didn’t
> help…
>
>
>
> Thanks
>
> Klaas
>
>
>
> *Von:* Remi Duraffort <remi.duraffort(a)linaro.org>
> *Gesendet:* Dienstag, 19. November 2019 11:09
> *An:* Klaas Schulze-Dieckhoff <K.Schulze-Dieckhoff(a)sonnen.de>
> *Cc:* lava-users(a)lists.lavasoftware.org
> *Betreff:* Re: [Lava-users] dispatcher_config not parsed
>
>
>
> Hello,
>
>
>
> is the configuration file
> (/etc/lava-server/dispatcher.d/<hostname>/dispatcher.yaml) visible from the
> master container?
>
>
>
> In the docker-compose setup, each service is running in a specific
> container so the configuration files should be set carefully.
>
>
>
>
>
> Rgds
>
>
>
> Le mar. 19 nov. 2019 à 09:25, Klaas Schulze-Dieckhoff <
> K.Schulze-Dieckhoff(a)sonnen.de> a écrit :
>
> Hi all,
>
>
>
> I am running lava using docker-compose. Additional to the official
> docker-compose.yaml I added and FTP and NFS container. For testing my setup
> I am trying to test a beaglebone black.
>
> In order to load dtb and kernel uboot needs to know the IP of the FTP /
> NFS server. I added the IP in the following two ways:
>
>
>
> server:
>
> root@1a010c2f736b:/# cat
> /etc/lava-server/dispatcher.d/lava-dispatcher.yaml
>
> dispatcher_ip: <server ip addr>
>
>
>
> dispatcher:
>
> root@075e2deb4c34:/# cat /etc/lava-dispatcher/lava-slave
>
> [....]
>
> NFS_SERVER_IP="<server-ip-addr> "
>
>
>
> The hostname of the dispatcher is `lava-dispatcher`. But, when the
> health-check is running it will always run `setenv serverip
> <ip-of-docker-container>.
>
> I also tried various variants of setting the dispatcher configuration
> (./dispatcher.d/<hostname>/dispatcher.yaml,
> ./dispatcher.d/<hostname>/env.yaml). No matter what I do lava persists to
> take the IP of the docker-container.
>
>
>
> According to ` server/management/commands/lava-master.py` line 465 at
> least one of the variants should word,
>
>
>
> I would appreciate some hints how to fix this!
>
>
>
> Thanks
> Klaas
>
>
>
> Geschäftsführer: Christoph Ostermann (CEO), Oliver Koch, Steffen
> Schneider, Hermann Schweizer, Tim Ulbricht.
> Amtsgericht Kempten/Allgäu, Registernummer: 10655, Steuernummer
> 127/137/50792, USt.-IdNr. DE272208908
>
> _______________________________________________
> Lava-users mailing list
> Lava-users(a)lists.lavasoftware.org
> https://lists.lavasoftware.org/mailman/listinfo/lava-users
>
>
>
>
> --
>
> Rémi Duraffort
>
> LAVA Architect
>
> Linaro
>
> Geschäftsführer: Christoph Ostermann (CEO), Oliver Koch, Steffen
> Schneider, Hermann Schweizer, Tim Ulbricht.
> Amtsgericht Kempten/Allgäu, Registernummer: 10655, Steuernummer
> 127/137/50792, USt.-IdNr. DE272208908
>
--
Rémi Duraffort
LAVA Architect
Linaro
Hi all,
I am running lava using docker-compose. Additional to the official docker-compose.yaml I added and FTP and NFS container. For testing my setup I am trying to test a beaglebone black.
In order to load dtb and kernel uboot needs to know the IP of the FTP / NFS server. I added the IP in the following two ways:
server:
root@1a010c2f736b:/# cat /etc/lava-server/dispatcher.d/lava-dispatcher.yaml
dispatcher_ip: <server ip addr>
dispatcher:
root@075e2deb4c34:/# cat /etc/lava-dispatcher/lava-slave
[....]
NFS_SERVER_IP="<server-ip-addr> "
The hostname of the dispatcher is `lava-dispatcher`. But, when the health-check is running it will always run `setenv serverip <ip-of-docker-container>.
I also tried various variants of setting the dispatcher configuration (./dispatcher.d/<hostname>/dispatcher.yaml, ./dispatcher.d/<hostname>/env.yaml). No matter what I do lava persists to take the IP of the docker-container.
According to ` server/management/commands/lava-master.py` line 465 at least one of the variants should word,
I would appreciate some hints how to fix this!
Thanks
Klaas
Gesch?ftsf?hrer: Christoph Ostermann (CEO), Oliver Koch, Steffen Schneider, Hermann Schweizer, Tim Ulbricht.
Amtsgericht Kempten/Allg?u, Registernummer: 10655, Steuernummer 127/137/50792, USt.-IdNr. DE272208908
Hi all,
I am trying to run a lava-lab with the official docker-compose.yml.
When running a health-check on a qemu-device it fails because libguestfs can't find a kernel inside /boot. (There is already a discussion running on the libguestfs-mailing list).
But I think the underlying problem is, that there is really no kernel inside /boot of my lava-dispatcher container:
#:~/linaro_lava/docker-compose$ docker-compose exec lava-dispatcher bash
root@8b5507bd355a:/# ls -al /boot
total 4124
drwxr-xr-x 6 root root 129 Oct 1 10:35 .
drwxr-xr-x 57 root root 4096 Nov 5 06:04 ..
drwxr-xr-x 2 root root 3 Oct 1 10:34 androidboot
drwxr-xr-x 2 root root 3 Apr 25 2018 efi
drwxr-xr-x 2 root root 3 Oct 1 10:34 grub
lrwxrwxrwx 1 root root 28 Oct 1 10:34 initrd.img-core -> initrd.img-core-0.7.43+ppa27
-rw-r--r-- 1 root root 4218483 Oct 1 10:34 initrd.img-core-0.7.43+ppa27
drwxr-xr-x 2 root root 3 Oct 1 10:34 uboot
Since /boot is mounted into the docker-container inside docker-compose.yml I would expect it to have the same content the on my host, which is not the case:
#:~/linaro_lava/docker-compose$ ls -al /boot
total 68300
drwxr-xr-x 4 root root 4096 Oct 30 08:17 .
drwxr-xr-x 24 root root 4096 Oct 30 08:14 ..
-rw------- 1 root root 4064684 Oct 1 03:02 System.map-4.15.0-66-generic
-rw-r--r-- 1 root root 217362 Oct 1 03:02 config-4.15.0-66-generic
drwxr-xr-x 3 root root 4096 Jan 1 1970 efi
drwxr-xr-x 5 root root 4096 Nov 4 15:26 grub
-rw-r--r-- 1 root root 57266820 Oct 30 08:17 initrd.img-4.15.0-66-generic
-rw------- 1 root root 8363672 Oct 1 03:05 vmlinuz-4.15.0-66-generic
Why can these both directories be different?
I would really appreciate if somebody can help me out here!
Thanks
Klaas
Geschäftsführer: Christoph Ostermann (CEO), Oliver Koch, Steffen Schneider, Hermann Schweizer, Tim Ulbricht.
Amtsgericht Kempten/Allgäu, Registernummer: 10655, Steuernummer 127/137/50792, USt.-IdNr. DE272208908
Hello,
We are using RPi3 B/B+ in our infrastructure and the latest uboot changed his behaviour in case of error.
In our case we have a kernel and DTB but we don’t have the ramdisk. Despite this, LAVA tries the tftp command for the RAMDISK but the 2 versions have different errors.
With uboot 2019.07 this is what happens:
tftp - {RAMDISK}
U-Boot> tftp - {RAMDISK}
bootloader-commands: Wait for prompt ['U-Boot>', 'Resetting CPU', 'Must RESET board to recover', 'TIMEOUT', 'Retry count exceeded', 'Retry time exceeded; starting again', 'ERROR: The remote end did not respond in time.', 'Bad Linux ARM64 Image magic!', 'Wrong Ramdisk Image Format', 'Ramdisk image is corrupt or invalid', 'ERROR: Failed to allocate', 'TFTP error: trying to overwrite reserved memory'] (timeout 00:04:08)
tftp - {RAMDISK}
lan78xx_eth Waiting for PHY auto negotiation to complete...... done
Using lan78xx_eth device
TFTP from server 192.168.130.111; our IP address is 192.168.130.138
Filename '{RAMDISK}'.
Load address: 0x0
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
Uboot 2019.10 has a different behaviour and throws a different error:
tftp - {RAMDISK}
U-Boot> tftp - {RAMDISK}
bootloader-commands: Wait for prompt ['U-Boot>', 'Resetting CPU', 'Must RESET board to recover', 'TIMEOUT', 'Retry count exceeded', 'Retry time exceeded; starting again', 'ERROR: The remote end did not respond in time.', 'Bad Linux ARM64 Image magic!', 'Wrong Ramdisk Image Format', 'Ramdisk image is corrupt or invalid', 'ERROR: Failed to allocate', 'TFTP error: trying to overwrite reserved memory'] (timeout 00:04:12)
tftp - {RAMDISK}
lan78xx_eth Waiting for PHY auto negotiation to complete...... done
Using lan78xx_eth device
TFTP from server 192.168.130.111; our IP address is 192.168.130.138
Filename '{RAMDISK}'.
TFTP error: trying to overwrite reserved memory...
matched a bootloader error message: 'TFTP error: trying to overwrite reserved memory' (11)
At this point LAVA fails the job because it matches the error message.
What's the best way to solve the issue. How can I tell LAVA not to deal with the RAMDISK at all?
Thanks
--
Diego Russo | Staff Software Engineer | Mbed Linux OS
ARM Ltd. CPC1, Capital Park, Cambridge Road, Fulbourn, CB21 5XE, United Kingdom
http://www.diegor.co.uk - https://os.mbed.com/docs/mbed-linux-os/
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.
Hello!
I'm trying to flash via special tool, which is not implemented in lava. I did it successfully by editing device dictionary.
Next want to use pre power command. That's why I use lxc. But how trigger protocol to use it?
It doesnt work:
- deploy:
namespace: target
timeout:
minutes: 20
to: flasher
images:
flash_dir:
url: file:///opt/image.zip
os: oe
protocols:
lava-lxc:
- action: flasher-deploy
request: pre-power-command
Ilya
Hi Milosz,
Thanks for the reply.
I will try to get the eth008 if possible , otherwise i will try to make use
of TFTP or u-boot methods to run the test job on STM32mp157c-dk2.
Thanks & Regards,
Dhanunjaya. P
On Mon, Nov 11, 2019 at 4:57 PM Milosz Wasilewski <
milosz.wasilewski(a)linaro.org> wrote:
> On Mon, 11 Nov 2019 at 11:07, dhanu msys <dhanuskd.palnati(a)gmail.com>
> wrote:
> >
> > Hi Milosz,
> >
> > Really Thanks for sharing the Information.
> >
> > I have basic question, we can't able to run any test job for the STM32
> without external hardware(PDU) ?
> >
> > Can you please share the device configuration , which helps to run the
> test jobs without "ethernet controlled relay" for the STM32.
>
>
> https://git.linaro.org/lava/lava-lab.git/tree/shared/lab-scripts/eth008_con…
>
> >
> > As I requested earlier , is there any possibility to run the STM32
> specific jobs with any other deployment methods(tmpfs , tftp..etc).
>
> Our boards use EFI for booting and I never tried tftp with that. You
> might need grub EFI application for that. Alternatively you might use
> u-boot. I didn't try that either.
>
> milosz
>
> >
> > Thanks & Regards,
> > Dhanunjaya. P
> >
> >
> > On Mon, Nov 11, 2019 at 4:19 PM Milosz Wasilewski <
> milosz.wasilewski(a)linaro.org> wrote:
> >>
> >> Well, LAVA will try to switch the device into DFU mode for deployment
> >> step. These lines in the device dict do it:
> >> '/usr/local/lab-scripts/eth008_control -a 172.27.19.27 -r 1 -s on',
> >> '/usr/local/lab-scripts/eth008_control -a 172.27.19.27 -r 2 -s on',
> >> Then it will power on the board:
> >> '/usr/local/lab-scripts/snmp_pdu_control --hostname lngpdu01 --command
> >> on --port 3 --delay 20',
> >> After that it will try to flash it using the STM32_Programmer_CLI:
> >> '/usr/local/bin/STM32_Programmer_CLI -c port=usb1 -w {LAYOUT} -q',
> >> Lastly it will power the board down and flip the dip switches back:
> >> '/usr/local/lab-scripts/snmp_pdu_control --hostname lngpdu01 --command
> >> off --port 3',
> >> '/usr/local/lab-scripts/eth008_control -a 172.27.19.27 -r 1 -s off',
> >> '/usr/local/lab-scripts/eth008_control -a 172.27.19.27 -r 2 -s off',
> >>
> >> So if you don't have HW moded board, this device dict won't work for
> >> you. Sources for the scripts are here:
> >> https://git.linaro.org/lava/lava-lab.git/tree/shared/lab-scripts
> >> We're using pretty expensive HW in the LAB:
> >> - managed APC PDUs:
> >>
> https://www.apc.com/shop/uk/en/products/Rack-PDU-Switched-1U-16A-208-230V-8…
> >> (I couldn't find the exact models we have, they're discontinued)
> >> - ETH008 relay board:
> https://www.robot-electronics.co.uk/htm/eth008tech.htm
> >>
> >> milosz
> >>
> >> On Mon, 11 Nov 2019 at 10:42, dhanu msys <dhanuskd.palnati(a)gmail.com>
> wrote:
> >> >
> >> > Hi Milosz,
> >> >
> >> > No.
> >> > Through Manual Setup , we are able to switch between the modes.
> >> >
> >> > Here I have attached the kernel & dtb image for your reference. PFA.
> >> >
> >> > Dhanunjaya. P
> >> >
> >> >
> >> > On Mon, Nov 11, 2019 at 3:40 PM Milosz Wasilewski <
> milosz.wasilewski(a)linaro.org> wrote:
> >> >>
> >> >> I think I forgot to ask key question when it comes to this device:
> did
> >> >> you do the HW mod to be able to switch between DFU and OS boot modes
> >> >> without manual step?
> >> >>
> >> >> milosz
> >> >>
> >> >> On Mon, 11 Nov 2019 at 10:01, dhanu msys <dhanuskd.palnati(a)gmail.com>
> wrote:
> >> >> >
> >> >> > Hi Milosz,
> >> >> >
> >> >> > Thanks for reply.
> >> >> >
> >> >> > I am new to the LAVA usage.
> >> >> >
> >> >> > I have taken reference from the below link.
> >> >> >
> https://staging.validation.linaro.org/scheduler/device/staging-stm32mp157-0…
> >> >> >
> >> >> > Here I have attached the device_dictionary & device configurations
> files, PFA.
> >> >> >
> >> >> > Note : I am not able to see the "lab-scripts" to have power
> controlled commands in my local repository , is there any specific package
> need to install in my localhost , can you please share the lab-scripts to
> have pdu control and also please share the pdu device details if required
> to connect with the hardware.
> >> >> >
> >> >> > Can you please share some references , which i can run some jobs
> through any other deploy methods like "tmpfs , tftp " for "STM32MP157C-DK2".
> >> >> >
> >> >> > Thanks & Regards,
> >> >> > Dhanunjaya. P
> >> >> >
> >> >> >
> >> >> > On Mon, Nov 11, 2019 at 2:59 PM Milosz Wasilewski <
> milosz.wasilewski(a)linaro.org> wrote:
> >> >> >>
> >> >> >> Could you share your device dictionary? You might be missing
> >> >> >> flasher_deploy_commands.
> >> >> >>
> >> >> >> Please check here for reference:
> >> >> >>
> https://ledge.validation.linaro.org/scheduler/device/lng-stm32mp157-01/devi…
> >> >> >>
> >> >> >> milosz
> >> >> >>
> >> >> >> On Thu, 7 Nov 2019 at 07:48, dhanu msys <
> dhanuskd.palnati(a)gmail.com> wrote:
> >> >> >> >
> >> >> >> > Hi Team,
> >> >> >> >
> >> >> >> > I am trying to run the test_jobs on the specific device type
> "stm32mp1157c-dk2" , but its throwing an error message to deploy "flasher"
> method in the deployment parameters.
> >> >> >> >
> >> >> >> > Here I have attached the screenshots for reference. PFA.
> >> >> >> >
> >> >> >> > Thanks & Regards,
> >> >> >> > Dhanunjaya. P
> >> >> >> > _______________________________________________
> >> >> >> > Lava-users mailing list
> >> >> >> > Lava-users(a)lists.lavasoftware.org
> >> >> >> > https://lists.lavasoftware.org/mailman/listinfo/lava-users
>
Hi,
I want to submit a change to device-type file and when I tried from the webGUI after logging in, the fork option is disabled.
After clicking on the forks count number, the fork option appears to be enabled on that page.
Clicked it to select namespace, when hovered the mouse over the namespace, it shows the following error
"You have reached your project limit"
Can some one help me on this please?
Regards
Suram
Hi Team,
I am trying to run the test_jobs on the specific device type
"stm32mp1157c-dk2" , but its throwing an error message to deploy "flasher"
method in the deployment parameters.
Here I have attached the screenshots for reference. PFA.
Thanks & Regards,
Dhanunjaya. P
Guys,
We have a problem as next:
[cid:image001.jpg@01D5958F.E65E7670]
The story is we have kernel exception when device boot, then per next code:
if index == cls.TRACE or index == cls.EXCEPTION:
res = "fail"
if action:
action.logger.warning(
"%s: %s" % (action.name, cls.MESSAGE_CHOICES[index][2])
)
# TRACE may need a newline to force a prompt
connection.sendline(connection.check_char)
It will send a "#" to device, but unfortunately, the exception time is too close the final login, then the "#" was sent to user login as next:
Imx8qxpmek login: #
Then when we send "root", it definitely cannot login, how to resolve?
More, why lava send "#" to device when kernel have exception?
Hello,
could you give me the exact version? If you are admin, just ask debian to
give you the package version.
If you are a user, this is printed in the first line of every job logs.
Rgds
Le lun. 4 nov. 2019 à 07:58, dhanu msys <dhanuskd.palnati(a)gmail.com> a
écrit :
> Hi Remi,
>
> I was using LAVA Version V2, please correct me if i am quite wrong.
>
> Please let me know how to find out the lava version using command prompt.
>
> Thanks & Regards,
> Dhanunjaya. P
>
>
> On Thu, Oct 31, 2019 at 9:42 PM Remi Duraffort <remi.duraffort(a)linaro.org>
> wrote:
>
>> Hello,
>>
>> which version are you using?
>>
>>
>> Rgds
>>
>> Le jeu. 31 oct. 2019 à 13:19, dhanu msys <dhanuskd.palnati(a)gmail.com> a
>> écrit :
>>
>>> Hi Team,
>>>
>>> While Running LAVA in localhost , facing the error while accessing the
>>> UI related to Devices.
>>>
>>> Here I have attached the screenshot , please find the attachment.
>>>
>>> Please help me to solve this issue.
>>>
>>> Thanks & Regards,
>>> Dhanunjaya. P
>>> _______________________________________________
>>> Lava-users mailing list
>>> Lava-users(a)lists.lavasoftware.org
>>> https://lists.lavasoftware.org/mailman/listinfo/lava-users
>>
>>
>>
>> --
>> Rémi Duraffort
>> LAVA Architect
>> Linaro
>>
>
--
Rémi Duraffort
LAVA Architect
Linaro