IdP v3 tests failing

Nanda Kumar NKK at FISCHERINTERNATIONAL.COM
Tue Feb 9 16:31:01 EST 2016


HI,
Never mind.  I found the issue and fixed it.

Nanda

======================================================================
CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient and may contain originating company confidential or proprietary information.  Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, immediately contact the sender by reply e-mail or notify the postmaster at fisc.com<applewebdata://C7998FB1-8D0A-4CA3-B689-30E2F4A29B9A/postmaster@fisc.com> and destroy all copies.

From: Nanda Kumar
Sent: Tuesday, February 09, 2016 2:28 PM
To: dev at shibboleth.net
Subject: IdP v3 tests failing

Hi,
I have made changes to add a Database serializer to read relying party, attribute resolver, attribute filter and metadata providers from a database and convert them back to xml and send the xml to shib code.  Some third party dependecies also were added for the implementation.  After these changes were made, the following tests are failing.  Can you give me any clue as to why they are failing?


Running TestSuite
Tests run: 69, Failures: 21, Errors: 0, Skipped: 0, Time elapsed: 17.434 sec <<< FAILURE! - in TestSuite
testSAML1AttributeQueryFlow(net.shibboleth.idp.test.flows.saml1.SAML1AttributeQueryFlowTest)  Time elapsed: 0.44 sec  <<< FAILURE!
java.lang.AssertionError: expected [{urn:oasis:names:tc:SAML:1.0:protocol}Success] but found [{urn:oasis:names:tc:SAML:1.0:protocol}Responder]
                at net.shibboleth.idp.test.flows.saml1.SAML1AttributeQueryFlowTest.testSAML1AttributeQueryFlow(SAML1AttributeQueryFlowTest.java:91)

testSAML1AttributeQueryFlowNoCredential(net.shibboleth.idp.test.flows.saml1.SAML1AttributeQueryFlowTest)  Time elapsed: 0.02 sec  <<< FAILURE!
java.lang.AssertionError: expected [{urn:oasis:names:tc:SAML:1.0:protocol}Requester] but found [{urn:oasis:names:tc:SAML:1.0:protocol}Responder]
                at net.shibboleth.idp.test.flows.saml1.SAML1AttributeQueryFlowTest.testSAML1AttributeQueryFlowNoCredential(SAML1AttributeQueryFlowTest.java:132)

testSAML1AttributeQueryFlowWithDesignators(net.shibboleth.idp.test.flows.saml1.SAML1AttributeQueryFlowTest)  Time elapsed: 0.017 sec  <<< FAILURE!
java.lang.AssertionError: expected [{urn:oasis:names:tc:SAML:1.0:protocol}Success] but found [{urn:oasis:names:tc:SAML:1.0:protocol}Responder]
                at net.shibboleth.idp.test.flows.saml1.SAML1AttributeQueryFlowTest.testSAML1AttributeQueryFlowWithDesignators(SAML1AttributeQueryFlowTest.java:113)

testSAML2AttributeQueryFlow(net.shibboleth.idp.test.flows.saml2.SAML2AttributeQueryFlowTest)  Time elapsed: 0.272 sec  <<< FAILURE!
java.lang.NullPointerException
                at net.shibboleth.idp.test.flows.saml2.SAML2AttributeQueryFlowTest.testSAML2AttributeQueryFlow(SAML2AttributeQueryFlowTest.java:96)

testSAML2AttributeQueryFlowNoCredential(net.shibboleth.idp.test.flows.saml2.SAML2AttributeQueryFlowTest)  Time elapsed: 0.016 sec  <<< FAILURE!
java.lang.NullPointerException
                at net.shibboleth.idp.test.flows.saml2.SAML2AttributeQueryFlowTest.testSAML2AttributeQueryFlowNoCredential(SAML2AttributeQueryFlowTest.java:137)

testSAML2AttributeQueryFlowWithDesignators(net.shibboleth.idp.test.flows.saml2.SAML2AttributeQueryFlowTest)  Time elapsed: 0.017 sec  <<< FAILURE!
java.lang.NullPointerException
                at net.shibboleth.idp.test.flows.saml2.SAML2AttributeQueryFlowTest.testSAML2AttributeQueryFlowWithDesignators(SAML2AttributeQueryFlowTest.java:118)

testSAML1UnsolicitedSSOFlow(net.shibboleth.idp.test.flows.saml1.SAML1UnsolicitedSSOFlowTest)  Time elapsed: 0.214 sec  <<< FAILURE!
java.lang.AssertionError: expected [end] but found [ErrorView]
                at net.shibboleth.idp.test.flows.saml1.SAML1UnsolicitedSSOFlowTest.testSAML1UnsolicitedSSOFlow(SAML1UnsolicitedSSOFlowTest.java:50)

testSAML2POSTSSOFlow(net.shibboleth.idp.test.flows.saml2.SAML2POSTSimpleSignSSOFlowTest)  Time elapsed: 0.586 sec  <<< FAILURE!
java.lang.AssertionError: expected [end] but found [ErrorView]
                at net.shibboleth.idp.test.flows.saml2.SAML2POSTSimpleSignSSOFlowTest.testSAML2POSTSSOFlow(SAML2POSTSimpleSignSSOFlowTest.java:57)

testResolveAndFilter(net.shibboleth.idp.test.flows.mapper.MappingTest)  Time elapsed: 0.039 sec  <<< FAILURE!
java.lang.AssertionError: expected object to not be null
                at net.shibboleth.idp.test.flows.mapper.MappingTest.testResolveAndFilter(MappingTest.java:33)

