AbortedConsole Output

Started calculate disk usage of build
Finished Calculation of disk usage of build in 0 seconds
Started calculate disk usage of workspace
Finished Calculation of disk usage of workspace in 0 seconds
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building GeoGig Command Line Interface 1.1.1
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ geogig-cli ---
[INFO] Deleting /home/hudson/genie.geogig/.jenkins/jobs/geogig-release/workspace/src/cli/target
[INFO] 
[INFO] --- git-commit-id-plugin:2.2.2:revision (default) @ geogig-cli ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ geogig-cli ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ geogig-cli ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 72 source files to /home/hudson/genie.geogig/.jenkins/jobs/geogig-release/workspace/src/cli/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ geogig-cli ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 50 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ geogig-cli ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 13 source files to /home/hudson/genie.geogig/.jenkins/jobs/geogig-release/workspace/src/cli/target/test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ geogig-cli ---
[INFO] Surefire report directory: /home/hudson/genie.geogig/.jenkins/jobs/geogig-release/workspace/src/cli/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.locationtech.geogig.cli.test.functional.RunPorcelainFunctionalTest
Running org.locationtech.geogig.cli.test.functional.RunGenralFunctionalTest
Running org.locationtech.geogig.cli.test.functional.RunIndexFunctionalTest
Running org.locationtech.geogig.cli.test.functional.RunPlumbingFunctionalTest
Running org.locationtech.geogig.cli.test.functional.RunHooksFunctionalTest
Running org.locationtech.geogig.cli.test.functional.RunRemoteFunctionalTest
Running org.locationtech.geogig.cli.test.ArgumentTokenizerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.224 sec - in org.locationtech.geogig.cli.test.ArgumentTokenizerTest
Feature: "hooks" functionality
    In order to control how geogig commands are executed
    As a Geogig User
    I want to set hooks in my repo
[main] INFO org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions - 'Set a pre-commit hook and perform a wrong commit': Using URIBuilder DefaultTestRepoURIBuilder
Feature: General features of CLI
    In order to use the CLI
    As a Geogig User
    I want to use some basic functionality
[main] INFO org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions - 'Use command alias': Using URIBuilder DefaultTestRepoURIBuilder
Feature: "clone" command
    In order to build on the work in an existing repository
    As a Geogig User
    I want to clone that repository to my local machine
[main] INFO org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions - 'Try to clone without specifying a repository': Using URIBuilder DefaultTestRepoURIBuilder
Feature: Automatic index updating
    In order to keep an index up to date with the canonical tree
    As a Geogig User
    Whenever I make changes to a repository, the index should be automatically updated
Feature: "cat" command
    In order to know the content of a given element
    As a Geogig User
    I want to display its content
[main] INFO org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions - 'Committing a modified indexed feature updates the indexes': Using URIBuilder DefaultTestRepoURIBuilder
[main] INFO org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions - 'Try to show the content of a tree.': Using URIBuilder DefaultTestRepoURIBuilder
Feature: "add" command
    In order to prepare for making a commit to the geogig repository
    As a Geogig User
    I want to stage my changes to the working tree
[main] INFO org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions - 'Try to add a conflicted feature': Using URIBuilder DefaultTestRepoURIBuilder
[main] INFO org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions - 'Try to clone into the current directory': Using URIBuilder DefaultTestRepoURIBuilder

  Scenario: Try to clone without specifying a repository            # Clone.feature:6
    Given I am in an empty directory                                # DefaultStepDefinitions.I_am_in_an_empty_directory()
    When I run the command "clone"                                  # DefaultStepDefinitions.I_run_the_command_X(String)
    Then it should answer "You must specify a repository to clone." # DefaultStepDefinitions.it_should_answer_exactly(String)
    And it should exit with non-zero exit code                      # DefaultStepDefinitions.it_should_exit_with_non_zero_exit_code()
[main] INFO org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions - 'Show command candidate when command is mistyped': Using URIBuilder DefaultTestRepoURIBuilder

  Scenario: Use command alias                           # General.feature:6
    Given I have a repository                           # DefaultStepDefinitions.I_have_a_repository()
    And I have staged "points1"                         # DefaultStepDefinitions.I_have_staged(String)
    And I have staged "points2"                         # DefaultStepDefinitions.I_have_staged(String)
    And I have staged "lines1"                          # DefaultStepDefinitions.I_have_staged(String)
    When I run the command "config alias.ci commit"     # DefaultStepDefinitions.I_run_the_command_X(String)
    And I run the command "ci -m message"               # DefaultStepDefinitions.I_run_the_command_X(String)
    Then the response should contain "3 features added" # DefaultStepDefinitions.the_response_should_contain(String)
[main] INFO org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions - 'Merging updates the index': Using URIBuilder DefaultTestRepoURIBuilder

  Scenario: Committing a modified indexed feature updates the indexes            # AutomaticIndexUpdating.feature:6
    Given I have a repository                                                    # DefaultStepDefinitions.I_have_a_repository()
    And I have staged "points1"                                                  # DefaultStepDefinitions.I_have_staged(String)
    When I run the command "commit -m noIndex"                                   # DefaultStepDefinitions.I_run_the_command_X(String)
    And the response should contain "1 features added"                           # DefaultStepDefinitions.the_response_should_contain(String)
    And the response should not contain "Updated index"                          # DefaultStepDefinitions.the_response_should_not_contain(String)
    When I run the command "index create --tree Points"                          # DefaultStepDefinitions.I_run_the_command_X(String)
    Then the response should contain "Index created successfully"                # DefaultStepDefinitions.the_response_should_contain(String)
    And I have staged "points1_modified"                                         # DefaultStepDefinitions.I_have_staged(String)
    When I run the command "commit -m withIndex"                                 # DefaultStepDefinitions.I_run_the_command_X(String)
    Then the response should contain "Updated index"                             # DefaultStepDefinitions.the_response_should_contain(String)
    And the repository's "HEAD:Points" index should have the following features: # DefaultStepDefinitions.verifyIndexContents(String,DataTable)
[main] INFO org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions - 'Show command candidates when command is mistyped': Using URIBuilder DefaultTestRepoURIBuilder

  Scenario: Show command candidate when command is mistyped # General.feature:15
    Given I have a repository                               # DefaultStepDefinitions.I_have_a_repository()
    When I run the command "brunch"                         # DefaultStepDefinitions.I_run_the_command_X(String)
    Then the response should contain "Did you mean this?"   # DefaultStepDefinitions.the_response_should_contain(String)
    And the response should contain "branch"                # DefaultStepDefinitions.the_response_should_contain(String)
    And it should exit with non-zero exit code              # DefaultStepDefinitions.it_should_exit_with_non_zero_exit_code()

  Scenario: Show command candidates when command is mistyped      # General.feature:22
    Given I have a repository                                     # DefaultStepDefinitions.I_have_a_repository()
    When I run the command "confit"                               # DefaultStepDefinitions.I_run_the_command_X(String)
    Then the response should contain "Did you mean one of these?" # DefaultStepDefinitions.the_response_should_contain(String)
    And the response should contain "config"                      # DefaultStepDefinitions.the_response_should_contain(String)
    And the response should contain "commit"                      # DefaultStepDefinitions.the_response_should_contain(String)
    And it should exit with non-zero exit code                    # DefaultStepDefinitions.it_should_exit_with_non_zero_exit_code()
Feature: "help" command
    In order to know how to use geogig
    As a Geogig User
    I want to see the description of a command
[main] INFO org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions - 'Show general help, containing only porcelain commands': Using URIBuilder DefaultTestRepoURIBuilder
[main] INFO org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions - 'Try to show the content of a feature.': Using URIBuilder DefaultTestRepoURIBuilder
[main] INFO org.locationtech.geogig.hooks.Scripting - Running jvm script /opt/public/hipp/ramdisk/geogig/junit2686804094450107858/data/localrepo/.geogig/hooks/pre_commit.js

  Scenario: Try to show the content of a tree.                                   # Cat.feature:6
    Given I have a repository                                                    # DefaultStepDefinitions.I_have_a_repository()
    And I stage 6 features                                                       # DefaultStepDefinitions.I_stage_6_features()
    When I run the command "commit -m TestCommit"                                # DefaultStepDefinitions.I_run_the_command_X(String)
    When I run the command "cat HEAD:Points"                                     # DefaultStepDefinitions.I_run_the_command_X(String)
    Then the response should contain "Points.1"                                  # DefaultStepDefinitions.the_response_should_contain(String)
    And the response should contain "Points.2"                                   # DefaultStepDefinitions.the_response_should_contain(String)
    And the response should contain "Points.3"                                   # DefaultStepDefinitions.the_response_should_contain(String)
    And the response should contain variable "{@ObjectId|localrepo|HEAD:Points}" # DefaultStepDefinitions.checkResponseTextContains(String)

  Scenario: Show general help, containing only porcelain commands # Help.feature:6
    Given I have a repository                                     # DefaultStepDefinitions.I_have_a_repository()
    When I run the command "help"                                 # DefaultStepDefinitions.I_run_the_command_X(String)
    Then the response should contain "commit"                     # DefaultStepDefinitions.the_response_should_contain(String)
    And the response should not contain "cat-object"              # DefaultStepDefinitions.the_response_should_not_contain(String)
    And the response should not contain "ls-tree"                 # DefaultStepDefinitions.the_response_should_not_contain(String)

