-
Notifications
You must be signed in to change notification settings - Fork 2.4k
ExecutionResult is returning a wrong start_time, end_time and elapsed. #5142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Could you please clarify the issue? Which exact numbers were not as expected? Did you get output.xml directly from execution or have you used the Rebot tool to merge, combine or otherwise modify it? |
From what I imagine, the start_time, end_time, and elapsed time from the root suite should be the same as the one on the report.html, right? The report was created using Pabot. |
Can you show where the values in output.xml and report.html differ? Notice that your original example only shows start/end times. Notice that Pabot uses the Rebot tool internally to combine results of the individual suites (or tests) that have been executed parallel. How exactly it uses Rebot may affect the results. If you suspect there's a bug in Robot, you need to be able to demonstrate it without Pabot. If you suspect there's a bug in Pabot, you need to submit an issue to its issue tracker. |
Okay, so I ran the same tests just with Robot, and the elapsed time from With that, I believe the issue (if there is one) is on Pabot.
|
What time in the log file is that If there isn't a bug somewhere, it would be better to start a discussion about this on our Slack or Forum. This issue tracker is for bug reports and concrete enhancement requests. |
I am closing this here and moving to pabot. |
Reopening this issue according to comment in mkorpela/pabot#596 |
Could you please clarify what the problem is? Please also see my earlier comment. |
Quoting @mkorpela in the pabot issue: "the parent suite's endtime is earlier than some child suites' endtimes, which shouldn't be possible in a properly constructed test execution result" Hope I answered you question Pekka. |
No, that doesn't answer my question. I understand your quote, but you need to provide concrete example of such a problem. A concrete example demonstrating the problem would be helpful, but it needs to be as simple as possible. |
No new information so closing. Can be reopened if there's an example demonstrating the issue. |
I'm trying to parse a xml file to upload some data to a db using DbBot.
But after the upload, the results don't show the right start_time, end_time and elapsed.
I manually ran the
ExecutionResult
into the output.xml and started printing the start_time and end_time for each level of suite.Until I got to a point where the suite had several subsuites and was where I really see the time difference, where the subsuite startime was higher than the root's suite endtime.
RF version:
robotframework==7.0
XML file: Drive link
And in the

report.html
it says that the elapsed time was: 01:48:12The text was updated successfully, but these errors were encountered: