Agent version: 1.9.9 Start time: 2020-04-22T09:07:12Z +------------------------------------------------------------------------------+ | (8) sonarqube-scanner@1 | +------------------------------------------------------------------------------+ | id: sonarqube-scanner | | version: 1.0.6 | | collection: https://github.com/bitrise-io/bitrise-steplib.git | | toolkit: bash | | time: 2020-04-22T09:10:16Z | +------------------------------------------------------------------------------+ | | INFO[09:10:16] * [OK] Step dependency (unzip) installed, available. INFO[09:10:16] * [OK] Step dependency (wget) installed, available. + [[ ! -z sonar.sources=. sonar.projectKey=### sonar.organization=### sonar.host.url=https://sonarcloud.io sonar.login=### ]] + [[ -e sonar-project.properties ]] + echo -n 'sonar.sources=. sonar.java.binaries=build/classes/kotlin/main sonar.projectKey=### sonar.organization=### sonar.host.url=https://sonarcloud.io sonar.login=###' ++ java -version ++ grep -i version ++ sed 's/.*version ".*\.\(.*\)\..*"/\1/; 1q' + JAVA_VERSION_MAJOR=8 + '[' '!' -z 8 ']' + '[' 8 -lt 8 ']' ++ mktemp -d + pushd /var/folders/6q/wgy6jtp12w5gzgm9lzcglpqw0000gn/T/tmp.ICOqXtYO /var/folders/6q/wgy6jtp12w5gzgm9lzcglpqw0000gn/T/tmp.ICOqXtYO ~/git + wget https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-3.3.0.1492.zip --2020-04-22 09:10:20-- https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-3.3.0.1492.zip Resolving binaries.sonarsource.com (binaries.sonarsource.com)... 91.134.125.245 Connecting to binaries.sonarsource.com (binaries.sonarsource.com)|91.134.125.245|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 564320 (551K) [application/zip] Saving to: ‘sonar-scanner-cli-3.3.0.1492.zip’ 0K .......... .......... .......... .......... .......... 9% 150K 3s 50K .......... .......... .......... .......... .......... 18% 331K 2s 100K .......... .......... .......... .......... .......... 27% 3.69M 1s 150K .......... .......... .......... .......... .......... 36% 344K 1s 200K .......... .......... .......... .......... .......... 45% 6.81M 1s 250K .......... .......... .......... .......... .......... 54% 4.26M 1s 300K .......... .......... .......... .......... .......... 63% 347K 0s 350K .......... .......... .......... .......... .......... 72% 11.0M 0s 400K .......... .......... .......... .......... .......... 81% 11.9M 0s 450K .......... .......... .......... .......... .......... 90% 7.01M 0s 500K .......... .......... .......... .......... .......... 99% 342K 0s 550K . 100% 21.9K=1.0s 2020-04-22 09:10:21 (570 KB/s) - ‘sonar-scanner-cli-3.3.0.1492.zip’ saved [564320/564320] + unzip sonar-scanner-cli-3.3.0.1492.zip Archive: sonar-scanner-cli-3.3.0.1492.zip creating: sonar-scanner-3.3.0.1492/ creating: sonar-scanner-3.3.0.1492/bin/ creating: sonar-scanner-3.3.0.1492/conf/ creating: sonar-scanner-3.3.0.1492/lib/ inflating: sonar-scanner-3.3.0.1492/bin/sonar-scanner-debug.bat inflating: sonar-scanner-3.3.0.1492/bin/sonar-scanner-debug inflating: sonar-scanner-3.3.0.1492/conf/sonar-scanner.properties inflating: sonar-scanner-3.3.0.1492/lib/sonar-scanner-cli-3.3.0.1492.jar inflating: sonar-scanner-3.3.0.1492/bin/sonar-scanner.bat inflating: sonar-scanner-3.3.0.1492/bin/sonar-scanner ++ pwd + TEMP_DIR=/var/folders/6q/wgy6jtp12w5gzgm9lzcglpqw0000gn/T/tmp.ICOqXtYO + popd ~/git + /var/folders/6q/wgy6jtp12w5gzgm9lzcglpqw0000gn/T/tmp.ICOqXtYO/sonar-scanner-3.3.0.1492/bin/sonar-scanner INFO: Scanner configuration file: /private/var/folders/6q/wgy6jtp12w5gzgm9lzcglpqw0000gn/T/tmp.ICOqXtYO/sonar-scanner-3.3.0.1492/conf/sonar-scanner.properties INFO: Project root configuration file: /Users/vagrant/git/sonar-project.properties INFO: SonarQube Scanner 3.3.0.1492 INFO: Java 1.8.0_242 AdoptOpenJDK (64-bit) INFO: Mac OS X 10.15.3 x86_64 INFO: User cache: /Users/vagrant/.sonar/cache INFO: SonarQube server 8.0.0 INFO: Default locale: "en_US", source code encoding: "UTF-8" (analysis is platform dependent) INFO: Load global settings INFO: Load global settings (done) | time=890ms INFO: Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu INFO: User cache: /Users/vagrant/.sonar/cache INFO: Load/download plugins INFO: Load plugins index INFO: Load plugins index (done) | time=205ms INFO: Load/download plugins (done) | time=27698ms INFO: Loaded core extensions: developer-scanner INFO: Process project properties INFO: Execute project builders INFO: Execute project builders (done) | time=4ms INFO: Project key: FinalCAD_CoreDataKit INFO: Base dir: /Users/vagrant/git INFO: Working dir: /Users/vagrant/git/.scannerwork INFO: Load project settings for component key: '###' INFO: Load project settings for component key: '###' (done) | time=278ms INFO: Found an active CI vendor: 'Bitrise' INFO: Load project branches INFO: Load project branches (done) | time=163ms INFO: Check ALM binding of project '###' INFO: Detected project binding: BOUND INFO: Check ALM binding of project '###' (done) | time=160ms INFO: Load project pull requests INFO: Load project pull requests (done) | time=156ms INFO: Load branch configuration INFO: Load branch configuration (done) | time=4ms INFO: Load quality profiles INFO: Load quality profiles (done) | time=228ms INFO: Load active rules INFO: Load active rules (done) | time=4683ms INFO: Organization key: finalcad INFO: Indexing files... INFO: Project configuration: INFO: 34 files indexed INFO: 0 files ignored because of scm ignore settings INFO: Quality profile for c: Sonar way INFO: Quality profile for swift: Sonar way INFO: Quality profile for xml: Sonar way INFO: ------------- Run sensors on module FinalCAD_CoreDataKit INFO: Load metrics repository INFO: Load metrics repository (done) | time=167ms INFO: Sensor SonarCSS Rules [cssfamily] INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped. INFO: Sensor SonarCSS Rules [cssfamily] (done) | time=1ms INFO: Sensor JavaXmlSensor [java] INFO: 1 source files to be analyzed INFO: Load project repositories INFO: Load project repositories (done) | time=179ms INFO: Sensor JavaXmlSensor [java] (done) | time=324ms INFO: Sensor HTML [web] INFO: 1/1 source files have been analyzed INFO: Sensor HTML [web] (done) | time=4ms INFO: Sensor XML Sensor [xml] INFO: 1 source files to be analyzed WARN: Unable to analyse file file:///Users/vagrant/git/sonarqube-generic-coverage.xml; INFO: Sensor XML Sensor [xml] (done) | time=93ms INFO: Sensor SonarSwift [swift] INFO: 1/1 source files have been analyzed INFO: 16 source files to be analyzed INFO: 16/16 source files have been analyzed INFO: ------------------------------------------------------------------------ INFO: EXECUTION FAILURE INFO: ------------------------------------------------------------------------ INFO: Total time: 48.332s INFO: Final Memory: 34M/197M INFO: ------------------------------------------------------------------------ ERROR: Error during SonarQube Scanner execution ERROR: java.io.IOException: Is a directory ERROR: Caused by: Is a directory ERROR: ERROR: Re-run SonarQube Scanner using the -X switch to enable full debug logging.