4 Scenarios (4 passed)
23 Steps (23 passed)
0m6.336s

Tests run: 27, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.064 sec - in org.locationtech.geogig.cli.test.functional.RunGenralFunctionalTest
[main] INFO org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions - 'Set a pre-commit hook and perform a valid commit': Using URIBuilder DefaultTestRepoURIBuilder

  Scenario: Set a pre-commit hook and perform a wrong commit                       # Hooks.feature:6
    Given I have a repository                                                      # DefaultStepDefinitions.I_have_a_repository()
    And I stage 6 features                                                         # DefaultStepDefinitions.I_stage_6_features()
    And I set up a hook                                                            # DefaultStepDefinitions.I_set_up_a_hook()
    When I run the command "commit -m Test"                                        # DefaultStepDefinitions.I_run_the_command_X(String)
    Then it should exit with non-zero exit code                                    # DefaultStepDefinitions.it_should_exit_with_non_zero_exit_code()
    And the response should contain "Commit messages must have at least 5 letters" # DefaultStepDefinitions.the_response_should_contain(String)
[main] INFO org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions - 'Try to clone with too many parameters': Using URIBuilder DefaultTestRepoURIBuilder

  Scenario: Try to clone into the current directory                           # Clone.feature:12
    Given I am in an empty directory                                          # DefaultStepDefinitions.I_am_in_an_empty_directory()
    And there is a remote repository                                          # DefaultStepDefinitions.there_is_a_remote_repository()
    When I run the command "clone ${remoterepo} ."                            # DefaultStepDefinitions.I_run_the_command_X(String)
    Then it should answer "Cannot clone into your current working directory." # DefaultStepDefinitions.it_should_answer_exactly(String)
    And it should exit with non-zero exit code                                # DefaultStepDefinitions.it_should_exit_with_non_zero_exit_code()
[main] INFO org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions - 'Try to add features to the index': Using URIBuilder DefaultTestRepoURIBuilder
[main] INFO org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions - 'Try to clone a remote repository': Using URIBuilder DefaultTestRepoURIBuilder

  Scenario: Try to add a conflicted feature                                     # Add.feature:6
    Given I have a repository                                                   # DefaultStepDefinitions.I_have_a_repository()
    And I have conflicting branches                                             # DefaultStepDefinitions.I_have_conflicting_branches()
    And I run the command "merge branch1"                                       # DefaultStepDefinitions.I_run_the_command_X(String)
    When I run the command "add Points/Points.1"                                # DefaultStepDefinitions.I_run_the_command_X(String)
    Then the response should contain "1 features and 1 trees staged for commit" # DefaultStepDefinitions.the_response_should_contain(String)
    And it should exit with zero exit code                                      # DefaultStepDefinitions.it_should_exit_with_zero_exit_code()
    When I run the command "conflicts"                                          # DefaultStepDefinitions.I_run_the_command_X(String)
    Then the response should contain "No elements need merging"                 # DefaultStepDefinitions.the_response_should_contain(String)

  Scenario: Try to clone with too many parameters             # Clone.feature:19
    Given I am in an empty directory                          # DefaultStepDefinitions.I_am_in_an_empty_directory()
    When I run the command "clone repository directory extra" # DefaultStepDefinitions.I_run_the_command_X(String)
    Then it should answer "Too many arguments provided."      # DefaultStepDefinitions.it_should_answer_exactly(String)
    And it should exit with non-zero exit code                # DefaultStepDefinitions.it_should_exit_with_non_zero_exit_code()
