mkorpela / pabot

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

Error while merging result after pabot run #556

Closed pushkarlm closed 11 months ago

pushkarlm commented 1 year ago

Error while merging result .\pabot_results\0\output.xml [ERROR] EXCEPTION RAISED DURING PABOT EXECUTION [ERROR] PLEASE CONSIDER REPORTING THIS ISSUE TO https://github.com/mkorpela/pabot/issues Pabot: 2.15.0 Python: 3.9.9 (tags/v3.9.9:ccb0e6a, Nov 15 2021, 18:08:50) [MSC v.1929 64 bit (AMD64)] Robot Framework: 6.1.1 Total testing: 3.40 seconds Elapsed time: 3.88 seconds Traceback (most recent call last): File "C:\Program Files\Python39\lib\runpy.py", line 197, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\Program Files\Python39\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "C:\Users\myuser\AppData\Roaming\Python\Python39\Scripts\pabot.exe__main__.py", line 7, in File "C:\Users\myuser\AppData\Roaming\Python\Python39\site-packages\pabot\pabot.py.", line 1875, in main return sys.exit(main_program(args)) File "C:\Users\myuser\AppData\Roaming\Python\Python39\site-packages\pabot\pabot.py.", line 1926, in main_program return _report_results( File "C:\Users\myuser\AppData\Roaming\Python\Python39\site-packages\pabot\pabot.py.", line 1420, in _report_results return _report_results_for_one_run( File "C:\Users\myuser\AppData\Roaming\Python\Python39\site-packages\pabot\pabot.py.", line 1451, in _report_results_for_one_run output_path = merge_one_run( File "C:\Users\myuser\AppData\Roaming\Python\Python39\site-packages\pabot\pabot.py.", line 1488, in _merge_one_run resu = merge( File "C:\Users\myuser\AppData\Roaming\Python\Python39\site-packages\pabot\result_merger.py", line 254, in merge merged = merge_groups( File "C:\Users\myuser\AppData\Roaming\Python\Python39\site-packages\pabot\result_merger.py", line 233, in merge_groups merger.merge(out) File "C:\Users\myuser\AppData\Roaming\Python\Python39\site-packages\pabot\result_merger.py", line 59, in merge self.root.metadata._add_initial(merged.suite.metadata) AttributeError: 'Metadata' object has no attribute '_add_initial'

joycezhaomeng commented 1 year ago

same issue - Error while merging result ./pabot_results/0/0/tenant01_unification.txt-output.xml [ERROR] EXCEPTION RAISED DURING PABOT EXECUTION [ERROR] PLEASE CONSIDER REPORTING THIS ISSUE TO https://github.com/mkorpela/pabot/issues Pabot: 2.15.0 Python: 3.10.13 (main, Sep 20 2023, 11:11:20) [GCC 12.2.0] Robot Framework: 6.1.1

mkumarSPI commented 1 year ago

@joycezhaomeng @pushkarlm Please try to use latest pabot veriosn i.e robotframework-pabot==2.16.0 It resolved above error for me

pushkarlm commented 1 year ago

I verified that this issue is fixed in pabot version 2.16.0. This issue can be closed.