[JIRA] (JENKINS-58207) 2.181 JNA update breaks NegotiateSSO

0 views
Skip to first unread message

damian@damianslee.com (JIRA)

unread,
Jun 26, 2019, 5:36:02 AM6/26/19
to jenkinsc...@googlegroups.com
Damian slee created an issue
 
Jenkins / Bug JENKINS-58207
2.181 JNA update breaks NegotiateSSO
Issue Type: Bug Bug
Assignee: Bryson Gibbons
Attachments: negotiatesso_jna_update.PNG
Components: negotiate-sso-plugin
Created: 2019-06-26 09:35
Environment: Windows Server
Priority: Blocker Blocker
Reporter: Damian slee

The following change to JNA version in release 2.181, combined with NegotiateSSO prevents jenkins from starting.

https://jenkins.io/changelog/
What's new in 2.181 (2019-06-16)
Update JNA from 4.5.2 to 5.3.1 to fix issue with shared library loading on AIX when using OpenJDK. (issue 57515)

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

damian@damianslee.com (JIRA)

unread,
Jun 26, 2019, 5:40:02 AM6/26/19
to jenkinsc...@googlegroups.com
Damian slee commented on Bug JENKINS-58207
 
Re: 2.181 JNA update breaks NegotiateSSO

work around was to roll back to - What's new in 2.180 (2019-06-09)

o.v.nenashev@gmail.com (JIRA)

unread,
Jun 26, 2019, 7:42:03 AM6/26/19
to jenkinsc...@googlegroups.com
Oleg Nenashev updated an issue
 
Change By: Oleg Nenashev
Labels: regression

o.v.nenashev@gmail.com (JIRA)

unread,
Jun 26, 2019, 7:42:03 AM6/26/19
to jenkinsc...@googlegroups.com
Oleg Nenashev updated an issue
Change By: Oleg Nenashev
Component/s: core

m.winter@sap.com (JIRA)

unread,
Jun 26, 2019, 8:22:03 AM6/26/19
to jenkinsc...@googlegroups.com
Markus Winter commented on Bug JENKINS-58207
 
Re: 2.181 JNA update breaks NegotiateSSO

plugin itself packs jna-4.5.1.jar and jna-platform-4.5.1.jar via waffle

Due to classloading the plugins sees the newer jna-5.3.1.jar from Jenkins but the old jna-platform-4.5.1.jar which leads to this error.

