我已经在ec2实例上安装了sonarqube,并配置了python项目进行代码分析。但是文件正在不断扫描


> INFO: Scanner configuration file: /opt/sonar-scanner/conf/sonar-scanner.properties
INFO: Project root configuration file: /home/ubuntu/sonar-project.properties
INFO: SonarScanner 4.6.2.2472
INFO: Java 11.0.11 AdoptOpenJDK (64-bit)
INFO: Linux 5.4.0-1045-aws amd64
INFO: User cache: /home/ubuntu/.sonar/cache
INFO: Scanner configuration file: /opt/sonar-scanner/conf/sonar-scanner.properties
INFO: Project root configuration file: /home/ubuntu/sonar-project.properties
INFO: Analyzing on SonarQube server 8.6.0
INFO: Default locale: "en", source code encoding: "UTF-8" (analysis is platform dependent)
INFO: Load global settings
INFO: Load global settings (done) | time=694ms
INFO: Server id: DF2851E
INFO: User cache: /home/ubuntu/.sonar/cache
INFO: Load/download plugins
INFO: Load plugins index
INFO: Load plugins index (done) | time=524ms
INFO: Load/download plugins (done) | time=730ms
INFO: Process project properties
INFO: Process project properties (done) | time=20ms
INFO: Execute project builders
INFO: Execute project builders (done) | time=7ms
INFO: Project key: my:sampleproj
INFO: Base dir: /home/ubuntu
INFO: Working dir: /home/ubuntu/.scannerwork
INFO: Load project settings for component key: 'my:sampleproj'
INFO: Load quality profiles
INFO: Load quality profiles (done) | time=1091ms
INFO: Load active rules
INFO: Load active rules (done) | time=11105ms
WARN: SCM provider autodetection failed. Please use "sonar.scm.provider" to define SCM of your project, or disable the SCM Sensor in the project settings.
INFO: Indexing files...
INFO: Project configuration:
INFO: 30 files indexed
INFO: Quality profile for py: Sonar way
INFO: Quality profile for web: Sonar way
INFO: ------------- Run sensors on module sampleproj
INFO: Load metrics repository
INFO: Load metrics repository (done) | time=582ms
INFO: Sensor Python Sensor [python]
INFO: Starting global symbols computation
INFO: 23 source files to be analyzed
INFO: Load project repositories
INFO: Load project repositories (done) | time=856ms
**INFO: 0/23 files analyzed, current file: sampleproj/utils/__init__.py
INFO: 0/23 files analyzed, current file: sampleproj/utils/__init__.py
INFO: 0/23 files analyzed, current file: sampleproj/utils/__init__.py
INFO: 0/23 files analyzed, current file: sampleproj/utils/__init__.py**

最后4行0/23连续重复了很长时间,而且不会很快停止。在这个问题上有人能帮我吗?安装sonarcube的步骤如下:https://www.coachdevops.com/2021/01/install-sonarqube-8-on-ubuntu-how-to.htmlhttps://sevastoyanov.blogspot.com/2016/09/install-and-configure-sonarqube-for.html

只是回答我的问题,我面临这个问题,因为错误的用户postgres凭证,我改变了数据库凭证,并试图运行声纳,boom它的工作。

最新更新