[jira] [Updated] (CONNECTORS-1708) MongoDB Connector - Integration tests broken
[ https://issues.apache.org/jira/browse/CONNECTORS-1708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Markus Schuch updated CONNECTORS-1708: -- Fix Version/s: ManifoldCF 2.22 (was: ManifoldCF next) > MongoDB Connector - Integration tests broken > > > Key: CONNECTORS-1708 > URL: https://issues.apache.org/jira/browse/CONNECTORS-1708 > Project: ManifoldCF > Issue Type: Bug > Components: MongoDB Output Connector >Reporter: Piergiorgio Lucidi >Assignee: Piergiorgio Lucidi >Priority: Major > Fix For: ManifoldCF 2.22 > > > Trying to execute integration tests with both Ant and Maven, it returns the > following error. We are probably using old dependencies of mongodb and > de.flapdoodle.embed. Updating both of these dependencies should solve the > problem. > {code:java} > [junit] java.io.IOException: Could not open inputStream for > https://fastdl.mongodb.org/osx/mongodb-osx-i386-2.6.8.tgz > run-IT-HSQLDB: > [junit] Testsuite: > org.apache.manifoldcf.agents.output.mongodboutput.tests.APISanityHSQLDBIT > [junit] Configuration file successfully read > [junit] [main] INFO org.eclipse.jetty.util.log - Logging initialized > @941ms to org.eclipse.jetty.util.log.Slf4jLog > [junit] [main] INFO org.eclipse.jetty.server.Server - > jetty-9.4.25.v20191220; built: 2019-12-20T17:00:00.294Z; git: > a9729c7e7f33a459d2616a8f9e9ba8a90f432e95; jvm 11.0.13+8-LTS > [junit] [main] INFO org.eclipse.jetty.server.session - > DefaultSessionIdManager workerName=node0 > [junit] [main] INFO org.eclipse.jetty.server.session - No > SessionScavenger set, using defaults > [junit] [main] INFO org.eclipse.jetty.server.session - node0 Scavenging > every 66ms > [junit] [main] INFO org.eclipse.jetty.server.handler.ContextHandler - > Started o.e.j.w.WebAppContext@4482469c{ManifoldCF Crawler > Interface,/mcf-crawler-ui,file:///private/var/folders/g1/vlf2szxj7tbbgm92n39l8kj8gn/T/jetty-0_0_0_0-8346-mcf-crawler-ui_war-_mcf-crawler-ui-any-2356674270627149959.dir/webapp/,AVAILABLE}{/Users/pjlucidi/Downloads/apache-manifoldcf-2.22/dist/web/war/mcf-crawler-ui.war} > [junit] [main] INFO org.eclipse.jetty.server.handler.ContextHandler - > Started o.e.j.w.WebAppContext@3703bf3c{ManifoldCF Authorities API > Webapp,/mcf-authority-service,file:///private/var/folders/g1/vlf2szxj7tbbgm92n39l8kj8gn/T/jetty-0_0_0_0-8346-mcf-authority-service_war-_mcf-authority-service-any-11820210731741565141.dir/webapp/,AVAILABLE}{/Users/pjlucidi/Downloads/apache-manifoldcf-2.22/dist/web/war/mcf-authority-service.war} > [junit] [main] INFO org.eclipse.jetty.server.handler.ContextHandler - > Started o.e.j.w.WebAppContext@34cf5a97{ManifoldCF General API > Webapp,/mcf-api-service,file:///private/var/folders/g1/vlf2szxj7tbbgm92n39l8kj8gn/T/jetty-0_0_0_0-8346-mcf-api-service_war-_mcf-api-service-any-6023197707410686222.dir/webapp/,AVAILABLE}{/Users/pjlucidi/Downloads/apache-manifoldcf-2.22/dist/web/war/mcf-api-service.war} > [junit] [main] INFO org.eclipse.jetty.server.AbstractConnector - Started > ServerConnector@6dc1484{HTTP/1.1,[http/1.1]}{0.0.0.0:8346} > [junit] [main] INFO org.eclipse.jetty.server.Server - Started @1817ms > [junit] Download Version{2.6.8}:OS_X:B32 START > [junit] [main] ERROR de.flapdoodle.embed.process.runtime.Starter - > prepare executable > [junit] java.io.IOException: Could not open inputStream for > https://fastdl.mongodb.org/osx/mongodb-osx-i386-2.6.8.tgz > [junit] at > de.flapdoodle.embed.process.store.Downloader.downloadInputStream(Downloader.java:131) > [junit] at > de.flapdoodle.embed.process.store.Downloader.download(Downloader.java:69) > [junit] at > de.flapdoodle.embed.process.store.ArtifactStore.checkDistribution(ArtifactStore.java:66) > [junit] at > de.flapdoodle.embed.process.store.ExtractedArtifactStore.checkDistribution(ExtractedArtifactStore.java:60) > [junit] at > de.flapdoodle.embed.process.runtime.Starter.prepare(Starter.java:56) > [junit] at > de.flapdoodle.embed.process.runtime.Starter.prepare(Starter.java:49) > [junit] at > org.apache.manifoldcf.agents.output.mongodboutput.tests.BaseITHSQLDB.setUpMongoDB(BaseITHSQLDB.java:69) > [junit] at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > [junit] at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > [junit] at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
Re: svn commit: r1900317 - in /manifoldcf/trunk: ./ connectors/mongodb/ connectors/mongodb/connector/src/test/java/org/apache/manifoldcf/agents/output/mongodboutput/tests/
Pulled this up (adding CHANGES.txt) to release-2.22-branch. Unless proven otherwise, I think the CXF issue is not an actual problem; it sounds like human error (failure to do ant clean-core-deps). So I will spin a new RC. Karl On Wed, Apr 27, 2022 at 8:46 AM wrote: > Author: piergiorgio > Date: Wed Apr 27 12:46:26 2022 > New Revision: 1900317 > > URL: http://svn.apache.org/viewvc?rev=1900317=rev > Log: > fix for the build process of MongoDB Output Connector: updated > dependencies and changed some deprecated methods (CONNECTORS-1708) > > Modified: > manifoldcf/trunk/build.xml > manifoldcf/trunk/connectors/mongodb/build.xml > > manifoldcf/trunk/connectors/mongodb/connector/src/test/java/org/apache/manifoldcf/agents/output/mongodboutput/tests/APISanityHSQLDBIT.java > > manifoldcf/trunk/connectors/mongodb/connector/src/test/java/org/apache/manifoldcf/agents/output/mongodboutput/tests/BaseITHSQLDB.java > manifoldcf/trunk/connectors/mongodb/pom.xml > > Modified: manifoldcf/trunk/build.xml > URL: > http://svn.apache.org/viewvc/manifoldcf/trunk/build.xml?rev=1900317=1900316=1900317=diff > > == > --- manifoldcf/trunk/build.xml (original) > +++ manifoldcf/trunk/build.xml Wed Apr 27 12:46:26 2022 > @@ -37,7 +37,7 @@ > > > > - > + > > > > > Modified: manifoldcf/trunk/connectors/mongodb/build.xml > URL: > http://svn.apache.org/viewvc/manifoldcf/trunk/connectors/mongodb/build.xml?rev=1900317=1900316=1900317=diff > > == > --- manifoldcf/trunk/connectors/mongodb/build.xml (original) > +++ manifoldcf/trunk/connectors/mongodb/build.xml Wed Apr 27 12:46:26 2022 > @@ -60,23 +60,35 @@ > > > > - > + > value="de.flapdoodle.embed.mongo"/> > value="de/flapdoodle/embed"/> > value="${embedded-mongodb.artifactId}-${embedded-mongodb.version.label}.jar"/> > > - value="2.0.5"/> > + value="3.1.10"/> > value="de.flapdoodle.embed.process"/> > value="de/flapdoodle/embed"/> > value="${embedded-mongodb.process.artifactId}-${embedded-mongodb.process.version.label}.jar"/> > > +value="1.0.3"/> > + value="de.flapdoodle.embed.mongo.packageresolver"/> > + value="de/flapdoodle/embed"/> > + value="${embedded-mongodb.packageresolver.artifactId}-${embedded-mongodb.packageresolver.version.label}.jar"/> > + > + > + value="de.flapdoodle.os"/> > + > > + value="${embedded-mongodb.os.artifactId}-${embedded-mongodb.os.version.label}.jar"/> > + > > property="tests-present"/> > property="tests-present"/> > +file="test-materials/${embedded-mongodb.packageresolver.jar}" > property="tests-present"/> > +property="tests-present"/> > > > > - > + > > > > @@ -89,6 +101,9 @@ >https://oss.sonatype.org/content/repositories/public; /> > src="${sonatype-maven-repo-releases}/${embedded-mongodb-package}/${embedded-mongodb.artifactId}/${embedded-mongodb.version.label}/${embedded-mongodb.snapshot-jar}" > dest="test-materials/${embedded-mongodb.snapshot-jar}"/> > src="${sonatype-maven-repo-releases}/${embedded-mongodb.process-package}/${embedded-mongodb.process.artifactId}/${embedded-mongodb.process.version.label}/${embedded-mongodb.process.jar}" > dest="test-materials/${embedded-mongodb.process.jar}"/> > + src="${sonatype-maven-repo-releases}/${embedded-mongodb-packageresolver-package}/${embedded-mongodb.packageresolver.artifactId}/${embedded-mongodb.packageresolver.version.label}/${embedded-mongodb.packageresolver.jar}" > dest="test-materials/${embedded-mongodb.packageresolver.jar}"/> > + src="${sonatype-maven-repo-releases}/${embedded-mongodb-os-package}/${embedded-mongodb.os.artifactId}/${embedded-mongodb.os.version.label}/${embedded-mongodb.os.jar}" > dest="test-materials/${embedded-mongodb.os.jar}"/> > + > > > > > Modified: > manifoldcf/trunk/connectors/mongodb/connector/src/test/java/org/apache/manifoldcf/agents/output/mongodboutput/tests/APISanityHSQLDBIT.java > URL: > http://svn.apache.org/viewvc/manifoldcf/trunk/connectors/mongodb/connector/src/test/j
[jira] [Resolved] (CONNECTORS-1708) MongoDB Connector - Integration tests broken
[ https://issues.apache.org/jira/browse/CONNECTORS-1708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Piergiorgio Lucidi resolved CONNECTORS-1708. Resolution: Fixed Resolved in r1900317 updating the following dependencies for both the Ant and Maven build: * MongoDB Java Driver from 2.11.3 to 2.14.3 * de.flapdoodle.embed.mongo from 2.2.0 to 3.4.5 Now both the executions of the Ant and Maven integration tests are running correctly. > MongoDB Connector - Integration tests broken > > > Key: CONNECTORS-1708 > URL: https://issues.apache.org/jira/browse/CONNECTORS-1708 > Project: ManifoldCF > Issue Type: Bug > Components: MongoDB Output Connector >Reporter: Piergiorgio Lucidi >Assignee: Piergiorgio Lucidi >Priority: Major > Fix For: ManifoldCF next > > > Trying to execute integration tests with both Ant and Maven, it returns the > following error. We are probably using old dependencies of mongodb and > de.flapdoodle.embed. Updating both of these dependencies should solve the > problem. > {code:java} > [junit] java.io.IOException: Could not open inputStream for > https://fastdl.mongodb.org/osx/mongodb-osx-i386-2.6.8.tgz > run-IT-HSQLDB: > [junit] Testsuite: > org.apache.manifoldcf.agents.output.mongodboutput.tests.APISanityHSQLDBIT > [junit] Configuration file successfully read > [junit] [main] INFO org.eclipse.jetty.util.log - Logging initialized > @941ms to org.eclipse.jetty.util.log.Slf4jLog > [junit] [main] INFO org.eclipse.jetty.server.Server - > jetty-9.4.25.v20191220; built: 2019-12-20T17:00:00.294Z; git: > a9729c7e7f33a459d2616a8f9e9ba8a90f432e95; jvm 11.0.13+8-LTS > [junit] [main] INFO org.eclipse.jetty.server.session - > DefaultSessionIdManager workerName=node0 > [junit] [main] INFO org.eclipse.jetty.server.session - No > SessionScavenger set, using defaults > [junit] [main] INFO org.eclipse.jetty.server.session - node0 Scavenging > every 66ms > [junit] [main] INFO org.eclipse.jetty.server.handler.ContextHandler - > Started o.e.j.w.WebAppContext@4482469c{ManifoldCF Crawler > Interface,/mcf-crawler-ui,file:///private/var/folders/g1/vlf2szxj7tbbgm92n39l8kj8gn/T/jetty-0_0_0_0-8346-mcf-crawler-ui_war-_mcf-crawler-ui-any-2356674270627149959.dir/webapp/,AVAILABLE}{/Users/pjlucidi/Downloads/apache-manifoldcf-2.22/dist/web/war/mcf-crawler-ui.war} > [junit] [main] INFO org.eclipse.jetty.server.handler.ContextHandler - > Started o.e.j.w.WebAppContext@3703bf3c{ManifoldCF Authorities API > Webapp,/mcf-authority-service,file:///private/var/folders/g1/vlf2szxj7tbbgm92n39l8kj8gn/T/jetty-0_0_0_0-8346-mcf-authority-service_war-_mcf-authority-service-any-11820210731741565141.dir/webapp/,AVAILABLE}{/Users/pjlucidi/Downloads/apache-manifoldcf-2.22/dist/web/war/mcf-authority-service.war} > [junit] [main] INFO org.eclipse.jetty.server.handler.ContextHandler - > Started o.e.j.w.WebAppContext@34cf5a97{ManifoldCF General API > Webapp,/mcf-api-service,file:///private/var/folders/g1/vlf2szxj7tbbgm92n39l8kj8gn/T/jetty-0_0_0_0-8346-mcf-api-service_war-_mcf-api-service-any-6023197707410686222.dir/webapp/,AVAILABLE}{/Users/pjlucidi/Downloads/apache-manifoldcf-2.22/dist/web/war/mcf-api-service.war} > [junit] [main] INFO org.eclipse.jetty.server.AbstractConnector - Started > ServerConnector@6dc1484{HTTP/1.1,[http/1.1]}{0.0.0.0:8346} > [junit] [main] INFO org.eclipse.jetty.server.Server - Started @1817ms > [junit] Download Version{2.6.8}:OS_X:B32 START > [junit] [main] ERROR de.flapdoodle.embed.process.runtime.Starter - > prepare executable > [junit] java.io.IOException: Could not open inputStream for > https://fastdl.mongodb.org/osx/mongodb-osx-i386-2.6.8.tgz > [junit] at > de.flapdoodle.embed.process.store.Downloader.downloadInputStream(Downloader.java:131) > [junit] at > de.flapdoodle.embed.process.store.Downloader.download(Downloader.java:69) > [junit] at > de.flapdoodle.embed.process.store.ArtifactStore.checkDistribution(ArtifactStore.java:66) > [junit] at > de.flapdoodle.embed.process.store.ExtractedArtifactStore.checkDistribution(ExtractedArtifactStore.java:60) > [junit] at > de.flapdoodle.embed.process.runtime.Starter.prepare(Starter.java:56) > [junit] at > de.flapdoodle.embed.process.runtime.Starter.prepare(Starter.java:49) > [junit] at > org.apache.manifoldcf.agents.output.mongodboutput.tests.BaseITHSQLDB.setUpMongoDB(BaseITHSQLDB.java:69) > [junit] at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Meth
[jira] [Updated] (CONNECTORS-1708) MongoDB Connector - Integration tests broken
[ https://issues.apache.org/jira/browse/CONNECTORS-1708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Piergiorgio Lucidi updated CONNECTORS-1708: --- Fix Version/s: ManifoldCF next > MongoDB Connector - Integration tests broken > > > Key: CONNECTORS-1708 > URL: https://issues.apache.org/jira/browse/CONNECTORS-1708 > Project: ManifoldCF > Issue Type: Bug > Components: MongoDB Output Connector >Reporter: Piergiorgio Lucidi >Assignee: Piergiorgio Lucidi >Priority: Major > Fix For: ManifoldCF next > > > Trying to execute integration tests with both Ant and Maven, it returns the > following error. We are probably using old dependencies of mongodb and > de.flapdoodle.embed. Updating both of these dependencies should solve the > problem. > {code:java} > [junit] java.io.IOException: Could not open inputStream for > https://fastdl.mongodb.org/osx/mongodb-osx-i386-2.6.8.tgz > run-IT-HSQLDB: > [junit] Testsuite: > org.apache.manifoldcf.agents.output.mongodboutput.tests.APISanityHSQLDBIT > [junit] Configuration file successfully read > [junit] [main] INFO org.eclipse.jetty.util.log - Logging initialized > @941ms to org.eclipse.jetty.util.log.Slf4jLog > [junit] [main] INFO org.eclipse.jetty.server.Server - > jetty-9.4.25.v20191220; built: 2019-12-20T17:00:00.294Z; git: > a9729c7e7f33a459d2616a8f9e9ba8a90f432e95; jvm 11.0.13+8-LTS > [junit] [main] INFO org.eclipse.jetty.server.session - > DefaultSessionIdManager workerName=node0 > [junit] [main] INFO org.eclipse.jetty.server.session - No > SessionScavenger set, using defaults > [junit] [main] INFO org.eclipse.jetty.server.session - node0 Scavenging > every 66ms > [junit] [main] INFO org.eclipse.jetty.server.handler.ContextHandler - > Started o.e.j.w.WebAppContext@4482469c{ManifoldCF Crawler > Interface,/mcf-crawler-ui,file:///private/var/folders/g1/vlf2szxj7tbbgm92n39l8kj8gn/T/jetty-0_0_0_0-8346-mcf-crawler-ui_war-_mcf-crawler-ui-any-2356674270627149959.dir/webapp/,AVAILABLE}{/Users/pjlucidi/Downloads/apache-manifoldcf-2.22/dist/web/war/mcf-crawler-ui.war} > [junit] [main] INFO org.eclipse.jetty.server.handler.ContextHandler - > Started o.e.j.w.WebAppContext@3703bf3c{ManifoldCF Authorities API > Webapp,/mcf-authority-service,file:///private/var/folders/g1/vlf2szxj7tbbgm92n39l8kj8gn/T/jetty-0_0_0_0-8346-mcf-authority-service_war-_mcf-authority-service-any-11820210731741565141.dir/webapp/,AVAILABLE}{/Users/pjlucidi/Downloads/apache-manifoldcf-2.22/dist/web/war/mcf-authority-service.war} > [junit] [main] INFO org.eclipse.jetty.server.handler.ContextHandler - > Started o.e.j.w.WebAppContext@34cf5a97{ManifoldCF General API > Webapp,/mcf-api-service,file:///private/var/folders/g1/vlf2szxj7tbbgm92n39l8kj8gn/T/jetty-0_0_0_0-8346-mcf-api-service_war-_mcf-api-service-any-6023197707410686222.dir/webapp/,AVAILABLE}{/Users/pjlucidi/Downloads/apache-manifoldcf-2.22/dist/web/war/mcf-api-service.war} > [junit] [main] INFO org.eclipse.jetty.server.AbstractConnector - Started > ServerConnector@6dc1484{HTTP/1.1,[http/1.1]}{0.0.0.0:8346} > [junit] [main] INFO org.eclipse.jetty.server.Server - Started @1817ms > [junit] Download Version{2.6.8}:OS_X:B32 START > [junit] [main] ERROR de.flapdoodle.embed.process.runtime.Starter - > prepare executable > [junit] java.io.IOException: Could not open inputStream for > https://fastdl.mongodb.org/osx/mongodb-osx-i386-2.6.8.tgz > [junit] at > de.flapdoodle.embed.process.store.Downloader.downloadInputStream(Downloader.java:131) > [junit] at > de.flapdoodle.embed.process.store.Downloader.download(Downloader.java:69) > [junit] at > de.flapdoodle.embed.process.store.ArtifactStore.checkDistribution(ArtifactStore.java:66) > [junit] at > de.flapdoodle.embed.process.store.ExtractedArtifactStore.checkDistribution(ExtractedArtifactStore.java:60) > [junit] at > de.flapdoodle.embed.process.runtime.Starter.prepare(Starter.java:56) > [junit] at > de.flapdoodle.embed.process.runtime.Starter.prepare(Starter.java:49) > [junit] at > org.apache.manifoldcf.agents.output.mongodboutput.tests.BaseITHSQLDB.setUpMongoDB(BaseITHSQLDB.java:69) > [junit] at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > [junit] at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > [junit] at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
[jira] [Updated] (CONNECTORS-1708) MongoDB Connector - Integration tests broken
[junit] at org.apache.manifoldcf.agents.output.mongodboutput.tests.APISanityHSQLDBIT.removeTestArea(APISanityHSQLDBIT.java:109) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] [junit] BUILD FAILED /Users/pjlucidi/Downloads/apache-manifoldcf-2.22/build.xml:516: The following error occurred while executing this line: /Users/pjlucidi/Downloads/apache-manifoldcf-2.22/build.xml:470: The following error occurred while executing this line: /Users/pjlucidi/Downloads/apache-manifoldcf-2.22/dist/connector-build.xml:1102: Test org.apache.manifoldcf.agents.output.mongodboutput.tests.APISanityHSQLDBIT failed {code} > MongoDB Connector - Integration tests broken > > > Key: CONNECTORS-1708 > URL: https://issues.apache.org/jira/browse/CONNECTORS-1708 > Project: ManifoldCF > Issue Type: Bug > Components: MongoDB Output Connector >Reporter: Piergiorgio Lucidi >Assignee: Piergiorgio Lucidi >Priority: Major > > Trying to execute integration tests with both Ant and Maven, it returns the > following error. We are probably using old dependencies of mongodb and > de.flapdoodle.embed. Updating both of these dependencies should solve the > problem. > {code:java} > [junit] java.io.IOException: Could not open inputStream for > https://fastdl.mongodb.org/osx/mongodb-osx-i386-2.6.8.tgz > run-IT-HSQLDB: > [junit] Testsuite: > org.apache.manifoldcf.agents.output.mongodboutput.tests.APISanityHSQLDBIT > [junit] Configuration file successfully read > [junit] [main] INFO org.eclipse.jetty.util.log - Logging initialized > @941ms to org.eclipse.jetty.util.log.Slf4jLog > [junit] [main] INFO org.eclipse.jetty.server.Server - > jetty-9.4.25.v20191220; built: 2019-12-20T17:00:00.294Z; git: > a9729c7e7f33a459d2616a8f9e9ba8a90f432e95; jvm 11.0.13+8-LTS > [junit] [main] INFO org.eclipse.jetty.server.session - > DefaultSessionIdManager workerName=node0 > [junit] [main] INFO org.eclipse.jetty.server.session - No > SessionScavenger set, using defaults > [junit] [main] INFO org.eclipse.jetty.server.session - node0 Scavenging > every 66ms > [junit] [main] INFO org.eclipse.jetty.server.handler.ContextHandler - > Started o.e.j.w.WebAppContext@4482469c{ManifoldCF Crawler > Interface,/mcf-crawler-ui,file:///private/var/folders/g1/vlf2szxj7tbbgm92n39l8kj8gn/T/jetty-0_0_0_0-8346-mcf-crawler-ui_war-_mcf-crawler-ui-any-2356674270627149959.dir/webapp/,AVAILABLE}{/Users/pjlucidi/Downloads/apache-manifoldcf-2.22/dist/web/war/mcf-crawler-ui.war} > [junit] [main] INFO org.eclipse.jetty.server.handler.ContextHandler - > Started o.e.j.w.WebAppContext@3703bf3c{ManifoldCF Authorities API > Webapp,/mcf-authority-service,file:///private/var/folders/g1/vlf2szxj7tbbgm92n39l8kj8gn/T/jetty-0_0_0_0-8346-mcf-authority-service_war-_mcf-authority-service-any-11820210731741565141.dir/webapp/,AVAILABLE}{/Users/pjlucidi/Downloads/apache-manifoldcf-2.22/dist/web/war/mcf-authority-service.war} > [junit] [main] INFO org.eclipse.jetty.server.handler.ContextHandler - > Started o.e.j.w.WebAppContext@34cf5a97{ManifoldCF General API > Webapp,/mcf-api-service,file:///private/var/folders/g1/vlf2szxj7tbbgm92n39l8kj8gn/T/jetty-0_0_0_0-8346-mcf-api-service_war-_mcf-api-service-any-6023197707410686222.dir/webapp/,AVAILABLE}{/Users/pjlucidi/Downloads/apache-manifoldcf-2.22/dist/web/war/mcf-api-service.war} > [junit] [main] INFO org.eclipse.jetty.server.AbstractConnector - Started > ServerConnector@6dc1484{HTTP/1.1,[http/1.1]}{0.0.0.0:8346} > [junit] [main] INFO org.eclipse.jetty.server.Server - Started @1817ms > [junit] Download Version{2.6.8}:OS_X:B32 START > [junit] [main] ERROR de.flapdoodle.embed.process.runtime.Starter - > prepare executable > [junit] java.io.IOException: Could not open inputStream for > https://fastdl.mongodb.org/osx/mongodb-osx-i386-2.6.8.tgz > [junit] at > de.flapdoodle.embed.process.store.Downloader.downloadInputStream(Downloader.java:131) > [junit] at > de.flapdoodle.embed.process.store.Downloader.download(Downloader.java:69) > [junit] at > de.flapdoodle.embed.process.store.ArtifactStore.checkDistribution(ArtifactStore.java:66) > [junit] at > de.flapdoodle.embed.process.store.ExtractedArtifactStore.checkDistribution(ExtractedArtifactStore.java:60) > [junit] at > de.flapdoodle.embed.process.runtime.Starter.prepare(Starter.java:56) >
[jira] [Assigned] (CONNECTORS-1708) MongoDB Connector - Integration tests broken
[ https://issues.apache.org/jira/browse/CONNECTORS-1708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Piergiorgio Lucidi reassigned CONNECTORS-1708: -- Assignee: Piergiorgio Lucidi > MongoDB Connector - Integration tests broken > > > Key: CONNECTORS-1708 > URL: https://issues.apache.org/jira/browse/CONNECTORS-1708 > Project: ManifoldCF > Issue Type: Bug > Components: MongoDB Output Connector >Reporter: Piergiorgio Lucidi >Assignee: Piergiorgio Lucidi >Priority: Major > > Trying to execute integration tests with both Ant and Maven, it returns the > following error. We are probably using old dependencies of mongodb and > de.flapdoodle.embed. Updating both of these dependencies should solve the > problem. > {code:java} > [junit] java.io.IOException: Could not open inputStream for > https://fastdl.mongodb.org/osx/mongodb-osx-i386-2.6.8.tgz > Below all the exception returned by Ant > run-IT-HSQLDB: > [junit] Testsuite: > org.apache.manifoldcf.agents.output.mongodboutput.tests.APISanityHSQLDBIT > [junit] Configuration file successfully read > [junit] [main] INFO org.eclipse.jetty.util.log - Logging initialized > @941ms to org.eclipse.jetty.util.log.Slf4jLog > [junit] [main] INFO org.eclipse.jetty.server.Server - > jetty-9.4.25.v20191220; built: 2019-12-20T17:00:00.294Z; git: > a9729c7e7f33a459d2616a8f9e9ba8a90f432e95; jvm 11.0.13+8-LTS > [junit] [main] INFO org.eclipse.jetty.server.session - > DefaultSessionIdManager workerName=node0 > [junit] [main] INFO org.eclipse.jetty.server.session - No > SessionScavenger set, using defaults > [junit] [main] INFO org.eclipse.jetty.server.session - node0 Scavenging > every 66ms > [junit] [main] INFO org.eclipse.jetty.server.handler.ContextHandler - > Started o.e.j.w.WebAppContext@4482469c{ManifoldCF Crawler > Interface,/mcf-crawler-ui,file:///private/var/folders/g1/vlf2szxj7tbbgm92n39l8kj8gn/T/jetty-0_0_0_0-8346-mcf-crawler-ui_war-_mcf-crawler-ui-any-2356674270627149959.dir/webapp/,AVAILABLE}{/Users/pjlucidi/Downloads/apache-manifoldcf-2.22/dist/web/war/mcf-crawler-ui.war} > [junit] [main] INFO org.eclipse.jetty.server.handler.ContextHandler - > Started o.e.j.w.WebAppContext@3703bf3c{ManifoldCF Authorities API > Webapp,/mcf-authority-service,file:///private/var/folders/g1/vlf2szxj7tbbgm92n39l8kj8gn/T/jetty-0_0_0_0-8346-mcf-authority-service_war-_mcf-authority-service-any-11820210731741565141.dir/webapp/,AVAILABLE}{/Users/pjlucidi/Downloads/apache-manifoldcf-2.22/dist/web/war/mcf-authority-service.war} > [junit] [main] INFO org.eclipse.jetty.server.handler.ContextHandler - > Started o.e.j.w.WebAppContext@34cf5a97{ManifoldCF General API > Webapp,/mcf-api-service,file:///private/var/folders/g1/vlf2szxj7tbbgm92n39l8kj8gn/T/jetty-0_0_0_0-8346-mcf-api-service_war-_mcf-api-service-any-6023197707410686222.dir/webapp/,AVAILABLE}{/Users/pjlucidi/Downloads/apache-manifoldcf-2.22/dist/web/war/mcf-api-service.war} > [junit] [main] INFO org.eclipse.jetty.server.AbstractConnector - Started > ServerConnector@6dc1484{HTTP/1.1,[http/1.1]}{0.0.0.0:8346} > [junit] [main] INFO org.eclipse.jetty.server.Server - Started @1817ms > [junit] Download Version{2.6.8}:OS_X:B32 START > [junit] [main] ERROR de.flapdoodle.embed.process.runtime.Starter - > prepare executable > [junit] java.io.IOException: Could not open inputStream for > https://fastdl.mongodb.org/osx/mongodb-osx-i386-2.6.8.tgz > [junit] at > de.flapdoodle.embed.process.store.Downloader.downloadInputStream(Downloader.java:131) > [junit] at > de.flapdoodle.embed.process.store.Downloader.download(Downloader.java:69) > [junit] at > de.flapdoodle.embed.process.store.ArtifactStore.checkDistribution(ArtifactStore.java:66) > [junit] at > de.flapdoodle.embed.process.store.ExtractedArtifactStore.checkDistribution(ExtractedArtifactStore.java:60) > [junit] at > de.flapdoodle.embed.process.runtime.Starter.prepare(Starter.java:56) > [junit] at > de.flapdoodle.embed.process.runtime.Starter.prepare(Starter.java:49) > [junit] at > org.apache.manifoldcf.agents.output.mongodboutput.tests.BaseITHSQLDB.setUpMongoDB(BaseITHSQLDB.java:69) > [junit] at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > [junit] at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > [junit] at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMetho
[jira] [Updated] (CONNECTORS-1708) MongoDB Connector - Integration tests broken
: sanityCheck(org.apache.manifoldcf.agents.output.mongodboutput.tests.APISanityHSQLDBIT): Caused an ERROR [junit] null [junit] java.lang.NullPointerException [junit] at org.apache.manifoldcf.agents.output.mongodboutput.tests.APISanityHSQLDBIT.removeTestArea(APISanityHSQLDBIT.java:109) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] [junit] BUILD FAILED /Users/pjlucidi/Downloads/apache-manifoldcf-2.22/build.xml:516: The following error occurred while executing this line: /Users/pjlucidi/Downloads/apache-manifoldcf-2.22/build.xml:470: The following error occurred while executing this line: /Users/pjlucidi/Downloads/apache-manifoldcf-2.22/dist/connector-build.xml:1102: Test org.apache.manifoldcf.agents.output.mongodboutput.tests.APISanityHSQLDBIT failed {code} > MongoDB Connector - Integration tests broken > > > Key: CONNECTORS-1708 > URL: https://issues.apache.org/jira/browse/CONNECTORS-1708 > Project: ManifoldCF > Issue Type: Bug > Components: MongoDB Output Connector >Reporter: Piergiorgio Lucidi >Priority: Major > > Trying to execute integration tests with both Ant and Maven, it returns the > following error. We are probably using old dependencies of mongodb and > de.flapdoodle.embed. Updating both of these dependencies should solve the > problem. > {code:java} > [junit] java.io.IOException: Could not open inputStream for > https://fastdl.mongodb.org/osx/mongodb-osx-i386-2.6.8.tgz > Below all the exception returned by Ant > run-IT-HSQLDB: > [junit] Testsuite: > org.apache.manifoldcf.agents.output.mongodboutput.tests.APISanityHSQLDBIT > [junit] Configuration file successfully read > [junit] [main] INFO org.eclipse.jetty.util.log - Logging initialized > @941ms to org.eclipse.jetty.util.log.Slf4jLog > [junit] [main] INFO org.eclipse.jetty.server.Server - > jetty-9.4.25.v20191220; built: 2019-12-20T17:00:00.294Z; git: > a9729c7e7f33a459d2616a8f9e9ba8a90f432e95; jvm 11.0.13+8-LTS > [junit] [main] INFO org.eclipse.jetty.server.session - > DefaultSessionIdManager workerName=node0 > [junit] [main] INFO org.eclipse.jetty.server.session - No > SessionScavenger set, using defaults > [junit] [main] INFO org.eclipse.jetty.server.session - node0 Scavenging > every 66ms > [junit] [main] INFO org.eclipse.jetty.server.handler.ContextHandler - > Started o.e.j.w.WebAppContext@4482469c{ManifoldCF Crawler > Interface,/mcf-crawler-ui,file:///private/var/folders/g1/vlf2szxj7tbbgm92n39l8kj8gn/T/jetty-0_0_0_0-8346-mcf-crawler-ui_war-_mcf-crawler-ui-any-2356674270627149959.dir/webapp/,AVAILABLE}{/Users/pjlucidi/Downloads/apache-manifoldcf-2.22/dist/web/war/mcf-crawler-ui.war} > [junit] [main] INFO org.eclipse.jetty.server.handler.ContextHandler - > Started o.e.j.w.WebAppContext@3703bf3c{ManifoldCF Authorities API > Webapp,/mcf-authority-service,file:///private/var/folders/g1/vlf2szxj7tbbgm92n39l8kj8gn/T/jetty-0_0_0_0-8346-mcf-authority-service_war-_mcf-authority-service-any-11820210731741565141.dir/webapp/,AVAILABLE}{/Users/pjlucidi/Downloads/apache-manifoldcf-2.22/dist/web/war/mcf-authority-service.war} > [junit] [main] INFO org.eclipse.jetty.server.handler.ContextHandler - > Started o.e.j.w.WebAppContext@34cf5a97{ManifoldCF General API > Webapp,/mcf-api-service,file:///private/var/folders/g1/vlf2szxj7tbbgm92n39l8kj8gn/T/jetty-0_0_0_0-8346-mcf-api-service_war-_mcf-api-service-any-6023197707410686222.dir/webapp/,AVAILABLE}{/Users/pjlucidi/Downloads/apache-manifoldcf-2.22/dist/web/war/mcf-api-service.war} > [junit] [main] INFO org.eclipse.jetty.server.AbstractConnector - Started > ServerConnector@6dc1484{HTTP/1.1,[http/1.1]}{0.0.0.0:8346} > [junit] [main] INFO org.eclipse.jetty.server.Server - Started @1817ms > [junit] Download Version{2.6.8}:OS_X:B32 START > [junit] [main] ERROR de.flapdoodle.embed.process.runtime.Starter - > prepare executable > [junit] java.io.IOException: Could not open inputStream for > https://fastdl.mongodb.org/osx/mongodb-osx-i386-2.6.8.tgz > [junit] at > de.flapdoodle.embed.process.store.Downloader.downloadInputStream(Downloader.java:131) > [junit] at > de.flapdoodle.embed.process.store.Downloader.download(Downloader.java:69) > [junit] at > de.flapdoodle.embed.process.store.ArtifactStore.checkDistribution(ArtifactStore.java:66) > [junit] at > de.flapdoodle.embed.process.sto
[jira] [Created] (CONNECTORS-1708) MongoDB Connector - Integration tests broken
Piergiorgio Lucidi created CONNECTORS-1708: -- Summary: MongoDB Connector - Integration tests broken Key: CONNECTORS-1708 URL: https://issues.apache.org/jira/browse/CONNECTORS-1708 Project: ManifoldCF Issue Type: Bug Components: MongoDB Output Connector Reporter: Piergiorgio Lucidi Trying to execute integration tests with both Ant and Maven, it returns the following error. We are probably using old dependencies of mongodb and de.flapdoodle.embed. Updating both of these dependencies should solve the problem. {code:java} I ran ant test command and now I have a problem with MongoDBOutputConnector: [junit] java.io.IOException: Could not open inputStream for https://fastdl.mongodb.org/osx/mongodb-osx-i386-2.6.8.tgz Maybe MongoDB has changed this URL?I'm investigating... Below all the exception returned by Ant run-IT-HSQLDB: [junit] Testsuite: org.apache.manifoldcf.agents.output.mongodboutput.tests.APISanityHSQLDBIT [junit] Configuration file successfully read [junit] [main] INFO org.eclipse.jetty.util.log - Logging initialized @941ms to org.eclipse.jetty.util.log.Slf4jLog [junit] [main] INFO org.eclipse.jetty.server.Server - jetty-9.4.25.v20191220; built: 2019-12-20T17:00:00.294Z; git: a9729c7e7f33a459d2616a8f9e9ba8a90f432e95; jvm 11.0.13+8-LTS [junit] [main] INFO org.eclipse.jetty.server.session - DefaultSessionIdManager workerName=node0 [junit] [main] INFO org.eclipse.jetty.server.session - No SessionScavenger set, using defaults [junit] [main] INFO org.eclipse.jetty.server.session - node0 Scavenging every 66ms [junit] [main] INFO org.eclipse.jetty.server.handler.ContextHandler - Started o.e.j.w.WebAppContext@4482469c{ManifoldCF Crawler Interface,/mcf-crawler-ui,file:///private/var/folders/g1/vlf2szxj7tbbgm92n39l8kj8gn/T/jetty-0_0_0_0-8346-mcf-crawler-ui_war-_mcf-crawler-ui-any-2356674270627149959.dir/webapp/,AVAILABLE}{/Users/pjlucidi/Downloads/apache-manifoldcf-2.22/dist/web/war/mcf-crawler-ui.war} [junit] [main] INFO org.eclipse.jetty.server.handler.ContextHandler - Started o.e.j.w.WebAppContext@3703bf3c{ManifoldCF Authorities API Webapp,/mcf-authority-service,file:///private/var/folders/g1/vlf2szxj7tbbgm92n39l8kj8gn/T/jetty-0_0_0_0-8346-mcf-authority-service_war-_mcf-authority-service-any-11820210731741565141.dir/webapp/,AVAILABLE}{/Users/pjlucidi/Downloads/apache-manifoldcf-2.22/dist/web/war/mcf-authority-service.war} [junit] [main] INFO org.eclipse.jetty.server.handler.ContextHandler - Started o.e.j.w.WebAppContext@34cf5a97{ManifoldCF General API Webapp,/mcf-api-service,file:///private/var/folders/g1/vlf2szxj7tbbgm92n39l8kj8gn/T/jetty-0_0_0_0-8346-mcf-api-service_war-_mcf-api-service-any-6023197707410686222.dir/webapp/,AVAILABLE}{/Users/pjlucidi/Downloads/apache-manifoldcf-2.22/dist/web/war/mcf-api-service.war} [junit] [main] INFO org.eclipse.jetty.server.AbstractConnector - Started ServerConnector@6dc1484{HTTP/1.1,[http/1.1]}{0.0.0.0:8346} [junit] [main] INFO org.eclipse.jetty.server.Server - Started @1817ms [junit] Download Version{2.6.8}:OS_X:B32 START [junit] [main] ERROR de.flapdoodle.embed.process.runtime.Starter - prepare executable [junit] java.io.IOException: Could not open inputStream for https://fastdl.mongodb.org/osx/mongodb-osx-i386-2.6.8.tgz [junit] at de.flapdoodle.embed.process.store.Downloader.downloadInputStream(Downloader.java:131) [junit] at de.flapdoodle.embed.process.store.Downloader.download(Downloader.java:69) [junit] at de.flapdoodle.embed.process.store.ArtifactStore.checkDistribution(ArtifactStore.java:66) [junit] at de.flapdoodle.embed.process.store.ExtractedArtifactStore.checkDistribution(ExtractedArtifactStore.java:60) [junit] at de.flapdoodle.embed.process.runtime.Starter.prepare(Starter.java:56) [junit] at de.flapdoodle.embed.process.runtime.Starter.prepare(Starter.java:49) [junit] at org.apache.manifoldcf.agents.output.mongodboutput.tests.BaseITHSQLDB.setUpMongoDB(BaseITHSQLDB.java:69) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) [junit] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) [junit] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) [junit] at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) [junit
MongoDB Connector
Hi All, Is there anybody who works on developing a MongoDB connector to fetch data (not an output connector)? Kind Regards, Furkan KAMACI