TFS 实验室测试运行中止:“开始日期......不能在结束日期之后......" [英] TFS lab test run aborted: "The start date ... cannot occur after the end date ..."

查看:27
本文介绍了TFS 实验室测试运行中止:“开始日期......不能在结束日期之后......"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们使用 TFS 2012 运行实验室测试.最近,我们观察到套件中途中止的测试运行有所增加.但是,运行在不同的点中止,因此导致这种情况的不是同一个测试用例.

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:

发生意外错误.中止运行:开始日期 6/27/201310:28:38 AM 不能出现在 2013 年 6 月 27 日上午 10:28:37 结束日期之后.

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.

涉及的两台机器(构建服务器/测试控制器、实验室)都是虚拟机.两者都通过 NTP 从同一域控制器接收系统时间.

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?

推荐答案

原来是时钟漂移大的问题.所以基本上真正的问题是关于 Hyper-V 虚拟化环境中的 w32tm.我们现在正在尝试不同的设置.

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.

这篇关于TFS 实验室测试运行中止:“开始日期......不能在结束日期之后......"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