mkorpela / pabot

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

Getting error while merging result inside a docker container #543

Closed ghost closed 1 year ago

ghost commented 1 year ago

Env: Pabot: 2.15.0 Python: 3.11.2 Robot Framework: 6.1 Os: Linux / Debian 11 (bullseye)

Traceback (most recent call last): File "/usr/local/bin/pabot", line 8, in sys.exit(main()) ^^^^^^ File "/usr/local/lib/python3.11/site-packages/pabot/pabot.py", line 1875, in main return sys.exit(main_program(args)) ^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/pabot/pabot.py", line 1926, in main_program result_code = _report_results( ^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/pabot/pabot.py", line 1420, in _report_results return _report_results_for_one_run( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/pabot/pabot.py", line 1451, in _report_results_for_one_run output_path = _merge_one_run( ^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/pabot/pabot.py", line 1488, in _merge_one_run resu = merge( ^^^^^^ File "/usr/local/lib/python3.11/site-packages/pabot/result_merger.py", line 254, in merge merged = merge_groups( ^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/pabot/result_merger.py", line 233, in merge_groups merger.merge(out) File "/usr/local/lib/python3.11/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'

siongwai commented 1 year ago

Update to latest pabot should solve the problem

ghost commented 1 year ago

pabot==2.16.0 solve the problem I close this thread. Thank you !