【问题标题】:TFS lab - Aborting run: The start date cannot occur after the end dateTFS 实验室 - 中止运行:开始日期不能晚于结束日期
【发布时间】:2014-09-24 08:48:25
【问题描述】:

最近我们正致力于将 Telerik 测试用例集成到 TFS 2012 BDT 工作流程中。

但是当测试计划中有失败的测试时,所有跟随失败的测试用例的测试用例将被中止并出现以下错误:

"ID"        "Date and time" "Message"
23           "09/23/2014 15:50:34"   "Error saving the test results: The start date 2014/9/23 15:50:05 cannot occur after the end date 2014/9/23 7:50:34. 
Will retry 3 time(s)."
24           "09/23/2014 15:51:05"   "Error saving the test results: The start date 2014/9/23 15:50:05 cannot occur after the end date 2014/9/23 7:50:34. 
Will retry 2 time(s)."
25           "09/23/2014 15:51:36"   "Error saving the test results: The start date 2014/9/23 15:50:05 cannot occur after the end date 2014/9/23 7:50:34. 
Will retry 1 time(s)."
26           "09/23/2014 15:52:06"   "Error saving the test results: The start date 2014/9/23 15:50:05 cannot occur after the end date 2014/9/23 7:50:34. 
Will retry 0 time(s)."
27           "09/23/2014 15:52:06"   "Unexpected error occurred.  Aborting run: The start date 2014/9/23 15:50:05 cannot occur after the end date 2014/9/23 7:50:34."

如果所有测试用例都通过,则问题不会发生。
如果我们在测试用例失败的情况下运行 MSTest UI 测试,则不会出现此类问题。

TFS 版本:2012 RTM。
所有 TFS 实验室都是 hyper-v 虚拟机。
测试控制器、构建控制器是 hyper-v VM。

所有构建控制器、测试控制器、测试代理虚拟机都有中国北京时区设置。

我们已尝试将测试控制器、构建控制器、测试代理 VM 上的时区设置更改为 UTC,但问题仍然存在。

我们还检查了主机服务器有中国北京时区。 TFS 基础设施在公司的领域。而且时间同步正确。

post 中有一些类似的错误,但我们没有任何线索可以修复它。因为所有时间都正确同步。

【问题讨论】:

  • 尝试检查并运行适用于您的环境的最新更新并确保它们相同,我可以闻到不兼容的更新版本

标签: telerik


【解决方案1】:

感谢 M.Radwan。

我们发现我们的测试代理是 2012 Update 4。但是测试控制器是 2012。

将测试控制器升级到 2012 Update 4 后,错误消失了。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-03-07
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多