macOS Sierra
Python 2.7.12
robotframework==3.0.2
robotframework-pabot==0.36
robotremoteserver==1.1rc2
I modified _merge_one_run() in pabot/pabot.py to show why I am getting the error (see below). Could you please help what need to be done to resolve this issue?
Note:
def _merge_one_run(outs_dir, options, tests_root_name, outputfile='output.xml'):
output_path = os.path.abspath(os.path.join(
options.get('outputdir', '.'),
options.get('output', outputfile)))
files = sorted(glob(os.path.join(_glob_escape(outs_dir), '**/*.xml')))
##### START DEBUG PRINT #####
print('outs_dir: {}, files: {}'.format(outs_dir, files))
os.system("ls -lR " + outs_dir)
##### END DEBUG PRINT #####
if not files:
_write('WARN: No output files in "%s"' % outs_dir, Color.YELLOW)
return ""
merge(files, options, tests_root_name).save(output_path)
return output_path
Console log:
<type 'exceptions.TypeError'>
outs_dir: ./pabot_results, files: []
total 32
drwxr-xr-x 4 robertwong staff 136 Jun 27 12:58 Testsuites.Transit.Transit Tigris
-rw-r--r-- 1 robertwong staff 12869 Jun 27 12:58 suite_names.xml
./pabot_results/Testsuites.Transit.Transit Tigris:
total 0
-rw-r--r-- 1 robertwong staff 0 Jun 27 12:58 stderr.txt
-rw-r--r-- 1 robertwong staff 0 Jun 27 12:58 stdout.txt
WARN: No output files in "./pabot_results"
Output:
[ ERROR ] Reading XML source '' failed: No such file or directory
--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsubscrib...@googlegroups.com.
To post to this group, send email to robotframework-users@googlegroups.com.
Visit this group at https://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.
To post to this group, send email to robotframe...@googlegroups.com.