When "Show latest output" in the report of a running Windows/Linux job is enabled - Report doesn't show the last lines and the UC4 Job Messenger information.
When the job submission is followed by the feature "Show latest output":
c:\>C:\uc4\POW210\Agents\WIN2105\bin\UCXJWX6M.EXE JNR=0001360007 MNR=0022 PNR=2305 IPA=10.253.128.247 TYP=S TXT=" Job started" LOCAL=1 Program 'UC4 Job Messenger' version '21.0.5+hf.1.build.1678441734235' started UCMDJP: ********************************************************************* UCMDJP: ** JOB 0001360007 (ProcID:0000006668) START AT 06.04.2023/15:46:35 ** UCMDJP: ** --------------------------------------------------------------- ** c:\>ping -l 600 -n 20 localhost ....... c:\>powershell Start-Sleep 20
The job ending never shows up. Job Messenger section (trailer) is missing.
When the report of the the same job is opened via 'Open Report' the job trailer (messenger actions) is displayed, but here the jobs is finished:
c:\>C:\uc4\POW210\Agents\WIN2105\bin\UCXJWX6M.EXE JNR=0001360007 MNR=0022 PNR=2305 IPA=10.253.128.247 TYP=S TXT=" Job started" LOCAL=1 Program 'UC4 Job Messenger' version '21.0.5+hf.1.build.1678441734235' started UCMDJP: ********************************************************************* UCMDJP: ** JOB 0001360007 (ProcID:0000006668) START AT 06.04.2023/15:46:35 ** UCMDJP: ** --------------------------------------------------------------- ** c:\>powershell Start-Sleep 20 c:\>C:\uc4\POW210\Agents\WIN2105\bin\UCXJWX6M.EXE JNR=0001360007 MNR=0022 PNR=2305 IPA=10.253.128.247 TYP=E RET=00000000 TXT=" Job ended" LOCAL=1 Program 'UC4 Job Messenger' version '21.0.5+hf.1.build.1678441734235' started UCMDJP: ********************************************************************* UCMDJP: ** JOB 0001360007 (ProcID:0000006668) ENDED AT 06.04.2023/15:47:15 ** UCMDJP: ** --------------------------------------------------------------- ** UCMDJP: ** USED: 0.000 CPU ** UCMDJP: ********************************************************************* Program 'UC4 Job Messenger' version '21.0.5+hf.1.build.1678441734235' terminated normally Disconnected from '127.0.0.1:2305' (socket handle = '1'). c:\>GOTO JOBENDE
Release : 21.0.5
This is working as expected, this is by design.
This is called 'live preview'.This transfers the partial report from the temporary output file as long as the job is active every 5s.
Once the job is finished, the messenger footer gets written, and the temporary report file is transfered back to the agent.
As this step is very fast, there is a very small probality that the refresh will trigger till the file is fully written, but not yet transferred.
Once you uncheck the 'show latest output', the complete report is shown.
This works correct at the moment, as its preview. To have it 'auto refresh' when the job finishes would be a feature request.