使用katalon执行自动测试时,jenkins中意外的工作中止 [英] Unexpected job aborting in jenkins when using katalon to execute automatic tests

查看:262
本文介绍了使用katalon执行自动测试时,jenkins中意外的工作中止的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在控制台模式下使用Katalon执行自动测试.

I’m executing automatic tests using Katalon in console mode.

有时Jenkins执行的作业意外结束,没有任何错误.

Sometimes job executed by Jenkins ends unexpectedly without any error.

Katalon Studio 5.10.1版, Jenkins版本2.121.3

Katalon Studio version 5.10.1, Jenkins version 2.121.3

除了控制台日志以外,我试图找到一些Jenkins日志,这些日志记录了为什么该作业被中止

I've tried to find some Jenkins logs other than console logs, which logged why that job is aborted

Jenkins控制台日志:

Jenkins console logs:

/var/lib/jenkins/.katalon/5.10.1/Katalon_Studio_Linux_64-5.10.1/katalon -noSplash -runMode=console -projectPath=/var/lib/jenkins/workspace/(...) -browserType=Firefox -testSuitePath=Test Suites/MainTestingSuite
Delete folder: Libs
Opening project file: /var/lib/jenkins/workspace/(...).prj
Request sent successfully.
[EL Warning]: 2019-05-10 13:54:15.046–Ignoring attribute [lastRun] on class [TestSuiteEntity] as no Property was generated for it.
**Build step ‘Execute shell’ changed build result to UNSTABLE**
Got SIGTERM, exiting
In exit
Terminating xvnc.
$ vncserver -kill :80
Killing Xvnc4 process ID 29224
Archiving artifacts
‘Reports/MainTestingSuite/’ doesn’t match anything, but ‘’ does. Perhaps that’s what you mean?
No artifacts found that match the file pattern "Reports/MainTestingSuite/". Configuration error?
Recording test results
ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error?
Finished: FAILURE

有人已经遇到了这个问题?如何追踪这种情况? 我在等待你的答案.

Someone already had that problem? How to track that case? I’m waiting for your answer.

推荐答案

我终于找到了造成该问题的原因.

I’ve finally found cause of that problem.

当您尝试同时执行两个Katalon实例时,Katalon作业就这样失败了.我已将jenkins的执行程序的数量更改为1,并且不再出现问题.

Katalon job failed like that, when you try executed two Katalon instances at the moment. I’ve changed number of executors at jenkins to 1, and problem is not occuring anymore.

最好的问候

这篇关于使用katalon执行自动测试时,jenkins中意外的工作中止的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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