Jobs conditioned by the same Resource stay in Event Wait forever
search cancel

Jobs conditioned by the same Resource stay in Event Wait forever

book

Article ID: 205726

calendar_today

Updated On:

Products

CA Automic Dollar Universe

Issue/Introduction

The AAA uproc has a resource script condition ABC.sh, this script looks for the file /home/userA/test/file :

 /home/userA/test

  cat ABC.sh

 #!/bin/bash

 ls /home/userA/test/file

 Internal uproc script:

 #!/bin/bash

 echo Marco 
 
 sleep 1

 exit 0

 The task Task1 launch the Task1 uproc (the problem occurs whatever the type of the task, provoked or scheduled):
 The line below will start 30 occurrence of the task  , we can observe that only one RES file is being updating (0000091) 

 for i in {1..30};do ./uxordre EXP tsk="Task1" mu=MU ;done

 

 -rw-r--r-- 1 root root  1090 Dec 14 05:44 XL000000002U000000001RES.0000062
 -rw-r--r-- 1 root root  1090 Dec 14 05:44 XL000000002U000000001RES.0000063
 .....
 -rw-r--r-- 1 root root  1090 Dec 14 05:44 XL000000002U000000001RES.0000089
 -rw-r--r-- 1 root root  1090 Dec 14 05:44 XL000000002U000000001RES.0000090
 -rw-r--r-- 1 root root 11880 Dec 14 05:50 XL000000002U000000001RES.0000091

 And when create the file /home/userA/test/file awaited by ABC.sh only the last launch Is submitted…

 Other RES files are no longer updated…

 

 Expected behavior : 

 All *RES* should be updated / all uproc should be executed


 Actual behavior :
 only the latest *RES* has been updated / only latest uproc has been executed

 

Additionally, upon Supervisor startup, the following error that should prevent resources from not being scanned will appear in universe.log:

|ERROR|X|IO |pid=p.t| reset_infinite_records    | Supervisor mem_cli is null.

 

Environment

Release : 6.10.51 only

Component : DOLLAR UNIVERSE

Cause

The issue was reported as product defect.

 

Resolution

Update to a fix version listed below or a newer version if available.

Fix version(s): 
Component: Dollar.Universe.Application.Server
Dollar Universe 6.10.61 - Available

 

Additional Information

Solution description:

A problem has been fixed where jobs conditioned by a resource script may stay in Event Wait despite the resource condition being resolved.