[main] INFO org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions - 'Rebasing a branch generates indexes for each rebased commit': Using URIBuilder DefaultTestRepoURIBuilder
[main] INFO org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions - 'Try to add a specific feature type to the index': Using URIBuilder DefaultTestRepoURIBuilder
[main] INFO org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions - 'Try to show the content of a feature that does not exist': Using URIBuilder DefaultTestRepoURIBuilder

  Scenario: Merging updates the index                                            # AutomaticIndexUpdating.feature:21
    Given I have a repository                                                    # DefaultStepDefinitions.I_have_a_repository()
    And I have several branches                                                  # DefaultStepDefinitions.I_have_several_branches()
    And I run the command "index create --tree Points"                           # DefaultStepDefinitions.I_run_the_command_X(String)
    And the repository's "HEAD:Points" index should have the following features: # DefaultStepDefinitions.verifyIndexContents(String,DataTable)
    When I run the command "merge branch1 -m MergeMessage"                       # DefaultStepDefinitions.I_run_the_command_X(String)
    Then the response should contain "2 features added"                          # DefaultStepDefinitions.the_response_should_contain(String)
    And the repository's "HEAD:Points" index should have the following features: # DefaultStepDefinitions.verifyIndexContents(String,DataTable)

  Scenario: Try to add features to the index                                    # Add.feature:16
    Given I have a repository                                                   # DefaultStepDefinitions.I_have_a_repository()
    And I have unstaged "points1"                                               # DefaultStepDefinitions.I_have_unstaged(String)
    And I have unstaged "points2"                                               # DefaultStepDefinitions.I_have_unstaged(String)
    And I have unstaged "lines1"                                                # DefaultStepDefinitions.I_have_unstaged(String)
    When I run the command "add"                                                # DefaultStepDefinitions.I_run_the_command_X(String)
    Then the response should contain "3 features and 2 trees staged for commit" # DefaultStepDefinitions.the_response_should_contain(String)

  Scenario: Try to show the content of a feature.                                         # Cat.feature:16
    Given I have a repository                                                             # DefaultStepDefinitions.I_have_a_repository()
    And I stage 6 features                                                                # DefaultStepDefinitions.I_stage_6_features()
    When I run the command "commit -m TestCommit"                                         # DefaultStepDefinitions.I_run_the_command_X(String)
    When I run the command "cat HEAD:Points/Points.1"                                     # DefaultStepDefinitions.I_run_the_command_X(String)
    Then the response should contain "1000"                                               # DefaultStepDefinitions.the_response_should_contain(String)
    And the response should contain "POINT (1 1)"                                         # DefaultStepDefinitions.the_response_should_contain(String)
    And the response should contain "StringProp1_1"                                       # DefaultStepDefinitions.the_response_should_contain(String)
    And the response should contain variable "{@ObjectId|localrepo|HEAD:Points/Points.1}" # DefaultStepDefinitions.checkResponseTextContains(String)
[main] INFO org.locationtech.geogig.hooks.Scripting - Running jvm script /opt/public/hipp/ramdisk/geogig/junit9128111046043881012/data/localrepo/.geogig/hooks/pre_commit.js
[main] INFO org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions - 'Try to show the content of a feature in the working tree.': Using URIBuilder DefaultTestRepoURIBuilder

  Scenario: Set a pre-commit hook and perform a valid commit                           # Hooks.feature:14
    Given I have a repository                                                          # DefaultStepDefinitions.I_have_a_repository()
    And I stage 6 features                                                             # DefaultStepDefinitions.I_stage_6_features()
    And I set up a hook                                                                # DefaultStepDefinitions.I_set_up_a_hook()
    When I run the command "commit -m LongerMessage "                                  # DefaultStepDefinitions.I_run_the_command_X(String)
    Then it should exit with zero exit code                                            # DefaultStepDefinitions.it_should_exit_with_zero_exit_code()
    And the response should not contain "Commit messages must have at least 5 letters" # DefaultStepDefinitions.the_response_should_not_contain(String)
    And the response should contain "6 features added"                                 # DefaultStepDefinitions.the_response_should_contain(String)

2 Scenarios (2 passed)
13 Steps (13 passed)
0m7.875s

Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.511 sec - in org.locationtech.geogig.cli.test.functional.RunHooksFunctionalTest

  Scenario: Try to show the content of a feature that does not exist        # Cat.feature:26
    Given I have a repository                                               # DefaultStepDefinitions.I_have_a_repository()
    When I run the command "cat WORK_HEAD:Points/Points.1"                  # DefaultStepDefinitions.I_run_the_command_X(String)
    Then it should exit with non-zero exit code                             # DefaultStepDefinitions.it_should_exit_with_non_zero_exit_code()
    And the response should contain "refspec did not resolve to any object" # DefaultStepDefinitions.the_response_should_contain(String)
