XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.8.0
    • Interpreters

    Description

      Since testing webseuquence markdown parser requires API calls (network operation), it fails occasionally.

      -------------------------------------------------------
       T E S T S
      -------------------------------------------------------
      Running org.apache.zeppelin.markdown.Markdown4jParserTest
      SLF4J: Class path contains multiple SLF4J bindings.
      SLF4J: Found binding in [jar:file:/home/travis/build/1ambda/zeppelin/zeppelin-interpreter/target/zeppelin-interpreter-0.7.0-SNAPSHOT.jar!/org/slf4j/impl/StaticLoggerBinder.class]
      SLF4J: Found binding in [jar:file:/home/travis/build/1ambda/zeppelin/zeppelin-interpreter/target/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
      SLF4J: Found binding in [jar:file:/home/travis/.m2/repository/org/slf4j/slf4j-log4j12/1.7.10/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
      SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
      SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
      log4j:WARN No appenders could be found for logger (org.apache.zeppelin.interpreter.Interpreter).
      log4j:WARN Please initialize the log4j system properly.
      log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
      Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.148 sec - in org.apache.zeppelin.markdown.Markdown4jParserTest
      Running org.apache.zeppelin.markdown.PegdownParserTest
      Tests run: 13, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 8.153 sec <<< FAILURE! - in org.apache.zeppelin.markdown.PegdownParserTest
      testWebsequencePlugin(org.apache.zeppelin.markdown.PegdownParserTest)  Time elapsed: 6.421 sec  <<< FAILURE!
      java.lang.AssertionError: 
      Expected: a string containing "<img src=\"http://www.websequencediagrams.com/?png="
           but: was "Error while parsing action 'Root/Sequence/ZeroOrMore/Sequence/Block/FirstOf/Table/Sequence/Optional/Sequence/NodeSequence/Sequence/TableRow/Sequence/OneOrMore/Sequence/TableCell/NodeSequence/Sequence/OneOrMore/Sequence/Inline/Inline_Action1' at input position (line 10, pos 1):
      
      ^
      
      org.pegdown.ParsingTimeoutException"
      	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
      	at org.junit.Assert.assertThat(Assert.java:865)
      	at org.junit.Assert.assertThat(Assert.java:832)
      	at org.apache.zeppelin.markdown.PegdownParserTest.testWebsequencePlugin(PegdownParserTest.java:320)
      
      
      Results :
      
      Failed tests: 
        PegdownParserTest.testWebsequencePlugin:320 
      Expected: a string containing "<img src=\"http://www.websequencediagrams.com/?png="
           but: was "Error while parsing action 'Root/Sequence/ZeroOrMore/Sequence/Block/FirstOf/Table/Sequence/Optional/Sequence/NodeSequence/Sequence/TableRow/Sequence/OneOrMore/Sequence/TableCell/NodeSequence/Sequence/OneOrMore/Sequence/Inline/Inline_Action1' at input position (line 10, pos 1):
      
      ^
      
      org.pegdown.ParsingTimeoutException"
      
      Tests run: 14, Failures: 1, Errors: 0, Skipped: 0
      
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on project zeppelin-markdown: There are test failures.
      [ERROR] 
      [ERROR] Please refer to /home/travis/build/1ambda/zeppelin/markdown/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 :zeppelin-markdown
      
      
      The command "mvn $TEST_FLAG $PROFILE -B $TEST_PROJECTS" exited with 1.
      store build cache
      

      Attachments

        Issue Links

          Activity

            People

              moon Lee Moon Soo
              1ambda Hoon Park
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: