[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[geogig-dev] Build failed in Jenkins: geoserver-2.13.x-geogig-plugin #69
|
See <https://build.geoserver.org/job/geoserver-2.13.x-geogig-plugin/69/display/redirect>
------------------------------------------
[...truncated 761.21 KB...]
16:43:11.825 [Finalizer] WARN o.l.g.repository.impl.RepositoryImpl - Repository instance being finalized without having been closed: file:/mnt/memtmp/geogig-geoserver/junit2713661510381245415/394fb4bd035ddeae/.geogig/
Scenario: Import of existing RocksDB repository fails with missing RocksDB resolver # features/resolvers/MissingResolvers.feature:8
Given There is an empty multirepo server # WebAPICucumberHooks.setUpEmptyMultiRepo()
And I have "geogigRepo" that is not managed # WebAPICucumberHooks.setupExtraUnMangedRepo(String)
And I have disabled backends: "Directory" # WebAPICucumberHooks.i_have_plugin_without_backend(String)
When I "POST" content-type "application/json" to "/repos/geogigRepo/importExistingRepo" with # WebAPICucumberHooks.requestWithContent(String,String,String,String)
"""
{
"parentDirectory":"{@systemTempPath}",
"leafDirectory":"nonExistentRepo",
"authorName":"GeoGig User",
"authorEmail":"geogig@xxxxxxxxxx"
}
"""
Then the response status should be '400' # WebAPICucumberHooks.checkStatusCode(int)
And the response ContentType should be "application/xml" # WebAPICucumberHooks.checkContentType(String)
And the xpath "/response/success/text()" equals "false" # WebAPICucumberHooks.checkXPathEquals(String,String)
And the xpath "/response/error/text()" contains "No repository initializer found capable of handling this kind of URI: file:/" # WebAPICucumberHooks.checkXPathValueContains(String,String)
Scenario: Import of existing RocksDB repository fails with missing RocksDB resolver, JSON response # features/resolvers/MissingResolvers.feature:26
Given There is an empty multirepo server # WebAPICucumberHooks.setUpEmptyMultiRepo()
And I have "geogigRepo" that is not managed # WebAPICucumberHooks.setupExtraUnMangedRepo(String)
And I have disabled backends: "Directory" # WebAPICucumberHooks.i_have_plugin_without_backend(String)
When I "POST" content-type "application/json" to "/repos/geogigRepo/importExistingRepo.json" with # WebAPICucumberHooks.requestWithContent(String,String,String,String)
"""
{
"parentDirectory":"{@systemTempPath}",
"leafDirectory":"nonExistentRepo",
"authorName":"GeoGig User",
"authorEmail":"geogig@xxxxxxxxxx"
}
"""
Then the response status should be '400' # WebAPICucumberHooks.checkStatusCode(int)
And the response ContentType should be "application/json" # WebAPICucumberHooks.checkContentType(String)
And the json object "response.success" equals "false" # WebAPICucumberHooks.checkJSONResponse(String,String)
And the json response "response.error" should contain "No repository initializer found capable of handling this kind of URI: file:/" # WebAPICucumberHooks.checkJSONResponseContains(String,String)
Scenario: Import of existing RocksDB repository fails with missing RocksDB and PostgreSQL resolvers # features/resolvers/MissingResolvers.feature:44
Given There is an empty multirepo server # WebAPICucumberHooks.setUpEmptyMultiRepo()
And I have "geogigRepo" that is not managed # WebAPICucumberHooks.setupExtraUnMangedRepo(String)
And I have disabled backends: "Directory, PostgreSQL" # WebAPICucumberHooks.i_have_plugin_without_backend(String)
When I "POST" content-type "application/json" to "/repos/geogigRepo/importExistingRepo" with # WebAPICucumberHooks.requestWithContent(String,String,String,String)
"""
{
"parentDirectory":"{@systemTempPath}",
"leafDirectory":"nonExistentRepo",
"authorName":"GeoGig User",
"authorEmail":"geogig@xxxxxxxxxx"
}
"""
Then the response status should be '400' # WebAPICucumberHooks.checkStatusCode(int)
And the response ContentType should be "application/xml" # WebAPICucumberHooks.checkContentType(String)
And the xpath "/response/success/text()" equals "false" # WebAPICucumberHooks.checkXPathEquals(String,String)
And the xpath "/response/error/text()" contains "No repository initializer found capable of handling this kind of URI: file:/" # WebAPICucumberHooks.checkXPathValueContains(String,String)
Scenario: Import of existing RocksDB repository fails with missing RocksDB and PostgreSQL resolvers, JSON response # features/resolvers/MissingResolvers.feature:62
Given There is an empty multirepo server # WebAPICucumberHooks.setUpEmptyMultiRepo()
And I have "geogigRepo" that is not managed # WebAPICucumberHooks.setupExtraUnMangedRepo(String)
And I have disabled backends: "Directory, PostgreSQL" # WebAPICucumberHooks.i_have_plugin_without_backend(String)
When I "POST" content-type "application/json" to "/repos/geogigRepo/importExistingRepo.json" with # WebAPICucumberHooks.requestWithContent(String,String,String,String)
"""
{
"parentDirectory":"{@systemTempPath}",
"leafDirectory":"nonExistentRepo",
"authorName":"GeoGig User",
"authorEmail":"geogig@xxxxxxxxxx"
}
"""
Then the response status should be '400' # WebAPICucumberHooks.checkStatusCode(int)
And the response ContentType should be "application/json" # WebAPICucumberHooks.checkContentType(String)
And the json object "response.success" equals "false" # WebAPICucumberHooks.checkJSONResponse(String,String)
And the json response "response.error" should contain "No repository initializer found capable of handling this kind of URI: file:/" # WebAPICucumberHooks.checkJSONResponseContains(String,String)
Scenario: Import of PostgreSQL repository fails with missing PostgreSQL resolver # features/resolvers/MissingResolvers.feature:80
Given There is an empty multirepo server # WebAPICucumberHooks.setUpEmptyMultiRepo()
And I have disabled backends: "PostgreSQL" # WebAPICucumberHooks.i_have_plugin_without_backend(String)
When I "POST" content-type "application/json" to "/repos/geogigRepo/importExistingRepo" with # WebAPICucumberHooks.requestWithContent(String,String,String,String)
"""
{
"dbName":"database",
"dbPassword":"password"
}
"""
Then the response status should be '400' # WebAPICucumberHooks.checkStatusCode(int)
And the response ContentType should be "application/xml" # WebAPICucumberHooks.checkContentType(String)
And the xpath "/response/success/text()" equals "false" # WebAPICucumberHooks.checkXPathEquals(String,String)
And the xpath "/response/error/text()" contains "No repository initializer found capable of handling this kind of URI: postgresql:/" # WebAPICucumberHooks.checkXPathValueContains(String,String)
Scenario: Import of PostgreSQL repository fails with missing PostgreSQL resolver, JSON response # features/resolvers/MissingResolvers.feature:95
Given There is an empty multirepo server # WebAPICucumberHooks.setUpEmptyMultiRepo()
And I have disabled backends: "PostgreSQL" # WebAPICucumberHooks.i_have_plugin_without_backend(String)
When I "POST" content-type "application/json" to "/repos/geogigRepo/importExistingRepo.json" with # WebAPICucumberHooks.requestWithContent(String,String,String,String)
"""
{
"dbName":"database",
"dbPassword":"password"
}
"""
Then the response status should be '400' # WebAPICucumberHooks.checkStatusCode(int)
And the response ContentType should be "application/json" # WebAPICucumberHooks.checkContentType(String)
And the json object "response.success" equals "false" # WebAPICucumberHooks.checkJSONResponse(String,String)
And the json response "response.error" should contain "No repository initializer found capable of handling this kind of URI: postgresql:/" # WebAPICucumberHooks.checkJSONResponseContains(String,String)
Scenario: Import of existing RocksDB repository passes with missing PostgreSQL resolver # features/resolvers/MissingResolvers.feature:110
Given There is an empty multirepo server # WebAPICucumberHooks.setUpEmptyMultiRepo()
And I have "geogigRepo" that is not managed # WebAPICucumberHooks.setupExtraUnMangedRepo(String)
And I have disabled backends: "PostgreSQL" # WebAPICucumberHooks.i_have_plugin_without_backend(String)
When I "POST" content-type "application/json" to "/repos/geogigRepo/importExistingRepo" with # WebAPICucumberHooks.requestWithContent(String,String,String,String)
"""
{
"parentDirectory":"{@systemTempPath}",
"leafDirectory":"geogigRepo"
}
"""
Then the response status should be '200' # WebAPICucumberHooks.checkStatusCode(int)
And the response ContentType should be "application/xml" # WebAPICucumberHooks.checkContentType(String)
And the xpath "/response/success/text()" equals "true" # WebAPICucumberHooks.checkXPathEquals(String,String)
And the xpath "/response/repo/name/text()" equals "geogigRepo" # WebAPICucumberHooks.checkXPathEquals(String,String)
And the xpath "/response/repo/atom:link/@href" contains "/repos/geogigRepo.xml" # WebAPICucumberHooks.checkXPathValueContains(String,String)
16:43:15.619 [Finalizer] WARN o.l.g.repository.impl.RepositoryImpl - Repository instance being finalized without having been closed: file:/mnt/memtmp/geogig-geoserver/junit7456296904422879699/geogigRepo/.geogig/
Scenario: Import of existing RocksDB repository passes with missing PostgreSQL resolver, JSON response # features/resolvers/MissingResolvers.feature:127
Given There is an empty multirepo server # WebAPICucumberHooks.setUpEmptyMultiRepo()
And I have "geogigRepo" that is not managed # WebAPICucumberHooks.setupExtraUnMangedRepo(String)
And I have disabled backends: "PostgreSQL" # WebAPICucumberHooks.i_have_plugin_without_backend(String)
When I "POST" content-type "application/json" to "/repos/geogigRepo/importExistingRepo.json" with # WebAPICucumberHooks.requestWithContent(String,String,String,String)
"""
{
"parentDirectory":"{@systemTempPath}",
"leafDirectory":"geogigRepo"
}
"""
Then the response status should be '200' # WebAPICucumberHooks.checkStatusCode(int)
And the response ContentType should be "application/json" # WebAPICucumberHooks.checkContentType(String)
And the json object "response.success" equals "true" # WebAPICucumberHooks.checkJSONResponse(String,String)
And the json object "response.repo.name" equals "geogigRepo" # WebAPICucumberHooks.checkJSONResponse(String,String)
And the json object "response.repo.href" ends with "/repos/geogigRepo.json" # WebAPICucumberHooks.checkJSONResponseEndsWith(String,String)
16:43:16.232 [Finalizer] WARN o.l.g.repository.impl.RepositoryImpl - Repository instance being finalized without having been closed: file:/mnt/memtmp/geogig-geoserver/junit5806815391642817829/geogigRepo/.geogig/
18 Scenarios (18 passed)
136 Steps (136 passed)
0m5.151s
Tests run: 154, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.854 sec
Running org.geogig.geoserver.gwc.GWCIntegrationTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.953 sec
Running org.geogig.geoserver.rest.GeoGigGeoServerRESTntegrationTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.053 sec
Running org.geogig.geoserver.rest.GeoGigWebAPIIntegrationTest
16:43:29.386 [Finalizer] WARN o.l.g.repository.impl.RepositoryImpl - Repository instance being finalized without having been closed: file:/mnt/memtmp/geogig-geoserver/junit1548412559458678634/new_repo/.geogig/
16:43:29.390 [Finalizer] WARN o.l.g.repository.impl.RepositoryImpl - Repository instance being finalized without having been closed: file:/mnt/memtmp/geogig-geoserver/junit8529933309565021404/new_repo1/.geogig/
16:43:32.440 [main] INFO o.l.g.r.http.BinaryPackedObjects - scanning for previsit list...
16:43:32.441 [main] INFO o.l.g.r.http.BinaryPackedObjects - Previsit list built in 19.68 μs for 0 ids: []. Calculating reachable content ids...
16:43:32.448 [main] INFO o.l.g.r.http.BinaryPackedObjects - reachableContentIds took 6.557 ms for 0 ids
16:43:32.448 [main] INFO o.l.g.r.http.BinaryPackedObjects - obtaining post order iterator on range...
16:43:32.449 [main] INFO o.l.g.r.http.BinaryPackedObjects - PostOrderIterator.range took 743.8 μs
16:43:32.451 [main] INFO o.l.g.r.http.BinaryPackedObjects - writing objects to remote...
16:43:32.683 [main] ERROR o.l.g.s.c.RepositoryCommandController - RequestEntity does not have a JSON or XML payload. MediaType: multipart/form-data;boundary=FIURcm5BcNacCgY4BaP-vlnPUZtin5cvyp8
Tests run: 8, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 3.447 sec <<< FAILURE!
testGeoPackageImport(org.geogig.geoserver.rest.GeoGigWebAPIIntegrationTest) Time elapsed: 88 sec <<< FAILURE!
junit.framework.ComparisonFailure: expected:<[FINISHED]> but was:<[WAITING]>
at junit.framework.Assert.assertEquals(Assert.java:100)
at junit.framework.Assert.assertEquals(Assert.java:107)
at org.custommonkey.xmlunit.XMLAssert.assertXpathEvaluatesTo(XMLAssert.java:858)
at org.geogig.geoserver.rest.GeoGigWebAPIIntegrationTest.testGeoPackageImport(GeoGigWebAPIIntegrationTest.java:436)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
Running org.geogig.geoserver.security.SecurityLoggerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
Running org.geogig.geoserver.security.SecurityLoggerTestIntegrationTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.001 sec
Running org.geogig.geoserver.web.RepositoriesPageTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.68 sec
Running org.geogig.geoserver.web.data.store.geogig.GeoGigDataStoreEditPanelTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.111 sec
Running org.geogig.geoserver.web.repository.RepositoryEditPanelTest
16:43:46.760 [Finalizer] WARN o.l.g.repository.impl.RepositoryImpl - Repository instance being finalized without having been closed: file:/mnt/memtmp/geogig-geoserver/junit7593116590526392590/2dfd5d96-f433-437d-9357-babf8ab21f54/.geogig/
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.462 sec
Running org.geogig.geoserver.web.repository.RepositoryImportPanelTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.065 sec
Running org.geogig.geoserver.wfs.WFSIntegrationTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.619 sec
Running org.geogig.geoserver.wms.GeoGigCatalogVisitorTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.855 sec
Running org.geogig.geoserver.wms.GeogigLayerIntegrationListenerTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.623 sec
Results :
Failed tests: testGeoPackageImport(org.geogig.geoserver.rest.GeoGigWebAPIIntegrationTest): expected:<[FINISHED]> but was:<[WAITING]>
Tests run: 3503, Failures: 1, Errors: 0, Skipped: 2
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 06:24 min
[INFO] Finished at: 2018-04-24T16:44:34+00:00
[INFO] Final Memory: 76M/618M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.3:test (default-test) on project gs-geogig: There are test failures.
[ERROR]
[ERROR] Please refer to <https://build.geoserver.org/job/geoserver-2.13.x-geogig-plugin/ws/src/community/geogig/target/surefire-reports> for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Build step 'Invoke top-level Maven targets' marked build as failure
[Cucumber Tests] Parsing results.
[Cucumber Tests] parsing cucumber.json