[JIRA] (JENKINS-56072) Jenkins Job failed - pipeline-maven-plugin

4 views
Skip to first unread message

sharon.mordechai@sap.com (JIRA)

unread,
Feb 10, 2019, 10:56:03 AM2/10/19
to jenkinsc...@googlegroups.com
sharon mordechai created an issue
 
Jenkins / Bug JENKINS-56072
Jenkins Job failed - pipeline-maven-plugin
Issue Type: Bug Bug
Assignee: Alvaro Lobato
Components: pipeline-maven-plugin
Created: 2019-02-10 15:55
Priority: Minor Minor
Reporter: sharon mordechai

When I'm trying to run groovy script I'm getting:

 
ERROR: [withMaven] WARNING Exception executing Maven reporter 'Pipeline Graph Publisher' / org.jenkinsci.plugins.pipeline.maven.publishers.PipelineGraphPublisher. Please report a bug associated for the component 'pipeline-maven-plugin' at https://issues.jenkins-ci.org org.jenkinsci.plugins.pipeline.maven.util.RuntimeSqlException: org.h2.jdbc.JdbcSQLException: NULL not allowed for column "JENKINS_MASTER_ID"; SQL statement:
INSERT INTO JENKINS_JOB(FULL_NAME) VALUES [23502-196]

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

cleclerc@cloudbees.com (JIRA)

unread,
Feb 10, 2019, 4:55:04 PM2/10/19
to jenkinsc...@googlegroups.com
Cyrille Le Clerc assigned an issue to Cyrille Le Clerc
Change By: Cyrille Le Clerc
Assignee: Alvaro Lobato Cyrille Le Clerc

sharon.mordechai@sap.com (JIRA)

unread,
Feb 11, 2019, 3:25:02 AM2/11/19
to jenkinsc...@googlegroups.com
sharon mordechai commented on Bug JENKINS-56072
 
Re: Jenkins Job failed - pipeline-maven-plugin

Hi,

I just want to confirm with you that this bug will not effect the other pipelines in this Jenkins, becuase currently there're a lot of pipelines of the other teams here and they're working fine! this bug is only on my pipeline.

can you please confirm it won't effect the others ?

Thanks.

sharon.mordechai@sap.com (JIRA)

unread,
Feb 11, 2019, 3:26:02 AM2/11/19
to jenkinsc...@googlegroups.com
Change By: sharon mordechai
Status: Open Fixed but Unreleased
Resolution: Won't Do

sharon.mordechai@sap.com (JIRA)

unread,
Feb 11, 2019, 3:27:01 AM2/11/19
to jenkinsc...@googlegroups.com
sharon mordechai edited a comment on Bug JENKINS-56072
 
Re: Jenkins Job failed - pipeline-maven-plugin
Hi,

I just want There's no need to confirm with you that this bug will not effect the other pipelines in this Jenkins fix enything , becuase currently there're a lot of pipelines of the other teams here and they're working fine! this bug is only on my pipeline.

can you please confirm it won
pipelins isn 't effect the others ? productive.

Thanks.

cleclerc@cloudbees.com (JIRA)

unread,
Mar 28, 2019, 9:30:06 AM3/28/19
to jenkinsc...@googlegroups.com
Change By: Cyrille Le Clerc
Resolution: Won't Do
Status: Fixed but Unreleased Reopened

cleclerc@cloudbees.com (JIRA)

unread,
Mar 28, 2019, 9:30:06 AM3/28/19
to jenkinsc...@googlegroups.com
Cyrille Le Clerc closed an issue as Cannot Reproduce
Change By: Cyrille Le Clerc
Status: Reopened Closed
Resolution: Cannot Reproduce

martin@aldrin.net (JIRA)

unread,
Mar 31, 2020, 6:03:02 AM3/31/20
to jenkinsc...@googlegroups.com
Martin Aldrin commented on Bug JENKINS-56072
 
Re: Jenkins Job failed - pipeline-maven-plugin