[main] INFO org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions - 'Try to add a using too many parameters': Using URIBuilder DefaultTestRepoURIBuilder

  Scenario: Try to add a specific feature type to the index                     # Add.feature:24
    Given I have a repository                                                   # DefaultStepDefinitions.I_have_a_repository()
    And I have unstaged "points1"                                               # DefaultStepDefinitions.I_have_unstaged(String)
    And I have unstaged "points2"                                               # DefaultStepDefinitions.I_have_unstaged(String)
    And I have unstaged "lines1"                                                # DefaultStepDefinitions.I_have_unstaged(String)
    When I run the command "add Points"                                         # DefaultStepDefinitions.I_run_the_command_X(String)
    Then the response should contain "2 features and 1 trees staged for commit" # DefaultStepDefinitions.the_response_should_contain(String)
[main] INFO org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions - 'Try to add a specific feature to the index': Using URIBuilder DefaultTestRepoURIBuilder
[main] INFO org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions - 'Try to show the content of HEAD.': Using URIBuilder DefaultTestRepoURIBuilder

  Scenario: Try to add a using too many parameters                            # Add.feature:32
    Given I have a repository                                                 # DefaultStepDefinitions.I_have_a_repository()
    And I have unstaged "points1"                                             # DefaultStepDefinitions.I_have_unstaged(String)
    When I run the command "add Points Lines"                                 # DefaultStepDefinitions.I_run_the_command_X(String)
    Then the response should contain "Only a single path is supported so far" # DefaultStepDefinitions.the_response_should_contain(String)
    And it should exit with non-zero exit code                                # DefaultStepDefinitions.it_should_exit_with_non_zero_exit_code()

  Scenario: Try to show the content of a feature in the working tree.                          # Cat.feature:32
    Given I have a repository                                                                  # DefaultStepDefinitions.I_have_a_repository()
    And I have 6 unstaged features                                                             # DefaultStepDefinitions.I_have_6_unstaged_features()
    When I run the command "cat WORK_HEAD:Points/Points.1"                                     # DefaultStepDefinitions.I_run_the_command_X(String)
    Then the response should contain "1000"                                                    # DefaultStepDefinitions.the_response_should_contain(String)
    And the response should contain "POINT (1 1)"                                              # DefaultStepDefinitions.the_response_should_contain(String)
    And the response should contain "StringProp1_1"                                            # DefaultStepDefinitions.the_response_should_contain(String)
    And the response should contain variable "{@ObjectId|localrepo|WORK_HEAD:Points/Points.1}" # DefaultStepDefinitions.checkResponseTextContains(String)
[main] INFO org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions - 'Cherry-picking a commit updates the index': Using URIBuilder DefaultTestRepoURIBuilder
[main] INFO org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions - 'Try to clone a remote repository with blank spaces': Using URIBuilder DefaultTestRepoURIBuilder

  Scenario: Rebasing a branch generates indexes for each rebased commit            # AutomaticIndexUpdating.feature:36
    Given I have a repository                                                      # DefaultStepDefinitions.I_have_a_repository()
    And I have several branches                                                    # DefaultStepDefinitions.I_have_several_branches()
    And I run the command "index create --tree Points"                             # DefaultStepDefinitions.I_run_the_command_X(String)
    And the repository's "HEAD:Points" index should have the following features:   # DefaultStepDefinitions.verifyIndexContents(String,DataTable)
    When I run the command "rebase master branch1"                                 # DefaultStepDefinitions.I_run_the_command_X(String)
    Then the repository's "HEAD:Points" index should have the following features:  # DefaultStepDefinitions.verifyIndexContents(String,DataTable)
    And the repository's "HEAD~1:Points" index should have the following features: # DefaultStepDefinitions.verifyIndexContents(String,DataTable)

  Scenario: Try to clone a remote repository                                     # Clone.feature:25
    Given I am in an empty directory                                             # DefaultStepDefinitions.I_am_in_an_empty_directory()
    And there is a remote repository                                             # DefaultStepDefinitions.there_is_a_remote_repository()
    When I run the command "clone ${remoterepo} ${repoURI}"                      # DefaultStepDefinitions.I_run_the_command_X(String)
    Then the response should contain "Cloning into '${repoURI}'..."              # DefaultStepDefinitions.the_response_should_contain(String)
    And the response should contain "Done."                                      # DefaultStepDefinitions.the_response_should_contain(String)
    When I run the command "log"                                                 # DefaultStepDefinitions.I_run_the_command_X(String)
    Then the response should contain "Commit5"                                   # DefaultStepDefinitions.the_response_should_contain(String)
    And the response should contain "Commit4"                                    # DefaultStepDefinitions.the_response_should_contain(String)
    And the response should contain variable "{@ObjectId|localrepo|master}"      # DefaultStepDefinitions.checkResponseTextContains(String)
    And the response should not contain "Commit3"                                # DefaultStepDefinitions.the_response_should_not_contain(String)
    And the response should not contain "Commit2"                                # DefaultStepDefinitions.the_response_should_not_contain(String)
    And the response should not contain variable "{@ObjectId|localrepo|branch1}" # DefaultStepDefinitions.checkResponseTextDoesNotContain(String)
    And the response should contain "Commit1"                                    # DefaultStepDefinitions.the_response_should_contain(String)
