[JIRA] (JENKINS-61501) Checks fail while merging PR due to Findbugs

20 views
Skip to first unread message

plugins@qualys.com (JIRA)

unread,
Mar 17, 2020, 6:09:02 AM3/17/20
to jenkinsc...@googlegroups.com
Qualys Plugins created an issue
 
Jenkins / Task JENKINS-61501
Checks fail while merging PR due to Findbugs
Issue Type: Task Task
Assignee: Qualys Plugins
Components: qualys-cs-plugin
Created: 2020-03-17 10:08
Priority: Blocker Blocker
Reporter: Qualys Plugins

The PR checks fail because of the Findbugs and I do not see a way to disable the findbugs checks - https://github.com/jenkinsci/qualys-cs-plugin/pull/1#partial-pull-merging
When searched about it, maven version seems to be the culprit - http://maven.40175.n5.nabble.com/3-4-0-SNAPSHOT-failure-with-findbugs-Re-colorized-Maven-output-td5871591.html
Not sure although, what is causing it, can someone please address this, as we are blocked from releasing the next version of the plugin.

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

plugins@qualys.com (JIRA)

unread,
Mar 17, 2020, 6:20:02 AM3/17/20
to jenkinsc...@googlegroups.com
Qualys Plugins updated an issue
Change By: Qualys Plugins
The PR checks fail because of the Findbugs and I do not see a way to disable the findbugs checks - [https://github.com/jenkinsci/qualys-cs-plugin/pull/1#partial-pull-merging

]
Failed to execute goal org.codehaus.mojo:findbugs-maven-plugin:3.0.3:findbugs (findbugs) on project qualys-cs: Unable to parse configuration of mojo org.codehaus.mojo:findbugs-maven-plugin:3.0.3:findbugs for parameter pluginArtifacts: Cannot assign configuration entry 'pluginArtifacts' with value '${plugin.artifacts}' of type java.util.Collections.UnmodifiableRandomAccessList to property of type java.util.ArrayList -> [Help 1]
[|https://ci.jenkins.io/blue/organizations/jenkins/Plugins%2Fqualys-cs-plugin/detail/release%2F1.6.0.2/5/pipeline#step-37-log-118][2020-03-17T09:55:15.792Z] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:findbugs-maven-plugin:3.0.3:findbugs (findbugs) on project qualys-cs: Unable to parse configuration of mojo org.codehaus.mojo:findbugs-maven-plugin:3.0.3:findbugs for parameter pluginArtifacts: Cannot assign configuration entry 'pluginArtifacts' with value '${plugin.artifacts}' of type java.util.Collections.UnmodifiableRandomAccessList to property of type java.util.ArrayList

When searched about it, maven version seems to be the culprit - [http://maven.40175.n5.nabble.com/3-4-0-SNAPSHOT-failure-with-findbugs-Re-colorized-Maven-output-td5871591.html]
Not sure although, what is causing it, can someone please address this, as we are blocked from releasing the next version of the plugin.

plugins@qualys.com (JIRA)

unread,
Mar 17, 2020, 6:28:02 AM3/17/20
to jenkinsc...@googlegroups.com
Qualys Plugins updated an issue
The PR checks fail because of the Findbugs and I do not see a way to disable the findbugs checks -

Failing for 2 projects - 
[https://github.com/jenkinsci/qualys- was-plugin/pull/3]
[https://github.com/jenkinsci/qualys-
cs-plugin/pull/1#partial-pull-merging

]

Failed to execute goal org.codehaus.mojo:findbugs-maven-plugin:3.0.3:findbugs (findbugs) on project qualys-cs: Unable to parse configuration of mojo org.codehaus.mojo:findbugs-maven-plugin:3.0.3:findbugs for parameter pluginArtifacts: Cannot assign configuration entry 'pluginArtifacts' with value '${plugin.artifacts}' of type java.util.Collections.UnmodifiableRandomAccessList to property of type java.util.ArrayList -> [Help 1]
[
| https://ci.jenkins.io/blue/organizations/jenkins/Plugins%2Fqualys-cs-plugin/detail/release%2F1.6.0.2/5/pipeline#step-37-log-118][2020-03-17T09:55:15.792Z] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:findbugs-maven-plugin:3.0.3:findbugs (findbugs) on project qualys-cs: Unable to parse configuration of mojo org.codehaus.mojo:findbugs-maven-plugin:3.0.3:findbugs for parameter pluginArtifacts: Cannot assign configuration entry 'pluginArtifacts' with value '${plugin.artifacts}' of type java.util.Collections.UnmodifiableRandomAccessList to property of type java.util.ArrayList

When searched about it, maven version seems to be the culprit - [http://maven.40175.n5.nabble.com/3-4-0-SNAPSHOT-failure-with-findbugs-Re-colorized-Maven-output-td5871591.html]
Not sure although, what is causing it, can someone please address this, as we are blocked from releasing the next version of the plugin.

plugins@qualys.com (JIRA)

unread,
Mar 17, 2020, 6:28:02 AM3/17/20
to jenkinsc...@googlegroups.com
Qualys Plugins updated an issue
Change By: Qualys Plugins
Component/s: qualys-was-plugin

plugins@qualys.com (JIRA)

unread,
Mar 18, 2020, 3:01:03 AM3/18/20
to jenkinsc...@googlegroups.com
Qualys Plugins assigned an issue to Alex Earl
Change By: Qualys Plugins
Assignee: Qualys Plugins Alex Earl

plugins@qualys.com (JIRA)

unread,
Mar 18, 2020, 3:02:02 AM3/18/20
to jenkinsc...@googlegroups.com
Qualys Plugins updated an issue
The PR checks fail because of the Findbugs and I do not see a way to disable the findbugs checks -
Failing for 2 projects - 
[https://github.com/jenkinsci/qualys-was-plugin/pull/3]
[https://github.com/jenkinsci/qualys-cs-plugin/pull/1#partial-pull-merging]

Failed to execute goal org.codehaus.mojo:findbugs-maven-plugin:3.0.3:findbugs (findbugs) on project qualys-cs: Unable to parse configuration of mojo org.codehaus.mojo:findbugs-maven-plugin:3.0.3:findbugs for parameter pluginArtifacts: Cannot assign configuration entry 'pluginArtifacts' with value '${plugin.artifacts}' of type java.util.Collections.UnmodifiableRandomAccessList to property of type java.util.ArrayList -> [Help 1]
[https://ci.jenkins.io/blue/organizations/jenkins/Plugins%2Fqualys-cs-plugin/detail/release%2F1.6.0.2/5/pipeline#step-37-log-118][2020-03-17T09:55:15.792Z] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:findbugs-maven-plugin:3.0.3:findbugs (findbugs) on project qualys-cs: Unable to parse configuration of mojo org.codehaus.mojo:findbugs-maven-plugin:3.0.3:findbugs for parameter pluginArtifacts: Cannot assign configuration entry 'pluginArtifacts' with value '${plugin.artifacts}' of type java.util.Collections.UnmodifiableRandomAccessList to property of type java.util.ArrayList

When searched about it, maven version seems to be the culprit - [http://maven.40175.n5.nabble.com/3-4-0-SNAPSHOT-failure-with-findbugs-Re-colorized-Maven-output-td5871591.html]
Not sure although, what is causing it, can someone please address this, as we are blocked from releasing the next version of the plugin.


[~slide_o_mix], I was not sure whom to assign the issue, please redirect to concerned authority if required.

plugins@qualys.com (JIRA)

unread,
Mar 18, 2020, 4:52:03 AM3/18/20
to jenkinsc...@googlegroups.com


Note: The contents of Jenkinsfile are:

plugins@qualys.com (JIRA)

unread,
Mar 18, 2020, 4:53:03 AM3/18/20
to jenkinsc...@googlegroups.com
 
buildPlugin(tests: [skip: true], findbugs: [run: false])

still it does not skip findbugs check

plugins@qualys.com (JIRA)

unread,
Mar 18, 2020, 6:34:02 AM3/18/20
to jenkinsc...@googlegroups.com

plugins@qualys.com (JIRA)

unread,
Mar 18, 2020, 6:34:03 AM3/18/20
to jenkinsc...@googlegroups.com
Qualys Plugins updated an issue
The PR checks fail because of the Findbugs and I do not see a way to disable the findbugs checks -
Failing for 2 projects - 
[https://github.com/jenkinsci/qualys-was-plugin/pull/3]
[https://github.com/jenkinsci/qualys-cs-plugin/pull/1#partial-pull-merging]

Failed to execute goal org.codehaus.mojo:findbugs-maven-plugin:3.0.3:findbugs (findbugs) on project qualys-cs: Unable to parse configuration of mojo org.codehaus.mojo:findbugs-maven-plugin:3.0.3:findbugs for parameter pluginArtifacts: Cannot assign configuration entry 'pluginArtifacts' with value '${plugin.artifacts}' of type java.util.Collections.UnmodifiableRandomAccessList to property of type java.util.ArrayList -> [Help 1]
[https://ci.jenkins.io/blue/organizations/jenkins/Plugins%2Fqualys-cs-plugin/detail/release%2F1.6.0.2/5/pipeline#step-37-log-118][2020-03-17T09:55:15.792Z] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:findbugs-maven-plugin:3.0.3:findbugs (findbugs) on project qualys-cs: Unable to parse configuration of mojo org.codehaus.mojo:findbugs-maven-plugin:3.0.3:findbugs for parameter pluginArtifacts: Cannot assign configuration entry 'pluginArtifacts' with value '${plugin.artifacts}' of type java.util.Collections.UnmodifiableRandomAccessList to property of type java.util.ArrayList

When searched about it, maven version seems to be the culprit - [http://maven.40175.n5.nabble.com/3-4-0-SNAPSHOT-failure-with-findbugs-Re-colorized-Maven-output-td5871591.html]
Not sure although, what is causing it, can someone please address this, as we are blocked from releasing the next version of the plugin.

[~slide_o_mix], I was not sure whom to assign the issue, please redirect to concerned authority if required.

Note: The contents of Jenkinsfile are: 
buildPlugin(tests: [skip: true], findbugs: [run: false])

still it does not skip findbugs check


Update:
Added newer version of findbugs maven plugin pom, that fixed the issue. Still would like to know if there are ways of controlling that in Jenkins system or atleast skipping the findbugs checks.

slide.o.mix@gmail.com (JIRA)

unread,
Mar 18, 2020, 11:41:03 AM3/18/20
to jenkinsc...@googlegroups.com
Alex Earl closed an issue as Not A Defect
 

Please don't file issues for things like this. We have a mailing list for developers that you should be asking questions like this on. Assigning to me is not great either since this is not an infrastructure, hosting or issue related to one of the plugins that I maintain. The mailing list is the best place to ask questions. https://groups.google.com/forum/#!forum/jenkinsci-dev

Change By: Alex Earl
Status: Open Closed
Resolution: Not A Defect

plugins@qualys.com (JIRA)

unread,
Mar 23, 2020, 12:55:02 AM3/23/20
to jenkinsc...@googlegroups.com
Qualys Plugins commented on Task JENKINS-61501
 
Re: Checks fail while merging PR due to Findbugs

Sure, thanks for this information, was not aware of it. Sorry to bother.

Reply all
Reply to author
Forward
0 new messages