You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the sonar action, the analysis on SonarCloud shows that the the sonar.login property is deprecated and should no longer be used. This warning is also present in the Fastlane output as well.
The same warning can be seen in the output below at timestamp 2023-08-01T18:01:43.011894971Z
This is apparently due to this line of code, which maps the sonar_login parameter of the sonar action directly to the deprecated sonar.login parameter.
Complete output when running fastlane, including the stack trace and command used
Note that this output is coming from a log file output by Xcode Cloud, so may not be formatted quite exactly as expected. Some information has been redacted from the original output by using *****
2023-08-01T17:59:55.541862727Z Testing started
2023-08-01T17:59:57.150707499Z [10:59:56]: [33mfastlane detected a Gemfile in the current directory[0m
2023-08-01T17:59:57.151016886Z [10:59:56]: [33mHowever, it seems like you didn't use `bundle exec`[0m
2023-08-01T17:59:57.151212736Z [10:59:56]: [33mTo launch fastlane faster, please use[0m
2023-08-01T17:59:57.151427689Z [10:59:56]:
2023-08-01T17:59:57.151668795Z [10:59:56]: [36m$ bundle exec fastlane sonar_analysis_pr result_path:/Volumes/workspace/resultbundle.xcresult workspace:/Volumes/workspace/repository sonar_token:***** target_branch:main source_branch:***** pr_number:148[0m
2023-08-01T17:59:57.151884935Z [10:59:56]:
2023-08-01T17:59:57.152150885Z [10:59:56]: [33mGet started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile[0m
2023-08-01T17:59:59.191734817Z +-----------------------------------+---------+-------------------+
2023-08-01T17:59:59.192144269Z | [32mUsed plugins[0m |
2023-08-01T17:59:59.203280538Z +-----------------------------------+---------+-------------------+
2023-08-01T17:59:59.203517003Z | Plugin | Version | Action |
2023-08-01T17:59:59.203764727Z +-----------------------------------+---------+-------------------+
2023-08-01T17:59:59.203980434Z | fastlane-plugin-xcresult_to_junit | 0.3.1 | xcresult_to_junit |
2023-08-01T17:59:59.204226286Z +-----------------------------------+---------+-------------------+
2023-08-01T17:59:59.204437832Z
2023-08-01T17:59:59.204674118Z [10:59:58]: [32m------------------------------[0m
2023-08-01T17:59:59.204931537Z [10:59:58]: [32m--- Step: default_platform ---[0m
2023-08-01T17:59:59.205162458Z [10:59:58]: [32m------------------------------[0m
2023-08-01T17:59:59.205408975Z [10:59:58]: [32mDriving the lane 'ios sonar_analysis_pr' 🚀[0m
2023-08-01T17:59:59.205660023Z [10:59:58]: [32m--------------------------------------------------------------------[0m
2023-08-01T17:59:59.205871471Z [10:59:58]: [32mStep: /Volumes/workspace/repository/xccov-to-sonarqube-generic.sh /Volumes/workspace/resultbundle.xcresult > /Volumes/workspace/repository/sonarqube-generic-coverage.xml[0m
2023-08-01T17:59:59.206076190Z [10:59:58]: [32m--------------------------------------------------------------------[0m
2023-08-01T17:59:59.206286935Z [10:59:58]: [36m$ /Volumes/workspace/repository/xccov-to-sonarqube-generic.sh /Volumes/workspace/resultbundle.xcresult > /Volumes/workspace/repository/sonarqube-generic-coverage.xml[0m
2023-08-01T18:01:06.321123343Z [11:01:06]: [32m-------------------------------[0m
2023-08-01T18:01:06.321510318Z [11:01:06]: [32m--- Step: xcresult_to_junit ---[0m
2023-08-01T18:01:06.321924203Z [11:01:06]: [32m-------------------------------[0m
2023-08-01T18:01:06.322195647Z [11:01:06]: The xcresult_to_junit plugin has started!
2023-08-01T18:01:06.322467745Z [11:01:06]: [36m$ xcrun xcresulttool get --format json --path /Volumes/workspace/resultbundle.xcresult[0m
2023-08-01T18:01:06.587526167Z [11:01:06]: [36m$ xcrun xcresulttool get --format json --path /Volumes/workspace/resultbundle.xcresult --id 0~w0EIdEkaIluGtz-1d8BYnFeWri0n7zb0snuNF5Bial4hKAq4PzrzJpSiufbctpU5mthJFic82-__GXSpktvhLg==[0m
2023-08-01T18:01:06.722548902Z [11:01:06]: [36m$ xcrun xcresulttool get --format json --path /Volumes/workspace/resultbundle.xcresult --id 0~tT6q7wPp81rdvh91EcLdgbDYTdhRHuXJIl_PmO2uPSFbtdNUap4OuKOG5ZGuR4DlIX-WmlYtikVzFtCLRggdGA==[0m
2023-08-01T18:01:06.726122092Z [11:01:06]: [36m$ xcrun xcresulttool get --format json --path /Volumes/workspace/resultbundle.xcresult --id 0~NdhR5Fr1RaFyfx5UIG496ng3LUoK96-5yH4MpixqoN1AV2nNkDwHe_Gan5tQdZtrXpzbDAtZn1NHe-JfHJRkMw==[0m
2023-08-01T18:01:06.797309699Z [11:01:06]: [36m$ xcrun xcresulttool get --format json --path /Volumes/workspace/resultbundle.xcresult --id 0~sCUFMIRTolggLdoi-LZHusDZMcbGuQA-vNfuhpiqXPZ2YOSmgtjhWpW1scid3oPKnufqB2weAeqcI0VsCVKUoQ==[0m
2023-08-01T18:01:06.867446670Z [11:01:06]: [36m$ xcrun xcresulttool get --format json --path /Volumes/workspace/resultbundle.xcresult --id 0~w1a_uN-LHPNUa2cyZFmQctbcAfu5rM_xOVuy8iDgGHXwva5y5klAIwyKqWRHmH_UVwshFCScWBwj_HfQdPqKAQ==[0m
2023-08-01T18:01:06.905324442Z [11:01:06]: [36m$ xcrun xcresulttool get --format json --path /Volumes/workspace/resultbundle.xcresult --id 0~l1EPbEx-9C0iEDwyqWtdKpT6XGlkUsP3d8m7NcOmBOgfhN9OQKtzC8VzeQCkrp4TMSiza2Yc6JORWtdQ_uunnQ==[0m
2023-08-01T18:01:06.974740553Z [11:01:06]: [36m$ xcrun xcresulttool get --format json --path /Volumes/workspace/resultbundle.xcresult --id 0~48I9XrWtmmGD-8z2ePmmj99blx76P-PA_4VygkOpfXawaTtw_gFJKjZ1mCA1wcCBdg1bZo9vB-QvMXrnFBq0-g==[0m
2023-08-01T18:01:07.110481856Z [11:01:06]: The xcresult_to_junit plugin has finished!
2023-08-01T18:01:07.111000885Z [11:01:06]: [32m-------------------[0m
2023-08-01T18:01:07.111321817Z [11:01:06]: [32m--- Step: sonar ---[0m
2023-08-01T18:01:07.111651008Z [11:01:06]: [32m-------------------[0m
2023-08-01T18:01:09.147500256Z [11:01:08]: ▸ [35mINFO: Scanner configuration file: /usr/local/Cellar/sonar-scanner/5.0.0.2966/libexec/conf/sonar-scanner.properties[0m
2023-08-01T18:01:09.147960038Z [11:01:08]: ▸ [35mINFO: Project root configuration file: NONE[0m
2023-08-01T18:01:09.166458246Z [11:01:09]: ▸ [35mINFO: SonarScanner 5.0.0.2966[0m
2023-08-01T18:01:09.166807483Z [11:01:09]: ▸ [35mINFO: Java 20.0.1 Homebrew (64-bit)[0m
2023-08-01T18:01:09.167010737Z [11:01:09]: ▸ [35mINFO: Mac OS X 13.5 x86_64[0m
2023-08-01T18:01:09.431962203Z [11:01:09]: ▸ [35mINFO: User cache: /Users/local/.sonar/cache[0m
2023-08-01T18:01:14.473940195Z [11:01:13]: ▸ [35mINFO: Analyzing on SonarCloud[0m
2023-08-01T18:01:14.474236661Z [11:01:13]: ▸ [35mINFO: Default locale: "en_US", source code encoding: "UTF-8" (analysis is platform dependent)[0m
2023-08-01T18:01:15.098899314Z [11:01:14]: ▸ [35mINFO: Load global settings[0m
2023-08-01T18:01:15.099154761Z [11:01:14]: ▸ [35mINFO: Load global settings (done) | time=725ms[0m
2023-08-01T18:01:15.099381229Z [11:01:14]: ▸ [35mINFO: Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu[0m
2023-08-01T18:01:15.099674722Z [11:01:14]: ▸ [35mINFO: User cache: /Users/local/.sonar/cache[0m
2023-08-01T18:01:15.099894246Z [11:01:14]: ▸ [35mINFO: Load/download plugins[0m
2023-08-01T18:01:15.100107460Z [11:01:14]: ▸ [35mINFO: Load plugins index[0m
2023-08-01T18:01:15.526047266Z [11:01:15]: ▸ [35mINFO: Load plugins index (done) | time=412ms[0m
2023-08-01T18:01:24.581103012Z [11:01:24]: ▸ [35mINFO: Load/download plugins (done) | time=9241ms[0m
2023-08-01T18:01:25.617665725Z [11:01:25]: ▸ [35mINFO: Loaded core extensions: developer-scanner[0m
2023-08-01T18:01:25.753231717Z [11:01:25]: ▸ [35mINFO: Load project settings for component key: '*****'[0m
2023-08-01T18:01:26.278517209Z [11:01:26]: ▸ [35mINFO: Load project settings for component key: '*****' (done) | time=491ms[0m
2023-08-01T18:01:26.278859399Z [11:01:26]: ▸ [35mINFO: Process project properties[0m
2023-08-01T18:01:26.279058308Z [11:01:26]: ▸ [35mINFO: Execute project builders[0m
2023-08-01T18:01:26.279318099Z [11:01:26]: ▸ [35mINFO: Execute project builders (done) | time=2ms[0m
2023-08-01T18:01:26.279520866Z [11:01:26]: ▸ [35mINFO: Project key: *****[0m
2023-08-01T18:01:26.279753157Z [11:01:26]: ▸ [35mINFO: Base dir: /Volumes/workspace/repository[0m
2023-08-01T18:01:26.279951751Z [11:01:26]: ▸ [35mINFO: Working dir: /Volumes/workspace/repository/.scannerwork[0m
2023-08-01T18:01:26.295367666Z [11:01:26]: ▸ [35mINFO: Load project branches[0m
2023-08-01T18:01:26.814881023Z [11:01:26]: ▸ [35mINFO: Load project branches (done) | time=408ms[0m
2023-08-01T18:01:26.815198393Z [11:01:26]: ▸ [35mINFO: Check ALM binding of project '*****'[0m
2023-08-01T18:01:27.339899729Z [11:01:27]: ▸ [35mINFO: Detected project binding: BOUND[0m
2023-08-01T18:01:27.340195949Z [11:01:27]: ▸ [35mINFO: Check ALM binding of project '*****' (done) | time=471ms[0m
2023-08-01T18:01:27.340411312Z [11:01:27]: ▸ [35mINFO: Load project pull requests[0m
2023-08-01T18:01:27.866099270Z [11:01:27]: ▸ [35mINFO: Load project pull requests (done) | time=610ms[0m
2023-08-01T18:01:27.866501688Z [11:01:27]: ▸ [35mINFO: Load branch configuration[0m
2023-08-01T18:01:28.906586725Z [11:01:28]: ▸ [35mINFO: Load branch configuration (done) | time=1007ms[0m
2023-08-01T18:01:28.906966579Z [11:01:28]: ▸ [35mINFO: Load quality profiles[0m
2023-08-01T18:01:29.944998954Z [11:01:29]: ▸ [35mINFO: Load quality profiles (done) | time=773ms[0m
2023-08-01T18:01:29.945334951Z [11:01:29]: ▸ [35mINFO: Load active rules[0m
2023-08-01T18:01:43.010891206Z [11:01:42]: ▸ [35mINFO: Load active rules (done) | time=12960ms[0m
2023-08-01T18:01:43.011271776Z [11:01:42]: ▸ [35mINFO: Organization key: *****[0m
2023-08-01T18:01:43.011576744Z [11:01:42]: ▸ [35mINFO: Pull request 148 for merge into main from *****[0m
2023-08-01T18:01:43.011894971Z [11:01:42]: ▸ [35mWARN: The property 'sonar.login' is deprecated and will be removed in the future. Please use the 'sonar.token' property instead when passing a token.[0m
2023-08-01T18:01:43.012136335Z [11:01:42]: ▸ [35mINFO: Load project repositories[0m
2023-08-01T18:01:43.537326124Z [11:01:43]: ▸ [35mINFO: Load project repositories (done) | time=872ms[0m
2023-08-01T18:01:43.537682301Z [11:01:43]: ▸ [35mINFO: SCM collecting changed files in the branch[0m
2023-08-01T18:01:43.798341251Z [11:01:43]: ▸ [35mINFO: SCM collecting changed files in the branch (done) | time=219ms[0m
2023-08-01T18:01:43.798725956Z [11:01:43]: ▸ [35mINFO: Indexing files...[0m
2023-08-01T18:01:43.798978030Z [11:01:43]: ▸ [35mINFO: Project configuration:[0m
2023-08-01T18:01:43.799241564Z [11:01:43]: ▸ [35mINFO: Excluded sources: **/build-wrapper-dump.json, vendor/**, **/Tests/**, **/Package.swift[0m
2023-08-01T18:01:43.799534731Z [11:01:43]: ▸ [35mINFO: Excluded sources for duplication: **/Package.swift, Package.swift[0m
2023-08-01T18:01:44.320828495Z [11:01:44]: ▸ [35mINFO: 301 files indexed[0m
2023-08-01T18:01:44.321208318Z [11:01:44]: ▸ [35mINFO: 132 files ignored because of inclusion/exclusion patterns[0m
2023-08-01T18:01:44.321541072Z [11:01:44]: ▸ [35mINFO: 3 files ignored because of scm ignore settings[0m
2023-08-01T18:01:44.321905647Z [11:01:44]: ▸ [35mINFO: Quality profile for json: SonarQube Way[0m
2023-08-01T18:01:44.322174066Z [11:01:44]: ▸ [35mINFO: Quality profile for swift: Sonar way[0m
2023-08-01T18:01:44.322436333Z [11:01:44]: ▸ [35mINFO: Quality profile for xml: Sonar way[0m
2023-08-01T18:01:44.324590888Z [11:01:44]: ▸ [35mINFO: ------------- Run sensors on module *****[0m
2023-08-01T18:01:44.592077459Z [11:01:44]: ▸ [35mINFO: Load metrics repository[0m
2023-08-01T18:01:44.859073411Z [11:01:44]: ▸ [35mINFO: Load metrics repository (done) | time=314ms[0m
2023-08-01T18:01:44.859485957Z [11:01:44]: ▸ [35mINFO: Sensor cache enabled[0m
2023-08-01T18:01:44.859827267Z [11:01:44]: ▸ [35mINFO: Load sensor cache[0m
2023-08-01T18:01:45.899387160Z [11:01:45]: ▸ [35mINFO: Load sensor cache (404) | time=916ms[0m
2023-08-01T18:01:48.942115194Z [11:01:48]: ▸ [35mINFO: Sensor IaC CloudFormation Sensor [iac][0m
2023-08-01T18:01:48.942437608Z [11:01:48]: ▸ [35mINFO: 0 source files to be analyzed[0m
2023-08-01T18:01:48.942705285Z [11:01:48]: ▸ [35mINFO: 0/0 source files have been analyzed[0m
2023-08-01T18:01:48.942918947Z [11:01:48]: ▸ [35mINFO: Sensor IaC CloudFormation Sensor [iac] (done) | time=41ms[0m
2023-08-01T18:01:48.943196894Z [11:01:48]: ▸ [35mINFO: Sensor IaC Kubernetes Sensor [iac][0m
2023-08-01T18:01:48.943403389Z [11:01:48]: ▸ [35mINFO: 0 source files to be analyzed[0m
2023-08-01T18:01:48.943673036Z [11:01:48]: ▸ [35mINFO: 0/0 source files have been analyzed[0m
2023-08-01T18:01:48.943863106Z [11:01:48]: ▸ [35mINFO: Sensor IaC Kubernetes Sensor [iac] (done) | time=8ms[0m
2023-08-01T18:01:48.944062471Z [11:01:48]: ▸ [35mINFO: Sensor IaC AzureResourceManager Sensor [iac][0m
2023-08-01T18:01:48.944301319Z [11:01:48]: ▸ [35mINFO: 0 source files to be analyzed[0m
2023-08-01T18:01:48.944518989Z [11:01:48]: ▸ [35mINFO: 0/0 source files have been analyzed[0m
2023-08-01T18:01:48.944741972Z [11:01:48]: ▸ [35mINFO: Sensor IaC AzureResourceManager Sensor [iac] (done) | time=11ms[0m
2023-08-01T18:01:48.944937874Z [11:01:48]: ▸ [35mINFO: Sensor C# Project Type Information [csharp][0m
2023-08-01T18:01:48.945176596Z [11:01:48]: ▸ [35mINFO: Sensor C# Project Type Information [csharp] (done) | time=1ms[0m
2023-08-01T18:01:48.945422896Z [11:01:48]: ▸ [35mINFO: Sensor C# Analysis Log [csharp][0m
2023-08-01T18:01:48.945659257Z [11:01:48]: ▸ [35mINFO: Sensor C# Analysis Log [csharp] (done) | time=11ms[0m
2023-08-01T18:01:48.945868181Z [11:01:48]: ▸ [35mINFO: Sensor C# Properties [csharp][0m
2023-08-01T18:01:48.946127194Z [11:01:48]: ▸ [35mINFO: Sensor C# Properties [csharp] (done) | time=0ms[0m
2023-08-01T18:01:48.946335317Z [11:01:48]: ▸ [35mINFO: Sensor HTML [web][0m
2023-08-01T18:01:48.946527445Z [11:01:48]: ▸ [35mINFO: Sensor HTML is restricted to changed files only[0m
2023-08-01T18:01:48.946817079Z [11:01:48]: ▸ [35mINFO: Sensor HTML [web] (done) | time=4ms[0m
2023-08-01T18:01:48.947037516Z [11:01:48]: ▸ [35mINFO: Sensor XML Sensor [xml][0m
2023-08-01T18:01:48.947226964Z [11:01:48]: ▸ [35mINFO: Sensor XML Sensor is restricted to changed files only[0m
2023-08-01T18:01:48.947430342Z [11:01:48]: ▸ [35mINFO: Sensor XML Sensor [xml] (done) | time=66ms[0m
2023-08-01T18:01:48.947668243Z [11:01:48]: ▸ [35mINFO: Sensor TextAndSecretsSensor [text][0m
2023-08-01T18:01:48.947869811Z [11:01:48]: ▸ [35mINFO: Sensor TextAndSecretsSensor is restricted to changed files only[0m
2023-08-01T18:01:48.948082690Z [11:01:48]: ▸ [35mINFO: Sensor TextAndSecretsSensor [text] (done) | time=70ms[0m
2023-08-01T18:01:48.948329791Z [11:01:48]: ▸ [35mINFO: Sensor VB.NET Project Type Information [vbnet][0m
2023-08-01T18:01:48.948528459Z [11:01:48]: ▸ [35mINFO: Sensor VB.NET Project Type Information [vbnet] (done) | time=1ms[0m
2023-08-01T18:01:48.948758608Z [11:01:48]: ▸ [35mINFO: Sensor VB.NET Analysis Log [vbnet][0m
2023-08-01T18:01:48.948999837Z [11:01:48]: ▸ [35mINFO: Sensor VB.NET Analysis Log [vbnet] (done) | time=11ms[0m
2023-08-01T18:01:48.949206351Z [11:01:48]: ▸ [35mINFO: Sensor VB.NET Properties [vbnet][0m
2023-08-01T18:01:48.949393247Z [11:01:48]: ▸ [35mINFO: Sensor VB.NET Properties [vbnet] (done) | time=0ms[0m
2023-08-01T18:01:48.949590502Z [11:01:48]: ▸ [35mINFO: Sensor Swift Code Quality and Security [swift][0m
2023-08-01T18:01:48.949816161Z [11:01:48]: ▸ [35mINFO: Sensor Swift Code Quality and Security is restricted to changed files only[0m
2023-08-01T18:01:48.949993306Z [11:01:48]: ▸ [35mINFO: 0 source files to be analyzed[0m
2023-08-01T18:01:48.950249746Z [11:01:48]: ▸ [35mINFO: 0/0 source files have been analyzed[0m
2023-08-01T18:01:48.950453482Z [11:01:48]: ▸ [35mINFO: Sensor Swift Code Quality and Security [swift] (done) | time=2ms[0m
2023-08-01T18:01:48.950680558Z [11:01:48]: ▸ [35mINFO: Sensor JaCoCo XML Report Importer [jacoco][0m
2023-08-01T18:01:48.950877416Z [11:01:48]: ▸ [35mINFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml[0m
2023-08-01T18:01:48.951061448Z [11:01:48]: ▸ [35mINFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer[0m
2023-08-01T18:01:48.951245931Z [11:01:48]: ▸ [35mINFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=2ms[0m
2023-08-01T18:01:48.951439797Z [11:01:48]: ▸ [35mINFO: Sensor CSS Rules [javascript][0m
2023-08-01T18:01:48.951675058Z [11:01:48]: ▸ [35mINFO: Sensor CSS Rules is restricted to changed files only[0m
2023-08-01T18:01:48.951874350Z [11:01:48]: ▸ [35mINFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.[0m
2023-08-01T18:01:48.952109382Z [11:01:48]: ▸ [35mINFO: Sensor CSS Rules [javascript] (done) | time=1ms[0m
2023-08-01T18:01:48.952331934Z [11:01:48]: ▸ [35mINFO: Sensor ThymeLeaf template sensor [securityjavafrontend][0m
2023-08-01T18:01:48.952538924Z [11:01:48]: ▸ [35mINFO: Sensor ThymeLeaf template sensor [securityjavafrontend] (done) | time=1ms[0m
2023-08-01T18:01:48.952795462Z [11:01:48]: ▸ [35mINFO: Sensor IaC Docker Sensor [iac][0m
2023-08-01T18:01:48.953001861Z [11:01:48]: ▸ [35mINFO: Sensor IaC Docker Sensor is restricted to changed files only[0m
2023-08-01T18:01:48.953188229Z [11:01:48]: ▸ [35mINFO: 0 source files to be analyzed[0m
2023-08-01T18:01:48.953370175Z [11:01:48]: ▸ [35mINFO: 0/0 source files have been analyzed[0m
2023-08-01T18:01:48.953562229Z [11:01:48]: ▸ [35mINFO: Sensor IaC Docker Sensor [iac] (done) | time=60ms[0m
2023-08-01T18:01:48.953854166Z [11:01:48]: ▸ [35mINFO: Sensor Serverless configuration file sensor [security][0m
2023-08-01T18:01:48.954045686Z [11:01:48]: ▸ [35mINFO: 0 Serverless function entries were found in the project[0m
2023-08-01T18:01:48.954232526Z [11:01:48]: ▸ [35mINFO: 0 Serverless function handlers were kept as entrypoints[0m
2023-08-01T18:01:48.954418589Z [11:01:48]: ▸ [35mINFO: Sensor Serverless configuration file sensor [security] (done) | time=4ms[0m
2023-08-01T18:01:48.954642322Z [11:01:48]: ▸ [35mINFO: Sensor AWS SAM template file sensor [security][0m
2023-08-01T18:01:48.954939977Z [11:01:48]: ▸ [35mINFO: Sensor AWS SAM template file sensor [security] (done) | time=1ms[0m
2023-08-01T18:01:48.955196897Z [11:01:48]: ▸ [35mINFO: Sensor AWS SAM Inline template file sensor [security][0m
2023-08-01T18:01:48.955419417Z [11:01:48]: ▸ [35mINFO: Sensor AWS SAM Inline template file sensor [security] (done) | time=0ms[0m
2023-08-01T18:01:48.955634902Z [11:01:48]: ▸ [35mINFO: Sensor Generic Coverage Report[0m
2023-08-01T18:01:48.955842534Z [11:01:48]: ▸ [35mINFO: Parsing /Volumes/workspace/repository/sonarqube-generic-coverage.xml[0m
2023-08-01T18:01:48.956040998Z [11:01:48]: ▸ [35mINFO: Imported coverage data for 141 files[0m
2023-08-01T18:01:48.956277810Z [11:01:48]: ▸ [35mINFO: Coverage data ignored for 118 unknown files, including:[0m
2023-08-01T18:01:48.956473297Z [11:01:48]: ▸ [35m/Volumes/workspace/repository/*****[0m
2023-08-01T18:01:48.956687494Z [11:01:48]: ▸ [35m/Volumes/workspace/repository/*****[0m
2023-08-01T18:01:48.956874125Z [11:01:48]: ▸ [35m/Volumes/workspace/repository/*****[0m
2023-08-01T18:01:48.957094795Z [11:01:48]: ▸ [35m/Volumes/workspace/repository/*****[0m
2023-08-01T18:01:48.957311148Z [11:01:48]: ▸ [35m/Volumes/workspace/repository/*****[0m
2023-08-01T18:01:48.957533367Z [11:01:48]: ▸ [35mINFO: Sensor Generic Coverage Report (done) | time=135ms[0m
2023-08-01T18:01:48.957754294Z [11:01:48]: ▸ [35mINFO: Sensor javabugs [dbd][0m
2023-08-01T18:01:48.957953435Z [11:01:48]: ▸ [35mINFO: Reading IR files from: /Volumes/workspace/repository/.scannerwork/ir/java[0m
2023-08-01T18:01:48.958146189Z [11:01:48]: ▸ [35mINFO: No IR files have been included for analysis.[0m
2023-08-01T18:01:48.958342245Z [11:01:48]: ▸ [35mINFO: Sensor javabugs [dbd] (done) | time=2ms[0m
2023-08-01T18:01:48.958551636Z [11:01:48]: ▸ [35mINFO: Sensor pythonbugs [dbd][0m
2023-08-01T18:01:48.958790137Z [11:01:48]: ▸ [35mINFO: Reading IR files from: /Volumes/workspace/repository/.scannerwork/ir/python[0m
2023-08-01T18:01:48.959047315Z [11:01:48]: ▸ [35mINFO: No IR files have been included for analysis.[0m
2023-08-01T18:01:48.959279260Z [11:01:48]: ▸ [35mINFO: Sensor pythonbugs [dbd] (done) | time=0ms[0m
2023-08-01T18:01:48.959478610Z [11:01:48]: ▸ [35mINFO: Sensor JavaSecuritySensor [security][0m
2023-08-01T18:01:48.959813848Z [11:01:48]: ▸ [35mINFO: Reading type hierarchy from: /Volumes/workspace/repository/.scannerwork/ucfg2/java[0m
2023-08-01T18:01:48.960021275Z [11:01:48]: ▸ [35mINFO: Read 0 type definitions[0m
2023-08-01T18:01:48.960313527Z [11:01:48]: ▸ [35mINFO: No UCFGs have been included for analysis.[0m
2023-08-01T18:01:48.960525522Z [11:01:48]: ▸ [35mINFO: Sensor JavaSecuritySensor [security] (done) | time=4ms[0m
2023-08-01T18:01:48.960880578Z [11:01:48]: ▸ [35mINFO: Sensor CSharpSecuritySensor [security][0m
2023-08-01T18:01:48.961147144Z [11:01:48]: ▸ [35mINFO: Reading type hierarchy from: /Volumes/workspace/repository/ucfg_cs2[0m
2023-08-01T18:01:48.961445893Z [11:01:48]: ▸ [35mINFO: Read 0 type definitions[0m
2023-08-01T18:01:48.961666375Z [11:01:48]: ▸ [35mINFO: No UCFGs have been included for analysis.[0m
2023-08-01T18:01:48.961988490Z [11:01:48]: ▸ [35mINFO: Sensor CSharpSecuritySensor [security] (done) | time=0ms[0m
2023-08-01T18:01:48.962188125Z [11:01:48]: ▸ [35mINFO: Sensor PhpSecuritySensor [security][0m
2023-08-01T18:01:48.962528534Z [11:01:48]: ▸ [35mINFO: Reading type hierarchy from: /Volumes/workspace/repository/.scannerwork/ucfg2/php[0m
2023-08-01T18:01:48.962774884Z [11:01:48]: ▸ [35mINFO: Read 0 type definitions[0m
2023-08-01T18:01:48.963016830Z [11:01:48]: ▸ [35mINFO: No UCFGs have been included for analysis.[0m
2023-08-01T18:01:48.963218478Z [11:01:48]: ▸ [35mINFO: Sensor PhpSecuritySensor [security] (done) | time=0ms[0m
2023-08-01T18:01:48.963460137Z [11:01:48]: ▸ [35mINFO: Sensor PythonSecuritySensor [security][0m
2023-08-01T18:01:48.963666471Z [11:01:48]: ▸ [35mINFO: Reading type hierarchy from: /Volumes/workspace/repository/.scannerwork/ucfg2/python[0m
2023-08-01T18:01:48.963862176Z [11:01:48]: ▸ [35mINFO: Read 0 type definitions[0m
2023-08-01T18:01:48.964090472Z [11:01:48]: ▸ [35mINFO: No UCFGs have been included for analysis.[0m
2023-08-01T18:01:48.964289096Z [11:01:48]: ▸ [35mINFO: Sensor PythonSecuritySensor [security] (done) | time=1ms[0m
2023-08-01T18:01:48.964558989Z [11:01:48]: ▸ [35mINFO: Sensor JsSecuritySensor [security][0m
2023-08-01T18:01:48.964811867Z [11:01:48]: ▸ [35mINFO: Reading type hierarchy from: /Volumes/workspace/repository/.scannerwork/ucfg2/js[0m
2023-08-01T18:01:48.965063910Z [11:01:48]: ▸ [35mINFO: Read 0 type definitions[0m
2023-08-01T18:01:48.965269117Z [11:01:48]: ▸ [35mINFO: No UCFGs have been included for analysis.[0m
2023-08-01T18:01:48.965499899Z [11:01:48]: ▸ [35mINFO: Sensor JsSecuritySensor [security] (done) | time=0ms[0m
2023-08-01T18:01:48.965757200Z [11:01:48]: ▸ [35mINFO: ------------- Run sensors on project[0m
2023-08-01T18:01:48.965979716Z [11:01:48]: ▸ [35mINFO: Sensor Analysis Warnings import [csharp][0m
2023-08-01T18:01:48.966254685Z [11:01:48]: ▸ [35mINFO: Sensor Analysis Warnings import [csharp] (done) | time=1ms[0m
2023-08-01T18:01:48.966518591Z [11:01:48]: ▸ [35mINFO: Sensor Zero Coverage Sensor[0m
2023-08-01T18:01:48.966817449Z [11:01:48]: ▸ [35mINFO: Sensor Zero Coverage Sensor (done) | time=4ms[0m
2023-08-01T18:01:48.967060359Z [11:01:48]: ▸ [35mINFO: CPD Executor Calculating CPD for 0 files[0m
2023-08-01T18:01:48.967288042Z [11:01:48]: ▸ [35mINFO: CPD Executor CPD calculation finished (done) | time=0ms[0m
2023-08-01T18:01:48.967526118Z [11:01:48]: ▸ [35mINFO: SCM writing changed lines[0m
2023-08-01T18:01:48.967803450Z [11:01:48]: ▸ [35mINFO: SCM writing changed lines (done) | time=5ms[0m
2023-08-01T18:01:49.230719077Z [11:01:48]: ▸ [35mINFO: Analysis report generated in 231ms, dir size=254 KB[0m
2023-08-01T18:01:49.267039813Z [11:01:49]: ▸ [35mINFO: Analysis report compressed in 130ms, zip size=108 KB[0m
2023-08-01T18:01:50.305789597Z [11:01:49]: ▸ [35mINFO: Analysis report uploaded in 656ms[0m
2023-08-01T18:01:50.306209597Z [11:01:49]: ▸ [35mINFO: ANALYSIS SUCCESSFUL, you can find the results at: https://sonarcloud.io/dashboard?id=*****&pullRequest=148[0m
2023-08-01T18:01:50.306451549Z [11:01:49]: ▸ [35mINFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report[0m
2023-08-01T18:01:50.306699348Z [11:01:49]: ▸ [35mINFO: More about the report processing at https://sonarcloud.io/api/ce/task?id=AYmyQ2m2F9THxwjE5CZ0[0m
2023-08-01T18:01:50.307007960Z [11:01:49]: ▸ [35mINFO: Analysis total time: 24.692 s[0m
2023-08-01T18:01:50.307322806Z [11:01:49]: ▸ [35mINFO: ------------------------------------------------------------------------[0m
2023-08-01T18:01:50.307534534Z [11:01:49]: ▸ [35mINFO: EXECUTION SUCCESS[0m
2023-08-01T18:01:50.307779389Z [11:01:49]: ▸ [35mINFO: ------------------------------------------------------------------------[0m
2023-08-01T18:01:50.307977554Z [11:01:49]: ▸ [35mINFO: Total time: 40.809s[0m
2023-08-01T18:01:50.308158699Z [11:01:49]: ▸ [35mINFO: Final Memory: 44M/176M[0m
2023-08-01T18:01:50.308430886Z [11:01:49]: ▸ [35mINFO: ------------------------------------------------------------------------[0m
2023-08-01T18:01:50.520981117Z
2023-08-01T18:01:50.522434270Z +------+---------------------------------------------------------------+-------------+
2023-08-01T18:01:50.522724611Z | [32mfastlane summary[0m |
2023-08-01T18:01:50.522999029Z +------+---------------------------------------------------------------+-------------+
2023-08-01T18:01:50.523184031Z | Step | Action | Time (in s) |
2023-08-01T18:01:50.523427623Z +------+---------------------------------------------------------------+-------------+
2023-08-01T18:01:50.523612558Z | 1 | default_platform | 0 |
2023-08-01T18:01:50.523932905Z | 2 | /Volumes/workspace/repository/xccov-to-sonarqube-generic.sh / | 67 |
2023-08-01T18:01:50.524181671Z | 3 | xcresult_to_junit | 0 |
2023-08-01T18:01:50.524377328Z | 4 | sonar | 43 |
2023-08-01T18:01:50.524589479Z +------+---------------------------------------------------------------+-------------+
2023-08-01T18:01:50.524803945Z
2023-08-01T18:01:50.525007355Z [11:01:50]: [32mfastlane.tools finished successfully 🎉[0m
Environment
I'm not sure how relevant this is since the problem is happening on an Xcode Cloud runner, though it does happen if I run it directly as well. Some information has been redacted from the original output by using *****
default_platform(:ios)platform:iosdodesc"Exports Test Coverage and Code Quality Analysis from PR to SonarCloud"lane:sonar_analysis_prdo |options|
Dir.chdir("..")dosh("#{options[:workspace]}/xccov-to-sonarqube-generic.sh #{options[:result_path]} > #{options[:workspace]}/sonarqube-generic-coverage.xml")endxcresult_to_junit(xcresult_path: options[:result_path],output_path: "#{options[:workspace]}/test_output")sonar(project_key: "*****",project_name: "*****",project_version: "3.0",project_language: "swift",exclusions: "vendor/**,**/Tests/**,**/Package.swift",sonar_runner_args: "-Dsonar.projectBaseDir=#{options[:workspace]} -Dsonar.c.file.suffixes=- -Dsonar.cpp.file.suffixes=- -Dsonar.objc.file.suffixes=- -Dsonar.pullrequest.provider=github -Dsonar.junit.report_paths=#{options[:workspace]}/test_output -Dsonar.coverageReportPaths=#{options[:workspace]}/sonarqube-generic-coverage.xml",sources_path: options[:workspace],sonar_organization: "*****",sonar_login: options[:sonar_token],sonar_url: "https://sonarcloud.io",pull_request_branch: options[:source_branch],pull_request_base: options[:target_branch],pull_request_key: options[:pr_number])enddesc"Exports Test Coverage and Code Quality Analysis from branch to SonarCloud"lane:sonar_analysis_main_mergedo |options|
Dir.chdir("..")dosh("#{options[:workspace]}/xccov-to-sonarqube-generic.sh #{options[:result_path]} > #{options[:workspace]}/sonarqube-generic-coverage.xml")endxcresult_to_junit(xcresult_path: options[:result_path],output_path: "#{options[:workspace]}/test_output")sonar(project_key: "*****",project_name: "*****",project_version: "3.0",project_language: "swift",exclusions: "vendor/**,**/Tests/**,**/Package.swift",sonar_runner_args: "-Dsonar.projectBaseDir=#{options[:workspace]} -Dsonar.c.file.suffixes=- -Dsonar.cpp.file.suffixes=- -Dsonar.objc.file.suffixes=- -Dsonar.pullrequest.provider=github -Dsonar.junit.report_paths=#{options[:workspace]}/test_output -Dsonar.coverageReportPaths=#{options[:workspace]}/sonarqube-generic-coverage.xml",sources_path: options[:workspace],sonar_organization: "*****",sonar_login: options[:sonar_token],sonar_url: "https://sonarcloud.io",branch_name: options[:branch])endend
`./Appfile`
# app_identifier("[[APP_IDENTIFIER]]") # The bundle identifier of your app# apple_id("[[APPLE_ID]]") # Your Apple email address# For more information about the Appfile, see:# https://docs.fastlane.tools/advanced/#appfile
fastlane gems
Gem
Version
Update-Status
fastlane
2.214.0
✅ Up-To-Date
Loaded fastlane plugins:
Plugin
Version
Update-Status
fastlane-plugin-xcresult_to_junit
0.3.1
✅ Up-To-Date
Loaded gems
Gem
Version
error_highlight
0.3.0
did_you_mean
1.6.1
atomos
0.1.3
rexml
3.2.5
CFPropertyList
3.0.6
claide
1.1.0
colored2
3.1.2
nanaimo
0.3.0
xcodeproj
1.22.0
rouge
2.0.7
xcpretty
0.3.0
terminal-notifier
2.0.0
unicode-display_width
1.8.0
terminal-table
1.8.0
plist
3.7.0
public_suffix
5.0.3
addressable
2.8.4
multipart-post
2.3.0
word_wrap
1.0.0
optparse
0.1.1
tty-screen
0.8.1
tty-cursor
0.7.1
tty-spinner
0.9.3
artifactory
3.0.15
babosa
1.0.4
colored
1.2
highline
2.0.3
commander
4.6.0
excon
0.100.0
faraday-em_http
1.0.0
faraday-em_synchrony
1.0.0
faraday-excon
1.1.0
faraday-httpclient
1.0.1
faraday-multipart
1.0.4
faraday-net_http
1.0.1
faraday-net_http_persistent
1.2.0
faraday-patron
1.0.0
faraday-rack
1.0.0
faraday-retry
1.0.3
ruby2_keywords
0.0.5
faraday
1.10.3
unf_ext
0.0.8.2
unf
0.1.4
domain_name
0.5.20190701
http-cookie
1.0.5
faraday-cookie_jar
0.0.7
faraday_middleware
1.2.0
fastimage
2.2.7
gh_inspector
1.1.3
mini_magick
4.12.0
naturally
2.2.1
rubyzip
2.3.2
security
0.1.3
xcpretty-travis-formatter
1.0.1
dotenv
2.8.1
simctl
1.6.10
jwt
2.7.1
uber
0.1.0
declarative
0.0.20
trailblazer-option
0.1.2
representable
3.2.0
retriable
3.1.2
mini_mime
1.1.2
httpclient
2.8.3
webrick
1.8.1
google-apis-core
0.11.0
google-apis-playcustomapp_v1
0.13.0
google-apis-androidpublisher_v3
0.45.0
google-cloud-env
1.6.0
google-cloud-errors
1.3.1
google-cloud-core
1.6.0
google-apis-iamcredentials_v1
0.17.0
google-apis-storage_v1
0.19.0
rake
13.0.6
digest-crc
0.6.5
google-cloud-storage
1.44.0
emoji_regex
3.2.3
jmespath
1.6.2
aws-eventstream
1.2.0
aws-sigv4
1.6.0
aws-sdk-core
3.178.0
aws-sdk-kms
1.71.0
aws-sdk-s3
1.130.0
set
1.0.2
json
2.6.3
bundler
2.4.17
multi_json
1.15.0
signet
0.17.0
os
1.1.4
memoist
0.16.2
googleauth
1.7.0
aws-partitions
1.790.0
forwardable
1.3.2
logger
1.5.0
pathname
0.2.0
shellwords
0.1.0
cgi
0.3.6
date
3.2.2
timeout
0.2.0
stringio
3.0.1
securerandom
0.2.0
uri
0.12.1
openssl
3.0.1
digest
3.1.0
io-nonblock
0.1.0
ipaddr
1.2.4
io-wait
0.2.1
zlib
2.1.1
resolv
0.2.1
time
0.2.2
open-uri
0.2.0
mutex_m
0.1.1
net-http
0.3.0
net-protocol
0.1.2
ostruct
0.5.2
english
0.7.1
erb
2.2.3
strscan
3.0.1
abbrev
0.1.0
io-console
0.5.11
tempfile
0.1.2
delegate
0.2.0
fileutils
1.6.0
tmpdir
0.1.2
base64
0.1.1
singleton
0.1.1
open3
0.1.1
nkf
0.1.1
prettyprint
0.1.1
pp
0.3.0
find
0.1.1
yaml
0.2.0
psych
4.0.4
fastlane-plugin-xcresult_to_junit
0.3.1
generated on:2023-08-02
The text was updated successfully, but these errors were encountered:
Its powerful set of language-specific analyzers uses thousands of rules to track down hard-to-find bugs and quality issues - Receiptify Spotify from simple coding mistakes, and tricky bugs, to advanced issues and security vulnerabilities such as injection flaws.
New Issue Checklist
Issue Description
When using the
sonar
action, the analysis on SonarCloud shows that the thesonar.login
property is deprecated and should no longer be used. This warning is also present in the Fastlane output as well.The same warning can be seen in the output below at timestamp
2023-08-01T18:01:43.011894971Z
This is apparently due to this line of code, which maps the
sonar_login
parameter of thesonar
action directly to the deprecatedsonar.login
parameter.Command executed
Complete output when running fastlane, including the stack trace and command used
Note that this output is coming from a log file output by Xcode Cloud, so may not be formatted quite exactly as expected. Some information has been redacted from the original output by using
*****
Environment
I'm not sure how relevant this is since the problem is happening on an Xcode Cloud runner, though it does happen if I run it directly as well. Some information has been redacted from the original output by using
*****
The text was updated successfully, but these errors were encountered: