Hello,

in the deploy stage, you should set "os: debian".


Rgds

Le mer. 31 mars 2021 à 14:54, P T, Sarath <Sarath_PT@mentor.com> a écrit :

Hi Team,

 

I have used the LAVA job definition including deployment data(OS parameter) as debian . As per the deployment_data.py it should export the shell as  /bin/bash but it’s exporting /bin/sh. I am observing this thing after updating LAVA to 2021.01.

Below I am giving the job definition file which I used. It will be very helpful if anyone reply on this. Thank you .   


Job definition
=============
device_type: x86-simatic-slll

job_name: x86-simatic-ipc227e-slll health-check

timeouts:

  job:

    minutes: 20

  action:

    minutes: 20

  connection:

    minutes: 10

priority: medium

visibility: public

tags:

- slll-simatic-ipc-227e-01

actions:

- deploy:

    to: overlay

- boot:

    method: minimal

    reset: true

    failure_retry: 2

    auto_login:

      login_prompt: 'ebsy-isar login:'

      username: root

      password_prompt: 'Password:'

      password: root

    prompts:

    - root@ebsy-isar:~#

    transfer_overlay:

      download_command: wget

      unpack_command: tar -C / -xzf

# TEST_BLOCK

- test:

    timeout:

      minutes: 5

    definitions:

    - repository:

        metadata:

          format: Lava-Test Test Definition 1.0

          name: kernel-version-basic

          description: "check kernel version"

          os:

            - debian

          scope:

            - functional

        run:

          steps:

            - lava-test-case uname --shell uname -a

      from: inline

      name: kernel-version-inline

      path: inline/kernel-version-basic.yaml

      lava-signal: kmsg

 

Regards
Sarath  P T

_______________________________________________
Lava-users mailing list
Lava-users@lists.lavasoftware.org
https://lists.lavasoftware.org/mailman/listinfo/lava-users


--
Rémi Duraffort
TuxArchitect
Linaro