SonarQube分析警告日志刷新操作(不结束)

时间:2016-10-26 13:52:24

标签: maven sonarqube sonarqube-scan

运行SonarQube Server 4.5.6,使用Maven 3.0.5,Maven 3.3.9进行测试,

使用如下命令行:

mvn -B org.sonarsource.scanner.maven:sonar-maven-plugin:3.2:sonar

还测试了不同版本的插件(3.1.1等)。

我已经测试过将内存选项从2 G增加到22 G

-Xmx6g -XX:-UseGCOverheadLimit

没有帮助。始终扫描不会继续并获得此输出:

00:23:08.815 15:36:06.724 WARN  - [JOURNAL_FLUSHER] WARNING Journal flush operation took 14.164ms last 8 cycles average is 1.770ms
00:23:55.507 15:37:10.917 WARN  - [JOURNAL_FLUSHER] WARNING Journal flush operation took 3.696ms last 8 cycles average is 2.232ms
00:25:03.219 15:38:16.429 WARN  - [JOURNAL_FLUSHER] WARNING Journal flush operation took 3.493ms last 8 cycles average is 898ms
00:29:09.760 15:42:01.239 WARN  - [JOURNAL_FLUSHER] WARNING Journal flush operation took 3.513ms last 8 cycles average is 439ms
00:31:01.208 15:44:17.868 WARN  - [JOURNAL_FLUSHER] WARNING Journal flush operation took 3.611ms last 8 cycles average is 451ms
00:34:22.694 15:47:30.643 WARN  - [JOURNAL_FLUSHER] WARNING Journal flush operation took 22.496ms last 8 cycles average is 2.812ms

我们在单个多模块构建(Java / Tycho)中有大量模块(大约600个)......

更新:结果导致失败。扫描是否真的占用了那么多的内存,这是按模块完成的?

1 个答案:

答案 0 :(得分:1)

经过更多调查和研究后,我发现了以下相关问题:

换句话说,我必须将SonarQube版本更新为更新的版本。