[JIRA] (JENKINS-56002) Upgrading Git Plugin to :latest causes Issues with SQS Plugin

14 views
Skip to first unread message

justinseiser@gmail.com (JIRA)

unread,
Feb 6, 2019, 3:31:02 PM2/6/19
to jenkinsc...@googlegroups.com
Justin Seiser created an issue
 
Jenkins / Bug JENKINS-56002
Upgrading Git Plugin to :latest causes Issues with SQS Plugin
Issue Type: Bug Bug
Assignee: Mark Waite
Attachments: Error.txt, Jenkins.png, noidea.png
Components: git-plugin
Created: 2019-02-06 20:30
Environment: Jenkins Version 2.150.2
jenkins/jenkins:lts
All plugins set to latest
Priority: Minor Minor
Reporter: Justin Seiser

Upgraded Docker container, and it with the plugins.  

 

Started getting the attached error, and the UI for the SQS plugin broke.  Reverting the git plugin, brought the UI for the SQS plugin back, and everything started flowing again.

Error.txt

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

batmat@batmat.net (JIRA)

unread,
Feb 7, 2019, 6:40:02 AM2/7/19
to jenkinsc...@googlegroups.com
Baptiste Mathus commented on Bug JENKINS-56002
 
Re: Upgrading Git Plugin to :latest causes Issues with SQS Plugin

Can you please be more specific about the plugin versions you have, the ones that caused the issue, etc. Thanks

justinseiser@gmail.com (JIRA)

unread,
Feb 7, 2019, 9:20:02 AM2/7/19
to jenkinsc...@googlegroups.com

We were trying git plugin 3.9.1-3.9.3, all of which failed to clone on the latest release of jenkins.  So we would move to the 4.0 rc plugin, which would cause the SQS plugin to fail.

mark.earl.waite@gmail.com (JIRA)

unread,
Feb 11, 2019, 3:21:02 PM2/11/19
to jenkinsc...@googlegroups.com
Mark Waite updated an issue
 
Change By: Mark Waite
Component/s: sqs-notification-plugin
Component/s: git-plugin

mark.earl.waite@gmail.com (JIRA)

unread,
Feb 11, 2019, 3:21:02 PM2/11/19
to jenkinsc...@googlegroups.com
Mark Waite assigned an issue to Unassigned
Change By: Mark Waite
Assignee: Mark Waite

mark.earl.waite@gmail.com (JIRA)

unread,
Feb 11, 2019, 3:30:02 PM2/11/19
to jenkinsc...@googlegroups.com
Mark Waite commented on Bug JENKINS-56002
 
Re: Upgrading Git Plugin to :latest causes Issues with SQS Plugin

I see nothing git related in the SQS plugin stack trace that was provided with this bug report. The information in the bug report is insufficient for me to duplicate the problem since it provides no configuration details of the environment which was showing the failure.

I see an optional dependency in the SQS plugin on the git plugin and a reference to that dependency in the EventTriggerMatcherImpl. The dependency appears to be correctly implemented for an optional dependency and uses minimal functionality from the git plugin.

I'm reassigning this bug report to the sqs plugin. If the sqs plugin maintainer is willing to perform a "smoke test" with git client plugin 3.0.0-rc and git plugin 4.0.0-rc, I'd be very grateful. I don't have an SQS configuration available and won't test this further.

Alternately, the original submitter can provide a numbered set of steps which will allow someone else to duplicate the failure.

mstuart2@dxc.com (JIRA)

unread,
Nov 25, 2019, 4:51:03 PM11/25/19
to jenkinsc...@googlegroups.com
Michele Stuart updated an issue
 
Change By: Michele Stuart
Attachment: sqsError.txt
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

mstuart2@dxc.com (JIRA)

unread,
Nov 25, 2019, 4:51:03 PM11/25/19
to jenkinsc...@googlegroups.com

mstuart2@dxc.com (JIRA)

unread,
Nov 25, 2019, 4:52:03 PM11/25/19
to jenkinsc...@googlegroups.com
Michele Stuart commented on Bug JENKINS-56002
 
Re: Upgrading Git Plugin to :latest causes Issues with SQS Plugin

I realize this is several months old, but as it's still open, perhaps I can provide more info. I just ran into the problem and posted about it at https://github.com/jenkinsci/aws-sqs-plugin/issues/29#issuecomment-558347125.

 

Versions:

Jenkins: 2.190.3
Java OpenJDK: 11.0.4
AWS SQS plugin: 2.0.1
Git plugin: 3.10.0 / 4.0.0

OS: Ubuntu 18.04 LTS

 

To reproduce:

With a valid Jenkins SQS configuration in place under Configure System => Configuration of Amazon SQS queues, i.e. with a queue configured and appropriate IAM credentials to connect to it.

 

  1. Upgrade the Git plugin to version 4.0.0.
  2. Restart Jenkins
  3. If you are tailing the Jenkins log, you will immediately start seeing the attached errors spewing into the log.
  4. In the Jenkins web interface, go to Configure System => Configuration of Amazon SQS queues and click "Test Access" on one of your queues. You will see the result "Error." If you click on the Error link, you'll see the Java error, as in the server log.

      5. Downgrade the Git plugin to 3.10.0

      6. Restart Jenkins

       7. If you are tailing the server log, the errors will now stop.

       8. In the web interface queue configuration, clicking "Test Access" will now result in success (assuming you have good credentials).

 

sqsError.txt

mark.earl.waite@gmail.com (JIRA)

unread,
Nov 25, 2019, 4:57:03 PM11/25/19
to jenkinsc...@googlegroups.com

mark.earl.waite@gmail.com (JIRA)

unread,
Nov 25, 2019, 4:59:02 PM11/25/19
to jenkinsc...@googlegroups.com
Mark Waite commented on Bug JENKINS-56002
 
Re: Upgrading Git Plugin to :latest causes Issues with SQS Plugin

I don't know why the upgrade of the git plugin would break with:

Could not initialize class com.amazonaws.auth.internal.AWS4SignerUtils

I've taken the liberty of assigning the bug to the "Automatic Assignee" as though the bug had been originally submitted to the sqs-notification-plugin.

mark.earl.waite@gmail.com (JIRA)

unread,
Nov 25, 2019, 4:59:03 PM11/25/19
to jenkinsc...@googlegroups.com
Mark Waite edited a comment on Bug JENKINS-56002
I don't know why the upgrade of the git plugin would break the SQS notifier notification plugin with:


{{Could not initialize class com.amazonaws.auth.internal.AWS4SignerUtils}}

I've taken the liberty of assigning the bug to the "Automatic Assignee" as though the bug had been originally submitted to the sqs-notification-plugin.

mark.earl.waite@gmail.com (JIRA)

unread,
Nov 25, 2019, 4:59:03 PM11/25/19
to jenkinsc...@googlegroups.com
Mark Waite edited a comment on Bug JENKINS-56002
I don't know why the upgrade of the git plugin would break the SQS notifier plugin with:


{{Could not initialize class com.amazonaws.auth.internal.AWS4SignerUtils}}

I've taken the liberty of assigning the bug to the "Automatic Assignee" as though the bug had been originally submitted to the sqs-notification-plugin.
Reply all
Reply to author
Forward
0 new messages