Hi lava users,

 

I want to try the simple client/server multi node job [0]. My job yaml is below. I get following error during job submission via webui:

    Job submission error: 'dict_keys' object does not support indexing

 

What is wrong? The error message (a python error?) gives me no hint. The log files had have no entries for that issue.

 

Greetings,

Matthias

 

 

job_name: simple multinode

 

timeouts:

  job:

    minutes: 90

  action:

    minutes: 10

  connection:

    minutes: 2

 

priority: medium

visibility: public

 

protocols:

  lava-multinode:

    roles:

      server:

        device_type: tqma6s-mba6x

        count: 1

      client:

        device_type: tqma6d-mba6x

        count: 1

    timeout:

      minutes: 6

 

actions:

- deploy:

    role:

    -  server

    timeout:

      minutes: 10

    to: tftp

    kernel:

      url: <url linuximage>

      type: zimage

    nfsrootfs:

      url: <url rootfs>

      compression: gz

    dtb:

      url: <url dtb>

 

- deploy:

    role:

    -  client

    timeout:

      minutes: 10

    to: tftp

    kernel:

      url: <url linuximage>

      type: zimage

    nfsrootfs:

      url: <url rootfs>

      compression: gz

    dtb:

      url: <url dtb>

 

- boot:

    role:

    - server

    method: u-boot

    commands: nfs

    auto_login:

      login_prompt: 'MBa6x login:'

      username: root

    prompts:

    - 'root@MBa6x:~'

 

- boot:

    role:

    - client

    method: u-boot

    commands: nfs

    auto_login:

      login_prompt: 'MBa6x login:'

      username: root

    prompts:

    - 'root@MBa6x:~'

 

- test:

   timeout:

     minutes: 120

   definitions:

     - repository: <url git>

       from: git

       path: simple_multinode.yaml

       name: simple_multinode

 

 

[0] https://validation.linaro.org/static/docs/v2/multinodeapi.html#example-1-simple-client-server-multinode-test