mace-opensaml-users - Re: Attribute test failed!
Subject: OpenSAML user discussion
List archive
- From: Thomas <>
- To: "Chad La Joie" <>
- Cc:
- Subject: Re: Attribute test failed!
- Date: Mon, 17 Jul 2006 20:53:28 +0100
I have the lastest code and I'm connected correctly to internet (my connection is slow but works) but the test org.opensaml.saml2.metadata.provider.ChainingMetadataProviderTest still fails. What problem can be?
Thomas
In data Thu, 13 Jul 2006 16:55:27 +0100, Chad La Joie <> ha scritto:
Be sure you have the latest code. Also, be sure that the system you're building on has network access as the Chaining provider includes a URL provider that attempts to fetch metadata from a remote server.
<?xml version="1.0" encoding="UTF-8" ?> <testsuite errors="1" failures="0" name="org.opensaml.saml2.metadata.provider.ChainingMetadataProviderTest" tests="1" time="18.391"> <properties> <property name="java.vendor" value="Sun Microsystems Inc."></property> <property name="lib.dir" value="C:\os\OpenSAML2/lib"></property> <property name="sun.management.compiler" value="HotSpot Client Compiler"></property> <property name="test-classes.dir" value="C:\os\OpenSAML2/build/test"></property> <property name="os.name" value="Windows XP"></property> <property name="sun.boot.class.path" value="C:\Programmi\Java\JDK-1.5.0\jre\lib\endorsed\xalan-2.7.0-serializer.jar;C:\Programmi\Java\JDK-1.5.0\jre\lib\endorsed\xalan-2.7.0.jar;C:\Programmi\Java\JDK-1.5.0\jre\lib\endorsed\xerces-2.8.0-xercesImpl.jar;C:\Programmi\Java\JDK-1.5.0\jre\lib\endorsed\xerces-2.8.0-xml-apis.jar;C:\Programmi\Java\JDK-1.5.0\jre\lib\rt.jar;C:\Programmi\Java\JDK-1.5.0\jre\lib\i18n.jar;C:\Programmi\Java\JDK-1.5.0\jre\lib\sunrsasign.jar;C:\Programmi\Java\JDK-1.5.0\jre\lib\jsse.jar;C:\Programmi\Java\JDK-1.5.0\jre\lib\jce.jar;C:\Programmi\Java\JDK-1.5.0\jre\lib\charsets.jar;C:\Programmi\Java\JDK-1.5.0\jre\classes"></property> <property name="src-dist.name" value="opensaml-2.0-TP1-jdk-1.5-src"></property> <property name="sun.desktop" value="windows"></property> <property name="java.vm.specification.vendor" value="Sun Microsystems Inc."></property> <property name="ant.home" value="."></property> <property name="java.runtime.version" value="1.5.0_07-b03"></property> <property name="core-src.dir" value="C:\os\OpenSAML2/src"></property> <property name="user.name" value="Thomas aka Darkman"></property> <property name="build.dir" value="C:\os\OpenSAML2/build"></property> <property name="test-results.dir" value="C:\os\OpenSAML2/build/test-results"></property> <property name="jdk.target" value="1.5"></property> <property name="user.language" value="it"></property> <property name="sun.boot.library.path" value="C:\Programmi\Java\JDK-1.5.0\jre\bin"></property> <property name="doc.dir" value="C:\os\OpenSAML2/doc"></property> <property name="ant.project.name" value="OpenSAML 2.0"></property> <property name="java.version" value="1.5.0_07"></property> <property name="version" value="2.0-TP1"></property> <property name="user.timezone" value=""></property> <property name="sun.arch.data.model" value="32"></property> <property name="bin-dist.name" value="opensaml-2.0-TP1-jdk-1.5-bin"></property> <property name="java.endorsed.dirs" value="C:\Programmi\Java\JDK-1.5.0\jre\lib\endorsed"></property> <property name="sun.cpu.isalist" value="pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86"></property> <property name="sun.jnu.encoding" value="Cp1252"></property> <property name="file.encoding.pkg" value="sun.io"></property> <property name="file.separator" value="\"></property> <property name="java.specification.name" value="Java Platform API Specification"></property> <property name="java.class.version" value="49.0"></property> <property name="user.country" value="IT"></property> <property name="java.home" value="C:\Programmi\Java\JDK-1.5.0\jre"></property> <property name="dist.dir" value="C:\os\OpenSAML2/dist"></property> <property name="java.vm.info" value="mixed mode"></property> <property name="ant.file" value="C:\os\OpenSAML2\build.xml"></property> <property name="os.version" value="5.1"></property> <property name="path.separator" value=";"></property> <property name="java.vm.version" value="1.5.0_07-b03"></property> <property name="user.variant" value=""></property> <property name="java.awt.printerjob" value="sun.awt.windows.WPrinterJob"></property> <property name="sun.io.unicode.encoding" value="UnicodeLittle"></property> <property name="awt.toolkit" value="sun.awt.windows.WToolkit"></property> <property name="user.home" value="C:\Documents and Settings\Thomas aka Darkman"></property> <property name="java.specification.vendor" value="Sun Microsystems Inc."></property> <property name="java.library.path" value="C:\Programmi\Java\JDK-1.5.0\jre\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS\System32\Wbem;C:\Programmi;C:\Programmi\XnView;C:\Programmi\GnuPG;C:\Programmi\Vim;C:\Programmi\Java\JDK-1.5.0\bin;C:\Programmi\Java\JDK-1.5.0\jre\bin;C:\Programmi\File comuni\GTK\2.0\2.0\bin;C:\Programmi\QuickTime\QTSystem\;c:\Programmi\Microsoft SQL Server\90\Tools\binn\;C:\Programmi\Subversion\bin\;C:\Programmi\Java\Tools\ant\bin"></property> <property name="java.vendor.url" value="http://java.sun.com/"></property> <property name="java.vm.vendor" value="Sun Microsystems Inc."></property> <property name="copyright" value="Copyright © 2002-2005 UCAID. All Rights Reserved."></property> <property name="java.runtime.name" value="Java(TM) 2 Runtime Environment, Standard Edition"></property> <property name="java.class.path" value="C:\os\OpenSAML2\build-lib\ant-1.6.5-junit.jar;C:\os\OpenSAML2\build-lib\ant-1.6.5-launcher.jar;C:\os\OpenSAML2\build-lib\ant-1.6.5.jar;C:\os\OpenSAML2\build-lib\ant-contrib-1.0b2.jar;C:\os\OpenSAML2\build-lib\junit-3.8.1.jar;C:\os\OpenSAML2\build-lib\retroweave-1.2.2-asm-2.2.jar;C:\os\OpenSAML2\build-lib\retroweave-1.2.2-asm-commons-2.2.jar;C:\os\OpenSAML2\build-lib\retroweave-1.2.2-backport-util-concurrent.jar;C:\os\OpenSAML2\build-lib\retroweaver-1.2.2.jar;C:\os\OpenSAML2\build-lib\servlet-2.4.jar;C:\os\OpenSAML2\build-lib\xalan-2.7.0-serializer.jar;C:\os\OpenSAML2\build-lib\xalan-2.7.0.jar;C:\os\OpenSAML2\build-lib\xerces-2.8.0-xercesImpl.jar;C:\os\OpenSAML2\build-lib\xerces-2.8.0-xml-apis.jar;C:\os\OpenSAML2\build-lib\xmlunit1.0.jar;C:\os\OpenSAML2\lib\httpclient-3.0.1.jar;C:\os\OpenSAML2\lib\jakarta-commons-codec-1.3.jar;C:\os\OpenSAML2\lib\javolution-3.7.19.jar;C:\os\OpenSAML2\lib\joda-time-1.2.1.jar;C:\os\OpenSAML2\lib\log4j-1.2.13.jar;C:\os\OpenSAML2\lib\retroweaver-rt-1.2.2.jar;C:\os\OpenSAML2\lib\xmlsec-1.3.0-commons-logging.jar;C:\os\OpenSAML2\lib\xmlsec-1.3.0.jar;C:\os\OpenSAML2\lib\xmltooling-1.0-TP1-jdk-1.5.jar;C:\os\OpenSAML2\build\core;C:\os\OpenSAML2\src;C:\os\OpenSAML2\build\test;C:\os\OpenSAML2\test;C:\os\OpenSAML2\conf;C:\os\OpenSAML2"></property> <property name="year" value="2002-2005"></property> <property name="ant.version" value="Apache Ant version 1.6.5 compiled on June 2 2005"></property> <property name="java.vm.specification.name" value="Java Virtual Machine Specification"></property> <property name="java.vm.specification.version" value="1.0"></property> <property name="sun.cpu.endian" value="little"></property> <property name="sun.os.patch.level" value="Service Pack 2"></property> <property name="java.io.tmpdir" value="C:\DOCUME~1\THOMAS~1\IMPOST~1\Temp\"></property> <property name="java.vendor.url.bug" value="http://java.sun.com/cgi-bin/bugreport.cgi"></property> <property name="conf.dir" value="C:\os\OpenSAML2/conf"></property> <property name="os.arch" value="x86"></property> <property name="java.awt.graphicsenv" value="sun.awt.Win32GraphicsEnvironment"></property> <property name="java.ext.dirs" value="C:\Programmi\Java\JDK-1.5.0\jre\lib\ext"></property> <property name="user.dir" value="C:\os\OpenSAML2"></property> <property name="ant.file.OpenSAML 2.0" value="C:\os\OpenSAML2\build.xml"></property> <property name="test-report.dir" value="C:\os\OpenSAML2/doc/test-report"></property> <property name="line.separator" value=" "></property> <property name="java.vm.name" value="Java HotSpot(TM) Client VM"></property> <property name="test-src.dir" value="C:\os\OpenSAML2/test"></property> <property name="basedir" value="C:\os\OpenSAML2"></property> <property name="core-classes.dir" value="C:\os\OpenSAML2/build/core"></property> <property name="ant.java.version" value="1.5"></property> <property name="jar.name" value="opensaml-2.0-TP1-jdk-1.5.jar"></property> <property name="file.encoding" value="Cp1252"></property> <property name="core-schema.dir" value="C:\os\OpenSAML2/src/schema"></property> <property name="java.specification.version" value="1.5"></property> <property name="javadoc.dir" value="C:\os\OpenSAML2/doc/javadoc"></property> <property name="build-lib.dir" value="C:\os\OpenSAML2/build-lib"></property> </properties> <testcase classname="org.opensaml.saml2.metadata.provider.ChainingMetadataProviderTest" name="testGetEntityDescriptor" time="18.375"> <error message="Unable to unmarshall metadata" type="org.opensaml.saml2.metadata.provider.MetadataProviderException">org.opensaml.saml2.metadata.provider.MetadataProviderException: Unable to unmarshall metadata at org.opensaml.saml2.metadata.provider.URLMetadataProvider.refreshMetadata(URLMetadataProvider.java:262) at org.opensaml.saml2.metadata.provider.URLMetadataProvider.<init>(URLMetadataProvider.java:94) at org.opensaml.saml2.metadata.provider.ChainingMetadataProviderTest.setUp(ChainingMetadataProviderTest.java:45) Caused by: org.opensaml.xml.io.UnmarshallingException: org.opensaml.xml.parse.XMLParserException: Unable to read XML source at org.opensaml.saml2.metadata.provider.AbstractMetadataProvider.unmarshallMetadata(AbstractMetadataProvider.java:151) at org.opensaml.saml2.metadata.provider.URLMetadataProvider.refreshMetadata(URLMetadataProvider.java:241) ... 12 more Caused by: org.opensaml.xml.parse.XMLParserException: Unable to read XML source at org.opensaml.xml.parse.ParserPool.parse(ParserPool.java:133) at org.opensaml.common.xml.ParserPoolManager.parse(ParserPoolManager.java:97) at org.opensaml.common.xml.ParserPoolManager.parse(ParserPoolManager.java:112) at org.opensaml.saml2.metadata.provider.AbstractMetadataProvider.unmarshallMetadata(AbstractMetadataProvider.java:140) ... 13 more Caused by: java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.io.BufferedInputStream.read1(BufferedInputStream.java:254) at java.io.BufferedInputStream.read(BufferedInputStream.java:313) at org.apache.commons.httpclient.ContentLengthInputStream.read(ContentLengthInputStream.java:169) at java.io.FilterInputStream.read(FilterInputStream.java:111) at org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:107) at org.apache.xerces.impl.XMLEntityManager$RewindableInputStream.read(Unknown Source) at org.apache.xerces.impl.io.UTF8Reader.read(Unknown Source) at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source) at org.apache.xerces.impl.XMLEntityScanner.scanContent(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanContent(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at org.opensaml.xml.parse.ParserPool.parse(ParserPool.java:128) ... 16 more </error> </testcase> <system-out><![CDATA[20:47:19,578 ERROR [URLMetadataProvider] Unable to unmarshall metadata org.opensaml.xml.io.UnmarshallingException: org.opensaml.xml.parse.XMLParserException: Unable to read XML source at org.opensaml.saml2.metadata.provider.AbstractMetadataProvider.unmarshallMetadata(AbstractMetadataProvider.java:151) at org.opensaml.saml2.metadata.provider.URLMetadataProvider.refreshMetadata(URLMetadataProvider.java:241) at org.opensaml.saml2.metadata.provider.URLMetadataProvider.<init>(URLMetadataProvider.java:94) at org.opensaml.saml2.metadata.provider.ChainingMetadataProviderTest.setUp(ChainingMetadataProviderTest.java:45) at junit.framework.TestCase.runBare(TestCase.java:125) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567) Caused by: org.opensaml.xml.parse.XMLParserException: Unable to read XML source at org.opensaml.xml.parse.ParserPool.parse(ParserPool.java:133) at org.opensaml.common.xml.ParserPoolManager.parse(ParserPoolManager.java:97) at org.opensaml.common.xml.ParserPoolManager.parse(ParserPoolManager.java:112) at org.opensaml.saml2.metadata.provider.AbstractMetadataProvider.unmarshallMetadata(AbstractMetadataProvider.java:140) ... 13 more Caused by: java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.io.BufferedInputStream.read1(BufferedInputStream.java:254) at java.io.BufferedInputStream.read(BufferedInputStream.java:313) at org.apache.commons.httpclient.ContentLengthInputStream.read(ContentLengthInputStream.java:169) at java.io.FilterInputStream.read(FilterInputStream.java:111) at org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:107) at org.apache.xerces.impl.XMLEntityManager$RewindableInputStream.read(Unknown Source) at org.apache.xerces.impl.io.UTF8Reader.read(Unknown Source) at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source) at org.apache.xerces.impl.XMLEntityScanner.scanContent(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanContent(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at org.opensaml.xml.parse.ParserPool.parse(ParserPool.java:128) ... 16 more ]]></system-out> <system-err><![CDATA[]]></system-err> </testsuite>
- Attribute test failed!, Thomas, 07/13/2006
- Re: Attribute test failed!, Chad La Joie, 07/13/2006
- Re: Attribute test failed!, Thomas, 07/13/2006
- Re: Attribute test failed!, Chad La Joie, 07/13/2006
- Re: Attribute test failed!, Thomas, 07/17/2006
- OpenSAML 1.1 Java Endorsed directory, Doug M, 07/18/2006
- RE: OpenSAML 1.1 Java Endorsed directory, Scott Cantor, 07/18/2006
- RE: OpenSAML 1.1 Java Endorsed directory, Doug M, 07/19/2006
- RE: OpenSAML 1.1 Java Endorsed directory, Scott Cantor, 07/20/2006
- RE: OpenSAML 1.1 Java Endorsed directory, Scott Cantor, 07/18/2006
- OpenSAML 1.1 Java Endorsed directory, Doug M, 07/18/2006
- Re: Attribute test failed!, Thomas, 07/17/2006
- Re: Attribute test failed!, Chad La Joie, 07/13/2006
- Re: Attribute test failed!, Thomas, 07/13/2006
- Re: Attribute test failed!, Chad La Joie, 07/13/2006
Archive powered by MHonArc 2.6.16.