Skip to content
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

Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.8.0.2131:sonar (default-cli) on project enumerable4j: You're not authorized to run analysis. Please contact the project administrator #43

Closed
dgroup opened this issue Mar 13, 2021 · 0 comments
Assignees
Milestone

Comments

@dgroup
Copy link
Owner

dgroup commented Mar 13, 2021

https://github.com/dgroup/enumerable4j/runs/2092883368

07:04:13,832 [INFO] --- sonar-maven-plugin:3.8.0.2131:sonar (default-cli) @ enumerable4j ---
07:04:14,135 [INFO] User cache: /home/runner/.sonar/cache
07:04:16,732 [INFO] SonarQube version: 8.5.0
07:04:16,754 [INFO] Default locale: "en", source code encoding: "UTF-8"
07:04:17,319 [INFO] Load global settings
07:04:17,955 [INFO] Load global settings (done) | time=637ms
07:04:17,961 [INFO] Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu
07:04:17,964 [INFO] User cache: /home/runner/.sonar/cache
07:04:17,967 [INFO] Load/download plugins
07:04:17,967 [INFO] Load plugins index
07:04:18,132 [INFO] Load plugins index (done) | time=165ms
07:04:18,423 [INFO] Load/download plugins (done) | time=456ms
07:04:18,573 [INFO] Loaded core extensions: developer-scanner
07:04:18,898 [INFO] JavaScript/TypeScript frontend is enabled
07:04:19,176 [INFO] Found an active CI vendor: 'Github Actions'
07:04:19,185 [INFO] Load project settings for component key: 'dgroup_enumerable4j'
07:04:19,310 [INFO] Load project settings for component key: 'dgroup_enumerable4j' (done) | time=125ms
07:04:19,314 [INFO] Process project properties
07:04:19,323 [INFO] Execute project builders
07:04:19,325 [INFO] Execute project builders (done) | time=2ms
07:04:19,327 [INFO] Project key: dgroup_enumerable4j
07:04:19,327 [INFO] Base dir: /home/runner/work/enumerable4j/enumerable4j
07:04:19,328 [INFO] Working dir: /home/runner/work/enumerable4j/enumerable4j/target/sonar
07:04:19,458 [INFO] Load project branches
07:04:19,566 [INFO] Load project branches (done) | time=108ms
07:04:19,568 [INFO] Check ALM binding of project 'dgroup_enumerable4j'
Warning: 666 [WARNING] Failed to check if project 'dgroup_enumerable4j' is bound
07:04:19,666 [INFO] Detected project binding: ERROR
07:04:19,666 [INFO] Check ALM binding of project 'dgroup_enumerable4j' (done) | time=98ms
07:04:19,668 [INFO] Load project pull requests
07:04:19,801 [INFO] Load project pull requests (done) | time=133ms
07:04:19,804 [INFO] Load branch configuration
07:04:19,805 [INFO] Github event: pull_request
07:04:19,820 [INFO] Auto-configuring pull request 41
07:04:19,824 [INFO] Load branch configuration (done) | time=20ms
07:04:19,851 [INFO] Load quality profiles
07:04:19,999 [INFO] Load quality profiles (done) | time=148ms
07:04:20,003 [INFO] Load active rules
07:04:23,680 [INFO] Load active rules (done) | time=3676ms
07:04:23,702 [INFO] Organization key: dgroup-github
07:04:23,704 [INFO] Pull request 41 for merge into master from implemented_count_#29
07:04:23,723 [INFO] SCM collecting changed files in the branch
07:04:24,123 [INFO] SCM collecting changed files in the branch (done) | time=400ms
07:04:24,167 [INFO] Indexing files...
07:04:24,168 [INFO] Project configuration:
07:04:24,168 [INFO]   Excluded sources for coverage: **/*Exception.java, **/*Fake*.java, **/*.Fake*.java, **/**.Fake*.java
07:04:24,232 [INFO] 11 files indexed
07:04:24,233 [INFO] 0 files ignored because of scm ignore settings
07:04:24,235 [INFO] Quality profile for java: All java related rules with cactoos-matches assertions
07:04:24,236 [INFO] Quality profile for xml: Sonar way
07:04:24,437 [INFO] ------------- Run sensors on module enumerable4j
07:04:24,564 [INFO] JavaScript/TypeScript frontend is enabled
07:04:24,587 [INFO] Load metrics repository
07:04:24,695 [INFO] Load metrics repository (done) | time=108ms
07:04:27,332 [INFO] Sensor JavaSquidSensor [java]
07:04:27,764 [INFO] Configured Java source version (sonar.java.source): 8
07:04:27,772 [INFO] JavaClasspath initialization
07:04:27,778 [INFO] JavaClasspath initialization (done) | time=6ms
07:04:27,778 [INFO] JavaTestClasspath initialization
07:04:27,779 [INFO] JavaTestClasspath initialization (done) | time=1ms
07:04:27,789 [INFO] Java Main Files AST scan
07:04:27,790 [INFO] 3 source files to be analyzed
07:04:29,677 [INFO] 3/3 source files have been analyzed
07:04:29,680 [INFO] Java Main Files AST scan (done) | time=1891ms
07:04:29,681 [INFO] Java Test Files AST scan
07:04:29,681 [INFO] 7 source files to be analyzed
Warning: 745 [WARNING] Unable to create a corresponding matcher for custom assertion method, please check the format of the following symbol: 'affirm'
Warning: 141 [WARNING] Unresolved imports/types have been detected during analysis. Enable DEBUG mode to see them.
07:04:30,142 [INFO] Java Test Files AST scan (done) | time=461ms
07:04:30,143 [INFO] 7/7 source files have been analyzed
07:04:30,143 [INFO] Java Generated Files AST scan
07:04:30,144 [INFO] 0 source files to be analyzed
07:04:30,145 [INFO] Java Generated Files AST scan (done) | time=2ms
07:04:30,145 [INFO] Sensor JavaSquidSensor [java] (done) | time=2813ms
07:04:30,145 [INFO] Sensor SonarCSS Rules [cssfamily]
07:04:30,146 [INFO] No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
07:04:30,146 [INFO] Sensor SonarCSS Rules [cssfamily] (done) | time=1ms
07:04:30,147 [INFO] Sensor C# Project Type Information [csharp]
07:04:30,147 [INFO] Sensor C# Project Type Information [csharp] (done) | time=0ms
07:04:30,148 [INFO] Sensor C# Properties [csharp]
07:04:30,149 [INFO] Sensor C# Properties [csharp] (done) | time=1ms
07:04:30,150 [INFO] Sensor SurefireSensor [java]
07:04:30,152 [INFO] parsing [/home/runner/work/enumerable4j/enumerable4j/target/surefire-reports]
07:04:30,167 [INFO] 0/0 source files have been analyzed
07:04:30,263 [INFO] Sensor SurefireSensor [java] (done) | time=113ms
07:04:30,264 [INFO] Sensor JavaXmlSensor [java]
07:04:30,266 [INFO] 1 source files to be analyzed
07:04:30,541 [INFO] 1/1 source files have been analyzed
07:04:30,542 [INFO] Sensor JavaXmlSensor [java] (done) | time=278ms
07:04:30,543 [INFO] Sensor HTML [web]
07:04:30,546 [INFO] Sensor HTML [web] (done) | time=4ms
07:04:30,547 [INFO] Sensor XML Sensor [xml]
07:04:30,560 [INFO] 1 source file to be analyzed
07:04:30,737 [INFO] 1/1 source file has been analyzed
07:04:30,743 [INFO] Sensor XML Sensor [xml] (done) | time=196ms
07:04:30,744 [INFO] Sensor VB.NET Project Type Information [vbnet]
07:04:30,746 [INFO] Sensor VB.NET Project Type Information [vbnet] (done) | time=2ms
07:04:30,746 [INFO] Sensor VB.NET Properties [vbnet]
07:04:30,748 [INFO] Sensor VB.NET Properties [vbnet] (done) | time=2ms
07:04:30,748 [INFO] Sensor JaCoCo XML Report Importer [jacoco]
07:04:30,752 [INFO] Importing 1 report(s). Turn your logs in debug mode in order to see the exhaustive list.
07:04:30,762 [INFO] Sensor JaCoCo XML Report Importer [jacoco] (done) | time=14ms
07:04:30,763 [INFO] Sensor ThymeLeaf template sensor [securityjavafrontend]
07:04:30,764 [INFO] Sensor ThymeLeaf template sensor [securityjavafrontend] (done) | time=1ms
07:04:30,765 [INFO] Sensor JavaSecuritySensor [security]
07:04:30,766 [INFO] Reading type hierarchy from: /home/runner/work/enumerable4j/enumerable4j/target/sonar/ucfg2/java
07:04:30,838 [INFO] Read 16 type definitions
07:04:30,842 [INFO] Reading UCFGs from: /home/runner/work/enumerable4j/enumerable4j/target/sonar/ucfg2/java
07:04:30,885 [INFO] 07:04:30.884717 Building Runtime Type propagation graph
07:04:30,890 [INFO] 07:04:30.890592 Running Tarjan on 18 nodes
07:04:30,892 [INFO] 07:04:30.892183 Tarjan found 18 components
07:04:30,914 [INFO] 07:04:30.914088 Variable type analysis: done
07:04:30,916 [INFO] 07:04:30.916241 Building Runtime Type propagation graph
07:04:30,924 [INFO] 07:04:30.924301 Running Tarjan on 18 nodes
07:04:30,924 [INFO] 07:04:30.924827 Tarjan found 18 components
07:04:30,925 [INFO] 07:04:30.925324 Variable type analysis: done
07:04:30,926 [INFO] Analyzing 9 ucfgs to detect vulnerabilities.
07:04:31,197 [INFO] All rules entrypoints : 0 Retained UCFGs : 0
07:04:31,199 [INFO] rule: S5131, entrypoints: 0
07:04:31,207 [INFO] rule: S5131 done
07:04:31,208 [INFO] rule: S3649, entrypoints: 0
07:04:31,208 [INFO] rule: S3649 done
07:04:31,208 [INFO] rule: S2076, entrypoints: 0
07:04:31,209 [INFO] rule: S2076 done
07:04:31,209 [INFO] rule: S2091, entrypoints: 0
07:04:31,210 [INFO] rule: S2091 done
07:04:31,210 [INFO] rule: S2078, entrypoints: 0
07:04:31,210 [INFO] rule: S2078 done
07:04:31,211 [INFO] rule: S2631, entrypoints: 0
07:04:31,211 [INFO] rule: S2631 done
07:04:31,211 [INFO] rule: S5135, entrypoints: 0
07:04:31,212 [INFO] rule: S5135 done
07:04:31,212 [INFO] rule: S2083, entrypoints: 0
07:04:31,212 [INFO] rule: S2083 done
07:04:31,212 [INFO] rule: S5167, entrypoints: 0
07:04:31,212 [INFO] rule: S5167 done
07:04:31,212 [INFO] rule: S5144, entrypoints: 0
07:04:31,212 [INFO] rule: S5144 done
07:04:31,213 [INFO] rule: S5145, entrypoints: 0
07:04:31,213 [INFO] rule: S5145 done
07:04:31,213 [INFO] rule: S5146, entrypoints: 0
07:04:31,213 [INFO] rule: S5146 done
07:04:31,213 [INFO] rule: S5334, entrypoints: 0
07:04:31,213 [INFO] rule: S5334 done
07:04:31,213 [INFO] rule: S6096, entrypoints: 0
07:04:31,213 [INFO] rule: S6096 done
07:04:31,213 [INFO] Sensor JavaSecuritySensor [security] (done) | time=448ms
07:04:31,214 [INFO] Sensor CSharpSecuritySensor [security]
07:04:31,214 [INFO] Reading type hierarchy from: /home/runner/work/enumerable4j/enumerable4j/target/ucfg_cs2
07:04:31,214 [INFO] Read 0 type definitions
07:04:31,214 [INFO] Reading UCFGs from: /home/runner/work/enumerable4j/enumerable4j/target/ucfg_cs2
07:04:31,215 [INFO] No UCFGs have been included for analysis.
07:04:31,215 [INFO] Sensor CSharpSecuritySensor [security] (done) | time=1ms
07:04:31,215 [INFO] Sensor PhpSecuritySensor [security]
07:04:31,215 [INFO] Reading type hierarchy from: /home/runner/work/enumerable4j/enumerable4j/target/sonar/ucfg2/php
07:04:31,215 [INFO] Read 0 type definitions
07:04:31,215 [INFO] Reading UCFGs from: /home/runner/work/enumerable4j/enumerable4j/target/sonar/ucfg2/php
07:04:31,216 [INFO] No UCFGs have been included for analysis.
07:04:31,216 [INFO] Sensor PhpSecuritySensor [security] (done) | time=1ms
07:04:31,216 [INFO] Sensor PythonSecuritySensor [security]
07:04:31,216 [INFO] Reading type hierarchy from: /home/runner/work/enumerable4j/enumerable4j/target/sonar/ucfg2/python
07:04:31,216 [INFO] Read 0 type definitions
07:04:31,219 [INFO] Reading UCFGs from: /home/runner/work/enumerable4j/enumerable4j/target/sonar/ucfg2/python
07:04:31,220 [INFO] No UCFGs have been included for analysis.
07:04:31,220 [INFO] Sensor PythonSecuritySensor [security] (done) | time=4ms
07:04:31,221 [INFO] Sensor JsSecuritySensor [security]
07:04:31,221 [INFO] Reading type hierarchy from: /home/runner/work/enumerable4j/enumerable4j/target/sonar/ucfg2/js
07:04:31,222 [INFO] Read 0 type definitions
07:04:31,222 [INFO] Reading UCFGs from: /home/runner/work/enumerable4j/enumerable4j/target/sonar/ucfg2/js
07:04:31,223 [INFO] No UCFGs have been included for analysis.
07:04:31,223 [INFO] Sensor JsSecuritySensor [security] (done) | time=2ms
07:04:31,227 [INFO] ------------- Run sensors on project
07:04:31,290 [INFO] Sensor Zero Coverage Sensor
07:04:31,292 [INFO] Sensor Zero Coverage Sensor (done) | time=2ms
07:04:31,293 [INFO] Sensor Java CPD Block Indexer
07:04:31,346 [INFO] Sensor Java CPD Block Indexer (done) | time=53ms
07:04:31,353 [INFO] SCM Publisher SCM provider for this project is: git
07:04:31,355 [INFO] SCM Publisher 3 source files to be analyzed
07:04:31,553 [INFO] SCM Publisher 3/3 source files have been analyzed (done) | time=189ms
07:04:31,557 [INFO] CPD Executor 2 files had no CPD blocks
07:04:31,557 [INFO] CPD Executor Calculating CPD for 1 file
07:04:31,564 [INFO] CPD Executor CPD calculation finished (done) | time=6ms
07:04:31,674 [INFO] SCM writing changed lines
07:04:31,707 [INFO] SCM writing changed lines (done) | time=33ms
07:04:32,585 [INFO] Analysis report generated in 1019ms, dir size=208 KB
07:04:32,606 [INFO] Analysis report compressed in 21ms, zip size=48 KB
07:04:32,916 [INFO] ------------------------------------------------------------------------
07:04:32,916 [INFO] BUILD FAILURE
07:04:32,917 [INFO] ------------------------------------------------------------------------
07:04:32,919 [INFO] Total time:  38.161 s
07:04:32,919 [INFO] Finished at: 2021-03-12T07:04:32Z
07:04:32,919 [INFO] ------------------------------------------------------------------------
Error: 2,920 [ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.8.0.2131:sonar (default-cli) on project enumerable4j: You're not authorized to run analysis. Please contact the project administrator. -> [Help 1]
Error: 2,921 [ERROR] 
Error: 2,922 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
Error: 2,922 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
Error: 2,922 [ERROR] 
Error: 2,923 [ERROR] For more information about the errors and possible solutions, please read the following articles:
Error: 2,923 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Error: Process completed with exit code 1.

Root cause

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant