You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Scott Carey (JIRA)" <ji...@apache.org> on 2010/08/30 23:55:53 UTC

[jira] Commented: (AVRO-644) Java tests fail in ipc.trace.TestFileSpanStorage [142]

    [ https://issues.apache.org/jira/browse/AVRO-644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12904362#action_12904362 ] 

Scott Carey commented on AVRO-644:
----------------------------------

More info:

The test sometimes passes if run in isolation from command line.

The test always passes if run from eclipse.

> Java tests fail in ipc.trace.TestFileSpanStorage [142]
> ------------------------------------------------------
>
>                 Key: AVRO-644
>                 URL: https://issues.apache.org/jira/browse/AVRO-644
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.4.0
>         Environment: Mac OSX Snow Leopard (10.6)
>            Reporter: Scott Carey
>
> Tests always fail for me at:
> {noformat}
> Testsuite: org.apache.avro.ipc.trace.TestFileSpanStorage
> Tests run: 4, Failures: 1, Errors: 0, Time elapsed: 16.167 sec
> ------------- Standard Error -----------------
> SLF4J: Class path contains multiple SLF4J bindings.
> SLF4J: Found binding in [jar:file:/Users/scottc/Documents/workspace/avro-commit/avro-src-1.4.0/lang/java/build/lib/tools/slf4j-simple-1.5.11.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in [jar:file:/Users/scottc/Documents/workspace/avro-commit/avro-src-1.4.0/lang/java/build/test/lib/slf4j-simple-1.5.11.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
> 142 [main] WARN org.apache.avro.ipc.trace.FileSpanStorage - Error reading file: /tmp/9_1283201500.av
> ------------- ---------------- ---------------
> Testcase: testBasicStorage took 0.381 sec
> 	FAILED
> {noformat}
> The file exists after the test (some line breaks added for the JIRA).
> {noformat}
> $ cat /tmp/9_1283201500.av 
> Objavro.codecdeflateavro.schema?
>                                 {"type":"record","name":"Span","namespace":"org.apache.avro.ipc.trace","fields":
> [{"name":"traceID","type":{"type":"fixed","name":"ID","size":8}},{"name":"spanID","type":"ID"},
> {"name":"parentSpanID","type":["ID","null"]},{"name":"messageName","type":"string"},
> {"name":"requestPayloadSize","type":"long"},{"name":"responsePayloadSize","type":"long"},
> {"name":"requestorHostname","type":["string","null"]},{"name":"responderHostname","type":["string","null"]},
> {"name":"events","type":{"type":"array","items":
>   {"type":"record","name":"TimestampedEvent","fields":
>     [{"name":"timeStamp","type":"long"},{"name":"event","type":[{"type":"enum","name":"SpanEvent","symbols":
> ["SERVER_RECV","SERVER_SEND","CLIENT_RECV","CLIENT_SEND"]},"string"]}]}}},
> {"name":"complete","type":"boolean"}]}
> ?.m+~??b$R%?????0c`F(?ė?Z\??????????.m+~??b$R%?????
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.