Bug 900944 (JBPAPP6-1265) - SPNEGOLoginModuleTestCase fails consistently on IBMJDK(only ipv4) and IPv6 (all jdk,pure or dualstack) due to LoginException
Summary: SPNEGOLoginModuleTestCase fails consistently on IBMJDK(only ipv4) and IPv6 (a...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: JBPAPP6-1265
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Security
Version: 6.0.1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ER6
: EAP 6.2.0
Assignee: Josef Cacek
QA Contact: Pavel Jelinek
URL: http://jira.jboss.org/jira/browse/JBP...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-27 09:39 UTC by Madhumita Sadhukhan
Modified: 2014-01-13 23:56 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-12-15 16:20:34 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
error_ipv6_alljdk_JBPAPP-10036 (28.30 KB, application/octet-stream)
2012-10-03 08:31 UTC, Madhumita Sadhukhan
no flags Details
error_ibmjdk_JBPAPP-10036.log (1.21 KB, text/x-log)
2012-10-03 08:31 UTC, Madhumita Sadhukhan
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1033128 0 unspecified CLOSED org.jboss.as.test.integration.security.loginmodules.negotiation tests and SAML2AttributeMappingTestCase fail due to "jav... 2021-02-22 00:41:40 UTC
Red Hat Issue Tracker JBPAPP6-1265 0 Major Closed SPNEGOLoginModuleTestCase fails consistently on IBMJDK(only ipv4) and IPv6 (all jdk,pure or dualstack) due to LoginExcep... 2014-04-15 08:13:57 UTC

Internal Links: 1033128

Comment 1 Madhumita Sadhukhan 2012-10-03 08:31:34 UTC
Attachment: Added: error_ipv6_alljdk_JBPAPP-10036
Attachment: Added: error_ibmjdk_JBPAPP-10036.log


Comment 2 Madhumita Sadhukhan 2012-10-31 13:52:10 UTC
Hi Peter,

      Could you please take a look at this failure?The tests fail due to Kerberos authentication

Comment 3 Anne-Louise Tangring 2012-11-13 20:53:11 UTC
Docs QE Status: Removed: NEW 


Comment 4 Madhumita Sadhukhan 2012-12-10 19:00:27 UTC
Josef,since you are author of this testcase assigning this jira to you

Comment 6 Josef Cacek 2013-06-27 04:30:39 UTC
This one was fixed in 6.1.0 already.
@Pavel: could you please verify?

Comment 8 Joe Wertz 2013-08-30 11:00:44 UTC
Came across this while cleaning the testsuite for EAP6.2. The recent failures. Not the original ones.

Testing this locally, the InetAddress.getLocalHost() call isn't returning an IP address I can actually associate with my computer. Not the loopback, not from the ifconfig info, and not the external, so I'm not sure where it's getting the address, but it certainly doesn't work to connect either to this GSSTestServer or anything else on my system.

Adding InetAddress.getLocalHost().getLoopbackAddress() seems to solve the problem, if the loopback address is all that's needed, but from reading it sounds like getLocalHost() isn't really recommended as the implementation varies between systems somehow.

Another method is sifting thru NetworkInterface.getNetworkInterfaces() and either finding the loopback address or finding the... not-loopback, I suppose. There's a method to see if it's a loopback address. The weird-unknown-ip causing the problem doesn't show up in this call, so it might be safer.

Not sure where the unknown-ip is coming from though.

Comment 13 Pavel Jelinek 2013-12-10 10:37:33 UTC
The original issue no more occurs. 
The problem mentioned in comment 7 still persists but is specific for IPV6 on OpenJDK 1.6 and has new BZ https://bugzilla.redhat.com/show_bug.cgi?id=1033128 
So I'm verifying this one.


Note You need to log in before you can comment on or make changes to this bug.