Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[geogig-dev] Build failed in Jenkins: geogig-master-nightly #369

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

Changes:

[Gabriel Roldan] Add PG EnvironmentBuilder.parse(URI):ConnectionConfig method

------------------------------------------
[...truncated 968.09 KB...]

  Scenario: Try to import a GeoPackage table                                             # GeoPkgImport.feature:11
    Given I have a repository                                                            # DefaultStepDefinitions.I_have_a_repository()
    When I run the command "geopkg import --table Points" on an existing GeoPackage file # GeoPkgStepDefinitions.I_run_the_command_on_an_existing_GeoPackage_file(String)
    Then the response should contain "Import successful."                                # DefaultStepDefinitions.the_response_should_contain(String)

  Scenario: Try to import a full GeoPackage file                                # GeoPkgImport.feature:16
    Given I have a repository                                                   # DefaultStepDefinitions.I_have_a_repository()
    When I run the command "geopkg import --all" on an existing GeoPackage file # GeoPkgStepDefinitions.I_run_the_command_on_an_existing_GeoPackage_file(String)
    Then the response should contain "Import successful."                       # DefaultStepDefinitions.the_response_should_contain(String)

  Scenario: Try to import a GeoPackage table that doesn't exit in the file                          # GeoPkgImport.feature:21
    Given I have a repository                                                                       # DefaultStepDefinitions.I_have_a_repository()
    When I run the command "geopkg import --table nonexistant_table" on an existing GeoPackage file # GeoPkgStepDefinitions.I_run_the_command_on_an_existing_GeoPackage_file(String)
    Then the response should contain "Could not find the specified table."                          # DefaultStepDefinitions.the_response_should_contain(String)

  Scenario: Try to import without specifying table or -all                                               # GeoPkgImport.feature:26
    Given I have a repository                                                                            # DefaultStepDefinitions.I_have_a_repository()
    When I run the command "geopkg import" on an existing GeoPackage file                                # GeoPkgStepDefinitions.I_run_the_command_on_an_existing_GeoPackage_file(String)
    Then the response should contain "No tables specified for import. Specify --all or --table <table>." # DefaultStepDefinitions.the_response_should_contain(String)

  Scenario: Try to import with table and -all                                                  # GeoPkgImport.feature:31
    Given I have a repository                                                                  # DefaultStepDefinitions.I_have_a_repository()
    When I run the command "geopkg import --table Points --all" on an existing GeoPackage file # GeoPkgStepDefinitions.I_run_the_command_on_an_existing_GeoPackage_file(String)
    Then the response should contain "Specify --all or --table <table>, both cannot be set."   # DefaultStepDefinitions.the_response_should_contain(String)
Feature: "geopkg list" command
    In order to know all of the features available in a GeoPackage file
    As a Geogig User
    I want to list all of the features

  Scenario: Try listing from an empty directory                         # GeoPkgList.feature:6
    Given I am in an empty directory                                    # DefaultStepDefinitions.I_am_in_an_empty_directory()
    When I run the command "geopkg list" on an existing GeoPackage file # GeoPkgStepDefinitions.I_run_the_command_on_an_existing_GeoPackage_file(String)
    Then the response should start with "Not in a geogig repository"    # DefaultStepDefinitions.the_response_should_start_with(String)

  Scenario: Try listing from a valid directory                          # GeoPkgList.feature:11
    Given I have a repository                                           # DefaultStepDefinitions.I_have_a_repository()
    When I run the command "geopkg list" on an existing GeoPackage file # GeoPkgStepDefinitions.I_run_the_command_on_an_existing_GeoPackage_file(String)
    Then the response should contain "Points"                           # DefaultStepDefinitions.the_response_should_contain(String)
Feature: "geopkg pull" command
    In order to import data to Geogig
    As a Geogig User
    I want to import one or more tables from a GeoPackage file with the interchange format

  Scenario: Try pulling into an empty directory                                        # GeoPkgPull.feature:6
    Given I am in an empty directory                                                   # DefaultStepDefinitions.I_am_in_an_empty_directory()
    When I run the command "geopkg pull --table Points" on an existing GeoPackage file # GeoPkgStepDefinitions.I_run_the_command_on_an_existing_GeoPackage_file(String)
    Then the response should start with "Not in a geogig repository"                   # DefaultStepDefinitions.the_response_should_start_with(String)

  Scenario: Try to pull a GeoPackage table without commit message                                  # GeoPkgPull.feature:11
    Given I have a repository                                                                      # DefaultStepDefinitions.I_have_a_repository()
    When I run the command "geopkg pull --table Points" on an existing interchange GeoPackage file # GeoPkgStepDefinitions.I_run_the_command_on_an_existing_interchange_GeoPackage_file(String)
    Then the response should contain "Commit message not provided"                                 # DefaultStepDefinitions.the_response_should_contain(String)

  Scenario: Try to pull a GeoPackage table                                                                            # GeoPkgPull.feature:16
    Given I have a repository                                                                                         # DefaultStepDefinitions.I_have_a_repository()
    When I run the command "geopkg pull --table Points --message imported" on an existing interchange GeoPackage file # GeoPkgStepDefinitions.I_run_the_command_on_an_existing_interchange_GeoPackage_file(String)
    Then the response should contain "Import successful."                                                             # DefaultStepDefinitions.the_response_should_contain(String)

  Scenario: Try to pull a GeoPackage table that doesn't exit in the file                                                         # GeoPkgPull.feature:21
    Given I have a repository                                                                                                    # DefaultStepDefinitions.I_have_a_repository()
    When I run the command "geopkg pull --table nonexistant_table --message imported" on an existing interchange GeoPackage file # GeoPkgStepDefinitions.I_run_the_command_on_an_existing_interchange_GeoPackage_file(String)
    Then the response should contain "Unable to import: No table to import."                                                     # DefaultStepDefinitions.the_response_should_contain(String)

  Scenario: Try to pull without specifying table                                                       # GeoPkgPull.feature:26
    Given I have a repository                                                                          # DefaultStepDefinitions.I_have_a_repository()
    When I run the command "geopkg pull --message imported" on an existing interchange GeoPackage file # GeoPkgStepDefinitions.I_run_the_command_on_an_existing_interchange_GeoPackage_file(String)
    Then the response should contain "Import successful."                                              # DefaultStepDefinitions.the_response_should_contain(String)

  Scenario: Try to pull a GeoPackage table with a conflict                                                                            # GeoPkgPull.feature:31
    Given I have a repository                                                                                                         # DefaultStepDefinitions.I_have_a_repository()
    When I run the command "geopkg pull --table Points --message imported" on an existing interchange GeoPackage file with a conflict # GeoPkgStepDefinitions.I_run_the_command_on_an_existing_interchange_GeoPackage_file_with_conflict(String)
    Then the response should contain "CONFLICT: Merge conflict in"                                                                    # DefaultStepDefinitions.the_response_should_contain(String)

22 Scenarios (22 passed)
71 Steps (71 passed)
0m13.899s

Tests run: 93, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.783 sec - in org.locationtech.geogig.geotools.cli.geopkg.RunGeoPkgFunctionalTest

Results :

Tests run: 266, Failures: 0, Errors: 0, Skipped: 0

[INFO] 
[INFO] --- jacoco-maven-plugin:0.7.7.201606060606:report (post-unit-test) @ geogig-cli-geotools ---
[INFO] Loading execution data file <https://build.geoserver.org/job/geogig-master-nightly/ws/src/cli/geotools/target/jacoco.exec>
[INFO] Analyzed bundle 'GeoGig CLI GeoTools' with 46 classes
[INFO] 
[INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ geogig-cli-geotools ---
[INFO] Building jar: <https://build.geoserver.org/job/geogig-master-nightly/ws/src/cli/geotools/target/geogig-cli-geotools-1.4-SNAPSHOT.jar>
[INFO] 
[INFO] --- maven-jar-plugin:3.0.2:test-jar (default) @ geogig-cli-geotools ---
[INFO] Building jar: <https://build.geoserver.org/job/geogig-master-nightly/ws/src/cli/geotools/target/geogig-cli-geotools-1.4-SNAPSHOT-tests.jar>
[INFO] 
[INFO] >>> maven-source-plugin:3.0.1:jar (attach-sources) > generate-sources @ geogig-cli-geotools >>>
[INFO] 
[INFO] --- git-commit-id-plugin:2.2.2:revision (default) @ geogig-cli-geotools ---
[INFO] 
[INFO] --- jacoco-maven-plugin:0.7.7.201606060606:prepare-agent (pre-unit-test) @ geogig-cli-geotools ---
[INFO] argLine set to -javaagent:<https://build.geoserver.org/job/geogig-master-nightly/ws/.repository/org/jacoco/org.jacoco.agent/0.7.7.201606060606/org.jacoco.agent-0.7.7.201606060606-runtime.jar=destfile=/var/jenkins/workspace/geogig-master-nightly/src/cli/geotools/target/jacoco.exec,excludes=**/*Exception.class> -Xms256m -Xmx512m
[INFO] 
[INFO] <<< maven-source-plugin:3.0.1:jar (attach-sources) < generate-sources @ geogig-cli-geotools <<<
[INFO] 
[INFO] --- maven-source-plugin:3.0.1:jar (attach-sources) @ geogig-cli-geotools ---
[INFO] Building jar: <https://build.geoserver.org/job/geogig-master-nightly/ws/src/cli/geotools/target/geogig-cli-geotools-1.4-SNAPSHOT-sources.jar>
[INFO] 
[INFO] >>> maven-source-plugin:3.0.1:test-jar (attach-sources) > generate-sources @ geogig-cli-geotools >>>
[INFO] 
[INFO] --- git-commit-id-plugin:2.2.2:revision (default) @ geogig-cli-geotools ---
[INFO] 
[INFO] --- jacoco-maven-plugin:0.7.7.201606060606:prepare-agent (pre-unit-test) @ geogig-cli-geotools ---
[INFO] argLine set to -javaagent:<https://build.geoserver.org/job/geogig-master-nightly/ws/.repository/org/jacoco/org.jacoco.agent/0.7.7.201606060606/org.jacoco.agent-0.7.7.201606060606-runtime.jar=destfile=/var/jenkins/workspace/geogig-master-nightly/src/cli/geotools/target/jacoco.exec,excludes=**/*Exception.class> -Xms256m -Xmx512m
[INFO] 
[INFO] <<< maven-source-plugin:3.0.1:test-jar (attach-sources) < generate-sources @ geogig-cli-geotools <<<
[INFO] 
[INFO] --- maven-source-plugin:3.0.1:test-jar (attach-sources) @ geogig-cli-geotools ---
[INFO] Building jar: <https://build.geoserver.org/job/geogig-master-nightly/ws/src/cli/geotools/target/geogig-cli-geotools-1.4-SNAPSHOT-test-sources.jar>
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ geogig-cli-geotools ---
[INFO] Installing <https://build.geoserver.org/job/geogig-master-nightly/ws/src/cli/geotools/target/geogig-cli-geotools-1.4-SNAPSHOT.jar> to <https://build.geoserver.org/job/geogig-master-nightly/ws/.repository/org/locationtech/geogig/geogig-cli-geotools/1.4-SNAPSHOT/geogig-cli-geotools-1.4-SNAPSHOT.jar>
[INFO] Installing <https://build.geoserver.org/job/geogig-master-nightly/ws/src/cli/geotools/pom.xml> to <https://build.geoserver.org/job/geogig-master-nightly/ws/.repository/org/locationtech/geogig/geogig-cli-geotools/1.4-SNAPSHOT/geogig-cli-geotools-1.4-SNAPSHOT.pom>
[INFO] Installing <https://build.geoserver.org/job/geogig-master-nightly/ws/src/cli/geotools/target/geogig-cli-geotools-1.4-SNAPSHOT-tests.jar> to <https://build.geoserver.org/job/geogig-master-nightly/ws/.repository/org/locationtech/geogig/geogig-cli-geotools/1.4-SNAPSHOT/geogig-cli-geotools-1.4-SNAPSHOT-tests.jar>
[INFO] Installing <https://build.geoserver.org/job/geogig-master-nightly/ws/src/cli/geotools/target/geogig-cli-geotools-1.4-SNAPSHOT-sources.jar> to <https://build.geoserver.org/job/geogig-master-nightly/ws/.repository/org/locationtech/geogig/geogig-cli-geotools/1.4-SNAPSHOT/geogig-cli-geotools-1.4-SNAPSHOT-sources.jar>
[INFO] Installing <https://build.geoserver.org/job/geogig-master-nightly/ws/src/cli/geotools/target/geogig-cli-geotools-1.4-SNAPSHOT-test-sources.jar> to <https://build.geoserver.org/job/geogig-master-nightly/ws/.repository/org/locationtech/geogig/geogig-cli-geotools/1.4-SNAPSHOT/geogig-cli-geotools-1.4-SNAPSHOT-test-sources.jar>
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Web modules 1.4-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ geogig-web ---
[INFO] Deleting <https://build.geoserver.org/job/geogig-master-nightly/ws/src/web/target>
[INFO] 
[INFO] --- git-commit-id-plugin:2.2.2:revision (default) @ geogig-web ---
[INFO] 
[INFO] --- jacoco-maven-plugin:0.7.7.201606060606:prepare-agent (pre-unit-test) @ geogig-web ---
[INFO] argLine set to -javaagent:<https://build.geoserver.org/job/geogig-master-nightly/ws/.repository/org/jacoco/org.jacoco.agent/0.7.7.201606060606/org.jacoco.agent-0.7.7.201606060606-runtime.jar=destfile=/var/jenkins/workspace/geogig-master-nightly/src/web/target/jacoco.exec,excludes=**/*Exception.class> -Xms256m -Xmx512m
[INFO] 
[INFO] --- jacoco-maven-plugin:0.7.7.201606060606:report (post-unit-test) @ geogig-web ---
[INFO] Skipping JaCoCo execution due to missing execution data file.
[INFO] 
[INFO] --- maven-jar-plugin:3.0.2:test-jar (default) @ geogig-web ---
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Building jar: <https://build.geoserver.org/job/geogig-master-nightly/ws/src/web/target/geogig-web-1.4-SNAPSHOT-tests.jar>
[INFO] 
[INFO] >>> maven-source-plugin:3.0.1:jar (attach-sources) > generate-sources @ geogig-web >>>
[INFO] 
[INFO] --- git-commit-id-plugin:2.2.2:revision (default) @ geogig-web ---
[INFO] 
[INFO] --- jacoco-maven-plugin:0.7.7.201606060606:prepare-agent (pre-unit-test) @ geogig-web ---
[INFO] argLine set to -javaagent:<https://build.geoserver.org/job/geogig-master-nightly/ws/.repository/org/jacoco/org.jacoco.agent/0.7.7.201606060606/org.jacoco.agent-0.7.7.201606060606-runtime.jar=destfile=/var/jenkins/workspace/geogig-master-nightly/src/web/target/jacoco.exec,excludes=**/*Exception.class> -Xms256m -Xmx512m
[INFO] 
[INFO] <<< maven-source-plugin:3.0.1:jar (attach-sources) < generate-sources @ geogig-web <<<
[INFO] 
[INFO] --- maven-source-plugin:3.0.1:jar (attach-sources) @ geogig-web ---
[INFO] 
[INFO] >>> maven-source-plugin:3.0.1:test-jar (attach-sources) > generate-sources @ geogig-web >>>
[INFO] 
[INFO] --- git-commit-id-plugin:2.2.2:revision (default) @ geogig-web ---
[INFO] 
[INFO] --- jacoco-maven-plugin:0.7.7.201606060606:prepare-agent (pre-unit-test) @ geogig-web ---
[INFO] argLine set to -javaagent:<https://build.geoserver.org/job/geogig-master-nightly/ws/.repository/org/jacoco/org.jacoco.agent/0.7.7.201606060606/org.jacoco.agent-0.7.7.201606060606-runtime.jar=destfile=/var/jenkins/workspace/geogig-master-nightly/src/web/target/jacoco.exec,excludes=**/*Exception.class> -Xms256m -Xmx512m
[INFO] 
[INFO] <<< maven-source-plugin:3.0.1:test-jar (attach-sources) < generate-sources @ geogig-web <<<
[INFO] 
[INFO] --- maven-source-plugin:3.0.1:test-jar (attach-sources) @ geogig-web ---
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ geogig-web ---
[INFO] Installing <https://build.geoserver.org/job/geogig-master-nightly/ws/src/web/pom.xml> to <https://build.geoserver.org/job/geogig-master-nightly/ws/.repository/org/locationtech/geogig/geogig-web/1.4-SNAPSHOT/geogig-web-1.4-SNAPSHOT.pom>
[INFO] Installing <https://build.geoserver.org/job/geogig-master-nightly/ws/src/web/target/geogig-web-1.4-SNAPSHOT-tests.jar> to <https://build.geoserver.org/job/geogig-master-nightly/ws/.repository/org/locationtech/geogig/geogig-web/1.4-SNAPSHOT/geogig-web-1.4-SNAPSHOT-tests.jar>
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building GeoGig Web API 1.4-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ geogig-web-api ---
[INFO] Deleting <https://build.geoserver.org/job/geogig-master-nightly/ws/src/web/api/target>
[INFO] 
[INFO] --- git-commit-id-plugin:2.2.2:revision (default) @ geogig-web-api ---
[INFO] 
[INFO] --- jacoco-maven-plugin:0.7.7.201606060606:prepare-agent (pre-unit-test) @ geogig-web-api ---
[INFO] argLine set to -javaagent:<https://build.geoserver.org/job/geogig-master-nightly/ws/.repository/org/jacoco/org.jacoco.agent/0.7.7.201606060606/org.jacoco.agent-0.7.7.201606060606-runtime.jar=destfile=/var/jenkins/workspace/geogig-master-nightly/src/web/api/target/jacoco.exec,excludes=**/*Exception.class> -Xms256m -Xmx512m
[INFO] 
[INFO] --- maven-resources-plugin:3.0.1:resources (default-resources) @ geogig-web-api ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 10 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ geogig-web-api ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 172 source files to <https://build.geoserver.org/job/geogig-master-nightly/ws/src/web/api/target/classes>
[INFO] <https://build.geoserver.org/job/geogig-master-nightly/ws/src/web/api/src/main/java/org/locationtech/geogig/web/api/commands/Fetch.java>: <https://build.geoserver.org/job/geogig-master-nightly/ws/src/web/api/src/main/java/org/locationtech/geogig/web/api/commands/Fetch.java> uses or overrides a deprecated API.
[INFO] <https://build.geoserver.org/job/geogig-master-nightly/ws/src/web/api/src/main/java/org/locationtech/geogig/web/api/commands/Fetch.java>: Recompile with -Xlint:deprecation for details.
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] <https://build.geoserver.org/job/geogig-master-nightly/ws/src/web/api/src/main/java/org/locationtech/geogig/web/api/ParameterSet.java>:[14,31] package org.apache.commons.lang does not exist
[ERROR] <https://build.geoserver.org/job/geogig-master-nightly/ws/src/web/api/src/main/java/org/locationtech/geogig/web/api/ParameterSet.java>:[104,35] cannot find symbol
  symbol: variable ArrayUtils
[INFO] 2 errors 
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] GeoGig ............................................. SUCCESS [  4.994 s]
[INFO] GeoGig Core API .................................... SUCCESS [ 12.937 s]
[INFO] GeoGig Core ........................................ SUCCESS [01:31 min]
[INFO] Replication and synchronization .................... SUCCESS [ 35.687 s]
[INFO] GeoGig DataStore Implementation .................... SUCCESS [01:46 min]
[INFO] Storage backends ................................... SUCCESS [  1.436 s]
[INFO] RocksDB storage backend ............................ SUCCESS [ 33.613 s]
[INFO] GeoGig Command Line Interface ...................... SUCCESS [  1.387 s]
[INFO] GeoGig Command Line Interface Core ................. SUCCESS [02:42 min]
[INFO] geogig-cli-remoting ................................ SUCCESS [ 32.065 s]
[INFO] PostgreSQL Storage Backend ......................... SUCCESS [  1.942 s]
[INFO] GeoTools Extension ................................. SUCCESS [ 28.046 s]
[INFO] GeoGig CLI GeoTools ................................ SUCCESS [ 42.430 s]
[INFO] Web modules ........................................ SUCCESS [  1.415 s]
[INFO] GeoGig Web API ..................................... FAILURE [  1.042 s]
[INFO] GeoGig WebApp ...................................... SKIPPED
[INFO] GeoGig Web API Automated Functional Tests .......... SKIPPED
[INFO] GeoGigi CLI Postgres Storage Commands .............. SKIPPED
[INFO] GeoGig CLI App ..................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 09:18 min
[INFO] Finished at: 2018-07-25T11:54:22+00:00
[INFO] Final Memory: 114M/1242M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project geogig-web-api: Compilation failure: Compilation failure:
[ERROR] <https://build.geoserver.org/job/geogig-master-nightly/ws/src/web/api/src/main/java/org/locationtech/geogig/web/api/ParameterSet.java>:[14,31] package org.apache.commons.lang does not exist
[ERROR] <https://build.geoserver.org/job/geogig-master-nightly/ws/src/web/api/src/main/java/org/locationtech/geogig/web/api/ParameterSet.java>:[104,35] cannot find symbol
[ERROR] symbol: variable ArrayUtils
[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
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :geogig-web-api
Build step 'Invoke top-level Maven targets' marked build as failure
[Cucumber Tests] Parsing results.
[Cucumber Tests] parsing cucumber.json
[Cucumber Tests] parsing cucumber.json
[Cucumber Tests] parsing cucumber.json
[Cucumber Tests] parsing cucumber.json


Back to the top