mkorpela / pabot

Parallel executor for Robot Framework test cases.
https://pabot.org
Apache License 2.0
476 stars 152 forks source link

EXCEPTION RAISED DURING PABOT EXECUTION #555

Open Chandrashekhar12010 opened 1 year ago

Chandrashekhar12010 commented 1 year ago

RuntimeError: Connection to remote server broken: [Errno 111] Connection refused

Pabot: 2.16.0 16:17:56 Python: 3.11.2 (main, Feb 8 2023, 14:49:29) [GCC 7.5.0] 16:17:56 Robot Framework: 6.1.1 16:17:56 Stopping PabotLib process 16:17:56 Could not connect to PabotLib - assuming stopped already 16:17:56 Total testing: 5 hours 34.90 seconds 16:17:56 Elapsed time: 47 minutes 30.24 seconds 16:17:56 Traceback (most recent call last): 16:17:56 File "/data/jenkins/workspace/API-APN2-pod2_email_jr/SITvenv/bin/pabot", line 8, in 16:17:56 sys.exit(main()) 16:17:56 ^^^^^^ 16:17:56 File "/data/jenkins/workspace/API-APN2-pod2_email_jr/SITvenv/lib/python3.11/site-packages/pabot/pabot.py", line 1876, in main 16:17:56 return sys.exit(main_program(args)) 16:17:56 ^^^^^^^^^^^^^^^^^^ 16:17:56 File "/data/jenkins/workspace/API-APN2-pod2_email_jr/SITvenv/lib/python3.11/site-packages/pabot/pabot.py", line 1919, in main_program 16:17:56 _parallel_execute( 16:17:56 File "/data/jenkins/workspace/API-APN2-pod2_email_jr/SITvenv/lib/python3.11/site-packages/pabot/pabot.py", line 1331, in _parallel_execute 16:17:56 dynamic_items = _get_dynamically_created_execution_items( 16:17:56 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 16:17:56 File "/data/jenkins/workspace/API-APN2-pod2_email_jr/SITvenv/lib/python3.11/site-packages/pabot/pabot.py", line 1849, in _get_dynamically_created_execution_items 16:17:56 new_suites = plib.run_keyword("get_added_suites", [], {}) 16:17:56 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 16:17:56 File "/data/jenkins/workspace/API-APN2-pod2_email_jr/SITvenv/lib/python3.11/site-packages/robot/libraries/Remote.py", line 100, in run_keyword 16:17:56 result = RemoteResult(self._client.run_keyword(name, args, kwargs)) 16:17:56 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 16:17:56 File "/data/jenkins/workspace/API-APN2-pod2_email_jr/SITvenv/lib/python3.11/site-packages/robot/libraries/Remote.py", line 253, in run_keyword 16:17:56 raise RuntimeError(message) 16:17:56 RuntimeError: Connection to remote server broken: [Errno 111] Connection refused 16:17:56 /var/lib/jenkins/workspace/API-APN2-pod2_email_jr/Test_Report 16:17:56 output.xml file is missing: /var/lib/jenkins/workspace/API-APN2-pod2_email_jr/Test_Report/output_33.xml 16:17:56 Post stage 16:17:56 [Pipeline] robot 16:17:56 Robot results publisher started... 16:17:56 -Parsing output xml: 16:17:56 Failed! 16:17:56 hudson.AbortException: No files found in path /var/lib/jenkins/workspace/API-APN2-pod2_email_jr/Test_Report with configured filemask: output_33.xml 16:17:56 at hudson.plugins.robot.RobotParser$RobotParserCallable.invoke(RobotParser.java:76) 16:17:56 at hudson.plugins.robot.RobotParser$RobotParserCallable.invoke(RobotParser.java:52) 16:17:56 at hudson.FilePath.act(FilePath.java:1200) 16:17:56 at hudson.FilePath.act(FilePath.java:1183) 16:17:56 at hudson.plugins.robot.RobotParser.parse(RobotParser.java:48) 16:17:56 at hudson.plugins.robot.RobotPublisher.parse(RobotPublisher.java:245) 16:17:56 at hudson.plugins.robot.RobotPublisher.perform(RobotPublisher.java:267) 16:17:56 at hudson.plugins.robot.RobotStepExecution.run(RobotStepExecution.java:32) 16:17:56 at hudson.plugins.robot.RobotStepExecution.run(RobotStepExecution.java:15) 16:17:56 at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47) 16:17:56 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 16:17:56 at java.util.concurrent.FutureTask.run(FutureTask.java:266) 16:17:56 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 16:17:56 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 16:17:56 at java.lang.Thread.run(Thread.java:750) 16:17:56 [Pipeline] slackSend 16:17:56 Slack Send Pipeline step running, values are - baseUrl: , teamDomain: netcorecloudp-p3f4948, channel: engg-qa-cee-module-owners, color: , botUser: false, tokenCredentialId: de1f3792-5314-42a8-9ec5-46d1bdedb79a, notifyCommitters: false, iconEmoji: , username: , timestamp: 16:17:57 [Pipeline] } 16:17:57 [Pipeline] // stage 16:17:57 [Pipeline] } 16:17:57 [Pipeline] // withEnv 16:17:57 [Pipeline] } 16:17:57 [Pipeline] // node 16:17:57 [Pipeline] End of Pipeline 16:17:57 ERROR: script returned exit code 1 16:17:57 Finished: FAILURE