[ 
https://issues.apache.org/jira/browse/ANY23-308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16056375#comment-16056375
 ] 

ASF GitHub Bot commented on ANY23-308:
--------------------------------------

Github user lewismc commented on the issue:

    https://github.com/apache/any23/pull/38
  
    @jgrzebyta upon running the proposed tests I get the following
    ```
    Running org.apache.any23.extractor.yaml.YAMLExtractorTest
    [2017-06-20 13:00:10,613] INFO  5268[main] - 
org.apache.any23.extractor.SingleDocumentExtraction.run(SingleDocumentExtraction.java:220)
 - Processing http://bob.example.com/
    [2017-06-20 13:00:10,668] INFO  5323[main] - 
org.apache.any23.extractor.SingleDocumentExtraction.run(SingleDocumentExtraction.java:220)
 - Processing http://bob.example.com/
    [2017-06-20 13:00:10,674] INFO  5329[main] - 
org.apache.any23.extractor.SingleDocumentExtraction.run(SingleDocumentExtraction.java:220)
 - Processing http://bob.example.com/
    [2017-06-20 13:00:10,678] INFO  5333[main] - 
org.apache.any23.extractor.SingleDocumentExtraction.run(SingleDocumentExtraction.java:220)
 - Processing http://bob.example.com/
    [2017-06-20 13:00:10,682] INFO  5337[main] - 
org.apache.any23.extractor.SingleDocumentExtraction.run(SingleDocumentExtraction.java:220)
 - Processing http://bob.example.com/
    [2017-06-20 13:00:10,684] INFO  5339[main] - 
org.apache.any23.extractor.SingleDocumentExtraction.run(SingleDocumentExtraction.java:220)
 - Processing http://bob.example.com/
    Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.073 sec - 
in org.apache.any23.extractor.yaml.YAMLExtractorTest
    Running org.apache.any23.extractor.yaml.YAMLTikaParserTest
    Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec <<< 
FAILURE! - in org.apache.any23.extractor.yaml.YAMLTikaParserTest
    tikaDetect(org.apache.any23.extractor.yaml.YAMLTikaParserTest)  Time 
elapsed: 0 sec  <<< ERROR!
    java.lang.IllegalArgumentException: Provided InputStream does not support 
marks
        at 
org.apache.any23.extractor.yaml.YAMLTikaParserTest.tikaDetect(YAMLTikaParserTest.java:41)
    
    Running org.apache.any23.filter.ExtractionContextBlockerTest
    Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - 
in org.apache.any23.filter.ExtractionContextBlockerTest
    Running org.apache.any23.filter.IgnoreAccidentalRDFaTest
    Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec - 
in org.apache.any23.filter.IgnoreAccidentalRDFaTest
    Running org.apache.any23.http.AcceptHeaderBuilderTest
    Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec 
- in org.apache.any23.http.AcceptHeaderBuilderTest
    Running org.apache.any23.plugin.Any23PluginManagerTest
    Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec - 
in org.apache.any23.plugin.Any23PluginManagerTest
    Running org.apache.any23.rdf.PrefixesTest
    Tests run: 36, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec 
- in org.apache.any23.rdf.PrefixesTest
    Running org.apache.any23.rdf.RDFUtilsTest
    Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in 
org.apache.any23.rdf.RDFUtilsTest
    Running org.apache.any23.SesameTest
    Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in 
org.apache.any23.SesameTest
    Running org.apache.any23.util.DiscoveryUtilsTest
    Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.49 sec - 
in org.apache.any23.util.DiscoveryUtilsTest
    Running org.apache.any23.util.StringUtilsTest
    Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - 
in org.apache.any23.util.StringUtilsTest
    Running org.apache.any23.validator.DefaultValidatorTest
    Tests run: 5, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.018 sec - 
in org.apache.any23.validator.DefaultValidatorTest
    Running org.apache.any23.validator.XMLValidationReportSerializerTest
    Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec - 
in org.apache.any23.validator.XMLValidationReportSerializerTest
    Running org.apache.any23.vocab.RDFSchemaUtilsTest
    Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.074 sec - 
in org.apache.any23.vocab.RDFSchemaUtilsTest
    Running org.apache.any23.vocab.VocabularyTest
    Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - 
in org.apache.any23.vocab.VocabularyTest
    Running org.apache.any23.writer.JSONWriterTest
    Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in 
org.apache.any23.writer.JSONWriterTest
    Running org.apache.any23.writer.WriterRegistryTest
    Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec - 
in org.apache.any23.writer.WriterRegistryTest
    
    Results :
    
    Tests in error:
      
EmbeddedJSONLDExtractorTest.testEmbeddedJSONLDInHead:30->AbstractExtractorTestCase.assertExtract:223->AbstractExtractorTestCase.assertExtract:210
 » Runtime
      
EmbeddedJSONLDExtractorTest.testSeveralEmbeddedJSONLDInHead:37->AbstractExtractorTestCase.assertExtract:223->AbstractExtractorTestCase.assertExtract:210
 » Runtime
      YAMLTikaParserTest.tikaDetect:41 » IllegalArgument Provided InputStream 
does n...
    
    Tests run: 394, Failures: 0, Errors: 3, Skipped: 15
    
    [INFO] 
------------------------------------------------------------------------
    [INFO] Reactor Summary:
    [INFO]
    [INFO] Apache Any23 ....................................... SUCCESS [ 
19.568 s]
    [INFO] Apache Any23 :: Base API ........................... SUCCESS [  
4.437 s]
    [INFO] Apache Any23 :: Test Resources ..................... SUCCESS [  
0.327 s]
    [INFO] Apache Any23 :: Utilities .......................... SUCCESS [  
2.754 s]
    [INFO] Apache Any23 :: Mime Type Detection ................ SUCCESS [01:51 
min]
    [INFO] Apache Any23 :: Encoding Detection ................. SUCCESS [  
0.987 s]
    [INFO] Apache Any23 :: Core ............................... FAILURE [ 
37.718 s]
    [INFO] Apache Any23 :: CLI ................................ SKIPPED
    [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] 
------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] 
------------------------------------------------------------------------
    [INFO] Total time: 02:57 min
    [INFO] Finished at: 2017-06-20T13:00:11-07:00
    [INFO] Final Memory: 52M/455M
    [INFO] 
------------------------------------------------------------------------
    [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on 
project apache-any23-core: There are test failures.
    [ERROR]
    [ERROR] Please refer to /usr/local/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 :apache-any23-core
    ```


> Adding option "-d" to yaml file parsing gives error
> ---------------------------------------------------
>
>                 Key: ANY23-308
>                 URL: https://issues.apache.org/jira/browse/ANY23-308
>             Project: Apache Any23
>          Issue Type: Bug
>          Components: rover
>    Affects Versions: 2.0
>            Reporter: Jacek
>            Assignee: Jacek
>            Priority: Minor
>             Fix For: 2.1
>
>
> Command 
> {code:none}
> any23 rover -e yaml -d "urn:test#" -f turtle some_yaml_file.yaml
> {code}
> gives `No suitable extractors found`.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to