testSAML2POSTSSOFlow(net.shibboleth.idp.test.flows.saml2.SAML2POSTSSOFlowTest)  Time elapsed: 0.193 sec  <<< FAILURE!
java.lang.AssertionError: expected [end] but found [ErrorView]
                at net.shibboleth.idp.test.flows.saml2.SAML2POSTSSOFlowTest.testSAML2POSTSSOFlow(SAML2POSTSSOFlowTest.java:57)

testSAML2RedirectFlow(net.shibboleth.idp.test.flows.saml2.SAML2RedirectSSOFlowTest)  Time elapsed: 0.153 sec  <<< FAILURE!
java.lang.AssertionError: expected [end] but found [ErrorView]
                at net.shibboleth.idp.test.flows.saml2.SAML2RedirectSSOFlowTest.testSAML2RedirectFlow(SAML2RedirectSSOFlowTest.java:62)

testLoginStartSession(net.shibboleth.idp.test.flows.cas.LoginFlowTest)  Time elapsed: 0.019 sec  <<< FAILURE!
java.lang.AssertionError: expected object to not be null
                at net.shibboleth.idp.test.flows.cas.LoginFlowTest.assertPopulatedAttributeContext(LoginFlowTest.java:231)
                at net.shibboleth.idp.test.flows.cas.LoginFlowTest.testLoginStartSession(LoginFlowTest.java:117)

testLoginExistingSessionDoNotCache(net.shibboleth.idp.test.flows.cas.LoginFlowTest)  Time elapsed: 0.024 sec  <<< FAILURE!
java.lang.AssertionError: expected object to not be null
                at net.shibboleth.idp.test.flows.cas.LoginFlowTest.assertPopulatedAttributeContext(LoginFlowTest.java:231)
                at net.shibboleth.idp.test.flows.cas.LoginFlowTest.testLoginExistingSessionDoNotCache(LoginFlowTest.java:200)

testLoginExistingSession(net.shibboleth.idp.test.flows.cas.LoginFlowTest)  Time elapsed: 0.031 sec  <<< FAILURE!
java.lang.AssertionError: expected object to not be null
                at net.shibboleth.idp.test.flows.cas.LoginFlowTest.assertPopulatedAttributeContext(LoginFlowTest.java:231)
                at net.shibboleth.idp.test.flows.cas.LoginFlowTest.testLoginExistingSession(LoginFlowTest.java:172)

testSAML2UnsolicitedSSOFlow(net.shibboleth.idp.test.flows.saml2.SAML2UnsolicitedSSOFlowTest)  Time elapsed: 0.157 sec  <<< FAILURE!
java.lang.AssertionError: expected [end] but found [ErrorView]
                at net.shibboleth.idp.test.flows.saml2.SAML2UnsolicitedSSOFlowTest.testSAML2UnsolicitedSSOFlow(SAML2UnsolicitedSSOFlowTest.java:47)

testSuccess(net.shibboleth.idp.test.flows.cas.SamlValidateFlowTest)  Time elapsed: 0.013 sec  <<< FAILURE!
java.lang.AssertionError: expected [true] but found [false]
                at net.shibboleth.idp.test.flows.cas.SamlValidateFlowTest.testSuccess(SamlValidateFlowTest.java:96)

testSuccessWhenResolveAttributesFalse(net.shibboleth.idp.test.flows.cas.SamlValidateFlowTest)  Time elapsed: 0.007 sec  <<< FAILURE!
java.lang.AssertionError: expected [true] but found [false]
                at net.shibboleth.idp.test.flows.cas.SamlValidateFlowTest.testSuccessWhenResolveAttributesFalse(SamlValidateFlowTest.java:164)

testSuccess(net.shibboleth.idp.test.flows.cas.ServiceValidateFlowTest)  Time elapsed: 0.007 sec  <<< FAILURE!
java.lang.AssertionError: expected [true] but found [false]
                at net.shibboleth.idp.test.flows.cas.ServiceValidateFlowTest.testSuccess(ServiceValidateFlowTest.java:132)

testSuccessWithAltUsername(net.shibboleth.idp.test.flows.cas.ServiceValidateFlowTest)  Time elapsed: 0.011 sec  <<< FAILURE!
java.lang.AssertionError: expected [ValidateSuccess] but found [ProtocolErrorView]
                at net.shibboleth.idp.test.flows.cas.ServiceValidateFlowTest.testSuccessWithAltUsername(ServiceValidateFlowTest.java:297)

testSuccessWithProxy(net.shibboleth.idp.test.flows.cas.ServiceValidateFlowTest)  Time elapsed: 0.007 sec  <<< FAILURE!
java.lang.AssertionError: expected [false] but found [true]
                at net.shibboleth.idp.test.flows.cas.ServiceValidateFlowTest.assertPopulatedAttributeContext(ServiceValidateFlowTest.java:355)
                at net.shibboleth.idp.test.flows.cas.ServiceValidateFlowTest.testSuccessWithProxy(ServiceValidateFlowTest.java:243)

testSuccessWithSLOParticipant(net.shibboleth.idp.test.flows.cas.ServiceValidateFlowTest)  Time elapsed: 0.007 sec  <<< FAILURE!
java.lang.AssertionError: expected [false] but found [true]
                at net.shibboleth.idp.test.flows.cas.ServiceValidateFlowTest.assertPopulatedAttributeContext(ServiceValidateFlowTest.java:355)
                at net.shibboleth.idp.test.flows.cas.ServiceValidateFlowTest.testSuccessWithSLOParticipant(ServiceValidateFlowTest.java:173)

Thanks
Nanda


======================================================================
CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient and may contain originating company confidential or proprietary information.  Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, immediately contact the sender by reply e-mail or notify the postmaster at fisc.com<applewebdata://C7998FB1-8D0A-4CA3-B689-30E2F4A29B9A/postmaster@fisc.com> and destroy all copies.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/dev/attachments/20160209/8b71a816/attachment-0001.html>


More information about the dev mailing list