[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[geogig-dev] Build failed in Jenkins: geogig-master-nightly #424
|
See <https://build.geoserver.org/job/geogig-master-nightly/424/display/redirect>
------------------------------------------
[...truncated 996.74 KB...]
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at cucumber.api.junit.Cucumber.run(Cucumber.java:98)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
Depth operations can only be used on a shallow clone.
Scenario: Try to pull a certain depth from origin # Pull.feature:35
Given I have a repository with a remote # DefaultStepDefinitions.I_have_a_repository_with_a_remote()
When I run the command "pull origin --depth 3" # DefaultStepDefinitions.I_run_the_command_X(String)
Then the response should contain "Depth operations can only be used on a shallow clone." # DefaultStepDefinitions.the_response_should_contain(String)
Feature: "push" command
In order to share my changes with a remote repository
As a Geogig User
I want to push my commits to that remote
[main] INFO org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions - 'Try to push from an empty directory': Using URIBuilder DefaultTestRepoURIBuilder
[main] INFO org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions - 'Try to push with no changes': Using URIBuilder DefaultTestRepoURIBuilder
Scenario: Try to push from an empty directory # Push.feature:6
Given I am in an empty directory # DefaultStepDefinitions.I_am_in_an_empty_directory()
When I run the command "push origin" # 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)
Resolving missing commits... 100Nothing to push.
[main] INFO org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions - 'Try to push to origin': Using URIBuilder DefaultTestRepoURIBuilder
Scenario: Try to push with no changes # Push.feature:11
Given I clone a remote repository # DefaultStepDefinitions.i_clone_a_remote_repository()
When I run the command "push" # DefaultStepDefinitions.I_run_the_command_X(String)
Then the response should contain "Nothing to push." # DefaultStepDefinitions.the_response_should_contain(String)
0%100%[e44e5d3a58f659839e3d60bd6245561dfb83eea1] Commit6Committed, counting objects...0 features added, 1 changed, 0 deleted.
Resolving missing commits... 1Saving missing revision objects changes for refs/heads/masterinserted 4/5: commits: 1, trees: 2, features: 1, ftypes: 1Objects inserted: 4, repeated: 1, time: 18.17 msinserted 4/5: commits: 1, trees: 2, features: 1, ftypes: 1
[main] INFO org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions - 'Try to push a symbolic reference': Using URIBuilder DefaultTestRepoURIBuilder
Scenario: Try to push to origin # Push.feature:16
Given I clone a remote repository # DefaultStepDefinitions.i_clone_a_remote_repository()
When I modify and add a feature # DefaultStepDefinitions.I_modify_and_add_a_feature()
And I run the command "commit -m Commit6" # DefaultStepDefinitions.I_run_the_command_X(String)
Then the response should contain "Committed, counting objects" # DefaultStepDefinitions.the_response_should_contain(String)
And I run the command "push" # DefaultStepDefinitions.I_run_the_command_X(String)
Then the response should contain "Applying changes of refs/heads/master" # DefaultStepDefinitions.the_response_should_contain(String)
java.lang.AssertionError: 'Resolving missing commits... 1 Saving missing revision objects changes for refs/heads/masterinserted 4/5: commits: 1, trees: 2, features: 1, ftypes: 1 Objects inserted: 4, repeated: 1, time: 18.17 msinserted 4/5: commits: 1, trees: 2, features: 1, ftypes: 1 ' does not contain 'Applying changes of refs/heads/master'
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.assertTrue(Assert.java:41)
at org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions.the_response_should_contain(DefaultStepDefinitions.java:245)
at ✽.Then the response should contain "Applying changes of refs/heads/master"(Push.feature:22)
0%100%[88bd8f21153820439c8f4679ef17d8d47b8f307a] Commit6Committed, counting objects...0 features added, 1 changed, 0 deleted.
[main] INFO org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions - 'Try to push when the remote has changes': Using URIBuilder DefaultTestRepoURIBuilder
Scenario: Try to push a symbolic reference # Push.feature:24
Given I clone a remote repository # DefaultStepDefinitions.i_clone_a_remote_repository()
When I modify and add a feature # DefaultStepDefinitions.I_modify_and_add_a_feature()
And I run the command "commit -m Commit6" # DefaultStepDefinitions.I_run_the_command_X(String)
Then the response should contain "Committed, counting objects" # DefaultStepDefinitions.the_response_should_contain(String)
And I run the command "push origin HEAD" # DefaultStepDefinitions.I_run_the_command_X(String)
Then it should answer "Push failed: Cannot push to a symbolic reference" # DefaultStepDefinitions.it_should_answer_exactly(String)
0%100%[502e72c6920ea53c82796e8e339c4807ba73f66d] modifiedCommitted, counting objects...0 features added, 1 changed, 0 deleted.
Push failed: The remote repository has changes that would be lost in the event of a push.
Scenario: Try to push when the remote has changes # Push.feature:32
Given I clone a remote repository # DefaultStepDefinitions.i_clone_a_remote_repository()
And the remote repository has changes # DefaultStepDefinitions.the_remote_repository_has_changes()
And I modify and add a feature # DefaultStepDefinitions.I_modify_and_add_a_feature()
When I run the command "commit -m modified" # DefaultStepDefinitions.I_run_the_command_X(String)
Then the response should contain "1 changed" # DefaultStepDefinitions.the_response_should_contain(String)
When I run the command "push" # DefaultStepDefinitions.I_run_the_command_X(String)
Then the response should contain "Push failed: The remote repository has changes" # DefaultStepDefinitions.the_response_should_contain(String)
Feature: "remote" command
In order to track changes from other repositories
As a Geogig User
I want to add and remove remotes for the current repository
[main] INFO org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions - 'Try to add and list remote from an empty directory': Using URIBuilder DefaultTestRepoURIBuilder
Not in a geogig repository: /mnt/memtmp/geogig-geoserver/junit3473960282774929849/data
[main] INFO org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions - 'Try to add and list a remote to the current repository': Using URIBuilder DefaultTestRepoURIBuilder
Scenario: Try to add and list remote from an empty directory # Remote.feature:6
Given I am in an empty directory # DefaultStepDefinitions.I_am_in_an_empty_directory()
When I run the command "remote add myremote http://myremote.com" # DefaultStepDefinitions.I_run_the_command_X(String)
Then the response should contain "Not in a geogig repository" # DefaultStepDefinitions.the_response_should_contain(String)
[main] INFO org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions - 'Try to add several remotes and list them': Using URIBuilder DefaultTestRepoURIBuilder
Scenario: Try to add and list a remote to the current repository # Remote.feature:11
Given I have a repository # DefaultStepDefinitions.I_have_a_repository()
When I run the command "remote add myremote http://myremote.com" # DefaultStepDefinitions.I_run_the_command_X(String)
And I run the command "remote list" # DefaultStepDefinitions.I_run_the_command_X(String)
Then it should answer "myremote" # DefaultStepDefinitions.it_should_answer_exactly(String)
myremotemyremote2
myremotemyremote2
[main] INFO org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions - 'Try to add a remote that already exists': Using URIBuilder DefaultTestRepoURIBuilder
Scenario: Try to add several remotes and list them # Remote.feature:17
Given I have a repository # DefaultStepDefinitions.I_have_a_repository()
When I run the command "remote add myremote http://myremote.com" # DefaultStepDefinitions.I_run_the_command_X(String)
And I run the command "remote add myremote2 http://myremote2.org" # DefaultStepDefinitions.I_run_the_command_X(String)
And I run the command "remote list" # DefaultStepDefinitions.I_run_the_command_X(String)
Then the response should contain "myremote" # DefaultStepDefinitions.the_response_should_contain(String)
And the response should contain "myremote2" # DefaultStepDefinitions.the_response_should_contain(String)
[main] INFO org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions - 'Try to add a remote and list with verbose mode': Using URIBuilder DefaultTestRepoURIBuilder
Scenario: Try to add a remote that already exists # Remote.feature:25
Given I have a repository # DefaultStepDefinitions.I_have_a_repository()
When I run the command "remote add myremote http://myremote.com" # DefaultStepDefinitions.I_run_the_command_X(String)
And I run the command "remote add myremote http://myremote2.org" # DefaultStepDefinitions.I_run_the_command_X(String)
Then it should answer "Could not add, a remote called 'myremote' already exists." # DefaultStepDefinitions.it_should_answer_exactly(String)
And it should exit with non-zero exit code # DefaultStepDefinitions.it_should_exit_with_non_zero_exit_code()
myremote http://myremote.com (fetch)myremote http://myremote.com (push)
myremote http://myremote.com (fetch)myremote http://myremote.com (push)
[main] INFO org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions - 'Try to add a remote that tracks a specific branch': Using URIBuilder DefaultTestRepoURIBuilder
Scenario: Try to add a remote and list with verbose mode # Remote.feature:32
Given I have a repository # DefaultStepDefinitions.I_have_a_repository()
When I run the command "remote add myremote http://myremote.com" # DefaultStepDefinitions.I_run_the_command_X(String)
And I run the command "remote list -v" # DefaultStepDefinitions.I_run_the_command_X(String)
Then the response should contain "myremote http://myremote.com (fetch)" # DefaultStepDefinitions.the_response_should_contain(String)
And the response should contain "myremote http://myremote.com (push)" # DefaultStepDefinitions.the_response_should_contain(String)
[main] INFO org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions - 'Try to add a remote that tracks all branches': Using URIBuilder DefaultTestRepoURIBuilder
Scenario: Try to add a remote that tracks a specific branch # Remote.feature:39
Given I have a repository # DefaultStepDefinitions.I_have_a_repository()
When I run the command "remote add -t branch myremote http://myremote.com" # DefaultStepDefinitions.I_run_the_command_X(String)
And I run the command "config remote.myremote.fetch" # DefaultStepDefinitions.I_run_the_command_X(String)
Then it should answer "+refs/heads/branch:refs/remotes/myremote/branch" # DefaultStepDefinitions.it_should_answer_exactly(String)
[main] INFO org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions - 'Try to add, remove, and list a remote': Using URIBuilder DefaultTestRepoURIBuilder
Scenario: Try to add a remote that tracks all branches # Remote.feature:45
Given I have a repository # DefaultStepDefinitions.I_have_a_repository()
When I run the command "remote add myremote http://myremote.com" # DefaultStepDefinitions.I_run_the_command_X(String)
And I run the command "config remote.myremote.fetch" # DefaultStepDefinitions.I_run_the_command_X(String)
Then it should answer "+refs/heads/*:refs/remotes/myremote/*;+refs/tags/*:refs/tags/*" # DefaultStepDefinitions.it_should_answer_exactly(String)
[main] INFO org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions - 'Try to remove a remote from an empty repository': Using URIBuilder DefaultTestRepoURIBuilder
Scenario: Try to add, remove, and list a remote # Remote.feature:51
Given I have a repository # DefaultStepDefinitions.I_have_a_repository()
When I run the command "remote add myremote http://myremote.com" # DefaultStepDefinitions.I_run_the_command_X(String)
And I run the command "remote rm myremote" # DefaultStepDefinitions.I_run_the_command_X(String)
And I run the command "remote list" # DefaultStepDefinitions.I_run_the_command_X(String)
Then it should answer "" # DefaultStepDefinitions.it_should_answer_exactly(String)
Not in a geogig repository: /mnt/memtmp/geogig-geoserver/junit530606658264091852/data
[main] INFO org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions - 'Try to remove a remote that doesn't exist': Using URIBuilder DefaultTestRepoURIBuilder
Scenario: Try to remove a remote from an empty repository # Remote.feature:58
Given I am in an empty directory # DefaultStepDefinitions.I_am_in_an_empty_directory()
When I run the command "remote rm myremote" # DefaultStepDefinitions.I_run_the_command_X(String)
Then the response should contain "Not in a geogig repository" # DefaultStepDefinitions.the_response_should_contain(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 list remotes from an empty repository': Using URIBuilder DefaultTestRepoURIBuilder
Scenario: Try to remove a remote that doesn't exist # Remote.feature:64
Given I have a repository # DefaultStepDefinitions.I_have_a_repository()
When I run the command "remote rm myremote" # DefaultStepDefinitions.I_run_the_command_X(String)
Then it should answer "Could not find a remote called 'myremote'." # DefaultStepDefinitions.it_should_answer_exactly(String)
And it should exit with non-zero exit code # DefaultStepDefinitions.it_should_exit_with_non_zero_exit_code()
Not in a geogig repository: /mnt/memtmp/geogig-geoserver/junit8850965118511316839/data
Scenario: Try to list remotes from an empty repository # Remote.feature:70
Given I am in an empty directory # DefaultStepDefinitions.I_am_in_an_empty_directory()
When I run the command "remote list" # DefaultStepDefinitions.I_run_the_command_X(String)
Then the response should contain "Not in a geogig repository" # DefaultStepDefinitions.the_response_should_contain(String)
And it should exit with non-zero exit code # DefaultStepDefinitions.it_should_exit_with_non_zero_exit_code()
Failed scenarios:
Push.feature:16 # Scenario: Try to push to origin
44 Scenarios (1 failed, 43 passed)
266 Steps (1 failed, 265 passed)
1m10.927s
java.lang.AssertionError: 'Resolving missing commits... 1Saving missing revision objects changes for refs/heads/masterinserted 4/5: commits: 1, trees: 2, features: 1, ftypes: 1Objects inserted: 4, repeated: 1, time: 18.17 msinserted 4/5: commits: 1, trees: 2, features: 1, ftypes: 1' does not contain 'Applying changes of refs/heads/master'
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.assertTrue(Assert.java:41)
at org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions.the_response_should_contain(DefaultStepDefinitions.java:245)
at ✽.Then the response should contain "Applying changes of refs/heads/master"(Push.feature:22)
Tests run: 310, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 72.665 sec <<< FAILURE! - in org.locationtech.geogig.cli.test.functional.RunRemoteFunctionalTest
Then the response should contain "Applying changes of refs/heads/master"(Scenario: Try to push to origin) Time elapsed: 0.006 sec <<< FAILURE!
java.lang.AssertionError: 'Resolving missing commits... 1Saving missing revision objects changes for refs/heads/masterinserted 4/5: commits: 1, trees: 2, features: 1, ftypes: 1Objects inserted: 4, repeated: 1, time: 18.17 msinserted 4/5: commits: 1, trees: 2, features: 1, ftypes: 1' does not contain 'Applying changes of refs/heads/master'
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.assertTrue(Assert.java:41)
at org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions.the_response_should_contain(DefaultStepDefinitions.java:245)
at ✽.Then the response should contain "Applying changes of refs/heads/master"(Push.feature:22)
Scenario: Try to push to origin Time elapsed: 0.006 sec <<< FAILURE!
java.lang.AssertionError: 'Resolving missing commits... 1Saving missing revision objects changes for refs/heads/masterinserted 4/5: commits: 1, trees: 2, features: 1, ftypes: 1Objects inserted: 4, repeated: 1, time: 18.17 msinserted 4/5: commits: 1, trees: 2, features: 1, ftypes: 1' does not contain 'Applying changes of refs/heads/master'
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.assertTrue(Assert.java:41)
at org.locationtech.geogig.cli.test.functional.DefaultStepDefinitions.the_response_should_contain(DefaultStepDefinitions.java:245)
at ✽.Then the response should contain "Applying changes of refs/heads/master"(Push.feature:22)
Results :
Failed tests:
'Resolving missing commits... 1Saving missing revision objects changes for refs/heads/masterinserted 4/5: commits: 1, trees: 2, features: 1, ftypes: 1Objects inserted: 4, repeated: 1, time: 18.17 msinserted 4/5: commits: 1, trees: 2, features: 1, ftypes: 1' does not contain 'Applying changes of refs/heads/master'
'Resolving missing commits... 1Saving missing revision objects changes for refs/heads/masterinserted 4/5: commits: 1, trees: 2, features: 1, ftypes: 1Objects inserted: 4, repeated: 1, time: 18.17 msinserted 4/5: commits: 1, trees: 2, features: 1, ftypes: 1' does not contain 'Applying changes of refs/heads/master'
Tests run: 310, Failures: 2, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] GeoGig ............................................. SUCCESS [ 4.713 s]
[INFO] GeoGig Core API .................................... SUCCESS [ 14.324 s]
[INFO] GeoGig Core ........................................ SUCCESS [02:00 min]
[INFO] Replication and synchronization .................... SUCCESS [ 41.941 s]
[INFO] GeoGig DataStore Implementation .................... SUCCESS [03:07 min]
[INFO] Storage backends ................................... SUCCESS [ 2.870 s]
[INFO] RocksDB storage backend ............................ SUCCESS [ 50.113 s]
[INFO] GeoGig Command Line Interface ...................... SUCCESS [ 1.724 s]
[INFO] GeoGig Command Line Interface Core ................. SUCCESS [06:14 min]
[INFO] geogig-cli-remoting ................................ FAILURE [01:16 min]
[INFO] PostgreSQL Storage Backend ......................... SKIPPED
[INFO] GeoTools Extension ................................. SKIPPED
[INFO] GeoGig CLI GeoTools ................................ SKIPPED
[INFO] Web modules ........................................ SKIPPED
[INFO] GeoGig Web API ..................................... SKIPPED
[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: 14:35 min
[INFO] Finished at: 2018-09-18T11:59:39+00:00
[INFO] Final Memory: 100M/1529M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on project geogig-cli-remoting: There are test failures.
[ERROR]
[ERROR] Please refer to <https://build.geoserver.org/job/geogig-master-nightly/ws/src/cli/remoting/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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :geogig-cli-remoting
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