nifi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Payne (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (NIFI-657) MongoDB unit tests fail
Date Wed, 17 Jun 2015 00:59:00 GMT

     [ https://issues.apache.org/jira/browse/NIFI-657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mark Payne resolved NIFI-657.
-----------------------------
    Resolution: Fixed

> MongoDB unit tests fail
> -----------------------
>
>                 Key: NIFI-657
>                 URL: https://issues.apache.org/jira/browse/NIFI-657
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>            Reporter: Mark Payne
>             Fix For: 0.2.0
>
>         Attachments: 0001-NIFI-657-Ignored-Unit-tests-and-removed-maven-plugin.patch
>
>
> Trying to do a build of NiFi on a brand new VM running CentOS 7.
> Environment:
> [mark@nifi-build nifi]$ mvn -version
> Apache Maven 3.0.5 (Red Hat 3.0.5-16)
> Maven home: /usr/share/maven
> Java version: 1.7.0_79, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.79-2.5.5.1.el7_1.x86_64/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "3.10.0-229.el7.x86_64", arch: "amd64", family: "unix"
> Output from mvn:
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> [INFO] Nothing to compile - all classes are up to date
> [INFO] 
> [INFO] --- embedmongo-maven-plugin:0.1.12:start (start) @ nifi-mongodb-processors ---
> Extract /home/mark/.embedmongo/linux/mongodb-linux-x86_64-2.2.1.tgz START
> [INFO] 
> [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ nifi-standard-processors
---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 9 resources
> [INFO] Copying 3 resources
> Extract /home/mark/.embedmongo/linux/mongodb-linux-x86_64-2.2.1.tgz DONE
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ nifi-standard-processors
---
> Jun 04, 2015 10:29:37 AM de.flapdoodle.embed.process.runtime.AbstractProcess <init>
> SEVERE: failed to call onAfterProcessStart()
> java.io.IOException: Could not start process: <EOF>
> 	at de.flapdoodle.embed.mongo.AbstractMongoProcess.onAfterProcessStart(AbstractMongoProcess.java:75)
> 	at de.flapdoodle.embed.process.runtime.AbstractProcess.<init>(AbstractProcess.java:110)
> 	at de.flapdoodle.embed.mongo.AbstractMongoProcess.<init>(AbstractMongoProcess.java:52)
> 	at de.flapdoodle.embed.mongo.MongodProcess.<init>(MongodProcess.java:50)
> 	at de.flapdoodle.embed.mongo.MongodExecutable.start(MongodExecutable.java:44)
> 	at de.flapdoodle.embed.mongo.MongodExecutable.start(MongodExecutable.java:34)
> 	at de.flapdoodle.embed.process.runtime.Executable.start(Executable.java:99)
> 	at com.github.joelittlejohn.embedmongo.StartEmbeddedMongoMojo.execute(StartEmbeddedMongoMojo.java:271)
> 	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
> 	at org.apache.maven.lifecycle.internal.LifecycleThreadedBuilder$1.call(LifecycleThreadedBuilder.java:167)
> 	at org.apache.maven.lifecycle.internal.LifecycleThreadedBuilder$1.call(LifecycleThreadedBuilder.java:163)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> 	at java.lang.Thread.run(Thread.java:745)
> Jun 04, 2015 10:29:37 AM MongodProcess ctor
> INFO: de.flapdoodle.embed.mongo.config.MongodConfigBuilder$ImmutableMongodConfig@701cce38
> Jun 04, 2015 10:29:37 AM de.flapdoodle.embed.mongo.runtime.Mongod sendShutdown
> WARNING: sendShutdown nifi-build.beefy/127.0.0.1:27017
> java.net.ConnectException: Connection refused
> 	at java.net.PlainSocketImpl.socketConnect(Native Method)
> 	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
> 	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
> 	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
> 	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
> 	at java.net.Socket.connect(Socket.java:579)
> 	at de.flapdoodle.embed.mongo.runtime.Mongod.sendShutdown(Mongod.java:83)
> 	at de.flapdoodle.embed.mongo.AbstractMongoProcess.sendStopToMongoInstance(AbstractMongoProcess.java:125)
> 	at de.flapdoodle.embed.mongo.AbstractMongoProcess.stopInternal(AbstractMongoProcess.java:99)
> 	at de.flapdoodle.embed.process.runtime.AbstractProcess.stop(AbstractProcess.java:165)
> 	at de.flapdoodle.embed.process.runtime.AbstractProcess.<init>(AbstractProcess.java:115)
> 	at de.flapdoodle.embed.mongo.AbstractMongoProcess.<init>(AbstractMongoProcess.java:52)
> 	at de.flapdoodle.embed.mongo.MongodProcess.<init>(MongodProcess.java:50)
> 	at de.flapdoodle.embed.mongo.MongodExecutable.start(MongodExecutable.java:44)
> 	at de.flapdoodle.embed.mongo.MongodExecutable.start(MongodExecutable.java:34)
> 	at de.flapdoodle.embed.process.runtime.Executable.start(Executable.java:99)
> 	at com.github.joelittlejohn.embedmongo.StartEmbeddedMongoMojo.execute(StartEmbeddedMongoMojo.java:271)
> 	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
> 	at org.apache.maven.lifecycle.internal.LifecycleThreadedBuilder$1.call(LifecycleThreadedBuilder.java:167)
> 	at org.apache.maven.lifecycle.internal.LifecycleThreadedBuilder$1.call(LifecycleThreadedBuilder.java:163)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> 	at java.lang.Thread.run(Thread.java:745)
> Jun 04, 2015 10:29:37 AM de.flapdoodle.embed.mongo.AbstractMongoProcess stopInternal
> WARNING: could not stop mongod with db command, try next
> Jun 04, 2015 10:29:37 AM de.flapdoodle.embed.mongo.AbstractMongoProcess stopInternal
> WARNING: could not stop mongod, try next
> Jun 04, 2015 10:29:37 AM de.flapdoodle.embed.mongo.AbstractMongoProcess stopInternal
> WARNING: could not stop mongod the second time, try one last thing



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

Mime
View raw message