lava: handle reaching max number of retry for submit operation
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Wed, 29 Sep 2021 13:24:08 +0000 (09:24 -0400)
committerJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Wed, 29 Sep 2021 13:24:08 +0000 (09:24 -0400)
commit559b83b3f3ffc01339295537d749697d2b7dfd24
treefbd691d88bec6d1136a96539daeaa045b97ba3f3
parentaff4e3d1bb7db06b8970e31efa2f5a56486355f7
lava: handle reaching max number of retry for submit operation

Reaching the maximum number of retry would lead to:

 Traceback (most recent call last):
   File "/home/jenkins/workspace/vm_tests_kcanary_lcanary/src/lttng-ci/scripts/system-tests/lava2-submit.py", line 322, in <module>
     sys.exit(main())
   File "/home/jenkins/workspace/vm_tests_kcanary_lcanary/src/lttng-ci/scripts/system-tests/lava2-submit.py", line 284, in main
     print('Lava jobid:{}'.format(jobid))
 UnboundLocalError: local variable 'jobid' referenced before assignment

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
scripts/system-tests/lava2-submit.py
This page took 0.023466 seconds and 4 git commands to generate.