[main] INFO org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions - 'Try to add an empty feature type': Using URIBuilder DefaultTestRepoURIBuilder

  Scenario: Try to add a specific feature to the index                          # Add.feature:39
    Given I have a repository                                                   # DefaultStepDefinitions.I_have_a_repository()
    And I have unstaged "points1"                                               # DefaultStepDefinitions.I_have_unstaged(String)
    And I have unstaged "points2"                                               # DefaultStepDefinitions.I_have_unstaged(String)
    And I have unstaged "lines1"                                                # DefaultStepDefinitions.I_have_unstaged(String)
    When I run the command "add Points/Points.1"                                # DefaultStepDefinitions.I_run_the_command_X(String)
    Then the response should contain "1 features and 1 trees staged for commit" # DefaultStepDefinitions.the_response_should_contain(String)
[main] INFO org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions - 'Try to add an empty feature type to an unclean index': Using URIBuilder DefaultTestRepoURIBuilder

  Scenario: Try to add an empty feature type                                    # Add.feature:47
    Given I have a repository                                                   # DefaultStepDefinitions.I_have_a_repository()
    And I have unstaged an empty feature type                                   # DefaultStepDefinitions.I_have_unstaged_an_empty_feature_type()
    When I run the command "add"                                                # DefaultStepDefinitions.I_run_the_command_X(String)
    Then the response should contain "0 features and 1 trees staged for commit" # DefaultStepDefinitions.the_response_should_contain(String)
[main] INFO org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions - 'Try show the binary content of HEAD': Using URIBuilder DefaultTestRepoURIBuilder

  Scenario: Try to show the content of HEAD.              # Cat.feature:41
    Given I have a repository                             # DefaultStepDefinitions.I_have_a_repository()
    And I stage 6 features                                # DefaultStepDefinitions.I_stage_6_features()
    When I run the command "commit -m TestCommit"         # DefaultStepDefinitions.I_run_the_command_X(String)
    When I run the command "cat HEAD"                     # DefaultStepDefinitions.I_run_the_command_X(String)
    Then the response should contain "COMMIT"             # DefaultStepDefinitions.the_response_should_contain(String)
    And the response should contain "JohnDoe@example.com" # DefaultStepDefinitions.the_response_should_contain(String)
    And the response should contain "TestCommit"          # DefaultStepDefinitions.the_response_should_contain(String)
[main] INFO org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions - 'Try to add from an empty directory': Using URIBuilder DefaultTestRepoURIBuilder

  Scenario: Try to add an empty feature type to an unclean index                # Add.feature:53
    Given I have a repository                                                   # DefaultStepDefinitions.I_have_a_repository()
    And I have unstaged "lines1"                                                # DefaultStepDefinitions.I_have_unstaged(String)
    And I run the command "add"                                                 # DefaultStepDefinitions.I_run_the_command_X(String)
    And I have unstaged an empty feature type                                   # DefaultStepDefinitions.I_have_unstaged_an_empty_feature_type()
    When I run the command "add"                                                # DefaultStepDefinitions.I_run_the_command_X(String)
    Then the response should contain "1 features and 2 trees staged for commit" # DefaultStepDefinitions.the_response_should_contain(String)
[main] INFO org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions - 'Creating a branch updates the index': Using URIBuilder DefaultTestRepoURIBuilder
[main] INFO org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions - 'Try to add when no changes have been made': Using URIBuilder DefaultTestRepoURIBuilder

  Scenario: Try to add from an empty directory                       # Add.feature:61
    Given I am in an empty directory                                 # DefaultStepDefinitions.I_am_in_an_empty_directory()
    When I run the command "add"                                     # DefaultStepDefinitions.I_run_the_command_X(String)
    Then the response should start with "Not in a geogig repository" # DefaultStepDefinitions.the_response_should_start_with(String)
    And it should exit with non-zero exit code                       # DefaultStepDefinitions.it_should_exit_with_non_zero_exit_code()

  Scenario: Cherry-picking a commit updates the index                             # AutomaticIndexUpdating.feature:54
    Given I have a repository                                                     # DefaultStepDefinitions.I_have_a_repository()
    And I have several branches                                                   # DefaultStepDefinitions.I_have_several_branches()
    And I run the command "index create --tree Points"                            # DefaultStepDefinitions.I_run_the_command_X(String)
    And the repository's "HEAD:Points" index should have the following features:  # DefaultStepDefinitions.verifyIndexContents(String,DataTable)
    When I run the command "cherry-pick branch1"                                  # DefaultStepDefinitions.I_run_the_command_X(String)
    Then the repository's "HEAD:Points" index should have the following features: # DefaultStepDefinitions.verifyIndexContents(String,DataTable)
