You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by "Hoon Park (JIRA)" <ji...@apache.org> on 2016/12/04 13:17:58 UTC
[jira] [Created] (ZEPPELIN-1749) Flaky Tests in Websequence
markdown plugin
Hoon Park created ZEPPELIN-1749:
-----------------------------------
Summary: Flaky Tests in Websequence markdown plugin
Key: ZEPPELIN-1749
URL: https://issues.apache.org/jira/browse/ZEPPELIN-1749
Project: Zeppelin
Issue Type: Bug
Components: Interpreters
Reporter: Hoon Park
Since testing webseuquence markdown parser requires API calls (network operation), it fails occasionally.
- raw log: https://api.travis-ci.org/jobs/181105472/log.txt?deansi=true
{code}
-------------------------------------------------------
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
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)