build failure

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

build failure

Mark Bean
I'm getting build failures when I attempt to build the latest master on one
environment but not another. The failure was on macOS 10.12.6, maven 3.3.9,
java 1.8.0_74. I agree, some of those could (and will be soon) updated.

Yet, I was able to build successfully on an AWS EC platform earlier today.
Exact specifics unavailable, but it was Linux-based, maven 3.5.0, java
1.8.0_152. So, it must be my environment. Given the error, perhaps
something to do with available ports or port security?

Curious if anyone else has seen this error:

testRemotePortFingerprint(org.apache.nifi.fingerprint.FingerprintFactoryTest)
Time elapsed: 0.02 sec  <<< FAILURE!

org.junit.ComparisonFailure: expected:<portId[]3true123464KB10sec> but
was:<portId[NO_VALUE]3true123464KB10sec>

at org.junit.Assert.assertEquals(Assert.java:115)

at org.junit.Assert.assertEquals(Assert.java:144)

at
org.apache.nifi.fingerprint.FingerprintFactoryTest.testRemotePortFingerprint(FingerprintFactoryTest.java:317)
Reply | Threaded
Open this post in threaded view
|

Re: build failure

Aldrin Piri
Hi Mark,

Not sure of the exact cause, but I believe others were running into this
issue and it was remedied by the work in
https://github.com/apache/nifi/pull/2273.

On Thu, Nov 16, 2017 at 9:46 PM, Mark Bean <[hidden email]> wrote:

> I'm getting build failures when I attempt to build the latest master on one
> environment but not another. The failure was on macOS 10.12.6, maven 3.3.9,
> java 1.8.0_74. I agree, some of those could (and will be soon) updated.
>
> Yet, I was able to build successfully on an AWS EC platform earlier today.
> Exact specifics unavailable, but it was Linux-based, maven 3.5.0, java
> 1.8.0_152. So, it must be my environment. Given the error, perhaps
> something to do with available ports or port security?
>
> Curious if anyone else has seen this error:
>
> testRemotePortFingerprint(org.apache.nifi.fingerprint.
> FingerprintFactoryTest)
> Time elapsed: 0.02 sec  <<< FAILURE!
>
> org.junit.ComparisonFailure: expected:<portId[]3true123464KB10sec> but
> was:<portId[NO_VALUE]3true123464KB10sec>
>
> at org.junit.Assert.assertEquals(Assert.java:115)
>
> at org.junit.Assert.assertEquals(Assert.java:144)
>
> at
> org.apache.nifi.fingerprint.FingerprintFactoryTest.
> testRemotePortFingerprint(FingerprintFactoryTest.java:317)
>