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

shijinkui commented on FLINK-5370:
----------------------------------

```
git checkout bfdaa3821c71f9fa3a3ff85f56154995d98b18b5
mvn clean -U -X
```

Run the test several times, have two different result below. 

Results 1:
==========

Failed tests:
  FileCacheDeleteValidationTest.testFileReuseForNextTask:132 null
  LeaderChangeStateCleanupTest.testReelectionOfSameJobManager:244 TaskManager 
should not be able to register at JobManager.
Tests in error:
  JobClientActorTest.testConnectionTimeoutAfterJobSubmission »  Unexpected 
excep...

Tests run: 1266, Failures: 2, Errors: 1, Skipped: 3


Result 2:
=========

error while sending record to Kafka: Test error
java.lang.Exception: Test error
  at 
org.apache.flink.streaming.connectors.kafka.KafkaProducerTest$1.answer(KafkaProducerTest.java:72)
  at 
org.apache.flink.streaming.connectors.kafka.KafkaProducerTest$1.answer(KafkaProducerTest.java:68)
  at 
org.mockito.internal.stubbing.StubbedInvocationMatcher.answer(StubbedInvocationMatcher.java:34)
  at 
org.mockito.internal.handler.MockHandlerImpl.handle(MockHandlerImpl.java:91)
  at 
org.mockito.internal.handler.NullResultGuardian.handle(NullResultGuardian.java:29)
  at 
org.mockito.internal.handler.InvocationNotifierHandler.handle(InvocationNotifierHandler.java:38)
  at 
org.powermock.api.mockito.repackaged.MethodInterceptorFilter.intercept(MethodInterceptorFilter.java:60)
  at 
org.apache.kafka.clients.producer.KafkaProducer$$EnhancerByMockitoWithCGLIB$$531e9886.send(<generated>)
  at 
org.apache.flink.streaming.connectors.kafka.FlinkKafkaProducerBase.invoke(FlinkKafkaProducerBase.java:312)
  at 
org.apache.flink.streaming.api.operators.StreamSink.processElement(StreamSink.java:38)
  at 
org.apache.flink.streaming.util.OneInputStreamOperatorTestHarness.processElement(OneInputStreamOperatorTestHarness.java:90)
  at 
org.apache.flink.streaming.connectors.kafka.KafkaProducerTest.testPropagateExceptions(KafkaProducerTest.java:113)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:498)
  at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:68)
  at 
org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl$PowerMockJUnit44MethodRunner.runTestMethod(PowerMockJUnit44RunnerDelegateImpl.java:316)

...


java.lang.Exception: Test error
  at 
org.apache.flink.streaming.connectors.kafka.KafkaProducerTest$1.answer(KafkaProducerTest.java:77)
  at 
org.apache.flink.streaming.connectors.kafka.KafkaProducerTest$1.answer(KafkaProducerTest.java:73)
  at 
org.mockito.internal.stubbing.StubbedInvocationMatcher.answer(StubbedInvocationMatcher.java:34)
  at 
org.mockito.internal.handler.MockHandlerImpl.handle(MockHandlerImpl.java:91)
  at 
org.mockito.internal.handler.NullResultGuardian.handle(NullResultGuardian.java:29)
  at 
org.mockito.internal.handler.InvocationNotifierHandler.handle(InvocationNotifierHandler.java:38)
  at 
org.powermock.api.mockito.repackaged.MethodInterceptorFilter.intercept(MethodInterceptorFilter.java:60)
  at 
org.apache.kafka.clients.producer.KafkaProducer$$EnhancerByMockitoWithCGLIB$$6ea769e4.send(<generated>)

  579  [main] INFO  
org.apache.flink.streaming.connectors.kafka.KafkaProducerTest  -
--------------------------------------------------------------------------------
Test 
testPropagateExceptions(org.apache.flink.streaming.connectors.kafka.KafkaProducerTest)
 successfully run.

....

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.flink.python.api.PythonPlanBinderTest
log4j:WARN No appenders could be found for logger 
(org.apache.flink.python.api.PythonPlanBinderTest).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more 
info.

#####
waiting forever...

> build failure for unit test of FileInputFormatTest and GlobFilePathFilterTest
> -----------------------------------------------------------------------------
>
>                 Key: FLINK-5370
>                 URL: https://issues.apache.org/jira/browse/FLINK-5370
>             Project: Flink
>          Issue Type: Test
>          Components: Tests
>            Reporter: shijinkui
>
> mvn clean package
> head commit 4a27d2105dd08f323c0be26e79a55986aa97e7bd
> on windows:
> Results :
> Failed tests:
>   FileInputFormatTest.testExcludeFiles:336 Illegal char <:> at index 2: 
> /C:/Users/sjk/AppData/Local/Temp/junit2200257114857246164/anot
> her_file.bin
>   FileInputFormatTest.testReadMultiplePatterns:369 Illegal char <:> at index 
> 2: /C:/Users/sjk/AppData/Local/Temp/junit1476821885889426
> 068/another_file.bin
> Tests in error:
>   GlobFilePathFilterTest.excludeFilenameWithStart:115 ? InvalidPath Illegal 
> char...
> Tests run: 2084, Failures: 2, Errors: 1, Skipped: 0
> ------------------------
> head commit bfdaa3821c71f9fa3a3ff85f56154995d98b18b5
> on osx:
> Results :
> Failed tests:
>   BlobCacheSuccessTest.testBlobCache:108 Could not connect to BlobServer at 
> address 0.0.0.0/0.0.0.0:63065
>   BlobLibraryCacheManagerTest.testLibraryCacheManagerCleanup:114 Could not 
> connect to BlobServer at address 0.0.0.0/0.0.0.0:63143
>   ConnectionUtilsTest.testReturnLocalHostAddressUsingHeuristics:68 Can't 
> assign requested address
> Tests in error:
>   CancelPartitionRequestTest.testCancelPartitionRequest » Bind Can't assign 
> requ...
>   CancelPartitionRequestTest.testDuplicateCancel » Bind Can't assign 
> requested a...
>   ClientTransportErrorHandlingTest.testExceptionOnRemoteClose » Bind Can't 
> assig...
>   ClientTransportErrorHandlingTest.testExceptionOnWrite » Bind Can't assign 
> requ...
>   NettyConnectionManagerTest.testManualConfiguration » Bind Can't assign 
> request...
>   NettyConnectionManagerTest.testMatchingNumberOfArenasAndThreadsAsDefault » 
> Bind
>   NettyServerLowAndHighWatermarkTest.testLowAndHighWatermarks » Bind Can't 
> assig...
>   ServerTransportErrorHandlingTest.testRemoteClose » Bind Can't assign 
> requested...
>   QueryableStateClientTest.testIntegrationWithKvStateServer » Bind Can't 
> assign ...
>   KvStateClientTest.testClientServerIntegration » Bind Can't assign requested 
> ad...
>   KvStateClientTest.testConcurrentQueries » Bind Can't assign requested 
> address
>   KvStateClientTest.testFailureClosesChannel » Bind Can't assign requested 
> addre...
>   KvStateClientTest.testServerClosesChannel » Bind Can't assign requested 
> addres...
>   KvStateClientTest.testSimpleRequests » Bind Can't assign requested address
>   KvStateServerTest.testSimpleRequest » Bind Can't assign requested address
> Tests run: 1266, Failures: 3, Errors: 15, Skipped: 3



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

Reply via email to