[
https://issues.apache.org/jira/browse/FLINK-11428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16761678#comment-16761678
]
Aljoscha Krettek edited comment on FLINK-11428 at 2/8/19 1:05 PM:
------------------------------------------------------------------
Hi, [~aljoscha]
After running a couple times of
{{BufferFileWriterFileSegmentReaderTest#testWriteRead}} locally, I find the
direct reason is when
[writer.deleteChannel()|https://github.com/apache/flink/blob/46326ab9181acec53d1e9e7ec8f4a26c672fec31/flink-runtime/src/test/java/org/apache/flink/runtime/io/disk/iomanager/BufferFileWriterFileSegmentReaderTest.java#L91]
is called,
{{[writer.close()|https://github.com/apache/flink/blob/46326ab9181acec53d1e9e7ec8f4a26c672fec31/flink-runtime/src/test/java/org/apache/flink/runtime/io/disk/iomanager/BufferFileWriterFileSegmentReaderTest.java#L120]}}
has not been called before for some reason. Do this just need to catch this
situation(do some check in {{tearDownWriterAndReader}}) or to do more things?
was (Author: klion26):
Hi, [~aljoscha]
After running a couple times of
{{BufferFileWriterFileSegmentReaderTest#testWriteRead}} locally, I find the
direct reason is when
[writer.deleteChannel()|https://github.com/apache/flink/blob/46326ab9181acec53d1e9e7ec8f4a26c672fec31/flink-runtime/src/test/java/org/apache/flink/runtime/io/disk/iomanager/BufferFileWriterFileSegmentReaderTest.java#L91]
is called,
{{[writer.close()|https://github.com/apache/flink/blob/46326ab9181acec53d1e9e7ec8f4a26c672fec31/flink-runtime/src/test/java/org/apache/flink/runtime/io/disk/iomanager/BufferFileWriterFileSegmentReaderTest.java#L120]
has not been called before for some reason. Do this just need to catch this
situation(do some check in {{tearDownWriterAndReader}}}}) or to do more things?
> BufferFileWriterFileSegmentReaderTest#testWriteRead failed on Travis
> --------------------------------------------------------------------
>
> Key: FLINK-11428
> URL: https://issues.apache.org/jira/browse/FLINK-11428
> Project: Flink
> Issue Type: Bug
> Components: Tests
> Reporter: Congxian Qiu
> Priority: Critical
> Labels: test-stability
> Fix For: 1.8.0
>
>
> 10:31:58.273 [ERROR] Errors:
> 10:31:58.273 [ERROR]
> org.apache.flink.runtime.io.disk.iomanager.BufferFileWriterFileSegmentReaderTest.testWriteRead(org.apache.flink.runtime.io.disk.iomanager.BufferFileWriterFileSegmentReaderTest)
> 10:31:58.273 [ERROR] Run 1:
> BufferFileWriterFileSegmentReaderTest.testWriteRead:141
> 10:31:58.273 [ERROR] Run 2:
> BufferFileWriterFileSegmentReaderTest.tearDownWriterAndReader:95 »
> IllegalState
>
> Travis link: https://travis-ci.org/apache/flink/jobs/483788040
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)