TFS lab test run aborted: “The start date … cannot occur after the end date …”

大城市里の小女人 提交于 2019-12-08 11:10:46

问题


We are using TFS 2012 to run lab tests. Recently, we are observing an increase in aborted test runs halfway through the suite. However, the runs are aborted at different points, so it's not the same test case that causes this.

The error message in the test run log reads:

Unexpected error occurred. Aborting run: The start date 6/27/2013 10:28:38 AM cannot occur after the end date 6/27/2013 10:28:37 AM.

Sometimes the times are identical, sometimes they are a second off as quoted above.

Both involved machines (build server/test controller, lab) are VMs. Both receive their system time via NTP from the same domain controller.

So I'm not sure if this really is a time issue, or if the error message is misleading. Any ideas on how to troubleshoot further? What other logs to consult?


回答1:


Turns out it IS a problem with massive clock drift. So basically the real question is about w32tm in a Hyper-V virtualised environment. We're experimenting with different settings now.



来源:https://stackoverflow.com/questions/17342039/tfs-lab-test-run-aborted-the-start-date-cannot-occur-after-the-end-date

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!