incubator-any23-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michele Mostarda <michele.mosta...@gmail.com>
Subject Re: Issues with build
Date Fri, 11 May 2012 12:22:14 GMT
Hi Guys,

org.apache.any23.plugin.PluginIT line 109:

assertEquals(7 + 1, toolClasses.size());

It seems there is a CLI tool less than expected.
What did we remove here?

The best.
Mic

On 11 May 2012 13:13, Lewis John Mcgibbney <lewis.mcgibbney@gmail.com>wrote:

> OK this looks 'better'
>
> I'm going to make a clean check out of trunk then build using Maven 3.X
>
> I'll also stick in some time today and see if we can get to the bottom
> of this one. It's been quite a while since our builds were on track
> and it would be real nice to sort that out if anything.
>
> On Fri, May 11, 2012 at 11:20 AM, Michele Mostarda
> <michele.mostarda@gmail.com> wrote:
> > Hi guys,
> >
> >  I tried to replicate the issue performing a
> >
> >        trunk(v1337100) $ mvn clean install
> >
> > and I found a different issue occurring during the integration test:
> > =============
> > Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.365 sec
> > <<< FAILURE!
> >
> > Results :
> >
> > Failed tests:
> >  testDetectCLIPlugins(org.apache.any23.plugin.PluginIT)
> >
> > Tests run: 2, Failures: 1, Errors: 0, Skipped: 0
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Reactor Summary:
> > [INFO]
> > [INFO] Apache Any23 :: Plugins :: Integration Test ....... FAILURE
> > [1:12.274s]
> > [INFO] Apache Any23 :: Service ........................... SKIPPED
> > [INFO] Apache Any23 :: Sources distribution module ....... SKIPPED
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> > =============
> >
> > Any idea?
> >
> > Investigating.
> >
> > Mic
> >
> >
> > On 10 May 2012 11:09, Michele Mostarda <michele.mostarda@gmail.com>
> wrote:
> >
> >>
> >>
> >> On 9 May 2012 08:23, Simone Tripodi <simonetripodi@apache.org> wrote:
> >>
> >>> Hi Lewis,
> >>>
> >>> apologize but I am not in the position to establish a diagnosis :( We
> >>> need help from more hardcore experts, like Mike!
> >>>
> >>
> >> Sorry guys for delay, having a look ASAP.
> >> Mic
> >>
> >>
> >>>
> >>> best,
> >>> -Simo
> >>>
> >>> http://people.apache.org/~simonetripodi/
> >>> http://simonetripodi.livejournal.com/
> >>> http://twitter.com/simonetripodi
> >>> http://www.99soft.org/
> >>>
> >>>
> >>> On Tue, May 8, 2012 at 9:21 PM, Lewis John Mcgibbney
> >>> <lewis.mcgibbney@gmail.com> wrote:
> >>> > Hi Simo
> >>> >
> >>> > OK so first Maven
> >>> >
> >>> > lewis@lewis-01:~/ASF/any23$ mvn --version
> >>> > Apache Maven 3.0.4 (r1232337; 2012-01-17 08:44:56+0000)
> >>> > Maven home: /home/lewis/ASF/maven
> >>> > Java version: 1.6.0_23, vendor: Sun Microsystems Inc.
> >>> > Java home: /usr/lib/jvm/java-6-openjdk/jre
> >>> > Default locale: en_GB, platform encoding: UTF-8
> >>> > OS name: "linux", version: "3.0.0-19-generic", arch: "i386", family:
> >>> "unix"
> >>> >
> >>> > then a replicate of my local test failures...
> >>> >
> >>> > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.318
> >>> sec
> >>> > Running org.apache.any23.cli.RoverTest
> >>> > Expected a directory for --plugins-dir option value.
> >>> >
> >>> > Results :
> >>> >
> >>> > Failed tests:
> >>> >
> >>>
> testSpeciesMicroformatExtractOverTaxoBox(org.apache.any23.extractor.html.SpeciesExtractorTest):
> >>> > Unexpected number of matching statements. expected:<29> but was:<27>
> >>> >
> >>>
>  testListingWithouthContent(org.apache.any23.extractor.html.HListingExtractorTest):
> >>> > Unexpected number of matching statements. expected:<4> but was:<3>
> >>> >
> >>>
>  testVCardMultiAddress(org.apache.any23.extractor.html.AdrExtractorTest):
> >>> > Unexpected statement size: 5
> >>> >
> >>>
>  testAdvancedItemrefManagement(org.apache.any23.extractor.microdata.MicrodataParserTest):
> >>> > Error while comparing error [1] expected:<...[2]", "begin_row" :
[10,
> >>> > "begin_col" : 5, "end_row" : 10], "end_col" : 97 }> but was:<...[2]",
> >>> > "begin_row" : [26, "begin_col" : 5, "end_row" : 26], "end_col" : 97
> }>
> >>> >
> >>>
>  testMicroformatDomains(org.apache.any23.extractor.SingleDocumentExtractionTest):
> >>> > Cannot find triple (* http://vocab.sindice.net/any23#domain
> >>> > "nested.test.com") 1 times expected:<1> but was:<0>
> >>> >
> >>>
>  testNestedMicroformats(org.apache.any23.extractor.SingleDocumentExtractionTest):
> >>> > Cannot find triple (* http://vocab.sindice.net/any23#domain
> >>> > "nested.test.com") 2 times expected:<2> but was:<0>
> >>> >
> >>>
>  testNestedMicroformatsInduced(org.apache.any23.extractor.SingleDocumentExtractionTest):
> >>> > Cannot find triple (* http://vocab.sindice.net/any23#domain
> >>> > "nested.test.com") 2 times expected:<2> but was:<0>
> >>> >
> >>>
>  testNestedMicroformatsManaged(org.apache.any23.extractor.SingleDocumentExtractionTest):
> >>> > Cannot find triple (* http://vocab.sindice.net/any23#domain
> >>> > "nested.test.com") 3 times expected:<3> but was:<0>
> >>> >
> >>>
>  testDetectRSS1ByContent(org.apache.any23.mime.TikaMIMETypeDetectorTest):
> >>> > Error in mimetype detection for file
> >>> > /home/lewis/ASF/any23/core/src/test/resources/application/rss1/test1
> >>> > expected:<application/[rdf+xml]> but was:<application/[octet-stream]>
> >>> >
> >>>
>  testDetectRDFN3ByContent(org.apache.any23.mime.TikaMIMETypeDetectorTest):
> >>> > Error in mimetype detection for file
> >>> > /home/lewis/ASF/any23/core/src/test/resources/application/rdfn3/test1
> >>> > expected:<[text/n3]> but was:<[application/octet-stream]>
> >>> >
> >>>
>  testDetectRDFNQuadsByContent(org.apache.any23.mime.TikaMIMETypeDetectorTest):
> >>> > Error in mimetype detection for file
> >>> >
> >>>
> /home/lewis/ASF/any23/core/src/test/resources/application/nquads/test1.nq
> >>> > expected:<[text/nq]> but was:<[application/octet-stream]>
> >>> >
> >>>
>  testDetectRDFXMLByContent(org.apache.any23.mime.TikaMIMETypeDetectorTest):
> >>> > Error in mimetype detection for file
> >>> >
> /home/lewis/ASF/any23/core/src/test/resources/application/rdfxml/test1
> >>> > expected:<application/[rdf+xml]> but was:<application/[octet-stream]>
> >>> >
> >>>
>  testDetectHTMLByContent(org.apache.any23.mime.TikaMIMETypeDetectorTest):
> >>> > Error in mimetype detection for file
> >>> > /home/lewis/ASF/any23/core/src/test/resources/text/html/test1
> >>> > expected:<[text/html]> but was:<[application/octet-stream]>
> >>> >
> >>>
>  testRDFXMLByContentAndName(org.apache.any23.mime.TikaMIMETypeDetectorTest):
> >>> > Error while detecting mimetype in file
> >>> > src/test/resources/application/rdfxml/test1
> >>> > expected:<application/[rdf+xml]> but was:<application/[octet-stream]>
> >>> >
> >>>
>  testRSS1ByContentAndName(org.apache.any23.mime.TikaMIMETypeDetectorTest):
> >>> > Error while detecting mimetype in file
> >>> > src/test/resources/application/rss1/test1
> >>> > expected:<application/[rdf+xml]> but was:<application/[octet-stream]>
> >>> >
> >>>
>  testDetectRDFN3ByContentAndName(org.apache.any23.mime.TikaMIMETypeDetectorTest):
> >>> > Error while detecting mimetype in file
> >>> > src/test/resources/application/rdfn3/test1 expected:<[text/n3]>
but
> >>> > was:<[application/octet-stream]>
> >>> >
> >>>
>  testHTMLByContentAndName(org.apache.any23.mime.TikaMIMETypeDetectorTest):
> >>> > Error while detecting mimetype in file
> >>> > src/test/resources/text/html/test1 expected:<[text/html]> but
> >>> > was:<[application/octet-stream]>
> >>> >
> >>> > Tests run: 399, Failures: 17, Errors: 0, Skipped: 1
> >>> >
> >>> > [INFO]
> >>>
> ------------------------------------------------------------------------
> >>> > [INFO] Reactor Summary:
> >>> > [INFO]
> >>> > [INFO] Apache Any23 ...................................... SUCCESS
> >>> [9.470s]
> >>> > [INFO] Apache Any23 :: Core .............................. FAILURE
> >>> [35.228s]
> >>> > [INFO] Apache Any23 :: Plugins :: Basic Crawler .......... SKIPPED
> >>> > [INFO] Apache Any23 :: Plugins :: HTML Scraper ........... SKIPPED
> >>> > [INFO] Apache Any23 :: Plugins :: Office Scraper ......... SKIPPED
> >>> > [INFO] Apache Any23 :: Plugins :: Integration Test ....... SKIPPED
> >>> > [INFO] Apache Any23 :: Service ........................... SKIPPED
> >>> > [INFO] Apache Any23 :: Sources distribution module ....... SKIPPED
> >>> > [INFO]
> >>>
> ------------------------------------------------------------------------
> >>> > [INFO] BUILD FAILURE
> >>> > [INFO]
> >>>
> ------------------------------------------------------------------------
> >>> > [INFO] Total time: 45.642s
> >>> > [INFO] Finished at: Tue May 08 20:18:48 BST 2012
> >>> > [INFO] Final Memory: 22M/66M
> >>> > [INFO]
> >>>
> ------------------------------------------------------------------------
> >>> > [ERROR] Failed to execute goal
> >>> > org.apache.maven.plugins:maven-surefire-plugin:2.9:test
> (default-test)
> >>> > on project any23-core: There are test failures.
> >>> > [ERROR]
> >>> > [ERROR] Please refer to
> >>> > /home/lewis/ASF/any23/core/target/surefire-reports for the individual
> >>> > test results.
> >>> > [ERROR] -> [Help 1]
> >>> > [ERROR]
> >>> > [ERROR] To see the full stack trace of the errors, re-run Maven with
> >>> > the -e switch.
> >>> > [ERROR] Re-run Maven using the -X switch to enable full debug
> logging.
> >>> > [ERROR]
> >>> > [ERROR] For more information about the errors and possible solutions,
> >>> > please read the following articles:
> >>> > [ERROR] [Help 1]
> >>> >
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> >>> > [ERROR]
> >>> > [ERROR] After correcting the problems, you can resume the build with
> >>> the command
> >>> > [ERROR]   mvn <goals> -rf :any23-core
> >>>
> >>
> >>
> >>
> >> --
> >> Michele Mostarda
> >> Senior Software Engineer
> >> skype: michele.mostarda
> >> twitter: micmos
> >> mail: me@michelemostarda.com
> >> site : http://www.michelemostarda.com
> >>
> >>
> >
> >
> > --
> > Michele Mostarda
> > Senior Software Engineer
> > skype: michele.mostarda
> > twitter: micmos
> > mail: me@michelemostarda.com
> > site : http://www.michelemostarda.com
>
>
>
> --
> Lewis
>



-- 
Michele Mostarda
Senior Software Engineer
skype: michele.mostarda
twitter: micmos
mail: me@michelemostarda.com
site : http://www.michelemostarda.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message