marlof / ScORCH

DevOps Orchestration for Obrar deploy and Ansible playbooks
http://www.autoscorch.com
Apache License 2.0
5 stars 1 forks source link

Error when running job not quite started #104

Closed marlof closed 5 years ago

marlof commented 5 years ago

Following was observed when jobs were added and queued.

Plugin template used: Action : DEMO-RANDOM Action : LONGRUN Environment : DEV01 ST01 QA01 Action : SAFEDEMO Environment : DEV01 Action : LONGRUN Environment : DEV01 Action : PI-VPN Environment : DEV01 .

Output: ---RUNNING------------------------------------------------------------------------------------------------------------- Traceback (most recent call last): File "/home/marc/scorch/python/showJobs.py", line 292, in main(sys.argv[1:]) File "/home/marc/scorch/python/showJobs.py", line 278, in main fn_ShowJobs(eachDir,temp,maxnum) File "/home/marc/scorch/python/showJobs.py", line 214, in fn_ShowJobs str_Time=str_CurrentTime - str_StartTime UnboundLocalError: local variable 'str_StartTime' referenced before assignment