on 09-02-2020 9:33 PM
Hi,
The 2009.03 update of the factory has been released.
It includes a fix for the unexpected job expirations.
Best Regards,
Maël
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You may face a probable issue with the job expiration.
The dev team is actively working on a fix as they found the cause of the issue.
There is a workaround:
BUT, Job expiration can also be a normal behavior:
To be sure that the you are facing this issue, some verification needs to be done (Providing also a bit of background around timeouts.)
1. Timeout check:
Timeout in the code and on the Workflow are 2 separate things
When creating the workflow for the first time and as long as you keep using the merging tool the timeout may keep being synchronized.
Possibly the Job will keep running on the Agent side, particularly if
2. Version check :
It is essential to check the versioning of the different exported packages, as well as of your job.
Moreover, there is 2 versioning systems:
You will have to compare those 2 versions:
It is then very important to do the link between the failed job, the Factory package version, the Studio package version and its timeout.
In the 2010 Factory version we expect to see the Workflow timeout directly in the Factory
3. Job detail check:
If the Job is running the proper studio package with an expected longer timeout than experienced
Then a last check needs to be done by going on the detail of the Expired Job:
By checking the traces, we should be able to see if there is any inconsistency:
{"jobRunResponse":
{"runUid":"……………………………………………………………………….",
"name":"scenarioAddJob",
"runInfo":{...,
"expirationDate":"2020-09-10T15:13:03.421Z"
},
"studioMode" : false,
"timeout" : 1500
},
...,
"packageVersion":{
"major":2,
"minor":0,
"patch":0
},
...,
"runStatusResponse":[...,
{
"updated":"2020-09-10T15:02:33.421Z",
"runStatus":"running",
"detail":""
},
...],
...
}
In the sample above,
10 minutes + 30 seconds != 25 minutes ==> There is inconsistency.
The 10 min is the default value in a new project in the studio, but also a default value in the Factory (if a project is launched from the studio for instance)
Although having this expired job, it could be normal if launch through the debugger and that can be seen if "studioMode": true,
Be aware again that a Job expiration is not necessarily a Factory issue and may come from unsynchronized timeout Workflow vs Scenario (Code timeout > Workflow timeout), stuck Agent on synchronous loop or potential Bot Design flaw.
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same here, pls fix
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Matheus
After changing the timeout in the workflow. Did you check that the changes were reflected after the build in this line of code - sc.setScenarioTimeout(60000000);
Workflow Timeout takes value in Seconds
The above Code takes Value in Milliseconds.
Both must be same.
Regards,
Raaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.