-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Excessive "did not find extension point…" output slows script execution time #68
Comments
Having exact the same issue on our CI env, takes ~ 8min to generate the report and tons of error output like this. |
I was having the same issue upon upgrading our project to Xcode 11.0. I was unable to determine the cause of this error, but was able to figure out a workaround that works for us. Leveraging xcparse, you can convert the Xcode 11
Our project can produce multiple I did also look into merging |
Thanks a lot, @akoller-vs! For us, in first tests, utilizing |
If you need to save some time, there's this tool that speeds up the process from 25 to 4 minutes for us. 🚀 |
Thanks so much, @akoller-vs. This solution has reduced the build time considerably. As a further step, we're also looking at optimising the script by excluding all file and folder patterns that we provide in the sonar exclusions. We'll inform if this has significant benefits. 👍🏼 |
My solution to this warning and slowness. I developed this xslt to get the generic report from cobertura xml, instead of using the xcov and xccov-to-sonarqube-generic.sh https://github.com/softreigns/coverage-report-cobertura-to-sonar-generic |
There's no need for additional tools. It's pretty easy to script the process. First run
That gives you all the test information in a big JSON dump. You can parse that and then grab the xccovarchive ID with this keypath:
That will be a big gibberish string like v79U1TE0pwleCkEioB. Then you pass that to
That creates the xccovarchive directory. Run the sonar conversion script on that directory and it will run about 10x faster than running it on the xcresult. |
Hello @silverhammermba |
That change looks good to me. I'm fine with closing this, though I wasn't involved in the original report |
Going ahead and closing this thread after the merge of #121 yesterday |
As reported by many users in issue #63, execution time of the script is extremely slow when run using the .xcresult bundle format introduced in Xcode 11. Each time any
xccov
command is run, there is a delay followed by the following output:Requested but did not find extension point with identifier Xcode.IDEFoundation.IDEResultKitSerializationConverter
The text was updated successfully, but these errors were encountered: