[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[geogig-dev] Build failed in Jenkins: geoserver-2.9.x-geogig-plugin #165
|
See <http://ares.boundlessgeo.com/jenkins/job/geoserver-2.9.x-geogig-plugin/165/>
------------------------------------------
[...truncated 3301 lines...]
When I call "PUT /repos/repo1/ls-tree" # WebAPICucumberHooks.callURL(String)
Then the response status should be '405' # WebAPICucumberHooks.checkStatusCode(int)
And the response allowed methods should be "GET" # WebAPICucumberHooks.checkResponseAllowedMethods(String)
Scenario: LsTree outside of a repository issues 404 "Not found" # features/commands/LsTree.feature:12
Given There is an empty multirepo server # WebAPICucumberHooks.setUpEmptyMultiRepo()
When I call "GET /repos/repo1/ls-tree" # WebAPICucumberHooks.callURL(String)
Then the response status should be '404' # WebAPICucumberHooks.checkStatusCode(int)
And the response ContentType should be "text/plain" # WebAPICucumberHooks.checkContentType(String)
And the response body should contain "Repository not found" # WebAPICucumberHooks.checkResponseTextContains(String)
Scenario: By default, LsTree lists the children of the root tree # features/commands/LsTree.feature:19
Given There is a default multirepo server # WebAPICucumberHooks.setUpDefaultMultiRepo()
When I call "GET /repos/repo1/ls-tree" # WebAPICucumberHooks.callURL(String)
Then the response status should be '200' # WebAPICucumberHooks.checkStatusCode(int)
And the xpath "/response/success/text()" equals "true" # WebAPICucumberHooks.checkXPathEquals(String,String)
And the xml response should contain "/response/node" 3 times # WebAPICucumberHooks.checkXPathCadinality(String,int)
And the response body should contain "Points" # WebAPICucumberHooks.checkResponseTextContains(String)
And the response body should contain "Lines" # WebAPICucumberHooks.checkResponseTextContains(String)
And the response body should contain "Polygons" # WebAPICucumberHooks.checkResponseTextContains(String)
Scenario: Supplying the onlyTree parameter to LsTree lists only trees # features/commands/LsTree.feature:29
Given There is a default multirepo server # WebAPICucumberHooks.setUpDefaultMultiRepo()
When I call "GET /repos/repo1/ls-tree?onlyTree=true&recursive=true" # WebAPICucumberHooks.callURL(String)
Then the response status should be '200' # WebAPICucumberHooks.checkStatusCode(int)
And the xpath "/response/success/text()" equals "true" # WebAPICucumberHooks.checkXPathEquals(String,String)
And the xml response should contain "/response/node" 3 times # WebAPICucumberHooks.checkXPathCadinality(String,int)
And the response body should contain "Points" # WebAPICucumberHooks.checkResponseTextContains(String)
And the response body should contain "Lines" # WebAPICucumberHooks.checkResponseTextContains(String)
And the response body should contain "Polygons" # WebAPICucumberHooks.checkResponseTextContains(String)
Scenario: Supplying the recursive parameter to LsTree lists all features # features/commands/LsTree.feature:39
Given There is a default multirepo server # WebAPICucumberHooks.setUpDefaultMultiRepo()
When I call "GET /repos/repo1/ls-tree?recursive=true" # WebAPICucumberHooks.callURL(String)
Then the response status should be '200' # WebAPICucumberHooks.checkStatusCode(int)
And the xpath "/response/success/text()" equals "true" # WebAPICucumberHooks.checkXPathEquals(String,String)
And the xml response should contain "/response/node" 9 times # WebAPICucumberHooks.checkXPathCadinality(String,int)
And the response body should contain "Point.1" # WebAPICucumberHooks.checkResponseTextContains(String)
And the response body should contain "Point.2" # WebAPICucumberHooks.checkResponseTextContains(String)
And the response body should contain "Point.3" # WebAPICucumberHooks.checkResponseTextContains(String)
And the response body should contain "Line.1" # WebAPICucumberHooks.checkResponseTextContains(String)
And the response body should contain "Line.2" # WebAPICucumberHooks.checkResponseTextContains(String)
And the response body should contain "Line.3" # WebAPICucumberHooks.checkResponseTextContains(String)
And the response body should contain "Polygon.1" # WebAPICucumberHooks.checkResponseTextContains(String)
And the response body should contain "Polygon.2" # WebAPICucumberHooks.checkResponseTextContains(String)
And the response body should contain "Polygon.3" # WebAPICucumberHooks.checkResponseTextContains(String)
Scenario: Supplying both the recursive and showTree parameters lists all trees and features # features/commands/LsTree.feature:55
Given There is a default multirepo server # WebAPICucumberHooks.setUpDefaultMultiRepo()
When I call "GET /repos/repo1/ls-tree?recursive=true&showTree=true" # WebAPICucumberHooks.callURL(String)
Then the response status should be '200' # WebAPICucumberHooks.checkStatusCode(int)
And the xpath "/response/success/text()" equals "true" # WebAPICucumberHooks.checkXPathEquals(String,String)
And the xml response should contain "/response/node" 12 times # WebAPICucumberHooks.checkXPathCadinality(String,int)
And the response body should contain "Points" # WebAPICucumberHooks.checkResponseTextContains(String)
And the response body should contain "Lines" # WebAPICucumberHooks.checkResponseTextContains(String)
And the response body should contain "Polygons" # WebAPICucumberHooks.checkResponseTextContains(String)
And the response body should contain "Point.1" # WebAPICucumberHooks.checkResponseTextContains(String)
And the response body should contain "Point.2" # WebAPICucumberHooks.checkResponseTextContains(String)
And the response body should contain "Point.3" # WebAPICucumberHooks.checkResponseTextContains(String)
And the response body should contain "Line.1" # WebAPICucumberHooks.checkResponseTextContains(String)
And the response body should contain "Line.2" # WebAPICucumberHooks.checkResponseTextContains(String)
And the response body should contain "Line.3" # WebAPICucumberHooks.checkResponseTextContains(String)
And the response body should contain "Polygon.1" # WebAPICucumberHooks.checkResponseTextContains(String)
And the response body should contain "Polygon.2" # WebAPICucumberHooks.checkResponseTextContains(String)
And the response body should contain "Polygon.3" # WebAPICucumberHooks.checkResponseTextContains(String)
Scenario: Providing a refspec lists the features of the tree it resolves to # features/commands/LsTree.feature:74
Given There is a default multirepo server # WebAPICucumberHooks.setUpDefaultMultiRepo()
When I call "GET /repos/repo1/ls-tree?recursive=true&path=branch1:Points" # WebAPICucumberHooks.callURL(String)
Then the response status should be '200' # WebAPICucumberHooks.checkStatusCode(int)
And the xpath "/response/success/text()" equals "true" # WebAPICucumberHooks.checkXPathEquals(String,String)
And the xml response should contain "/response/node" 2 times # WebAPICucumberHooks.checkXPathCadinality(String,int)
And the response body should contain "Point.1" # WebAPICucumberHooks.checkResponseTextContains(String)
And the response body should contain "Point.2" # WebAPICucumberHooks.checkResponseTextContains(String)
Scenario: Supplying the verbose parameter lists more information about each node # features/commands/LsTree.feature:83
Given There is a default multirepo server # WebAPICucumberHooks.setUpDefaultMultiRepo()
When I call "GET /repos/repo1/ls-tree?verbose=true" # WebAPICucumberHooks.callURL(String)
Then the response status should be '200' # WebAPICucumberHooks.checkStatusCode(int)
And the xpath "/response/success/text()" equals "true" # WebAPICucumberHooks.checkXPathEquals(String,String)
And the xml response should contain "/response/node" 3 times # WebAPICucumberHooks.checkXPathCadinality(String,int)
And the response body should contain "Points" # WebAPICucumberHooks.checkResponseTextContains(String)
And the response body should contain "{@PointsTypeID}" # WebAPICucumberHooks.checkResponseTextContains(String)
And the response body should contain "{@ObjectId|repo1|master:Points}" # WebAPICucumberHooks.checkResponseTextContains(String)
And the response body should contain "Lines" # WebAPICucumberHooks.checkResponseTextContains(String)
And the response body should contain "{@LinesTypeID}" # WebAPICucumberHooks.checkResponseTextContains(String)
And the response body should contain "{@ObjectId|repo1|master:Lines}" # WebAPICucumberHooks.checkResponseTextContains(String)
And the response body should contain "Polygons" # WebAPICucumberHooks.checkResponseTextContains(String)
And the response body should contain "{@PolysTypeID}" # WebAPICucumberHooks.checkResponseTextContains(String)
And the response body should contain "{@ObjectId|repo1|master:Polygons}" # WebAPICucumberHooks.checkResponseTextContains(String)
@Commands
Feature: Merge
The merge command allows a user to merge two branches and is supported through the "/repos/{repository}/merge" endpoint
The command must be executed using the HTTP GET method
Scenario: Verify wrong HTTP method issues 405 "Method not allowed" # features/commands/Merge.feature:6
Given There is an empty repository named repo1 # WebAPICucumberHooks.setUpEmptyRepo(String)
When I call "PUT /repos/repo1/merge" # WebAPICucumberHooks.callURL(String)
Then the response status should be '405' # WebAPICucumberHooks.checkStatusCode(int)
And the response allowed methods should be "GET" # WebAPICucumberHooks.checkResponseAllowedMethods(String)
Scenario: Merge outside of a transaction issues 500 "Transaction required" # features/commands/Merge.feature:12
Given There is an empty repository named repo1 # WebAPICucumberHooks.setUpEmptyRepo(String)
When I call "GET /repos/repo1/merge?commit=branch1" # WebAPICucumberHooks.callURL(String)
Then the response status should be '500' # WebAPICucumberHooks.checkStatusCode(int)
And the xpath "/response/error/text()" contains "No transaction was specified" # WebAPICucumberHooks.checkXPathValueContains(String,String)
Scenario: Merge outside of a repository issues 404 "Not found" # features/commands/Merge.feature:18
Given There is an empty multirepo server # WebAPICucumberHooks.setUpEmptyMultiRepo()
When I call "GET /repos/repo1/merge?commit=branch1" # WebAPICucumberHooks.callURL(String)
Then the response status should be '404' # WebAPICucumberHooks.checkStatusCode(int)
And the response ContentType should be "text/plain" # WebAPICucumberHooks.checkContentType(String)
And the response body should contain "Repository not found" # WebAPICucumberHooks.checkResponseTextContains(String)
Scenario: Calling merge with no commit to merge issues a 500 status code # features/commands/Merge.feature:25
Given There is an empty repository named repo1 # WebAPICucumberHooks.setUpEmptyRepo(String)
And I have a transaction as "@txId" on the "repo1" repo # WebAPICucumberHooks.beginTransactionAsVariable(String,String)
When I call "GET /repos/repo1/merge?transactionId={@txId}" # WebAPICucumberHooks.callURL(String)
Then the response status should be '500' # WebAPICucumberHooks.checkStatusCode(int)
And the xpath "/response/error/text()" equals "Required parameter 'commit' was not provided." # WebAPICucumberHooks.checkXPathEquals(String,String)
Scenario: Merging two branches returns the details of the merge # features/commands/Merge.feature:32
Given There is a repository with multiple branches named repo1 # WebAPICucumberHooks.setUpMultipleBranches(String)
And I have a transaction as "@txId" on the "repo1" repo # WebAPICucumberHooks.beginTransactionAsVariable(String,String)
When I call "GET /repos/repo1/merge?transactionId={@txId}&commit=non_conflicting" # WebAPICucumberHooks.callURL(String)
Then the response status should be '200' # WebAPICucumberHooks.checkStatusCode(int)
And the xpath "/response/success/text()" equals "true" # WebAPICucumberHooks.checkXPathEquals(String,String)
And the xpath "/response/Merge/ours/text()" equals "{@ObjectId|repo1|master_original}" # WebAPICucumberHooks.checkXPathEquals(String,String)
And the xpath "/response/Merge/theirs/text()" equals "{@ObjectId|repo1|non_conflicting}" # WebAPICucumberHooks.checkXPathEquals(String,String)
And the xpath "/response/Merge/ancestor/text()" equals "{@ObjectId|repo1|non_conflicting~1}" # WebAPICucumberHooks.checkXPathEquals(String,String)
And the xpath "/response/Merge/mergedCommit/text()" equals "{@ObjectId|repo1|@txId|master}" # WebAPICucumberHooks.checkXPathEquals(String,String)
Scenario: Supplying author information to merge is applied to the merge commit # features/commands/Merge.feature:43
Given There is a repository with multiple branches named repo1 # WebAPICucumberHooks.setUpMultipleBranches(String)
And I have a transaction as "@txId" on the "repo1" repo # WebAPICucumberHooks.beginTransactionAsVariable(String,String)
When I call "GET /repos/repo1/merge?transactionId={@txId}&commit=non_conflicting&authorName=myAuthor&authorEmail=myAuthor@xxxxxxxxxx" # WebAPICucumberHooks.callURL(String)
Then the response status should be '200' # WebAPICucumberHooks.checkStatusCode(int)
And the xpath "/response/success/text()" equals "true" # WebAPICucumberHooks.checkXPathEquals(String,String)
And the xpath "/response/Merge/ours/text()" equals "{@ObjectId|repo1|master_original}" # WebAPICucumberHooks.checkXPathEquals(String,String)
And the xpath "/response/Merge/theirs/text()" equals "{@ObjectId|repo1|non_conflicting}" # WebAPICucumberHooks.checkXPathEquals(String,String)
And the xpath "/response/Merge/ancestor/text()" equals "{@ObjectId|repo1|non_conflicting~1}" # WebAPICucumberHooks.checkXPathEquals(String,String)
And the xpath "/response/Merge/mergedCommit/text()" equals "{@ObjectId|repo1|@txId|master}" # WebAPICucumberHooks.checkXPathEquals(String,String)
When I call "GET /repos/repo1/cat?objectid={@ObjectId|repo1|@txId|master}" # WebAPICucumberHooks.callURL(String)
Then the response status should be '200' # WebAPICucumberHooks.checkStatusCode(int)
And the xpath "/response/success/text()" equals "true" # WebAPICucumberHooks.checkXPathEquals(String,String)
And the xpath "/response/commit/author/name/text()" equals "myAuthor" # WebAPICucumberHooks.checkXPathEquals(String,String)
And the xpath "/response/commit/author/email/text()" equals "myAuthor@xxxxxxxxxx" # WebAPICucumberHooks.checkXPathEquals(String,String)
Scenario: Supplying the noCommit parameter prevents the merge commit from being created # features/commands/Merge.feature:59
Given There is a repository with multiple branches named repo1 # WebAPICucumberHooks.setUpMultipleBranches(String)
And I have a transaction as "@txId" on the "repo1" repo # WebAPICucumberHooks.beginTransactionAsVariable(String,String)
When I call "GET /repos/repo1/merge?transactionId={@txId}&commit=non_conflicting&noCommit=true" # WebAPICucumberHooks.callURL(String)
Then the response status should be '200' # WebAPICucumberHooks.checkStatusCode(int)
And the xpath "/response/success/text()" equals "true" # WebAPICucumberHooks.checkXPathEquals(String,String)
And the xpath "/response/Merge/ours/text()" equals "{@ObjectId|repo1|master_original}" # WebAPICucumberHooks.checkXPathEquals(String,String)
And the xpath "/response/Merge/theirs/text()" equals "{@ObjectId|repo1|non_conflicting}" # WebAPICucumberHooks.checkXPathEquals(String,String)
And the xpath "/response/Merge/ancestor/text()" equals "{@ObjectId|repo1|non_conflicting~1}" # WebAPICucumberHooks.checkXPathEquals(String,String)
And the xpath "/response/Merge/mergedCommit/text()" equals "{@ObjectId|repo1|master_original}" # WebAPICucumberHooks.checkXPathEquals(String,String)
And the variable "{@ObjectId|repo1|@txId|master}" equals "{@ObjectId|repo1|@txId|master_original}" # WebAPICucumberHooks.checkVariableEquals(String,String)
Scenario: Merging a conflicting branch returns details of the conflicts # features/commands/Merge.feature:71
Given There is a repository with multiple branches named repo1 # WebAPICucumberHooks.setUpMultipleBranches(String)
And I have a transaction as "@txId" on the "repo1" repo # WebAPICucumberHooks.beginTransactionAsVariable(String,String)
When I call "GET /repos/repo1/merge?transactionId={@txId}&commit=conflicting" # WebAPICucumberHooks.callURL(String)
Then the response status should be '200' # WebAPICucumberHooks.checkStatusCode(int)
And the xpath "/response/success/text()" equals "true" # WebAPICucumberHooks.checkXPathEquals(String,String)
And the xpath "/response/Merge/ours/text()" equals "{@ObjectId|repo1|master_original}" # WebAPICucumberHooks.checkXPathEquals(String,String)
And the xpath "/response/Merge/theirs/text()" equals "{@ObjectId|repo1|conflicting}" # WebAPICucumberHooks.checkXPathEquals(String,String)
And the xpath "/response/Merge/ancestor/text()" equals "{@ObjectId|repo1|conflicting~1}" # WebAPICucumberHooks.checkXPathEquals(String,String)
And the xpath "/response/Merge/conflicts/text()" equals "1" # WebAPICucumberHooks.checkXPathEquals(String,String)
And the xpath "/response/Merge/Feature/change/text()" equals "CONFLICT" # WebAPICucumberHooks.checkXPathEquals(String,String)
And the xpath "/response/Merge/Feature/id/text()" equals "Points/Point.1" # WebAPICucumberHooks.checkXPathEquals(String,String)
And the xpath "/response/Merge/Feature/ourvalue/text()" equals "{@ObjectId|repo1|master_original:Points/Point.1}" # WebAPICucumberHooks.checkXPathEquals(String,String)
And the xpath "/response/Merge/Feature/theirvalue/text()" equals "0000000000000000000000000000000000000000" # WebAPICucumberHooks.checkXPathEquals(String,String)
@Commands
Feature: Pull
The pull command allows a user to merge a remote branch into a local one and is supported through the "/repos/{repository}/pull" endpoint
The command must be executed using the HTTP GET method
Scenario: Verify wrong HTTP method issues 405 "Method not allowed" # features/commands/Pull.feature:6
Given There is an empty repository named repo1 # WebAPICucumberHooks.setUpEmptyRepo(String)
When I call "PUT /repos/repo1/pull" # WebAPICucumberHooks.callURL(String)
Then the response status should be '405' # WebAPICucumberHooks.checkStatusCode(int)
And the response allowed methods should be "GET" # WebAPICucumberHooks.checkResponseAllowedMethods(String)
Scenario: Pull outside of a repository issues 404 "Not found" # features/commands/Pull.feature:12
Given There is an empty multirepo server # WebAPICucumberHooks.setUpEmptyMultiRepo()
When I call "GET /repos/repo1/pull" # WebAPICucumberHooks.callURL(String)
Then the response status should be '404' # WebAPICucumberHooks.checkStatusCode(int)
And the response ContentType should be "text/plain" # WebAPICucumberHooks.checkContentType(String)
And the response body should contain "Repository not found" # WebAPICucumberHooks.checkResponseTextContains(String)
Scenario: Pulling from a remote with remote changes updates the local ref # features/commands/Pull.feature:19
Given There is a default multirepo server with remotes # WebAPICucumberHooks.setUpDefaultMultiRepoWithRemotes()
And the variable "{@ObjectId|repo4|master}" equals "{@ObjectId|repo1|master~2}" # WebAPICucumberHooks.checkVariableEquals(String,String)
When I call "GET /repos/repo4/pull?remoteName=origin&ref=master" # WebAPICucumberHooks.callURL(String)
Then the response status should be '200' # WebAPICucumberHooks.checkStatusCode(int)
And the xpath "/response/success/text()" equals "true" # WebAPICucumberHooks.checkXPathEquals(String,String)
And the xpath "/response/Pull/Merge/ours/text()" equals "{@ObjectId|repo1|master~2}" # WebAPICucumberHooks.checkXPathEquals(String,String)
And the xpath "/response/Pull/Merge/theirs/text()" equals "{@ObjectId|repo1|master}" # WebAPICucumberHooks.checkXPathEquals(String,String)
And the xpath "/response/Pull/Merge/ancestor/text()" equals "{@ObjectId|repo1|master~2}" # WebAPICucumberHooks.checkXPathEquals(String,String)
And the xpath "/response/Pull/Merge/mergedCommit/text()" equals "{@ObjectId|repo1|master}" # WebAPICucumberHooks.checkXPathEquals(String,String)
And the xpath "/response/Pull/Added/text()" equals "6" # WebAPICucumberHooks.checkXPathEquals(String,String)
And the xpath "/response/Pull/Modified/text()" equals "0" # WebAPICucumberHooks.checkXPathEquals(String,String)
And the xpath "/response/Pull/Removed/text()" equals "0" # WebAPICucumberHooks.checkXPathEquals(String,String)
And the variable "{@ObjectId|repo4|master}" equals "{@ObjectId|repo1|master}" # WebAPICucumberHooks.checkVariableEquals(String,String)
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007fc6842a6522, pid=8986, tid=140490783536896
#
# JRE version: Java(TM) SE Runtime Environment (8.0_45-b14) (build 1.8.0_45-b14)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.45-b02 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C [librocksdbjni6610996696151459154.so+0x1e3522]
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# <http://ares.boundlessgeo.com/jenkins/job/geoserver-2.9.x-geogig-plugin/ws/src/community/geogig/hs_err_pid8986.log>
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Aborted
Results :
Tests run: 46, Failures: 0, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 05:20 min
[INFO] Finished at: 2017-05-11T18:07:05+00:00
[INFO] Final Memory: 66M/477M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.3:test (default-test) on project gs-geogig: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.12.3:test failed: The forked VM terminated without saying properly goodbye. VM crash or System.exit called ? -> [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/PluginExecutionException
Build step 'Invoke top-level Maven targets' marked build as failure
[Cucumber Tests] Parsing results.
[Cucumber Tests] ignoring empty file (cucumber.json)