flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephan Ewen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (FLINK-1561) Improve build server robustness by not reusing JVMs in integration tests
Date Wed, 18 Feb 2015 11:43:12 GMT

     [ https://issues.apache.org/jira/browse/FLINK-1561?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Stephan Ewen resolved FLINK-1561.
---------------------------------
    Resolution: Fixed

Fixed via a8c99d5a8fc6a700a670da5443d9a808ac5eaaa0

> Improve build server robustness by not reusing JVMs in integration tests
> ------------------------------------------------------------------------
>
>                 Key: FLINK-1561
>                 URL: https://issues.apache.org/jira/browse/FLINK-1561
>             Project: Flink
>          Issue Type: Improvement
>          Components: Build System
>    Affects Versions: 0.9
>            Reporter: Stephan Ewen
>            Assignee: Stephan Ewen
>             Fix For: 0.9
>
>
> Right now, JVM forks are reused across unit and integration tests. While it makes a lot
of sense for the very quick unit tests, the integration tests benefit less.
> We also see spurious JVM failures in the integration tests that are most likely related
to JVM issues. An example is the trace below:
> {code}
> java.io.IOException: Cannot allocate memory
> 	at sun.nio.ch.FileDispatcherImpl.write0(Native Method)
> 	at sun.nio.ch.FileDispatcherImpl.write(FileDispatcherImpl.java:60)
> 	at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)
> 	at sun.nio.ch.IOUtil.write(IOUtil.java:65)
> 	at sun.nio.ch.FileChannelImpl.write(FileChannelImpl.java:205)
> 	at org.apache.flink.runtime.io.disk.iomanager.SegmentWriteRequest.write(AsynchronousFileIOChannel.java:270)
> 	at org.apache.flink.runtime.io.disk.iomanager.IOManagerAsync$WriterThread.run(IOManagerAsync.java:440)
> {code}
> I think we can improve reliability of Travis tests by not reusing forks for integration
tests.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message