[main] INFO org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions - 'Try to clone a remote repository that does not exist': Using URIBuilder DefaultTestRepoURIBuilder
[main] INFO org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions - 'Try to just stage a modified feature with add update': Using URIBuilder DefaultTestRepoURIBuilder

  #annotate with FileSystemReposOnly because other URI providers don't allow spaces
  @FileSystemReposOnly
  Scenario: Try to clone a remote repository with blank spaces              # Clone.feature:42
    Given I am in an empty directory                                        # DefaultStepDefinitions.I_am_in_an_empty_directory()
    And there is a remote repository with blank spaces                      # DefaultStepDefinitions.there_is_a_remote_repository_with_blank_spaces()
    When I run the command "clone "remote repo" localrepo"                  # DefaultStepDefinitions.I_run_the_command_X(String)
    Then the response should contain "Cloning into 'localrepo'..."          # DefaultStepDefinitions.the_response_should_contain(String)
    And the response should contain "Done."                                 # DefaultStepDefinitions.the_response_should_contain(String)
    When I run the command "log"                                            # DefaultStepDefinitions.I_run_the_command_X(String)
    Then the response should contain "Commit5"                              # DefaultStepDefinitions.the_response_should_contain(String)
    And the response should contain "Commit4"                               # DefaultStepDefinitions.the_response_should_contain(String)
    And the response should not contain "Commit3"                           # DefaultStepDefinitions.the_response_should_not_contain(String)
    And the response should not contain "Commit2"                           # DefaultStepDefinitions.the_response_should_not_contain(String)
    And the response should contain "Commit1"                               # DefaultStepDefinitions.the_response_should_contain(String)
    And the response should contain variable "{@ObjectId|localrepo|HEAD~2}" # DefaultStepDefinitions.checkResponseTextContains(String)
commitHMO���zJ���|W9John DoeJohnDoe@example.com]-�O��$FJohn DoeJohnDoe@example.com]-�O��$F
TestCommit
  Scenario: Try to add when no changes have been made       # Add.feature:67
    Given I have a repository                               # DefaultStepDefinitions.I_have_a_repository()
    When I run the command "add"                            # DefaultStepDefinitions.I_run_the_command_X(String)
    Then the response should contain "No unstaged elements" # DefaultStepDefinitions.the_response_should_contain(String)
[main] INFO org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions - 'Try to make a shallow clone of a remote repository': Using URIBuilder DefaultTestRepoURIBuilder

  Scenario: Try show the binary content of HEAD   # Cat.feature:50
    Given I have a repository                     # DefaultStepDefinitions.I_have_a_repository()
    And I stage 6 features                        # DefaultStepDefinitions.I_stage_6_features()
    When I run the command "commit -m TestCommit" # DefaultStepDefinitions.I_run_the_command_X(String)
    When I run the command "cat --binary HEAD"    # DefaultStepDefinitions.I_run_the_command_X(String)
    Then the response should contain 1 lines      # DefaultStepDefinitions.the_response_should_contain_x_lines(int)
Feature: "diff-tree" command
    In order to know changes made in a repository
    As a Geogig User
    I want to see the existing differences between trees
