Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[geogig-dev] Build failed in Jenkins: geoserver-master-geogig-plugin #1070

See <https://build.geoserver.org/job/geoserver-master-geogig-plugin/1070/display/redirect>

------------------------------------------
[...truncated 745.91 KB...]

  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)
18:06:54.607 [Finalizer] WARN  o.l.g.repository.impl.RepositoryImpl - Repository instance being finalized without having been closed: file:/mnt/memtmp/geogig-geoserver/junit395014527297161436/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)

18 Scenarios (18 passed)
136 Steps (136 passed)
0m5.437s

Tests run: 154, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.655 sec
Running org.geogig.geoserver.gwc.GWCIntegrationTest
18:06:56.358 [Finalizer] WARN  o.l.g.repository.impl.RepositoryImpl - Repository instance being finalized without having been closed: file:/mnt/memtmp/geogig-geoserver/junit2192859285402718802/geogigRepo/.geogig/
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.208 sec
Running org.geogig.geoserver.rest.GeoGigGeoServerRESTntegrationTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.972 sec
Running org.geogig.geoserver.rest.GeoGigWebAPIIntegrationTest
18:07:11.263 [Finalizer] WARN  o.l.g.repository.impl.RepositoryImpl - Repository instance being finalized without having been closed: file:/mnt/memtmp/geogig-geoserver/junit6450011866054254235/new_repo1/.geogig/
18:07:11.265 [Finalizer] WARN  o.l.g.repository.impl.RepositoryImpl - Repository instance being finalized without having been closed: file:/mnt/memtmp/geogig-geoserver/junit7702854739669853250/new_repo/.geogig/
18:07:14.100 [main] INFO  o.l.g.r.http.BinaryPackedObjects - scanning for previsit list...
18:07:14.101 [main] INFO  o.l.g.r.http.BinaryPackedObjects - Previsit list built in 14.84 μs for 0 ids: []. Calculating reachable content ids...
18:07:14.106 [main] INFO  o.l.g.r.http.BinaryPackedObjects - reachableContentIds took 5.108 ms for 0 ids
18:07:14.106 [main] INFO  o.l.g.r.http.BinaryPackedObjects - obtaining post order iterator on range...
18:07:14.107 [main] INFO  o.l.g.r.http.BinaryPackedObjects - PostOrderIterator.range took 539.7 μs
18:07:14.109 [main] INFO  o.l.g.r.http.BinaryPackedObjects - writing objects to remote...
18:07:14.326 [main] ERROR o.l.g.s.c.RepositoryCommandController - RequestEntity does not have a JSON or XML payload. MediaType: multipart/form-data;boundary=o6jjFYuY8DdoPNKN-NrtXHTZcqJkaM8TzX
Tests run: 8, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 3.477 sec <<< FAILURE!
testGeoPackageImport(org.geogig.geoserver.rest.GeoGigWebAPIIntegrationTest)  Time elapsed: 109 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:437)
	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.049 sec
Running org.geogig.geoserver.security.SecurityLoggerTestIntegrationTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 sec
Running org.geogig.geoserver.web.RepositoriesPageTest
18:07:18.042 [Finalizer] WARN  o.l.g.repository.impl.RepositoryImpl - Repository instance being finalized without having been closed: file:/mnt/memtmp/geogig-geoserver/junit6846139379774497063/geogigRepo/.geogig/
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.385 sec
Running org.geogig.geoserver.web.data.store.geogig.GeoGigDataStoreEditPanelTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.963 sec
Running org.geogig.geoserver.web.repository.RepositoryEditPanelTest
18:07:28.105 [Finalizer] WARN  o.l.g.repository.impl.RepositoryImpl - Repository instance being finalized without having been closed: file:/mnt/memtmp/geogig-geoserver/junit4555419245362984943/c4a1ef1d-91ce-42a6-85f9-46af80961ed8/.geogig/
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.986 sec
Running org.geogig.geoserver.web.repository.RepositoryImportPanelTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.801 sec
Running org.geogig.geoserver.wfs.WFSIntegrationTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.487 sec
Running org.geogig.geoserver.wms.GeoGigCatalogVisitorTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.413 sec
Running org.geogig.geoserver.wms.GeogigLayerIntegrationListenerTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.368 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: 08:26 min
[INFO] Finished at: 2018-09-21T18:08:09+00:00
[INFO] Final Memory: 82M/1119M
[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-master-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


Back to the top