Hi, I got the same issue

 
Failed in branch secondaryERROR: [withMaven] WARNING Exception executing Maven reporter 'Pipeline Graph Publisher' / org.jenkinsci.plugins.pipeline.maven.publishers.PipelineGraphPublisher. Please report a bug associated for the component 'pipeline-maven-plugin' at https://issues.jenkins-ci.org org.jenkinsci.plugins.pipeline.maven.util.RuntimeSqlException: java.sql.SQLTransientConnectionException: HikariPool-1 - Connection is not available, request timed out after 30000ms.
at org.jenkinsci.plugins.pipeline.maven.dao.AbstractPipelineMavenPluginDao.getOrCreateBuildPrimaryKey(AbstractPipelineMavenPluginDao.java:398)
at org.jenkinsci.plugins.pipeline.maven.dao.AbstractPipelineMavenPluginDao.recordGeneratedArtifact(AbstractPipelineMavenPluginDao.java:184)
at org.jenkinsci.plugins.pipeline.maven.dao.PipelineMavenPluginMonitoringDao.recordGeneratedArtifact(PipelineMavenPluginMonitoringDao.java:61)
at org.jenkinsci.plugins.pipeline.maven.publishers.PipelineGraphPublisher.recordGeneratedArtifacts(PipelineGraphPublisher.java:215)
at org.jenkinsci.plugins.pipeline.maven.publishers.PipelineGraphPublisher.process(PipelineGraphPublisher.java:94)
at org.jenkinsci.plugins.pipeline.maven.MavenSpyLogProcessor.processMavenSpyLogs(MavenSpyLogProcessor.java:154)
at org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution2$WithMavenStepExecutionCallBack.finished(WithMavenStepExecution2.java:1108)
at org.jenkinsci.plugins.pipeline.maven.fix.jenkins49337.GeneralNonBlockingStepExecution$TailCall.lambda$onSuccess$0(GeneralNonBlockingStepExecution.java:142)
at org.jenkinsci.plugins.pipeline.maven.fix.jenkins49337.GeneralNonBlockingStepExecution.lambda$run$0(GeneralNonBlockingStepExecution.java:85)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.sql.SQLTransientConnectionException: HikariPool-1 - Connection is not available, request timed out after 30000ms.
at com.zaxxer.hikari.pool.HikariPool.createTimeoutException(HikariPool.java:697)
at com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:196)
at com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:161)
at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:100)
at org.jenkinsci.plugins.pipeline.maven.dao.AbstractPipelineMavenPluginDao.getOrCreateBuildPrimaryKey(AbstractPipelineMavenPluginDao.java:355)
... 13 more
Caused by: com.zaxxer.hikari.pool.PoolBase$ConnectionSetupException: org.h2.jdbc.JdbcSQLNonTransientConnectionException: Connection is broken: "java.net.ConnectException: Connection refused (Connection refused): 147.214.18.180:43905" [90067-199]
at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:501)
at com.zaxxer.hikari.pool.HikariPool.access$100(HikariPool.java:71)
at com.zaxxer.hikari.pool.HikariPool$PoolEntryCreator.call(HikariPool.java:727)
at com.zaxxer.hikari.pool.HikariPool$PoolEntryCreator.call(HikariPool.java:713)
... 4 more
Caused by: org.h2.jdbc.JdbcSQLNonTransientConnectionException: Connection is broken: "java.net.ConnectException: Connection refused (Connection refused): 147.214.18.180:43905" [90067-199]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:617)
at org.h2.message.DbException.getJdbcSQLException(DbException.java:427)
at org.h2.message.DbException.get(DbException.java:194)
at org.h2.engine.SessionRemote.connectServer(SessionRemote.java:435)
at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:348)
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:169)
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:148)
at org.h2.Driver.connect(Driver.java:69)
at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:138)
at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:353)
at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:201)
at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:473)
... 7 more
Caused by: java.net.ConnectException: Connection refused (Connection refused)
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at org.h2.util.NetUtils.createSocket(NetUtils.java:103)
at org.h2.util.NetUtils.createSocket(NetUtils.java:83)
at org.h2.engine.SessionRemote.initTransfer(SessionRemote.java:115)
at org.h2.engine.SessionRemote.connectServer(SessionRemote.java:431)
... 15 more
[withMaven] junitPublisher - Archive test results for Maven artifact proj:jar:0.0.1172-20200331085741797-GERRIT-SNAPSHOT generated by maven-surefire-plugin:test (default-test): target/surefire-reports/*.xml
[withMaven] junitPublisher - Jenkins JUnit Attachments Plugin not found, can't publish test attachments.Recording test results
None of the test reports contained any result
[withMaven] Publishers: Pipeline Graph Publisher: 30014 ms, Junit Publisher: 35 ms

This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

cyrille@cyrilleleclerc.com (JIRA)

unread,
Mar 31, 2020, 8:17:03 AM3/31/20
to jenkinsc...@googlegroups.com

Martin Aldrin your problem seem to be that the H2 database is not handling the load ("HikariPool-1 - Connection is not available, request timed out after 30000ms.").

Can you use MySQL or PostgreSQL instead of the embedded H2? See https://plugins.jenkins.io/pipeline-maven/#PipelineMavenPlugin-Setup

 

Reply all
Reply to author
Forward
0 new messages