Possible solutions:

  1. plugin first classloading
  2. add explicit dependency to jna and jna-platform (seems waffle itself doesn't need code adjustments, so this might work)
  3. wait for waffle to release new version (current head also uses 5.3.1 of jna, but this is not yet released)
  4. Jenkins core also packs jna-platform (though it seems it doesn't need it)

 

dbeck@cloudbees.com (JIRA)

unread,
Jul 2, 2019, 3:52:02 AM7/2/19
to jenkinsc...@googlegroups.com

5. Shading of the dependency in the plugin

brysoncg@gmail.com (JIRA)

unread,
Jul 26, 2019, 4:22:03 AM7/26/19
to jenkinsc...@googlegroups.com

Waffle 2.0.0 was recently released, and depends on jna 5.3.1 and jna-platform 5.3.1. When I have some time I'll try the upgrade and test it.

tpostler@dspace.de (JIRA)

unread,
Sep 25, 2019, 12:09:05 PM9/25/19
to jenkinsc...@googlegroups.com

I ran into the same problem today while upgrading from LTS 2.176.3 to 190.1 (automatic upgrade), and I guess others will follow. Fortunately 2.176.4 does still work. Any news when this will be fixed? 

This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

post@mstoll.de (JIRA)

unread,
Oct 1, 2019, 10:24:07 AM10/1/19
to jenkinsc...@googlegroups.com

manually updating jna and jna-platform to version 5.3.1 AND updating waffle-jna to version 2.1.0 in the plugin solved the problem for me (with latest Jenkins)

marton.sebok@nuance.com (JIRA)

unread,
Oct 4, 2019, 6:52:03 AM10/4/19
to jenkinsc...@googlegroups.com

I've created a pull request with updating Waffle to 2.1.0 and jna to 5.4.0 versions.

ethorsa@inbox.lv (JIRA)

unread,
Oct 28, 2019, 5:58:02 AM10/28/19
to jenkinsc...@googlegroups.com
ethorsa commented on Bug JENKINS-58207

Same Probleme with Jenkins v2.190.1 and Windows Negotiate SSO v1.3.

My workaround was to build and install the version of Marton Sebok's PR. This works fine so far.

ethorsa@inbox.lv (JIRA)

unread,
Nov 12, 2019, 3:35:04 AM11/12/19
to jenkinsc...@googlegroups.com
ethorsa commented on Bug JENKINS-58207

The issue has been resolved in the recent v1.4.

s.rademacher@live.de (JIRA)

unread,
Jan 6, 2020, 5:34:02 AM1/6/20
to jenkinsc...@googlegroups.com

Hi. Any idea, when v1.4 is going to be visible via Jenkins Update Center? 

ethorsa@inbox.lv (JIRA)

unread,
Jan 8, 2020, 10:35:03 AM1/8/20
to jenkinsc...@googlegroups.com
ethorsa commented on Bug JENKINS-58207

It should be visible already. Do you have up to date Metadata?

In doubt, you can download it manually: https://updates.jenkins.io/download/plugins/NegotiateSSO/

s.rademacher@live.de (JIRA)

unread,
Jan 10, 2020, 7:34:03 AM1/10/20
to jenkinsc...@googlegroups.com

I checked it on our two jenkins servers. Metadata is up-to-date on both, but none shows the 1.4 version.
I am going to upgrade manually, if no one else has this issue. Thx

post@mstoll.de (JIRA)

unread,
Jan 13, 2020, 3:16:03 AM1/13/20
to jenkinsc...@googlegroups.com

I chechked this, too and can confirm, with latest metadata the 1.4 does not show up in jenkins Updatemanager.

Installing the latest version of this plugin manually makes everything work.

But on on Jenkins installation I had some problems and had to run jenkins with Java option: "--requestHeaderSize=32768" to make it work

ethorsa@inbox.lv (JIRA)

unread,
Jan 14, 2020, 3:54:05 AM1/14/20
to jenkinsc...@googlegroups.com
ethorsa commented on Bug JENKINS-58207

Strange, I get v1.4 in the available plugins list.

post@mstoll.de (JIRA)

unread,
Jan 14, 2020, 8:11:07 AM1/14/20
to jenkinsc...@googlegroups.com

today I get V1.4 with the current metadata, too

ethorsa@inbox.lv (JIRA)

unread,
Jan 15, 2020, 5:22:03 AM1/15/20
to jenkinsc...@googlegroups.com
ethorsa commented on Bug JENKINS-58207

So this can be closed I guess.

ethorsa@inbox.lv (JIRA)

unread,
Jan 15, 2020, 5:22:06 AM1/15/20
to jenkinsc...@googlegroups.com

ethorsa@inbox.lv (JIRA)

unread,
Jan 15, 2020, 5:22:07 AM1/15/20
to jenkinsc...@googlegroups.com
ethorsa edited a comment on Bug JENKINS-58207
So this can be closed ? I guess.

ethorsa@inbox.lv (JIRA)

unread,
Jan 15, 2020, 5:22:08 AM1/15/20
to jenkinsc...@googlegroups.com
ethorsa updated an issue
 
Change By: ethorsa
Comment: So this can be closed I guess.

post@mstoll.de (JIRA)

unread,
Jan 15, 2020, 5:24:07 AM1/15/20
to jenkinsc...@googlegroups.com
Markus Stoll commented on Bug JENKINS-58207
 
Re: 2.181 JNA update breaks NegotiateSSO

I explicitly tested again with installing v1.4 using the jenkins plugin manager. Everything is working like a charme for me.

 

ethorsa@inbox.lv (JIRA)

unread,
Jan 28, 2020, 7:57:05 AM1/28/20
to jenkinsc...@googlegroups.com
ethorsa resolved as Fixed
 

I take the liberty and close this issue.

Change By: ethorsa
Status: Open Resolved
Resolution: Fixed
Released As: NegotiateSSO-1.4
Reply all
Reply to author
Forward
0 new messages