我正在控制台模式下使用Katalon执行自动测试。
有时,詹金斯(Jenkins)执行的作业意外结束而没有任何错误。
Katalon Studio版本5.10.1,Jenkins版本2.121.3
我试图找到除控制台日志以外的一些Jenkins日志,该日志记录了为什么该作业被中止
Jenkins控制台日志:
/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
有人已经有这个问题吗?如何追踪这种情况?我在等你的答案。
我终于找到了造成这个问题的原因。
当您尝试同时执行两个Katalon实例时,Katalon作业就这样失败了。我已将jenkins的执行程序的数量更改为1,并且不再出现问题。
最好的祝福