Advertisement
Guest User

Untitled

a guest
Feb 25th, 2020
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.38 KB | None | 0 0
  1. Running with gitlab-runner 12.2.0 (a987417a)
  2.  on [POS] #2 - General Purpose (any) Runner Nfoq5fMm
  3. section_start:1582621876:prepare_executor
  4. Using Kubernetes namespace: croz-prod-gitlab
  5. Using Kubernetes executor with image registry.dmz.croz.net/croz-internal/node-gitlab-ci:latest ...
  6. section_end:1582621876:prepare_executor
  7. section_start:1582621876:prepare_script
  8. Waiting for pod croz-prod-gitlab/runner-nfoq5fmm-project-2106-concurrent-0bc6k2 to be running, status is Pending
  9. Waiting for pod croz-prod-gitlab/runner-nfoq5fmm-project-2106-concurrent-0bc6k2 to be running, status is Pending
  10. Waiting for pod croz-prod-gitlab/runner-nfoq5fmm-project-2106-concurrent-0bc6k2 to be running, status is Pending
  11. Running on runner-nfoq5fmm-project-2106-concurrent-0bc6k2 via gitlab-runner-9-gkpkh...
  12. section_end:1582621885:prepare_script
  13. section_start:1582621885:get_sources
  14. Fetching changes with git depth set to 50...
  15. Initialized empty Git repository in /builds/rba/internet-banking/application/hrok-b2b-frontend/.git/
  16. Created fresh repository.
  17. From https://gitlab.croz.net/rba/internet-banking/application/hrok-b2b-frontend
  18. * [new ref] refs/pipelines/35065 -> refs/pipelines/35065
  19. * [new branch] master -> origin/master
  20. Checking out 6ce9091f as master...
  21.  
  22. Skipping Git submodules setup
  23. section_end:1582621885:get_sources
  24. section_start:1582621885:restore_cache
  25. section_end:1582621886:restore_cache
  26. section_start:1582621886:download_artifacts
  27. Downloading artifacts for npm-build (96561)...
  28. Downloading artifacts from coordinator... ok  id=96561 responseStatus=200 OK token=NxeiLpgN
  29. section_end:1582621895:download_artifacts
  30. section_start:1582621895:build_script
  31. $ npm config set cache /build/artifacts/.npm || true # collapsed multi-line command
  32. /build/artifacts/.npm
  33. /bin/bash: line 93: docker: command not found
  34. /bin/bash: line 94: podman: command not found
  35. stat: cannot stat 'gradlew': No such file or directory
  36. Branch master set up to track remote branch master from origin.
  37. Switched to a new branch 'master'
  38. $ echo "@croz-internal:registry=https://repository.dmz.croz.net/repository/npm/" >> ~/.npmrc
  39. $ echo "//repository.dmz.croz.net/repository/npm/:_authToken=$(cat /conf/npm/token)" >> ~/.npmrc
  40. $ export SONAR_LOGIN=f1c5ba8061393f2007867d13d3be335e6e3d1513
  41. $ npm run sonar
  42.  
  43. > hr.rba.hrok-b2b-frontend@0.1.0 sonar /builds/rba/internet-banking/application/hrok-b2b-frontend
  44. > sonar-runner
  45.  
  46. [09:11:37] Starting SonarQube analysis...
  47. [09:11:37] Checking if executable exists: /root/.sonar/native-sonar-scanner/sonar-scanner-4.0.0.1744-linux/bin/sonar-scanner
  48. [09:11:37] Could not find executable in "/root/.sonar/native-sonar-scanner".
  49. [09:11:37] Proceed with download of the platform binaries for SonarQube Scanner...
  50. [09:11:37] Creating /root/.sonar/native-sonar-scanner
  51. [09:11:37] Downloading from https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-4.0.0.1744-linux.zip
  52. [09:11:37] (executable will be saved in cache folder: /root/.sonar/native-sonar-scanner)
  53. (node:82) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
  54.  
  55. Picked up JAVA_TOOL_OPTIONS: -XX:+UnlockExperimentalVMOptions
  56. INFO: Scanner configuration file: /root/.sonar/native-sonar-scanner/sonar-scanner-4.0.0.1744-linux/conf/sonar-scanner.properties
  57. INFO: Project root configuration file: /builds/rba/internet-banking/application/hrok-b2b-frontend/sonar-project.properties
  58. INFO: SonarQube Scanner 4.0.0.1744
  59. INFO: Java 11.0.3 AdoptOpenJDK (64-bit)
  60. INFO: Linux 3.10.0-957.10.1.el7.x86_64 amd64
  61. INFO: User cache: /root/.sonar/cache
  62. INFO: SonarQube server 7.9.1
  63. INFO: Default locale: "en", source code encoding: "UTF-8"
  64. INFO: Load global settings
  65. INFO: Load global settings (done) | time=123ms
  66. INFO: Server id: C6524891-AW1yoqeX3Z_KC98ZSzKX
  67. INFO: User cache: /root/.sonar/cache
  68. INFO: Load/download plugins
  69. INFO: Load plugins index
  70. INFO: Load plugins index (done) | time=58ms
  71. INFO: Load/download plugins (done) | time=3454ms
  72. INFO: Process project properties
  73. INFO: Project key: hr.rba.hrok.b2b:frontend
  74. INFO: Base dir: /builds/rba/internet-banking/application/hrok-b2b-frontend
  75. INFO: Working dir: /builds/rba/internet-banking/application/hrok-b2b-frontend/.scannerwork
  76. INFO: Load project settings for component key: 'hr.rba.hrok.b2b:frontend'
  77. INFO: Load project settings for component key: 'hr.rba.hrok.b2b:frontend' (done) | time=83ms
  78. INFO: Load project branches
  79. INFO: Load project branches (done) | time=32ms
  80. INFO: Load project pull requests
  81. INFO: Load project pull requests (done) | time=34ms
  82. INFO: Load branch configuration
  83. INFO: Load branch configuration (done) | time=1ms
  84. INFO: Load quality profiles
  85. INFO: Load quality profiles (done) | time=97ms
  86. INFO: Detected Gitlab CI
  87. INFO: Load active rules
  88. INFO: Load active rules (done) | time=1510ms
  89. INFO: Branch name: master, type: long living
  90. INFO: Indexing files...
  91. INFO: Project configuration:
  92. INFO: Excluded sources: **/node_modules/**, **/*.test.js, **/*.test.jsx, **/*.test.ts, **/*.test.tsx
  93. INFO: Included tests: **/*.test.js, **/*.test.jsx, **/*.test.ts, **/*.test.tsx
  94. INFO: Load project repositories
  95. INFO: Load project repositories (done) | time=39ms
  96. INFO: 36 files indexed
  97. INFO: 0 files ignored because of inclusion/exclusion patterns
  98. INFO: 0 files ignored because of scm ignore settings
  99. INFO: Quality profile for css: CROZ
  100. INFO: Quality profile for js: CROZ
  101. INFO: ------------- Run sensors on module RBA - HROK B2B Frontend
  102. WARN: Component of type class org.sonar.plugins.findbugs.FindbugsConfiguration defines methods start() and/or stop(). Neither will be invoked to start/stop the component. Please implement either org.picocontainer.Startable or org.sonar.api.Startable
  103. INFO: Load metrics repository
  104. INFO: Load metrics repository (done) | time=44ms
  105. WARNING: An illegal reflective access operation has occurred
  106. WARNING: Illegal reflective access by net.sf.cglib.core.ReflectUtils$1 (file:/root/.sonar/cache/54f6535c111cefad0fb6a09ba3e61922/sonar-javascript-plugin.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
  107. WARNING: Please consider reporting this to the maintainers of net.sf.cglib.core.ReflectUtils$1
  108. WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
  109. WARNING: All illegal access operations will be denied in a future release
  110. INFO: Sensor SonarCSS Metrics [cssfamily]
  111. INFO: Sensor SonarCSS Metrics [cssfamily] (done) | time=37ms
  112. INFO: Sensor SonarCSS Rules [cssfamily]
  113. INFO: 2 source files to be analyzed
  114. INFO: 2/2 source files have been analyzed
  115. INFO: Sensor SonarCSS Rules [cssfamily] (done) | time=1108ms
  116. INFO: Sensor JaCoCo XML Report Importer [jacoco]
  117. INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=5ms
  118. INFO: Sensor JavaScript analysis [javascript]
  119. INFO: 32 source files to be analyzed
  120. INFO: 32/32 source files have been analyzed
  121. INFO: Sensor SonarJS [javascript]
  122. INFO: 32 source files to be analyzed
  123. INFO: Sensor SonarJS [javascript] (done) | time=931ms
  124. INFO: Sensor JavaScript analysis [javascript] (done) | time=4058ms
  125. INFO: Sensor JavaXmlSensor [java]
  126. INFO: 32/32 source files have been analyzed
  127. INFO: Sensor JavaXmlSensor [java] (done) | time=2ms
  128. INFO: Sensor com.github.mc1arke.sonarqube.plugin.scanner.ScannerConfigurationLoaderSensor
  129. INFO: Sensor com.github.mc1arke.sonarqube.plugin.scanner.ScannerConfigurationLoaderSensor (done) | time=1ms
  130. INFO: ------------- Run sensors on project
  131. INFO: Sensor Zero Coverage Sensor
  132. INFO: Sensor Zero Coverage Sensor (done) | time=10ms
  133. INFO: SCM provider for this project is: git
  134. INFO: 11 files to be analyzed
  135. INFO: 11/11 files analyzed
  136. INFO: 2 files had no CPD blocks
  137. INFO: Calculating CPD for 30 files
  138. INFO: CPD calculation finished
  139. INFO: Analysis report generated in 64ms, dir size=339 KB
  140. INFO: Analysis report compressed in 81ms, zip size=130 KB
  141. INFO: ------------------------------------------------------------------------
  142. INFO: EXECUTION FAILURE
  143. INFO: ------------------------------------------------------------------------
  144. INFO: Total time: 14.708s
  145. INFO: Final Memory: 11M/40M
  146. INFO: ------------------------------------------------------------------------ERROR: Error during SonarQube Scanner execution
  147.  
  148. ERROR: Failed to upload report - An error has occurred. Please contact your administrator
  149. ERROR:
  150. ERROR: Re-run SonarQube Scanner using the -X switch to enable full debug logging.
  151. npm ERR! code ELIFECYCLE
  152. npm ERR! errno 2
  153. npm ERR! hr.rba.hrok-b2b-frontend@0.1.0 sonar: `sonar-runner`
  154. npm ERR! Exit status 2
  155. npm ERR!
  156. npm ERR! Failed at the hr.rba.hrok-b2b-frontend@0.1.0 sonar script.
  157. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
  158.  
  159. npm ERR! A complete log of this run can be found in:
  160. npm ERR! /build/artifacts/.npm/_logs/2020-02-25T09_12_36_359Z-debug.log
  161. section_end:1582621956:build_script
  162. section_start:1582621956:after_script
  163. section_end:1582621956:after_script
  164. section_start:1582621956:upload_artifacts_on_failure
  165. section_end:1582621956:upload_artifacts_on_failure
  166. ERROR: Job failed: command terminated with exit code 1
  167. 
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement