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 #489

See <https://build.geoserver.org/job/geoserver-master-geogig-plugin/489/display/redirect?page=changes>

Changes:

[Andrea Aime] Couple of fixes and adding wfs3 to the community release

[Andrea Aime] Forgot to add pom file

------------------------------------------
[...truncated 735.72 KB...]
11:41:06.083 [Finalizer] WARN  o.l.g.repository.impl.RepositoryImpl - Repository instance being finalized without having been closed: file:/mnt/memtmp/geogig-geoserver/junit2480042857486534452/ac0a3194df0722a2/.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)
11:41:07.987 [Finalizer] WARN  o.l.g.repository.impl.RepositoryImpl - Repository instance being finalized without having been closed: file:/mnt/memtmp/geogig-geoserver/junit7144796989691196908/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)
0m3.046s

Tests run: 154, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.019 sec
Running org.geogig.geoserver.gwc.GWCIntegrationTest
11:41:08.952 [Finalizer] WARN  o.l.g.repository.impl.RepositoryImpl - Repository instance being finalized without having been closed: file:/mnt/memtmp/geogig-geoserver/junit1750028942497208400/geogigRepo/.geogig/
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.89 sec
Running org.geogig.geoserver.rest.GeoGigGeoServerRESTntegrationTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.149 sec
Running org.geogig.geoserver.rest.GeoGigWebAPIIntegrationTest
11:41:20.145 [Finalizer] WARN  o.l.g.repository.impl.RepositoryImpl - Repository instance being finalized without having been closed: file:/mnt/memtmp/geogig-geoserver/junit9028114058775410238/new_repo/.geogig/
11:41:22.540 [main] INFO  o.l.g.r.http.BinaryPackedObjects - scanning for previsit list...
11:41:22.540 [main] INFO  o.l.g.r.http.BinaryPackedObjects - Previsit list built in 20.83 μs for 0 ids: []. Calculating reachable content ids...
11:41:22.548 [main] INFO  o.l.g.r.http.BinaryPackedObjects - reachableContentIds took 7.070 ms for 0 ids
11:41:22.548 [main] INFO  o.l.g.r.http.BinaryPackedObjects - obtaining post order iterator on range...
11:41:22.549 [main] INFO  o.l.g.r.http.BinaryPackedObjects - PostOrderIterator.range took 593.3 μs
11:41:22.551 [main] INFO  o.l.g.r.http.BinaryPackedObjects - writing objects to remote...
11:41:22.860 [main] ERROR o.l.g.s.c.RepositoryCommandController - RequestEntity does not have a JSON or XML payload. MediaType: multipart/form-data;boundary=5Beiv_B5NMRGb7kekND0pmnJ1LmVShIWpbyBX
Tests run: 8, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 3.432 sec <<< FAILURE!
testGeoPackageImport(org.geogig.geoserver.rest.GeoGigWebAPIIntegrationTest)  Time elapsed: 112 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.03 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
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.136 sec
Running org.geogig.geoserver.web.data.store.geogig.GeoGigDataStoreEditPanelTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.173 sec
Running org.geogig.geoserver.web.repository.RepositoryEditPanelTest
11:41:37.050 [Finalizer] WARN  o.l.g.repository.impl.RepositoryImpl - Repository instance being finalized without having been closed: file:/mnt/memtmp/geogig-geoserver/junit2870085618293926902/c0322890-4485-46c8-986e-754b9ab161b4/.geogig/
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.064 sec
Running org.geogig.geoserver.web.repository.RepositoryImportPanelTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.965 sec
Running org.geogig.geoserver.wfs.WFSIntegrationTest
11:41:48.063 [Finalizer] WARN  o.l.g.repository.impl.RepositoryImpl - Repository instance being finalized without having been closed: file:/mnt/memtmp/geogig-geoserver/junit1625369550495655935/new_repo1/.geogig/
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.791 sec
Running org.geogig.geoserver.wms.GeoGigCatalogVisitorTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.618 sec
Running org.geogig.geoserver.wms.GeogigLayerIntegrationListenerTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 20.8 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:44 min
[INFO] Finished at: 2018-03-07T11:42:19+00:00
[INFO] Final Memory: 79M/852M
[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