我们有许多项目,它们基本上是来自主分支的分支 它们中的大多数都成功运行,但很少有失败随机出现以下错 如果我能在这个问题上获得帮助,我将非常感激
Jenkins ver 。 2.32.2; Sonarqube ver 6.2; mysql 5.7
------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 45:24 min
[INFO] Finished at: 2017-06-12T12:06:20+09:00
[INFO] Final Memory: 1391M/4453M
[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.2:sonar (default-cli)
on project shrek-all: Fail to request http://shrek.sdomain.co.jp/sonarqube/api/ce/submit?projectKey=jp.co.shrek:shrek-
all&projectName=Shrek%20All&projectBranch=0005-shrek-form_v3: timeout: Socket closed -> [Help 1]
017.06.12 12:06:41 INFO ce[][o.s.s.es.BulkIndexer] 0 requests processed (0 items/sec)
2017.06.12 12:06:41 INFO ce[][o.s.s.es.BulkIndexer] 0 requests processed (0 items/sec)
2017.06.12 12:07:21 INFO ce[AVyaQqm7axEU2tgjAh4B][o.s.s.c.t.CeWorkerCallableImpl] Execute task | project=jp.co.shrek:shrek-all:master | type=REPORT | id=AVyaQqm7axEU2tgjAh4B
2017.06.12 12:07:43 INFO ce[][o.s.s.es.BulkIndexer] 0 requests processed (0 items/sec)
2017.06.12 12:07:43 INFO ce[][o.s.s.es.BulkIndexer] 0 requests processed (0 items/sec)
2017.06.12 12:08:43 INFO ce[][o.s.s.es.BulkIndexer] 0 requests processed (0 items/sec)
2017.06.12 12:08:43 INFO ce[][o.s.s.es.BulkIndexer] 0 requests processed (0 items/sec)
2017.06.12 12:09:43 INFO ce[][o.s.s.es.BulkIndexer] 0 requests processed (0 items/sec)
2017.06.12 12:09:43 INFO ce[][o.s.s.es.BulkIndexer] 0 requests processed (0 items/sec)
2017.06.12 12:10:43 INFO ce[][o.s.s.es.BulkIndexer] 0 requests processed (0 items/sec)
2017.06.12 12:10:43 INFO ce[][o.s.s.es.BulkIndexer] 0 requests processed (0 items/sec)
2017.06.12 12:11:43 INFO ce[][o.s.s.es.BulkIndexer] 0 requests processed (0 items/sec)
2017.06.12 12:11:43 INFO ce[][o.s.s.es.BulkIndexer] 0 requests processed (0 items/sec)
2017.06.12 12:12:43 INFO ce[][o.s.s.es.BulkIndexer] 0 requests processed (0 items/sec)
2017.06.12 12:12:43 INFO ce[][o.s.s.es.BulkIndexer] 0 requests processed (0 items/sec)
2017.06.12 12:13:43 INFO ce[][o.s.s.es.BulkIndexer] 0 requests processed (0 items/sec)
2017.06.12 12:13:43 INFO ce[][o.s.s.es.BulkIndexer] 0 requests processed (0 items/sec)
2017.06.12 12:14:43 INFO ce[][o.s.s.es.BulkIndexer] 0 requests processed (0 items/sec)
2017.06.12 12:14:43 INFO ce[][o.s.s.es.BulkIndexer] 0 requests processed (0 items/sec)
2017.06.12 12:15:43 INFO ce[][o.s.s.es.BulkIndexer] 0 requests processed (0 items/sec)
2017.06.12 12:15:43 INFO ce[][o.s.s.es.BulkIndexer] 0 requests processed (0 items/sec)
2017.06.12 12:16:43 INFO ce[][o.s.s.es.BulkIndexer] 0 requests processed (0 items/sec)
2017.06.12 12:16:43 INFO ce[][o.s.s.es.BulkIndexer] 0 requests processed (0 items/sec)
2017.06.12 12:17:34 INFO ce[AVyaQqm7axEU2tgjAh4B][o.s.s.c.t.CeWorkerCallableImpl] Executed task | jp.co.shrek:shrek-all:master | type=REPORT | id=AVyaQqm7axEU2tgjAh4B | time=613407ms
2017.06.12 12:17:43 INFO ce[][o.s.s.es.BulkIndexer] 0 requests processed (0 items/sec)
2017.06.12 12:17:43 INFO ce[][o.s.s.es.BulkIndexer] 0 requests processed (0 items/sec)
2017.06.12 12:18:43 INFO ce[][o.s.s.es.BulkIndexer] 0 requests processed (0 items/sec)
2017.06.12 12:18:43 INFO ce[][o.s.s.es.BulkIndexer] 0 requests processed (0 items/sec)
我想指出我们的项目非常庞大。 2087509 代码行。请在日志“时间= 613407ms ”
中查看此部分答案 0 :(得分:0)
问题是由于我们的linux服务器的限制。当同时执行3个以上的作业时,会出现此问题。设置完之后。执行者到2,没关系。