We are using slather to generate the coverage report. We do see sometimes we are getting issues when generating the coverage and it fails with below error.
Based on the error , i see its comes from LLVM
Has anyone seen that issue?
Based on the error , i see its comes from LLVM
Code Block language Failed to load coverage: Invalid instrumentation profile data (bad magic) error: Could not load coverage information /Users/**/.rvm/gems/ruby-2.7.0/gems/json-2.2.0/lib/json/common.rb:156: warning: Using the last argument as keyword parameters is deprecated /Users//.rvm/gems/ruby-2.7.0/gems/json-2.2.0/lib/json/common.rb:156:in `parse': 785: unexpected token at '' (JSON::ParserError) from /Users//.rvm/gems/ruby-2.7.0/gems/json-2.2.0/lib/json/common.rb:156:in `parse' from /Users//.rvm/gems/ruby-2.7.0/gems/slather-2.4.7/lib/slather/project.rb:135:in `pathnames_per_binary' from /Users//.rvm/gems/ruby-2.7.0/gems/slather-2.4.7/lib/slather/project.rb:124:in `block in profdata_coverage_files' from /Users//.rvm/gems/ruby-2.7.0/gems/slather-2.4.7/lib/slather/project.rb:123:in `each' from /Users//.rvm/gems/ruby-2.7.0/gems/slather-2.4.7/lib/slather/project.rb:123:in `profdata_coverage_files' from /Users//.rvm/gems/ruby-2.7.0/gems/slather-2.4.7/lib/slather/project.rb:98:in `coverage_files' from /Users//.rvm/gems/ruby-2.7.0/gems/slather-2.4.7/lib/slather/coverage_service/cobertura_xml_output.rb:18:in `post' from /Users//.rvm/gems/ruby-2.7.0/gems/slather-2.4.7/lib/slather/command/coverage_command.rb:97:in `post' from /Users//.rvm/gems/ruby-2.7.0/gems/slather-2.4.7/lib/slather/command/coverage_command.rb:59:in `execute' from /Users//.rvm/gems/ruby-2.7.0/gems/clamp-1.3.1/lib/clamp/command.rb:66:in `run' from /Users//.rvm/gems/ruby-2.7.0/gems/clamp-1.3.1/lib/clamp/subcommand/execution.rb:18:in `execute' from /Users//.rvm/gems/ruby-2.7.0/gems/clamp-1.3.1/lib/clamp/command.rb:66:in `run' from /Users//.rvm/gems/ruby-2.7.0/gems/clamp-1.3.1/lib/clamp/command.rb:140:in `run' from /Users//.rvm/gems/ruby-2.7.0/gems/slather-2.4.7/bin/slather:17:in `<top (required)>' from /Users//.rvm/gems/ruby-2.7.0/bin/slather:23:in `load' from /Users//.rvm/gems/ruby-2.7.0/bin/slather:23:in `<main>' from /Users//.rvm/gems/ruby-2.7.0/bin/ruby_executable_hooks:24:in `eval' from /Users/**/.rvm/gems/ruby-2.7.0/bin/ruby_executable_hooks:24:in `<main>'
Has anyone seen that issue?