nifi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Ghigiarelli (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (NIFI-437) nifi-distributed-cache-server failing testClientTermination
Date Wed, 18 Mar 2015 17:53:38 GMT

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

Brian Ghigiarelli commented on NIFI-437:
----------------------------------------

[~markap14], after running the basic "mvn clean install" 12 times, it failed 9 of 12 with
the patch in place.  Looks to be about the same without the patch.

With a few debug logs, both passing and error scenarios show the channel in the same state:
* Blocking: true
* Registered: false
* Socket
** Bound: true
** Closed: false
** Local Port: 4557
** Inet Address: /0:0:0:0:0:0:0:0
** SO Timeout: 0
** Receive Buffer Size: 131072

> nifi-distributed-cache-server failing testClientTermination
> -----------------------------------------------------------
>
>                 Key: NIFI-437
>                 URL: https://issues.apache.org/jira/browse/NIFI-437
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 0.1.0
>         Environment: Mac OS X 10.10.2
> Java 1.8.0_31, 64-bit
> Maven 3.2.5
>            Reporter: Brian Ghigiarelli
>             Fix For: 0.1.0
>
>         Attachments: NIFI-437-only-close-server-socket-if-open.patch
>
>
> While executing a "mvn clean install" on the latest "develop" branch for the 0.1.0-incubating-SNAPSHOT
version, the nifi-distributed-cache-server module fails with the below error.
> Skipping tests and running NiFi locally seems to be running fine though.
> {code}
> Running org.apache.nifi.distributed.cache.server.TestServerAndClient
> Tests run: 7, Failures: 0, Errors: 1, Skipped: 6, Time elapsed: 2.2 sec <<<
FAILURE! - in org.apache.nifi.distributed.cache.server.TestServerAndClient
> testClientTermination(org.apache.nifi.distributed.cache.server.TestServerAndClient) 
Time elapsed: 2.181 sec  <<< ERROR!
> java.io.IOException: No such file or directory
> 	at sun.nio.ch.NativeThread.signal(Native Method)
> 	at sun.nio.ch.ServerSocketChannelImpl.implCloseSelectableChannel(ServerSocketChannelImpl.java:283)
> 	at java.nio.channels.spi.AbstractSelectableChannel.implCloseChannel(AbstractSelectableChannel.java:234)
> 	at java.nio.channels.spi.AbstractInterruptibleChannel.close(AbstractInterruptibleChannel.java:115)
> 	at org.apache.nifi.distributed.cache.server.AbstractCacheServer.stop(AbstractCacheServer.java:167)
> 	at org.apache.nifi.distributed.cache.server.map.MapCacheServer.stop(MapCacheServer.java:126)
> 	at org.apache.nifi.distributed.cache.server.DistributedCacheServer.shutdownServer(DistributedCacheServer.java:96)
> 	at org.apache.nifi.distributed.cache.server.TestServerAndClient.testClientTermination(TestServerAndClient.java:419)
> Results :
> Tests in error:
>   TestServerAndClient.testClientTermination:419 ยป IO No such file or directory
> {code}



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

Mime
View raw message