-
-
Notifications
You must be signed in to change notification settings - Fork 265
Closed
Description
Since the pretty recent commit 2b42ea6#diff-a0f8b345c9aeb827c5f4f8fc8991a8f177ae410c1fd631f77541b54e3be6da7c the generation of the XML report fails for me with:
Exception raised in plugin: xml_tests_report, in method post_build
/var/lib/gems/3.0.0/gems/ceedling-0.31.1/plugins/xml_tests_report/lib/xml_tests_report.rb:88:in `join': no implicit conversion of nil into String (TypeError)
from /var/lib/gems/3.0.0/gems/ceedling-0.31.1/plugins/xml_tests_report/lib/xml_tests_report.rb:88:in `block (2 levels) in write_tests'
from /var/lib/gems/3.0.0/gems/ceedling-0.31.1/plugins/xml_tests_report/lib/xml_tests_report.rb:86:in `each'
from /var/lib/gems/3.0.0/gems/ceedling-0.31.1/plugins/xml_tests_report/lib/xml_tests_report.rb:86:in `block in write_tests'
from /var/lib/gems/3.0.0/gems/ceedling-0.31.1/plugins/xml_tests_report/lib/xml_tests_report.rb:85:in `each'
from /var/lib/gems/3.0.0/gems/ceedling-0.31.1/plugins/xml_tests_report/lib/xml_tests_report.rb:85:in `write_tests'
from /var/lib/gems/3.0.0/gems/ceedling-0.31.1/plugins/xml_tests_report/lib/xml_tests_report.rb:38:in `write_results'
from /var/lib/gems/3.0.0/gems/ceedling-0.31.1/plugins/xml_tests_report/lib/xml_tests_report.rb:28:in `block (2 levels) in post_build'
from /var/lib/gems/3.0.0/gems/ceedling-0.31.1/lib/ceedling/file_wrapper.rb:53:in `block in open'
from /var/lib/gems/3.0.0/gems/ceedling-0.31.1/lib/ceedling/file_wrapper.rb:52:in `open'
from /var/lib/gems/3.0.0/gems/ceedling-0.31.1/lib/ceedling/file_wrapper.rb:52:in `open'
from /var/lib/gems/3.0.0/gems/ceedling-0.31.1/plugins/xml_tests_report/lib/xml_tests_report.rb:26:in `block in post_build'
from /var/lib/gems/3.0.0/gems/ceedling-0.31.1/plugins/xml_tests_report/lib/xml_tests_report.rb:19:in `each_key'
from /var/lib/gems/3.0.0/gems/ceedling-0.31.1/plugins/xml_tests_report/lib/xml_tests_report.rb:19:in `post_build'
from /var/lib/gems/3.0.0/gems/ceedling-0.31.1/lib/ceedling/plugin_manager.rb:99:in `block in execute_plugins'
from /var/lib/gems/3.0.0/gems/ceedling-0.31.1/lib/ceedling/plugin_manager.rb:97:in `each'
from /var/lib/gems/3.0.0/gems/ceedling-0.31.1/lib/ceedling/plugin_manager.rb:97:in `execute_plugins'
from /var/lib/gems/3.0.0/gems/ceedling-0.31.1/lib/ceedling/plugin_manager.rb:85:in `post_build'
from /var/lib/gems/3.0.0/gems/ceedling-0.31.1/lib/ceedling/rakefile.rb:78:in `block in <top (required)>'
Our configuration concerning reports is pretty basic and I assume is not the cause of this issue:
:plugins:
:load_paths:
- "#{Ceedling.load_path}"
:enabled:
- stdout_pretty_tests_report
- module_generator
- raw_output_report
- colour_report
- gcov
- xml_tests_report
- junit_tests_report
:gcov:
:report_generator:
:xml_report: true
:reports:
- HtmlDetailed
- Cobertura
:gcovr:
:html_medium_threshold: 75
:html_high_threshold: 90
:report_exclude: "components*|build*|test*"
# :cobertura_pretty: true
:junit_tests_report:
:artifact_filename: report_junit.xml
A simple revert of 2b42ea6 did immediately resolve this issue.
But maybe this is not the best option. FYI @bw35
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels