flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-1651) Running mvn test got stuck
Date Fri, 06 Mar 2015 23:07:38 GMT

    [ https://issues.apache.org/jira/browse/FLINK-1651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14351097#comment-14351097
] 

ASF GitHub Bot commented on FLINK-1651:
---------------------------------------

GitHub user hsaputra opened a pull request:

    https://github.com/apache/flink/pull/460

    [FLINK-1651] Fix test case at JobManagerStartupTest to avoid hang on certain users

    JobManagerStartupTest should not assume user could not create /does-not-exist-no-sir dir.
    
    Sometimes, user that run tests could have write access to root directory so creating /does-not-exist-no-sir
is possible,
    hence no exception thrown.
    
    Need to construct a Flink test directory under directory specified under "java.io.tmpdir"
and change the permission
    to not allow create new directory.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/hsaputra/flink FLINK-1651_fix_jobmanager_fail_test

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/460.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #460
    
----
commit 5d46716fb8f1bc70534721596f11add946330bb0
Author: Henry Saputra <henry.saputra@gmail.com>
Date:   2015-03-06T20:42:52Z

    [FLINK-1651] Fix test case at JobManagerStartupTest should not assume user could not create
/does-not-exist-no-sir dir.
    
    Sometimes, user that run tests could have write access to root directory so creating /does-not-exist-no-sir
is possible,
    hence no exception thrown.
    
    Need to construct a Flink test directory under directory specified under "java.io.tmpdir"
and change the permission
    to not allow create new directory.

----


> Running mvn test got stuck
> --------------------------
>
>                 Key: FLINK-1651
>                 URL: https://issues.apache.org/jira/browse/FLINK-1651
>             Project: Flink
>          Issue Type: Bug
>          Components: test
>            Reporter: Henry Saputra
>            Priority: Minor
>
> I keep getting my test stuck at this state:
> ...
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec - in org.apache.flink.runtime.types.TypeTest
> Running org.apache.flink.runtime.util.AtomicDisposableReferenceCounterTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.561 sec - in org.apache.flink.runtime.util.AtomicDisposableReferenceCounterTest
> Running org.apache.flink.runtime.util.DataInputOutputSerializerTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.848 sec - in org.apache.flink.runtime.operators.DataSourceTaskTest
> Running org.apache.flink.runtime.util.DelegatingConfigurationTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec - in org.apache.flink.runtime.util.DelegatingConfigurationTest
> Running org.apache.flink.runtime.util.EnvironmentInformationTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 20.563 sec - in org.apache.flink.runtime.io.network.serialization.LargeRecordsTest
> Running org.apache.flink.runtime.util.event.TaskEventHandlerTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec - in org.apache.flink.runtime.util.event.TaskEventHandlerTest
> Running org.apache.flink.runtime.util.LRUCacheMapTest
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec - in org.apache.flink.runtime.util.LRUCacheMapTest
> Running org.apache.flink.runtime.util.MathUtilTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec - in org.apache.flink.runtime.util.MathUtilTest
> Running org.apache.flink.runtime.util.NonReusingKeyGroupedIteratorTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.064 sec - in org.apache.flink.runtime.util.NonReusingKeyGroupedIteratorTest
> Running org.apache.flink.runtime.util.ReusingKeyGroupedIteratorTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec - in org.apache.flink.runtime.util.ReusingKeyGroupedIteratorTest
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.238 sec - in org.apache.flink.runtime.taskmanager.TaskManagerTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.616 sec - in org.apache.flink.runtime.profiling.impl.InstanceProfilerTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.303 sec - in org.apache.flink.runtime.util.DataInputOutputSerializerTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.488 sec - in org.apache.flink.runtime.util.EnvironmentInformationTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.81 sec - in org.apache.flink.runtime.taskmanager.TaskManagerProcessReapingTest
> Tests run: 46, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.653 sec - in org.apache.flink.runtime.operators.MatchTaskTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.071 sec - in org.apache.flink.runtime.operators.sort.LargeRecordHandlerTest
> Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.534 sec - in org.apache.flink.runtime.operators.DataSinkTaskTest
> Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.98 sec - in org.apache.flink.runtime.operators.sort.NormalizedKeySorterTest
> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 49.017 sec - in org.apache.flink.runtime.io.disk.ChannelViewsTest
> After this seemed like nothing happen. And the program just hang.
> I am using MacOSX with Java version 1.7.0_71



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

Mime
View raw message