Hi Lava users,
I am trying to use the u-boot-ums deploy method.
I have taken reference from this job : https://staging.validation.linaro.org/scheduler/job/277518/definition
While submitting the job I am getting the following error:
Job error: None of the deployment strategies accepted your deployment parameters, reasons given: overlay: "to" parameter is not "overlay" docker: 'docker' not in the device configuration deploy methods download: "to" parameter is not "download" downloads: "to" parameter is not "downloads" qemu-nfs: "nfs" is not in the device configuration deploy methods images: "to" parameter is not "tmpfs" iso: "to" was not in parameters, or "to" was not "iso-installer" fastboot: "to" parameter is not "fastboot" flasher: 'flasher' not in the device configuration deploy methods fvp: 'to' was not fvp lxc: "to" parameter is not "lxc" nbd: "to" parameter is not "nbd" nfs: "to" parameter is not "nfs" removable: "media" was not "sata", "sd", or "usb" vemsd: "to" parameter is not "vemsd" mps: "mps" was not in the device configuration deploy methods musca: "musca" was not in the device configuration deploy methods ssh: "to" parameter is not "ssh" tftp: "to" parameter is not "tftp" uboot-ums: "u-boot-ums" was not in the device configuration deploy methods" recovery-mode: 'recovery' not in the device configuration deploy methods uuu: "to" parameter is not "uuu"
Please check the attached yaml file (u-boot-ums-def.yaml). ?
Regards, Bhargav
How does your device dictionary look like?
milosz
On Wed, 19 Aug 2020 at 13:24, DAS, BHARGAV BHARGAV_DAS@mentor.com wrote:
Hi Lava users,
I am trying to use the u-boot-ums deploy method.
I have taken reference from this job : https://staging.validation.linaro.org/scheduler/job/277518/definition
While submitting the job I am getting the following error:
Job error: None of the deployment strategies accepted your deployment parameters, reasons given: overlay: "to" parameter is not "overlay" docker: 'docker' not in the device configuration deploy methods download: "to" parameter is not "download" downloads: "to" parameter is not "downloads" qemu-nfs: "nfs" is not in the device configuration deploy methods images: "to" parameter is not "tmpfs" iso: "to" was not in parameters, or "to" was not "iso-installer" fastboot: "to" parameter is not "fastboot" flasher: 'flasher' not in the device configuration deploy methods fvp: 'to' was not fvp lxc: "to" parameter is not "lxc" nbd: "to" parameter is not "nbd" nfs: "to" parameter is not "nfs" removable: "media" was not "sata", "sd", or "usb" vemsd: "to" parameter is not "vemsd" mps: "mps" was not in the device configuration deploy methods musca: "musca" was not in the device configuration deploy methods ssh: "to" parameter is not "ssh" tftp: "to" parameter is not "tftp" uboot-ums: "u-boot-ums" was not in the device configuration deploy methods" recovery-mode: 'recovery' not in the device configuration deploy methods uuu: "to" parameter is not "uuu"
Please check the attached yaml file (u-boot-ums-def.yaml).
Regards, Bhargav _______________________________________________ Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users
Hi Milosz,
{% extends 'de0-nano-soc.jinja2' %} {% set connection_command = 'telnet localhost 4003' %} {% set uboot_ipaddr_cmd = 'sleep 10 ; dhcp' %} {% set soft_reset_command = 'reboot' %} {% set soft_reboot_command = 'reboot' %} {% set shutdown_message = 'reboot:Restarting system ' %} {% set bootloader_prompt = '=>' %} {% set iface = "eth0" %} {% set extra_nfsroot_args = (",v3") %} {% set extra_kernel_args = "systemd.mask=systemd-timesyncd.service" %} {% set power_off_command = '/usr/bin/pduclient --daemon <server ip> --hostname <pdu ip> --command off --port 4' %} {% set hard_reset_command = '/usr/bin/pduclient --daemon <server ip> --hostname <pdu ip> --command reboot --port 4' %} {% set power_on_command = '/usr/bin/pduclient --daemon <server ip> --hostname <pdu ip> --command on --port 4' %} {% set uboot_set_mac = '56:0a:9b:f0:18:ed' %} {% set boot_character_delay = 20 %} {% set test_character_delay = 20 %} {% set uboot_mass_storage_device = '/dev/disk/by-id/usb-Linux_UMS_disk_0-0' %}
Regards, Bhargav
-----Original Message----- From: Milosz Wasilewski [mailto:milosz.wasilewski@linaro.org] Sent: 20 August 2020 03:04 PM To: DAS, BHARGAV BHARGAV_DAS@mentor.com Cc: lava-users@lists.lavasoftware.org Subject: Re: [Lava-users] Error encounterd while using u-boot-ums deploy method
How does your device dictionary look like?
milosz
On Wed, 19 Aug 2020 at 13:24, DAS, BHARGAV BHARGAV_DAS@mentor.com wrote:
Hi Lava users,
I am trying to use the u-boot-ums deploy method.
I have taken reference from this job : https://staging.validation.linaro.org/scheduler/job/277518/definition
While submitting the job I am getting the following error:
Job error: None of the deployment strategies accepted your deployment parameters, reasons given: overlay: "to" parameter is not "overlay" docker: 'docker' not in the device configuration deploy methods download: "to" parameter is not "download" downloads: "to" parameter is not "downloads" qemu-nfs: "nfs" is not in the device configuration deploy methods images: "to" parameter is not "tmpfs" iso: "to" was not in parameters, or "to" was not "iso-installer" fastboot: "to" parameter is not "fastboot" flasher: 'flasher' not in the device configuration deploy methods fvp: 'to' was not fvp lxc: "to" parameter is not "lxc" nbd: "to" parameter is not "nbd" nfs: "to" parameter is not "nfs" removable: "media" was not "sata", "sd", or "usb" vemsd: "to" parameter is not "vemsd" mps: "mps" was not in the device configuration deploy methods musca: "musca" was not in the device configuration deploy methods ssh: "to" parameter is not "ssh" tftp: "to" parameter is not "tftp" uboot-ums: "u-boot-ums" was not in the device configuration deploy methods" recovery-mode: 'recovery' not in the device configuration deploy methods uuu: "to" parameter is not "uuu"
Please check the attached yaml file (u-boot-ums-def.yaml).
Regards, Bhargav _______________________________________________ Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users
You're most likely missing: {% set uboot_ums_flash = uboot_ums_flash|default(True) %}
milosz
On Thu, 20 Aug 2020 at 14:30, DAS, BHARGAV BHARGAV_DAS@mentor.com wrote:
Hi Milosz,
{% extends 'de0-nano-soc.jinja2' %} {% set connection_command = 'telnet localhost 4003' %} {% set uboot_ipaddr_cmd = 'sleep 10 ; dhcp' %} {% set soft_reset_command = 'reboot' %} {% set soft_reboot_command = 'reboot' %} {% set shutdown_message = 'reboot:Restarting system ' %} {% set bootloader_prompt = '=>' %} {% set iface = "eth0" %} {% set extra_nfsroot_args = (",v3") %} {% set extra_kernel_args = "systemd.mask=systemd-timesyncd.service" %} {% set power_off_command = '/usr/bin/pduclient --daemon <server ip> --hostname <pdu ip> --command off --port 4' %} {% set hard_reset_command = '/usr/bin/pduclient --daemon <server ip> --hostname <pdu ip> --command reboot --port 4' %} {% set power_on_command = '/usr/bin/pduclient --daemon <server ip> --hostname <pdu ip> --command on --port 4' %} {% set uboot_set_mac = '56:0a:9b:f0:18:ed' %} {% set boot_character_delay = 20 %} {% set test_character_delay = 20 %} {% set uboot_mass_storage_device = '/dev/disk/by-id/usb-Linux_UMS_disk_0-0' %}
Regards, Bhargav
-----Original Message----- From: Milosz Wasilewski [mailto:milosz.wasilewski@linaro.org] Sent: 20 August 2020 03:04 PM To: DAS, BHARGAV BHARGAV_DAS@mentor.com Cc: lava-users@lists.lavasoftware.org Subject: Re: [Lava-users] Error encounterd while using u-boot-ums deploy method
How does your device dictionary look like?
milosz
On Wed, 19 Aug 2020 at 13:24, DAS, BHARGAV BHARGAV_DAS@mentor.com wrote:
Hi Lava users,
I am trying to use the u-boot-ums deploy method.
I have taken reference from this job : https://staging.validation.linaro.org/scheduler/job/277518/definition
While submitting the job I am getting the following error:
Job error: None of the deployment strategies accepted your deployment parameters, reasons given: overlay: "to" parameter is not "overlay" docker: 'docker' not in the device configuration deploy methods download: "to" parameter is not "download" downloads: "to" parameter is not "downloads" qemu-nfs: "nfs" is not in the device configuration deploy methods images: "to" parameter is not "tmpfs" iso: "to" was not in parameters, or "to" was not "iso-installer" fastboot: "to" parameter is not "fastboot" flasher: 'flasher' not in the device configuration deploy methods fvp: 'to' was not fvp lxc: "to" parameter is not "lxc" nbd: "to" parameter is not "nbd" nfs: "to" parameter is not "nfs" removable: "media" was not "sata", "sd", or "usb" vemsd: "to" parameter is not "vemsd" mps: "mps" was not in the device configuration deploy methods musca: "musca" was not in the device configuration deploy methods ssh: "to" parameter is not "ssh" tftp: "to" parameter is not "tftp" uboot-ums: "u-boot-ums" was not in the device configuration deploy methods" recovery-mode: 'recovery' not in the device configuration deploy methods uuu: "to" parameter is not "uuu"
Please check the attached yaml file (u-boot-ums-def.yaml).
Regards, Bhargav _______________________________________________ Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users
On Wed, 19 Aug 2020 at 13:24, DAS, BHARGAV BHARGAV_DAS@mentor.com wrote:
Hi Lava users,
I am trying to use the *u-boot-ums* deploy method.
I have taken reference from this job : https://staging.validation.linaro.org/scheduler/job/277518/definition
While submitting the job I am getting the following error:
Job error: None of the deployment strategies accepted your deployment parameters, reasons given: overlay: "to" parameter is not "overlay" docker: 'docker' not in the device configuration deploy methods download: "to" parameter is not "download" downloads: "to" parameter is not "downloads" qemu-nfs: "nfs" is not in the device configuration deploy methods images: "to" parameter is not "tmpfs" iso: "to" was not in parameters, or "to" was not "iso-installer" fastboot: "to" parameter is not "fastboot" flasher: 'flasher' not in the device configuration deploy methods fvp: 'to' was not fvp lxc: "to" parameter is not "lxc" nbd: "to" parameter is not "nbd" nfs: "to" parameter is not "nfs" removable: "media" was not "sata", "sd", or "usb" vemsd: "to" parameter is not "vemsd" mps: "mps" was not in the device configuration deploy methods musca: "musca" was not in the device configuration deploy methods ssh: "to" parameter is not "ssh" tftp: "to" parameter is not "tftp" uboot-ums: "u-boot-ums" was not in the device configuration deploy methods" recovery-mode: 'recovery' not in the device configuration deploy methods uuu: "to" parameter is not "uuu"
Please check the attached yaml file (u-boot-ums-def.yaml).
I didn't see any other replies, so I hope you've solved it in the meantime.
I don't know enough about the inner workings of LAVA, as I usually ask the Linaro LAVA team to fix things for me here, but I don't think you can use UMS without your device type being configured to support it.
I see you're using "device_type: de0-nano-soc", so I guess there is something in the device dictionary or similar that needs to be configured.
Regards, Bhargav _______________________________________________ Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users
Forgot to update here. Yes, I have solved the problem by adding the following line in the device dictionary.
{% set uboot_ums_flash = uboot_ums_flash|default(True) %}
From: Ryan Harkin [mailto:ryan.harkin@linaro.org] Sent: 01 September 2020 04:03 PM To: DAS, BHARGAV BHARGAV_DAS@mentor.com Cc: lava-users@lists.lavasoftware.org Subject: Re: [Lava-users] Error encounterd while using u-boot-ums deploy method
On Wed, 19 Aug 2020 at 13:24, DAS, BHARGAV <BHARGAV_DAS@mentor.commailto:BHARGAV_DAS@mentor.com> wrote:
Hi Lava users,
I am trying to use the u-boot-ums deploy method.
I have taken reference from this job : https://staging.validation.linaro.org/scheduler/job/277518/definition
While submitting the job I am getting the following error:
Job error: None of the deployment strategies accepted your deployment parameters, reasons given: overlay: "to" parameter is not "overlay" docker: 'docker' not in the device configuration deploy methods download: "to" parameter is not "download" downloads: "to" parameter is not "downloads" qemu-nfs: "nfs" is not in the device configuration deploy methods images: "to" parameter is not "tmpfs" iso: "to" was not in parameters, or "to" was not "iso-installer" fastboot: "to" parameter is not "fastboot" flasher: 'flasher' not in the device configuration deploy methods fvp: 'to' was not fvp lxc: "to" parameter is not "lxc" nbd: "to" parameter is not "nbd" nfs: "to" parameter is not "nfs" removable: "media" was not "sata", "sd", or "usb" vemsd: "to" parameter is not "vemsd" mps: "mps" was not in the device configuration deploy methods musca: "musca" was not in the device configuration deploy methods ssh: "to" parameter is not "ssh" tftp: "to" parameter is not "tftp" uboot-ums: "u-boot-ums" was not in the device configuration deploy methods" recovery-mode: 'recovery' not in the device configuration deploy methods uuu: "to" parameter is not "uuu"
Please check the attached yaml file (u-boot-ums-def.yaml).
I didn't see any other replies, so I hope you've solved it in the meantime.
I don't know enough about the inner workings of LAVA, as I usually ask the Linaro LAVA team to fix things for me here, but I don't think you can use UMS without your device type being configured to support it.
I see you're using "device_type: de0-nano-soc", so I guess there is something in the device dictionary or similar that needs to be configured.
Regards, Bhargav _______________________________________________ Lava-users mailing list Lava-users@lists.lavasoftware.orgmailto:Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users
lava-users@lists.lavasoftware.org