You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/03/28 16:36:41 UTC

[jira] [Commented] (NIFI-3441) Test failures on linux for Kafka 0.8 tests

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

ASF GitHub Bot commented on NIFI-3441:
--------------------------------------

GitHub user olegz opened a pull request:

    https://github.com/apache/nifi/pull/1629

    NIFI-3441 added @Ignore to integration tests due to intermittent fail…

    …ures
    
    Thank you for submitting a contribution to Apache NiFi.
    
    In order to streamline the review of the contribution we ask you
    to ensure the following steps have been taken:
    
    ### For all changes:
    - [ ] Is there a JIRA ticket associated with this PR? Is it referenced 
         in the commit message?
    
    - [ ] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.
    
    - [ ] Has your PR been rebased against the latest commit within the target branch (typically master)?
    
    - [ ] Is your initial contribution a single, squashed commit?
    
    ### For code changes:
    - [ ] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
    - [ ] Have you written or updated unit tests to verify your changes?
    - [ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under [ASF 2.0](http://www.apache.org/legal/resolved.html#category-a)? 
    - [ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
    - [ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
    - [ ] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?
    
    ### For documentation related changes:
    - [ ] Have you ensured that format looks appropriate for the output in which it is rendered?
    
    ### Note:
    Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.


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

    $ git pull https://github.com/olegz/nifi NIFI-3441

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

    https://github.com/apache/nifi/pull/1629.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 #1629
    
----
commit f982525bcb414ec421fbc4f6de5665599a743810
Author: Oleg Zhurakousky <ol...@suitcase.io>
Date:   2017-03-28T16:34:38Z

    NIFI-3441 added @Ignore to integration tests due to intermittent failures

----


> Test failures on linux for Kafka 0.8 tests
> ------------------------------------------
>
>                 Key: NIFI-3441
>                 URL: https://issues.apache.org/jira/browse/NIFI-3441
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 1.2.0
>         Environment: Linux 3.10.0-514.6.1.el7.x86_64 #1 SMP Wed Jan 18 13:06:36 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
> java version "1.8.0_91"
> Java(TM) SE Runtime Environment (build 1.8.0_91-b14)
> Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode)
> Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T11:41:47-05:00)
> Maven home: /opt/apache-maven-3.3.9
> Java version: 1.8.0_91, vendor: Oracle Corporation
> Java home: /opt/jdk1.8.0_91/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "3.10.0-514.6.1.el7.x86_64", arch: "amd64", family: "unix"
>            Reporter: Joseph Witt
>             Fix For: 1.2.0
>
>
> Running org.apache.nifi.processors.kafka.KafkaPublisherTest
> Tests run: 5, Failures: 2, Errors: 2, Skipped: 0, Time elapsed: 440.845 sec <<< FAILURE! - in org.apache.nifi.processors.kafka.KafkaPublisherTest
> validateSuccessfulSendAsDelimited(org.apache.nifi.processors.kafka.KafkaPublisherTest)  Time elapsed: 60.018 sec  <<< FAILURE!
> java.lang.AssertionError: expected:<3> but was:<-1>
> 	at org.junit.Assert.fail(Assert.java:88)
> 	at org.junit.Assert.failNotEquals(Assert.java:834)
> 	at org.junit.Assert.assertEquals(Assert.java:645)
> 	at org.junit.Assert.assertEquals(Assert.java:631)
> 	at org.apache.nifi.processors.kafka.KafkaPublisherTest.validateSuccessfulSendAsDelimited(KafkaPublisherTest.java:107)
> validateRetries(org.apache.nifi.processors.kafka.KafkaPublisherTest)  Time elapsed: 125.166 sec  <<< ERROR!
> kafka.consumer.ConsumerTimeoutException: null
> 	at kafka.consumer.ConsumerIterator.makeNext(ConsumerIterator.scala:69)
> 	at kafka.consumer.ConsumerIterator.makeNext(ConsumerIterator.scala:33)
> 	at kafka.utils.IteratorTemplate.maybeComputeNext(IteratorTemplate.scala:66)
> 	at kafka.utils.IteratorTemplate.hasNext(IteratorTemplate.scala:58)
> 	at kafka.utils.IteratorTemplate.next(IteratorTemplate.scala:38)
> 	at kafka.consumer.ConsumerIterator.next(ConsumerIterator.scala:46)
> 	at org.apache.nifi.processors.kafka.KafkaPublisherTest.validateRetries(KafkaPublisherTest.java:147)
> validateWithMultiByteCharactersNoDelimiter(org.apache.nifi.processors.kafka.KafkaPublisherTest)  Time elapsed: 65.14 sec  <<< ERROR!
> kafka.consumer.ConsumerTimeoutException: null
> 	at kafka.consumer.ConsumerIterator.makeNext(ConsumerIterator.scala:69)
> 	at kafka.consumer.ConsumerIterator.makeNext(ConsumerIterator.scala:33)
> 	at kafka.utils.IteratorTemplate.maybeComputeNext(IteratorTemplate.scala:66)
> 	at kafka.utils.IteratorTemplate.hasNext(IteratorTemplate.scala:58)
> 	at kafka.utils.IteratorTemplate.next(IteratorTemplate.scala:38)
> 	at kafka.consumer.ConsumerIterator.next(ConsumerIterator.scala:46)
> 	at org.apache.nifi.processors.kafka.KafkaPublisherTest.validateWithMultiByteCharactersNoDelimiter(KafkaPublisherTest.java:233)
> validateSuccessfulSendAsWhole(org.apache.nifi.processors.kafka.KafkaPublisherTest)  Time elapsed: 60.006 sec  <<< FAILURE!
> java.lang.AssertionError: expected:<0> but was:<-1>
> 	at org.junit.Assert.fail(Assert.java:88)
> 	at org.junit.Assert.failNotEquals(Assert.java:834)
> 	at org.junit.Assert.assertEquals(Assert.java:645)
> 	at org.junit.Assert.assertEquals(Assert.java:631)
> 	at org.apache.nifi.processors.kafka.KafkaPublisherTest.validateSuccessfulSendAsWhole(KafkaPublisherTest.java:80)
> Running org.apache.nifi.processors.kafka.PutKafkaTest
> Tests run: 8, Failures: 7, Errors: 0, Skipped: 0, Time elapsed: 371.069 sec <<< FAILURE! - in org.apache.nifi.processors.kafka.PutKafkaTest
> validateComplexLeftPartialDemarcatedMessages(org.apache.nifi.processors.kafka.PutKafkaTest)  Time elapsed: 30.009 sec  <<< FAILURE!
> java.lang.AssertionError: Expected all Transferred FlowFiles to go to success but 1 were routed to failure
> 	at org.junit.Assert.fail(Assert.java:88)
> 	at org.apache.nifi.util.MockProcessSession.assertAllFlowFilesTransferred(MockProcessSession.java:1152)
> 	at org.apache.nifi.util.StandardProcessorTestRunner.assertAllFlowFilesTransferred(StandardProcessorTestRunner.java:267)
> 	at org.apache.nifi.util.StandardProcessorTestRunner.assertAllFlowFilesTransferred(StandardProcessorTestRunner.java:313)
> 	at org.apache.nifi.processors.kafka.PutKafkaTest.validateComplexLeftPartialDemarcatedMessages(PutKafkaTest.java:184)
> validateSingleCharacterDemarcatedMessages(org.apache.nifi.processors.kafka.PutKafkaTest)  Time elapsed: 30.011 sec  <<< FAILURE!
> java.lang.AssertionError: Expected all Transferred FlowFiles to go to success but 1 were routed to failure
> 	at org.junit.Assert.fail(Assert.java:88)
> 	at org.apache.nifi.util.MockProcessSession.assertAllFlowFilesTransferred(MockProcessSession.java:1152)
> 	at org.apache.nifi.util.StandardProcessorTestRunner.assertAllFlowFilesTransferred(StandardProcessorTestRunner.java:267)
> 	at org.apache.nifi.util.StandardProcessorTestRunner.assertAllFlowFilesTransferred(StandardProcessorTestRunner.java:313)
> 	at org.apache.nifi.processors.kafka.PutKafkaTest.validateSingleCharacterDemarcatedMessages(PutKafkaTest.java:79)
> validateMultiCharacterDelimitedMessages(org.apache.nifi.processors.kafka.PutKafkaTest)  Time elapsed: 30.008 sec  <<< FAILURE!
> java.lang.AssertionError: Expected all Transferred FlowFiles to go to success but 1 were routed to failure
> 	at org.junit.Assert.fail(Assert.java:88)
> 	at org.apache.nifi.util.MockProcessSession.assertAllFlowFilesTransferred(MockProcessSession.java:1152)
> 	at org.apache.nifi.util.StandardProcessorTestRunner.assertAllFlowFilesTransferred(StandardProcessorTestRunner.java:267)
> 	at org.apache.nifi.util.StandardProcessorTestRunner.assertAllFlowFilesTransferred(StandardProcessorTestRunner.java:313)
> 	at org.apache.nifi.processors.kafka.PutKafkaTest.validateMultiCharacterDelimitedMessages(PutKafkaTest.java:106)
> validateComplexPartialMatchDemarcatedMessages(org.apache.nifi.processors.kafka.PutKafkaTest)  Time elapsed: 30.007 sec  <<< FAILURE!
> java.lang.AssertionError: Expected all Transferred FlowFiles to go to success but 1 were routed to failure
> 	at org.junit.Assert.fail(Assert.java:88)
> 	at org.apache.nifi.util.MockProcessSession.assertAllFlowFilesTransferred(MockProcessSession.java:1152)
> 	at org.apache.nifi.util.StandardProcessorTestRunner.assertAllFlowFilesTransferred(StandardProcessorTestRunner.java:267)
> 	at org.apache.nifi.util.StandardProcessorTestRunner.assertAllFlowFilesTransferred(StandardProcessorTestRunner.java:313)
> 	at org.apache.nifi.processors.kafka.PutKafkaTest.validateComplexPartialMatchDemarcatedMessages(PutKafkaTest.java:207)
> validateDeprecatedPartitionStrategy(org.apache.nifi.processors.kafka.PutKafkaTest)  Time elapsed: 30.01 sec  <<< FAILURE!
> java.lang.AssertionError: Expected all Transferred FlowFiles to go to success but 1 were routed to failure
> 	at org.junit.Assert.fail(Assert.java:88)
> 	at org.apache.nifi.util.MockProcessSession.assertAllFlowFilesTransferred(MockProcessSession.java:1152)
> 	at org.apache.nifi.util.StandardProcessorTestRunner.assertAllFlowFilesTransferred(StandardProcessorTestRunner.java:267)
> 	at org.apache.nifi.util.StandardProcessorTestRunner.assertAllFlowFilesTransferred(StandardProcessorTestRunner.java:313)
> 	at org.apache.nifi.processors.kafka.PutKafkaTest.validateDeprecatedPartitionStrategy(PutKafkaTest.java:236)
> validateComplexRightPartialDemarcatedMessages(org.apache.nifi.processors.kafka.PutKafkaTest)  Time elapsed: 30.007 sec  <<< FAILURE!
> java.lang.AssertionError: Expected all Transferred FlowFiles to go to success but 1 were routed to failure
> 	at org.junit.Assert.fail(Assert.java:88)
> 	at org.apache.nifi.util.MockProcessSession.assertAllFlowFilesTransferred(MockProcessSession.java:1152)
> 	at org.apache.nifi.util.StandardProcessorTestRunner.assertAllFlowFilesTransferred(StandardProcessorTestRunner.java:267)
> 	at org.apache.nifi.util.StandardProcessorTestRunner.assertAllFlowFilesTransferred(StandardProcessorTestRunner.java:313)
> 	at org.apache.nifi.processors.kafka.PutKafkaTest.validateComplexRightPartialDemarcatedMessages(PutKafkaTest.java:163)
> validateDemarcationIntoEmptyMessages(org.apache.nifi.processors.kafka.PutKafkaTest)  Time elapsed: 30.008 sec  <<< FAILURE!
> java.lang.AssertionError: Expected all Transferred FlowFiles to go to success but 1 were routed to failure
> 	at org.junit.Assert.fail(Assert.java:88)
> 	at org.apache.nifi.util.MockProcessSession.assertAllFlowFilesTransferred(MockProcessSession.java:1152)
> 	at org.apache.nifi.util.StandardProcessorTestRunner.assertAllFlowFilesTransferred(StandardProcessorTestRunner.java:267)
> 	at org.apache.nifi.util.StandardProcessorTestRunner.assertAllFlowFilesTransferred(StandardProcessorTestRunner.java:313)
> 	at org.apache.nifi.processors.kafka.PutKafkaTest.validateDemarcationIntoEmptyMessages(PutKafkaTest.java:134)
> Running org.apache.nifi.processors.kafka.TestGetKafka
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.001 sec - in org.apache.nifi.processors.kafka.TestGetKafka
> Results :
> Failed tests: 
>   KafkaPublisherTest.validateSuccessfulSendAsDelimited:107 expected:<3> but was:<-1>
>   KafkaPublisherTest.validateSuccessfulSendAsWhole:80 expected:<0> but was:<-1>
>   PutKafkaTest.validateComplexLeftPartialDemarcatedMessages:184 Expected all Transferred FlowFiles to go to success but 1 were routed to failure
>   PutKafkaTest.validateComplexPartialMatchDemarcatedMessages:207 Expected all Transferred FlowFiles to go to success but 1 were routed to failure
>   PutKafkaTest.validateComplexRightPartialDemarcatedMessages:163 Expected all Transferred FlowFiles to go to success but 1 were routed to failure
>   PutKafkaTest.validateDemarcationIntoEmptyMessages:134 Expected all Transferred FlowFiles to go to success but 1 were routed to failure
>   PutKafkaTest.validateDeprecatedPartitionStrategy:236 Expected all Transferred FlowFiles to go to success but 1 were routed to failure
>   PutKafkaTest.validateMultiCharacterDelimitedMessages:106 Expected all Transferred FlowFiles to go to success but 1 were routed to failure
>   PutKafkaTest.validateSingleCharacterDemarcatedMessages:79 Expected all Transferred FlowFiles to go to success but 1 were routed to failure
> Tests in error: 
>   KafkaPublisherTest.validateRetries:147 » ConsumerTimeout
>   KafkaPublisherTest.validateWithMultiByteCharactersNoDelimiter:233 » ConsumerTimeout
> [~ozhurakousky] have you seen any such issues recently?



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)