U02000258 Show latest output reads reports not on OS

book

Article ID: 206557

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

When the report file is set to store on database only, going to the last report for a Linux job while it is still running and clicking on "Show latest output", even when the job is finished running, will continuously attempt to access the file on the OS even though it isn't there.  This causes the message in the agent log:
U02000258 Upload of file '<full path to agent>/temp/O<runnr in alpha format>.TXT' completed with error, reason '2 - No such file or directory'.

Steps to reproduce
1) Find or create a job that will take some time to run on a Linux agent.  For example, I have a job that will sleep for 2 seconds 10 times:
 :set &count# = 0
 :while &count# < 10
 sleep 2
 ls -l
 :set &count# = add(&count#, 1)
 :endwhile
2) On the UNIX tab, have Job Report stored to database only
3) Run the job
4) While the job is still running, go to the last report and click on "Show latest output" button
5) Keep "Show latest output" button checked and stay in report tab
6) After the job has finished, tail the latest Agent report

EXPECTED BEHAVIOR:
Agent log may show once or twice that the report is not found

ACTUAL BEHAVIOR:
Agent log loops the message:
U02000258 Upload of file '<full path to agent>/temp/O<runnr in alpha format>.TXT' completed with error, reason '2 - No such file or directory'.

continuously until the "Show latest output" button is unclicked or the agent is disconnected and reconnected

Environment

Release : 12.3

Component : AUTOMATION ENGINE

Resolution

Will be fixed in future release

Workaround: Workaround is to disconnect and reconnect agent or unclick "Show latest output".