Ok, that still works for me, sorry.


On March 9, 2017 at 08:00:23, Joe Skora ([email protected]) wrote:

I started with

mvn -T 4 clean install -DskipTests

to make sure there were no build issues and then ran the tests with

mvn test

to keep it simple.

(I won't have access to that machine again until this evening, this is my
best recollection.)

On Thu, Mar 9, 2017 at 7:49 AM, Otto Fowler <[email protected]> wrote:

> I have been able to build an test using both:
>
> mvn -q -T C2.0 integration-test
>
> and
>
> mvn -T C2.0 clean install
>
> I am using the same java version, but on Sierra (10.12.3)
>
> Is that the way you are running it?
>
> On March 9, 2017 at 05:27:02, Joe Skora ([email protected]) wrote:
>
> One of my dev systems is a Mac running El Capitan (10.11.6) and Java
> 1.8.0_121. I don't know when it started, but around the 1.1.2 release I
> noticed that it has not been able to run the full unit test suite on 1.1.2
> or master.
>
> One place it seems to have problems is the Kafka tests. Many fail with
> timeout issues like this.
>
> Running org.apache.nifi.processors.kafka.KafkaPublisherTest
> > Tests run: 5, Failures: 2, Errors: 2, Skipped: 0, Time elapsed: 352.086
> > sec <<< FAILURE! - in org.apache.nifi.processors.
> kafka.KafkaPublisherTest
> > validateSuccessfulSendAsDelimited(org.apache.nifi.processors.kafka.
> KafkaPublisherTest)
> > Time elapsed: 60.011 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)
>
>
> Some fail on transfer count.
>
> Running org.apache.nifi.processors.kafka.TestGetKafka
> > Tests run: 3, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 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
>
> And some throw a ConsumerTimeout.
>
> Tests in error:
> > KafkaPublisherTest.validateRetries:147 » ConsumerTimeout
> > KafkaPublisherTest.validateWithMultiByteCharactersNoDelimiter:233 »
> > ConsumerTimeout
>
>
> So far I cannot find anything obviously wrong or different on the system.
> I've wiped my local repository with no improvement.
>
> Any help appreciated.
>
> Regards,
> Joe
>
>

Reply via email to