jenkins中意外的工作中止

jenkins中意外的工作中止

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

问题描述

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

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

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

Sometimes job executed by Jenkins ends unexpectedly without any error.

除了控制台日志以外,我试图找到一些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中意外的工作中止的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-06 02:48