[main] INFO org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions - 'Show diff between working tree and index': Using URIBuilder DefaultTestRepoURIBuilder

  Scenario: Try to clone a remote repository that does not exist                  # Clone.feature:56
    Given I am in an empty directory                                              # DefaultStepDefinitions.I_am_in_an_empty_directory()
    When I run the command "clone nonexistentrepo ${localrepo}"                   # DefaultStepDefinitions.I_run_the_command_X(String)
    Then the response should contain "nonexistentrepo is not a geogig repository" # DefaultStepDefinitions.the_response_should_contain(String)
    And the repository at "${localrepo}" shall not exist                          # DefaultStepDefinitions.the_repository_at_shall_not_exist(String)

  Scenario: Creating a branch updates the index                                       # AutomaticIndexUpdating.feature:67
    Given I have a repository                                                         # DefaultStepDefinitions.I_have_a_repository()
    And I have several commits                                                        # DefaultStepDefinitions.I_have_several_commits()
    And I run the command "index create --tree Points"                                # DefaultStepDefinitions.I_run_the_command_X(String)
    Then the repository's "HEAD:Points" index should have the following features:     # DefaultStepDefinitions.verifyIndexContents(String,DataTable)
    And the repository's "HEAD~3" should not have an index                            # DefaultStepDefinitions.noIndexAtCommit(String)
    When I run the command "branch newBranch HEAD~3"                                  # DefaultStepDefinitions.I_run_the_command_X(String)
    Then the repository's "HEAD~3:Points" index should have the following features:   # DefaultStepDefinitions.verifyIndexContents(String,DataTable)
    And the repository's "newBranch:Points" index should have the following features: # DefaultStepDefinitions.verifyIndexContents(String,DataTable)
Feature: "index create" command
    In order to improve query performance on a feature tree
    As a Geogig User
    I want to create an index on an attribute of the feature tree
[main] INFO org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions - 'Try to create an index': Using URIBuilder DefaultTestRepoURIBuilder

  Scenario: Try to just stage a modified feature with add update                # Add.feature:72
    Given I have a repository                                                   # DefaultStepDefinitions.I_have_a_repository()
    And I have staged "points1"                                                 # DefaultStepDefinitions.I_have_staged(String)
    And I have staged "points2"                                                 # DefaultStepDefinitions.I_have_staged(String)
    And I have unstaged "points1_modified"                                      # DefaultStepDefinitions.I_have_unstaged(String)
    And I have unstaged "lines1"                                                # DefaultStepDefinitions.I_have_unstaged(String)
    When I run the command "add --update"                                       # DefaultStepDefinitions.I_run_the_command_X(String)
    Then the response should contain "2 features and 1 trees staged for commit" # DefaultStepDefinitions.the_response_should_contain(String)
    When I run the command "status"                                             # DefaultStepDefinitions.I_run_the_command_X(String)
    Then the response should contain "Changes to be committed"                  # DefaultStepDefinitions.the_response_should_contain(String)
    And the response should contain "3 total"                                   # DefaultStepDefinitions.the_response_should_contain(String)
    And the response should contain "Changes not staged for commit"             # DefaultStepDefinitions.the_response_should_contain(String)
    And the response should contain "2 total"                                   # DefaultStepDefinitions.the_response_should_contain(String)
Feature: "apply" command
    In order to apply changes stored in a patch file
    As a Geogig User
    I want to apply a patch to the repository
[main] INFO org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions - 'Check if a correct patch can be applied': Using URIBuilder DefaultTestRepoURIBuilder
[main] INFO org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions - 'Show diff between working tree and index, omitting index refspec': Using URIBuilder DefaultTestRepoURIBuilder

  Scenario: Show diff between working tree and index        # DiffTree.feature:6
    Given I have a repository                               # DefaultStepDefinitions.I_have_a_repository()
    And I stage 6 features                                  # DefaultStepDefinitions.I_stage_6_features()
    And I modify a feature                                  # DefaultStepDefinitions.I_modify_a_feature()
    When I run the command "diff-tree WORK_HEAD STAGE_HEAD" # DefaultStepDefinitions.I_run_the_command_X(String)
    Then the response should contain "Points/Points.1"      # DefaultStepDefinitions.the_response_should_contain(String)
    And the response should contain 1 lines                 # DefaultStepDefinitions.the_response_should_contain_x_lines(int)
[main] INFO org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions - 'Check if a wrong patch can be applied': Using URIBuilder DefaultTestRepoURIBuilder

  Scenario: Check if a correct patch can be applied                 # Apply.feature:6
    Given I have a repository                                       # DefaultStepDefinitions.I_have_a_repository()
    And I have 6 unstaged features                                  # DefaultStepDefinitions.I_have_6_unstaged_features()
    And I have a patch file                                         # DefaultStepDefinitions.I_have_a_patch_file()
    When I run the command "apply --check ${currentdir}/test.patch" # DefaultStepDefinitions.I_run_the_command_X(String)
    Then the response should contain "Patch can be applied"         # DefaultStepDefinitions.the_response_should_contain(String)
Started
Started calculate disk usage of build
Finished Calculation of disk usage of build in 0 seconds
Started calculate disk usage of workspace
Finished Calculation of disk usage of workspace in 0 seconds
Finished: ABORTED