Thanks Mike - that certainly moved the pieces along the board.  Your
patience for my ignorance is greatly appreciated ;-)

Sidenote: I always thought mvn "install" was to do with packaging up
binaries, and occurred after the "test" phase had completed?

So, got a new new problem:

[INFO] Running
org.apache.nifi.controller.queue.clustered.server.ConnectionLoadBalanceServerTest
[ERROR] Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
2.551 s <<< FAILURE! - in
org.apache.nifi.controller.queue.clustered.server.ConnectionLoadBalanceServerTest
[ERROR]
org.apache.nifi.controller.queue.clustered.server.ConnectionLoadBalanceServerTest.testRequestPeerListShouldUseTLS
 Time elapsed: 0.298 s  <<< ERROR!
java.io.IOException: Could not begin listening for incoming connections in
order to load balance data across the cluster. Please verify the values of
the 'nifi.cluster.load.balance.port' and 'nifi.cluster.load.balance.host'
properties as well as the 'nifi.security.*' properties
        at
org.apache.nifi.controller.queue.clustered.server.ConnectionLoadBalanceServerTest.testRequestPeerListShouldUseTLS(ConnectionLoadBalanceServerTest.groovy:77)
Caused by: java.net.BindException: Address already in use: JVM_Bind
        at
org.apache.nifi.controller.queue.clustered.server.ConnectionLoadBalanceServerTest.testRequestPeerListShouldUseTLS(ConnectionLoadBalanceServerTest.groovy:77)



So I had a look at the test code, checked that nothing I was running
elsewhere was binding on the port declared in the test (54321) and
restarted the testing with "mvn install  -rf :nifi-framework-core".  It
successfully ran the previous test (non-deterministic behaviour?? please
no), but this time it hung up a few tests later:



[INFO] Running
org.apache.nifi.controller.state.server.TestZooKeeperStateServer
[ERROR] Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
0.305 s <<< FAILURE! - in
org.apache.nifi.controller.state.server.TestZooKeeperStateServer
[ERROR]
org.apache.nifi.controller.state.server.TestZooKeeperStateServer.testServerCreatePath
 Time elapsed: 0.272 s  <<< ERROR!
org.apache.zookeeper.KeeperException$NodeExistsException: KeeperErrorCode =
NodeExists for /test
        at
org.apache.nifi.controller.state.server.TestZooKeeperStateServer.testServerCreatePath(TestZooKeeperStateServer.java:125)

Re-running resulted in the same failure a second time (points for
consistency!), but I'm not sure what to do about this one.

Phil

On Mon, Apr 4, 2022 at 11:38 PM Mike Thomsen <[email protected]> wrote:

> Did you run "mvn install" from the root of the project before
> attempting to run a full test of the code base?
>
> On Mon, Apr 4, 2022 at 9:36 AM Phil H <[email protected]> wrote:
> >
> > Hi there,
> >
> > So I got past this issue by running "mvn test" from the root of the nifi
> > tree.  After much compiling and testing, I am now getting the attached
> > error.  I think I am following the contributor guide in having my local
> > branch track origin/main (currently "4a90334728: NIFI-9846 Implement
> > pagination listing for Azure List processors").
> >
> > Is this some environmental issue on my machine somehow?  Or does the main
> > branch contain compilation errors, and I should be tracking something
> else
> > for my own branch?  As I said in my previous email, I am new to github,
> so
> > I'm not sure of the conventions there.
> >
> > Thanks in advance
> > Phil
> >
> > (PS: this occur whethers I use JDK1.8 or JDK11, the two options I have
> > installed)
> >
> >
> >
> > [ERROR] Failed to execute goal
> > org.apache.maven.plugins:maven-compiler-plugin:3.9.0:compile
> > (default-compile) on project nifi-h2-database-migrator: Compilation
> > failure: Compilation failure:
> > [ERROR]
> >
> D:\nifi.github\nifi\nifi-h2\nifi-h2-database-migrator\src\main\java\org\apache\nifi\h2\database\migration\H2DatabaseMigrator.java:[19,35]
> > error: package org.apache.nifi.org.h2.jdbcx does not exist
> > [ERROR]
> >
> D:\nifi.github\nifi\nifi-h2\nifi-h2-database-migrator\src\main\java\org\apache\nifi\h2\database\migration\H2DatabaseMigrator.java:[37,8]
> > error: cannot find symbol
> > [ERROR]   symbol:   class JdbcDataSource
> > [ERROR]   location: class H2DatabaseMigrator
> > [ERROR]
> >
> D:\nifi.github\nifi\nifi-h2\nifi-h2-database-migrator\src\main\java\org\apache\nifi\h2\database\migration\H2DatabaseMigrator.java:[37,49]
> > error: cannot find symbol
> > [ERROR]   symbol:   class JdbcDataSource
> > [ERROR]   location: class H2DatabaseMigrator
> >
> > On Sat, Apr 2, 2022 at 10:20 PM Phil H <[email protected]> wrote:
> >
> > > Hi there,
> > >
> > > Trying to build the nifi git repo for the first time and I'm getting
> the
> > > message below
> > >
> > > I'm used to working in offline development environments, so I'm a bit
> lost
> > > with this online dependency stuff. I note that
> > > https://repository.apache.org/snapshots/org/apache/nifi/ doesn't
> contain
> > > any similar subdirectories to that in the URL.
> > >
> > > Help!
> > >
> > > Regards,
> > > Phil
> > >
> > > [WARNING] The POM for org.apache.nifi:nifi-utils:jar:1.16.0-SNAPSHOT is
> > > missing, no dependency information available
> > > Downloading from apache.snapshots:
> > >
> https://repository.apache.org/snapshots/org/apache/nifi/nifi-utils/1.16.0-SNAPSHOT/nifi-utils-1.16.0-SNAPSHOT.jar
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [INFO] Reactor Summary for nifi-standard-bundle 1.16.0-SNAPSHOT:
> > > [INFO]
> > > [INFO] nifi-standard-bundle ............................... SUCCESS
> [01:07
> > > min]
> > > [INFO] nifi-standard-utils ................................ FAILURE [
> > >  3.218 s]
> > > [INFO] nifi-standard-processors ........................... SKIPPED
> > > [INFO] nifi-standard-reporting-tasks ...................... SKIPPED
> > > [INFO] nifi-standard-content-viewer ....................... SKIPPED
> > > [INFO] nifi-jolt-transform-json-ui ........................ SKIPPED
> > > [INFO] nifi-standard-nar .................................. SKIPPED
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [INFO] BUILD FAILURE
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [INFO] Total time:  01:43 min
> > > [INFO] Finished at: 2022-04-02T21:58:47+10:00
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [ERROR] Failed to execute goal on project nifi-standard-utils: Could
> not
> > > resolve dependencies for project
> > > org.apache.nifi:nifi-standard-utils:jar:1.16.0-SNAPSHOT: Could not find
> > > artifact org.apache.nifi:nifi-utils:jar:1.16.0-SNAPSHOT in
> apache.snapshots
> > > (https://repository.apache.org/snapshots) -> [Help 1]
> > >
>

Reply via email to