Are the test references outdated? Error retrieving metadata from http://wayf.incommonfederation.org/InCommon/InCommon-metadata.xml

Nathan Yan thedailynathan at gmail.com
Wed Feb 27 01:14:01 EST 2013


Hi,

I'm trying to get started on a basic build of the opensaml library (need to
fix the integer parsing behavior described here:
http://shibboleth.net/pipermail/users/2012-June/004171.html). But am having
issues with some of the tests.

I checked out a https://svn.shibboleth.net/java-opensaml2/tags/2.5.1,
imported it into Eclipse as a Maven project, and tried to run a build
("test install"). No modifications to the codebase so far. Here are the
results I'm getting:

-------------

Failed tests:
  testEncoding(org.opensaml.saml1.binding.encoding.HTTPPostEncoderTest):
expected:<212339730> but was:<63951532>

testResponseEncoding(org.opensaml.saml2.binding.encoding.HTTPPostEncoderTest):
expected:<833802980> but was:<-1631909037>

testRequestEncoding(org.opensaml.saml2.binding.encoding.HTTPPostEncoderTest):
expected:<-1355812539> but was:<-1323675582>

testResponseEncoding(org.opensaml.saml2.binding.encoding.HTTPPostSimpleSignEncoderTest):
expected:<637875160> but was:<338015914>

testRequestEncoding(org.opensaml.saml2.binding.encoding.HTTPPostSimpleSignEncoderTest):
expected:<-481805865> but was:<292804697>

Tests in error:

testWhiteListSPRole(org.opensaml.saml2.metadata.provider.EntityRoleFilterTest):
org.opensaml.saml2.metadata.provider.MetadataProviderException: Error
retrieving metadata from
http://wayf.incommonfederation.org/InCommon/InCommon-metadata.xml

testWhiteListIdPRoles(org.opensaml.saml2.metadata.provider.EntityRoleFilterTest):
org.opensaml.saml2.metadata.provider.MetadataProviderException: Error
retrieving metadata from
http://wayf.incommonfederation.org/InCommon/InCommon-metadata.xml

testWhiteListNoRole(org.opensaml.saml2.metadata.provider.EntityRoleFilterTest):
org.opensaml.saml2.metadata.provider.MetadataProviderException: Error
retrieving metadata from
http://wayf.incommonfederation.org/InCommon/InCommon-metadata.xml

testGetMetadata(org.opensaml.saml2.metadata.provider.HTTPMetadataProviderTest):
org.opensaml.saml2.metadata.provider.MetadataProviderException: Error
retrieving metadata from
http://wayf.incommonfederation.org/InCommon/InCommon-metadata.xml

testGetEntityDescriptor(org.opensaml.saml2.metadata.provider.HTTPMetadataProviderTest):
org.opensaml.saml2.metadata.provider.MetadataProviderException: Error
retrieving metadata from
http://wayf.incommonfederation.org/InCommon/InCommon-metadata.xml

testGetRole(org.opensaml.saml2.metadata.provider.HTTPMetadataProviderTest):
org.opensaml.saml2.metadata.provider.MetadataProviderException: Error
retrieving metadata from
http://wayf.incommonfederation.org/InCommon/InCommon-metadata.xml

testGetRoleWithSupportedProtocol(org.opensaml.saml2.metadata.provider.HTTPMetadataProviderTest):
org.opensaml.saml2.metadata.provider.MetadataProviderException: Error
retrieving metadata from
http://wayf.incommonfederation.org/InCommon/InCommon-metadata.xml

testGetEntitiesDescriptor(org.opensaml.saml2.metadata.provider.HTTPMetadataProviderTest):
org.opensaml.saml2.metadata.provider.MetadataProviderException: Error
retrieving metadata from
http://wayf.incommonfederation.org/InCommon/InCommon-metadata.xml
  test(org.opensaml.saml2.metadata.provider.SchemaValidationFilterTest):
org.opensaml.saml2.metadata.provider.MetadataProviderException: Error
retrieving metadata from
http://wayf.incommonfederation.org/InCommon/InCommon-metadata.xml

-------------

The EntityRoleFilterTest, HTTPMetadataProviderTest, and
SchemaValidationFilterTest all make references to a
http://wayf.incommonfederation.org/InCommon/InCommon-metadata.xml, which I
can't seem to access (the hostname incommonfederation.org doesn't even
resolve). Is this an outdated reference, or is the host not public?

I haven't looked very deeply at the HTTPPostEncoderTest or
HTTPPostSimpleSignEncoderTest yet, but do the unexpected values I end up
with ring a bell for anyone?

Sorry if this is a very basic question - I'm guessing I just have something
wrong with my environment setup here.

If this info happens to be relevant: I do have the JCE extension installed,
and I'm running Eclipse Indigo on Win7 64-bit. I'm using 2.5.1 currently
since my current application is already built/tested with it, but I can
look at updating to the newer 2.5.3 if it fixes these issues.

-Nathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/dev/attachments/20130226/681e3884/attachment.html 


More information about the dev mailing list