Hello Remi,

In the gunicorn logs, I can see as below:
lava_notify-log.PNG
In LAVA interface the status how as "NOT SENT"
lava-notify.PNG
Any advice on how to receive the notification.

Best Regards
Pavan Kumar


On Fri, Jun 30, 2023 at 3:10 PM Remi Duraffort <remi.duraffort@linaro.org> wrote:
Hello,

have you looked at the gunicorn logs in /var/log/lava-server/gunicorn.log


Rgds

Le jeu. 29 juin 2023 à 18:47, pawanKumar <pawan4749@gmail.com> a écrit :

Hello Team,

I'm using notify action in the job definition to notify users about the status of the job. I'm already a registered user in lava and after completion of my job, the administration site shows the status as "not sent".
Please let me know what can be the reason, and how can i achieve it?
 
lava-notify.PNG
Below is the job definition i'm using:

device_type: ADT-UNIT1
job_name: sample test to notify user
timeouts:
  job:
    minutes: 15
  action:
    minutes: 10
  connection:
    minutes: 5
visibility: public
actions:
- command:
     name: relay_pwr_on
     timeout:
        minutes: 1
- deploy:
    to: flasher
    images:
      package:
              url: https://artifactory.softwaretools.com/artifactory/gop-generic-stable-local/build-artifacts/grip-quick/
- boot:
    method: u-boot
    commands:
       - setenv factorymode 1
       - boot
    auto_login:
      login_prompt: 'login:'
      username: root
      password_prompt: 'Password:'
      password: root
      login_commands:
      - touch /home/root/test_file
      - ifconfig
    prompts:
    - 'root@hon-grip'
    - 'root@GRIP'
notify:
  recipients:
  - to:
     method: email
     user: pavan
  criteria:
    status: finished
  verbosity: verbose

Thanks & Regards,
Pavan


_______________________________________________
Lava-devel mailing list -- lava-devel@lists.lavasoftware.org
To unsubscribe send an email to lava-devel-leave@lists.lavasoftware.org


--
Rémi Duraffort
Principal Tech Lead
Automation Software Team
Linaro