无法执行目标org.eclipse.tycho:tycho-surefire-plugin:0.20.0:test(default-test)。发生意外错误(返回码1)

时间:2016-06-14 09:07:42

标签: java eclipse maven unit-testing tycho

我正在编写SWT应用程序的单元测试。我有6个插件用于测试。我构建产品并运行jenkins的单元测试。一切都按预期正常工作。然而,从几天开始jenkins工作失败,出现以下错误消息:

SELECT     G1.Item, R1.Time, R2.Time
FROM       Goods AS G1, RoutingLine AS R1, Goods AS G2, RoutingLine AS R2     
WHERE      G1.Routing = R1.Routing
AND        G2.Routing = R2.Routing
AND        R1.Element= 'Machine%'
AND        R2.Element= 'operator'
AND        G1.Item = G2.Item

这是什么回报代码1.我试过不同的tycho版本。我的tycho配置如下

2016-06-14 14:02:43 [INFO] com.prod.xyz.abc.test .............. SUCCESS [02:28 min]
2016-06-14 14:02:43 [INFO] com.prod.xyz.abc.cam.test .......... SUCCESS [02:09 min]
2016-06-14 14:02:43 [INFO] com.prod.xyz.abc.igb.test .......... FAILURE [10:06 min]
2016-06-14 14:02:43 [INFO] com.prod.xyz.abc.igb.sam.test ...... SKIPPED
2016-06-14 14:02:43 [INFO] com.prod.xyz.abc.test .............. SKIPPED
2016-06-14 14:02:43 [INFO] com.prod.xyz.abc.cam.test .......... SKIPPED

[ERROR] Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:0.20.0:test (default-test) on project com.prod.xyz.abc.igb.test: An unexpected error occured (return code 1). See log for details. -> [Help 1]
2016-06-14 14:02:44 [ERROR] 
2016-06-14 14:02:44 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
2016-06-14 14:02:44 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
2016-06-14 14:02:44 [ERROR] 
2016-06-14 14:02:44 [ERROR] For more information about the errors and possible solutions, please read the following articles:
2016-06-14 14:02:44 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
2016-06-14 14:02:44 [ERROR] 
2016-06-14 14:02:44 [ERROR] After correcting the problems, you can resume the build with the command
2016-06-14 14:02:44 [ERROR]   mvn <goals> -rf :com.prod.xyz.abc.igb.test
你可以告诉我如何解决这个问题。谢谢你。

0 个答案:

没有答案