Hello,
I have run the command |mvn clean install| as descrided here [1].
However, I got an error while running the tests for "Apache Any23 :: Core".
Here is the message
error:|testGZippedContent(org.apache.any23.Any23Test): Failed to fetch
http://products.semweb.bestbuy.com/y/products/7590289/: 500 Internal
Server Error|
Just in case, I have also attached the surefire report.
Cheers,
[1] http://any23.apache.org/build-src.html
--
Stéphane Campinas
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite failures="0" time="7.907" errors="1" skipped="0" tests="23" name="org.apache.any23.Any23Test">
<properties>
<property name="java.runtime.name" value="Java(TM) SE Runtime Environment"/>
<property name="sun.boot.library.path" value="/usr/lib/jvm/jdk1.6.0_35/jre/lib/amd64"/>
<property name="java.vm.version" value="20.10-b01"/>
<property name="java.vm.vendor" value="Sun Microsystems Inc."/>
<property name="java.vendor.url" value="http://java.sun.com/"/>
<property name="path.separator" value=":"/>
<property name="guice.disable.misplaced.annotation.check" value="true"/>
<property name="java.vm.name" value="Java HotSpot(TM) 64-Bit Server VM"/>
<property name="file.encoding.pkg" value="sun.io"/>
<property name="user.country" value="US"/>
<property name="sun.java.launcher" value="SUN_STANDARD"/>
<property name="sun.os.patch.level" value="unknown"/>
<property name="java.vm.specification.name" value="Java Virtual Machine Specification"/>
<property name="user.dir" value="/home/stephane/workspace/any23"/>
<property name="java.runtime.version" value="1.6.0_35-b10"/>
<property name="java.awt.graphicsenv" value="sun.awt.X11GraphicsEnvironment"/>
<property name="java.endorsed.dirs" value="/usr/lib/jvm/jdk1.6.0_35/jre/lib/endorsed"/>
<property name="os.arch" value="amd64"/>
<property name="java.io.tmpdir" value="/tmp"/>
<property name="line.separator" value="
"/>
<property name="java.vm.specification.vendor" value="Sun Microsystems Inc."/>
<property name="os.name" value="Linux"/>
<property name="classworlds.conf" value="/usr/share/maven/bin/m2.conf"/>
<property name="sun.jnu.encoding" value="UTF-8"/>
<property name="java.library.path" value="/usr/lib/jvm/jdk1.6.0_35/jre/lib/amd64/server:/usr/lib/jvm/jdk1.6.0_35/jre/lib/amd64:/usr/lib/jvm/jdk1.6.0_35/jre/../lib/amd64:/home/stephane/hadoop/hadoop-0.20.2/lib/native/Linux-amd64-64/:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib"/>
<property name="java.specification.name" value="Java Platform API Specification"/>
<property name="java.class.version" value="50.0"/>
<property name="sun.management.compiler" value="HotSpot 64-Bit Tiered Compilers"/>
<property name="os.version" value="3.2.0-35-generic"/>
<property name="user.home" value="/home/stephane"/>
<property name="user.timezone" value="Europe/Dublin"/>
<property name="java.awt.printerjob" value="sun.print.PSPrinterJob"/>
<property name="file.encoding" value="UTF-8"/>
<property name="java.specification.version" value="1.6"/>
<property name="user.name" value="stephane"/>
<property name="java.class.path" value="/usr/share/maven/boot/plexus-classworlds-2.x.jar"/>
<property name="java.vm.specification.version" value="1.0"/>
<property name="sun.arch.data.model" value="64"/>
<property name="java.home" value="/usr/lib/jvm/jdk1.6.0_35/jre"/>
<property name="sun.java.command" value="org.codehaus.plexus.classworlds.launcher.Launcher clean install"/>
<property name="java.specification.vendor" value="Sun Microsystems Inc."/>
<property name="user.language" value="en"/>
<property name="java.vm.info" value="mixed mode"/>
<property name="java.version" value="1.6.0_35"/>
<property name="java.ext.dirs" value="/usr/lib/jvm/jdk1.6.0_35/jre/lib/ext:/usr/java/packages/lib/ext"/>
<property name="securerandom.source" value="file:/dev/./urandom"/>
<property name="sun.boot.class.path" value="/usr/lib/jvm/jdk1.6.0_35/jre/lib/resources.jar:/usr/lib/jvm/jdk1.6.0_35/jre/lib/rt.jar:/usr/lib/jvm/jdk1.6.0_35/jre/lib/sunrsasign.jar:/usr/lib/jvm/jdk1.6.0_35/jre/lib/jsse.jar:/usr/lib/jvm/jdk1.6.0_35/jre/lib/jce.jar:/usr/lib/jvm/jdk1.6.0_35/jre/lib/charsets.jar:/usr/lib/jvm/jdk1.6.0_35/jre/lib/modules/jdk.boot.jar:/usr/lib/jvm/jdk1.6.0_35/jre/classes"/>
<property name="java.vendor" value="Sun Microsystems Inc."/>
<property name="maven.home" value="/usr/share/maven"/>
<property name="file.separator" value="/"/>
<property name="java.vendor.url.bug" value="http://java.sun.com/cgi-bin/bugreport.cgi"/>
<property name="sun.cpu.endian" value="little"/>
<property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
<property name="sun.desktop" value="gnome"/>
<property name="sun.cpu.isalist" value=""/>
</properties>
<testcase time="0.001" classname="org.apache.any23.Any23Test" name="testTTLDetection"/>
<testcase time="0.001" classname="org.apache.any23.Any23Test" name="testN3Detection1"/>
<testcase time="0.002" classname="org.apache.any23.Any23Test" name="testN3Detection2"/>
<testcase time="0.017" classname="org.apache.any23.Any23Test" name="testHTMLBruteForceDetection"/>
<testcase time="0.03" classname="org.apache.any23.Any23Test" name="testExplicitEncoding"/>
<testcase time="0.024" classname="org.apache.any23.Any23Test" name="testImplicitEncoding"/>
<testcase time="0.004" classname="org.apache.any23.Any23Test" name="testRDFXMLDetectionAndExtraction"/>
<testcase time="0.002" classname="org.apache.any23.Any23Test" name="testNTriplesDetectionAndExtraction"/>
<testcase time="0.002" classname="org.apache.any23.Any23Test" name="testNturtleDetectionAndExtraction"/>
<testcase time="0.002" classname="org.apache.any23.Any23Test" name="testDemoCodeSnippet1"/>
<testcase time="1.14" classname="org.apache.any23.Any23Test" name="testDemoCodeSnippet2"/>
<testcase time="0.038" classname="org.apache.any23.Any23Test" name="testProgrammaticExtraction"/>
<testcase time="0.494" classname="org.apache.any23.Any23Test" name="testGZippedContent">
<error message="Failed to fetch http://products.semweb.bestbuy.com/y/products/7590289/: 500 Internal Server Error" type="java.io.IOException">java.io.IOException: Failed to fetch http://products.semweb.bestbuy.com/y/products/7590289/: 500 Internal Server Error
at org.apache.any23.http.DefaultHTTPClient.openInputStream(DefaultHTTPClient.java:118)
at org.apache.any23.source.HTTPDocumentSource.ensureOpen(HTTPDocumentSource.java:52)
at org.apache.any23.source.HTTPDocumentSource.openInputStream(HTTPDocumentSource.java:59)
at org.apache.any23.source.MemCopyFactory.createLocalCopy(MemCopyFactory.java:47)
at org.apache.any23.extractor.SingleDocumentExtraction.ensureHasLocalCopy(SingleDocumentExtraction.java:521)
at org.apache.any23.extractor.SingleDocumentExtraction.run(SingleDocumentExtraction.java:212)
at org.apache.any23.Any23.extract(Any23.java:295)
at org.apache.any23.Any23.extract(Any23.java:430)
at org.apache.any23.Any23Test.testGZippedContent(Any23Test.java:313)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:46)
at org.junit.rules.RunRules.evaluate(RunRules.java:18)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:172)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:104)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:70)
</error>
</testcase>
<testcase time="0.03" classname="org.apache.any23.Any23Test" name="testExtractionParameters"/>
<testcase time="0.024" classname="org.apache.any23.Any23Test" name="testExtractionParametersWithNestingDisabled"/>
<testcase time="0.004" classname="org.apache.any23.Any23Test" name="testExceptionPropagation"/>
<testcase time="0.004" classname="org.apache.any23.Any23Test" name="testXMLMimeTypeManagement"/>
<testcase time="1.752" classname="org.apache.any23.Any23Test" name="testXMLMimeTypeManagementViaURL"/>
<testcase time="3.972" classname="org.apache.any23.Any23Test" name="testBlankNodesViaURL"/>
<testcase time="0.274" classname="org.apache.any23.Any23Test" name="testMicrodataSupport"/>
<testcase time="0.018" classname="org.apache.any23.Any23Test" name="testAbstractMethodErrorIssue186_1"/>
<testcase time="0.059" classname="org.apache.any23.Any23Test" name="testAbstractMethodErrorIssue186_2"/>
<testcase time="0.009" classname="org.apache.any23.Any23Test" name="testModifiableConfiguration_issue183"/>
</testsuite>