SuccessConsole 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] --------------< org.locationtech.geogig:geogig-scripting >--------------
[INFO] Building GeoGig Scripting Extension to Command Hooks 1.4-SNAPSHOT [22/23]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ geogig-scripting ---
[INFO] Deleting /home/hudson/genie.geogig/.jenkins/jobs/geogig-master/workspace/src/experimental/scripting/target
[INFO] 
[INFO] --- git-commit-id-plugin:2.2.2:revision (default) @ geogig-scripting ---
[INFO] 
[INFO] --- maven-resources-plugin:3.0.1:resources (default-resources) @ geogig-scripting ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ geogig-scripting ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 6 source files to /home/hudson/genie.geogig/.jenkins/jobs/geogig-master/workspace/src/experimental/scripting/target/classes
[INFO] /home/hudson/genie.geogig/.jenkins/jobs/geogig-master/workspace/src/experimental/scripting/src/main/java/org/locationtech/geogig/scripting/Scripting.java: /home/hudson/genie.geogig/.jenkins/jobs/geogig-master/workspace/src/experimental/scripting/src/main/java/org/locationtech/geogig/scripting/Scripting.java uses or overrides a deprecated API.
[INFO] /home/hudson/genie.geogig/.jenkins/jobs/geogig-master/workspace/src/experimental/scripting/src/main/java/org/locationtech/geogig/scripting/Scripting.java: Recompile with -Xlint:deprecation for details.
[INFO] 
[INFO] --- maven-resources-plugin:3.0.1:testResources (default-testResources) @ geogig-scripting ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ geogig-scripting ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 3 source files to /home/hudson/genie.geogig/.jenkins/jobs/geogig-master/workspace/src/experimental/scripting/target/test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ geogig-scripting ---
[INFO] Surefire report directory: /home/hudson/genie.geogig/.jenkins/jobs/geogig-master/workspace/src/experimental/scripting/target/surefire-reports

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

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.geogig
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.geogig
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.geogig
Running org.locationtech.geogig.scripting.GeogigAPITest
Running org.locationtech.geogig.scripting.HooksTest
Running org.locationtech.geogig.scripting.functional.RunHooksFunctionalTest
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
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.203 sec - in org.locationtech.geogig.scripting.GeogigAPITest
[main] INFO org.locationtech.geogig.scripting.Scripting - Running jvm script /opt/public/hipp/ramdisk/geogig/junit4099797919885112217/repo431097834/.geogig/hooks/pre_commit.js
[main] INFO org.locationtech.geogig.scripting.Scripting - Running jvm script /opt/public/hipp/ramdisk/geogig/junit4099797919885112217/repo431097834/.geogig/hooks/pre_commit.js
[main] INFO org.locationtech.geogig.scripting.Scripting - Running jvm script /opt/public/hipp/ramdisk/geogig/junit5497389764451642916/repo577430740/.geogig/hooks/post_commit.js
[main] WARN org.locationtech.geogig.hooks.CommandHookChain - Post-command hook org.locationtech.geogig.scripting.HooksTest$ClasspathHookTest@3ecedf21 for command org.locationtech.geogig.porcelain.AddOp threw an exception that will not be propagated
java.lang.RuntimeException: expected
	at org.locationtech.geogig.scripting.HooksTest$ClasspathHookTest.post(HooksTest.java:269)
	at org.locationtech.geogig.hooks.CommandHookChain.runPostHooks(CommandHookChain.java:83)
	at org.locationtech.geogig.hooks.CommandHooksDecorator$HooksListener.postCall(CommandHooksDecorator.java:61)
	at org.locationtech.geogig.repository.AbstractGeoGigOp.notifyPost(AbstractGeoGigOp.java:194)
	at org.locationtech.geogig.repository.AbstractGeoGigOp.call(AbstractGeoGigOp.java:170)
	at org.locationtech.geogig.test.integration.RepositoryTestCase.insertAndAdd(RepositoryTestCase.java:407)
	at org.locationtech.geogig.test.integration.RepositoryTestCase.insertAndAdd(RepositoryTestCase.java:395)
	at org.locationtech.geogig.scripting.HooksTest.testClasspathHookPostFail(HooksTest.java:194)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	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 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)
[main] INFO org.locationtech.geogig.scripting.Scripting - Running shell script /opt/public/hipp/ramdisk/geogig/junit5766661001603776837/repo-929123528/.geogig/hooks/pre_commit.bat
[main] INFO org.locationtech.geogig.scripting.Scripting - Running shell script /opt/public/hipp/ramdisk/geogig/junit5766661001603776837/repo-929123528/.geogig/hooks/pre_commit.bat
[main] INFO org.locationtech.geogig.scripting.Scripting - Running jvm script /opt/public/hipp/ramdisk/geogig/junit3931715056957854721/repo1618372811/.geogig/hooks/pre_commit.js
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.089 sec - in org.locationtech.geogig.scripting.HooksTest
[main] INFO org.locationtech.geogig.scripting.Scripting - Running jvm script /opt/public/hipp/ramdisk/geogig/junit5412443673457385857/data/localrepo/.geogig/hooks/pre_commit.js
Commit messages must have at least 5 letters (command aborted by .geogig/hooks/pre_commit.js)
[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.scripting.Scripting - Running jvm script /opt/public/hipp/ramdisk/geogig/junit3673860337677757618/data/localrepo/.geogig/hooks/pre_commit.js

100.0[4d1bae95cbd8dc675df583edf378d108059c0743] longermessageCommitted, counting objects...6 features added, 0 changed, 0 deleted.

  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.502s

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

Results :

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

[JENKINS] Recording test results
[INFO] 
[INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ geogig-scripting ---
[INFO] Building jar: /home/hudson/genie.geogig/.jenkins/jobs/geogig-master/workspace/src/experimental/scripting/target/geogig-scripting-1.4-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-jar-plugin:3.0.2:test-jar (default) @ geogig-scripting ---
[INFO] Building jar: /home/hudson/genie.geogig/.jenkins/jobs/geogig-master/workspace/src/experimental/scripting/target/geogig-scripting-1.4-SNAPSHOT-tests.jar
[INFO] 
[INFO] >>> maven-source-plugin:3.0.1:jar (attach-sources) > generate-sources @ geogig-scripting >>>
[INFO] 
[INFO] --- git-commit-id-plugin:2.2.2:revision (default) @ geogig-scripting ---
[WARNING] Failed to getClass for org.apache.maven.plugins.source.SourceJarMojo
[INFO] 
[INFO] <<< maven-source-plugin:3.0.1:jar (attach-sources) < generate-sources @ geogig-scripting <<<
[INFO] 
[INFO] 
[INFO] --- maven-source-plugin:3.0.1:jar (attach-sources) @ geogig-scripting ---
[INFO] Building jar: /home/hudson/genie.geogig/.jenkins/jobs/geogig-master/workspace/src/experimental/scripting/target/geogig-scripting-1.4-SNAPSHOT-sources.jar
[INFO] 
[INFO] >>> maven-source-plugin:3.0.1:test-jar (attach-sources) > generate-sources @ geogig-scripting >>>
[INFO] 
[INFO] --- git-commit-id-plugin:2.2.2:revision (default) @ geogig-scripting ---
[WARNING] Failed to getClass for org.apache.maven.plugins.source.TestSourceJarMojo
[INFO] 
[INFO] <<< maven-source-plugin:3.0.1:test-jar (attach-sources) < generate-sources @ geogig-scripting <<<
[INFO] 
[INFO] 
[INFO] --- maven-source-plugin:3.0.1:test-jar (attach-sources) @ geogig-scripting ---
[INFO] Building jar: /home/hudson/genie.geogig/.jenkins/jobs/geogig-master/workspace/src/experimental/scripting/target/geogig-scripting-1.4-SNAPSHOT-test-sources.jar
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ geogig-scripting ---
[INFO] Installing /home/hudson/genie.geogig/.jenkins/jobs/geogig-master/workspace/src/experimental/scripting/target/geogig-scripting-1.4-SNAPSHOT.jar to /home/hudson/genie.geogig/.jenkins/jobs/geogig-master/workspace/.repository/org/locationtech/geogig/geogig-scripting/1.4-SNAPSHOT/geogig-scripting-1.4-SNAPSHOT.jar
[INFO] Installing /home/hudson/genie.geogig/.jenkins/jobs/geogig-master/workspace/src/experimental/scripting/pom.xml to /home/hudson/genie.geogig/.jenkins/jobs/geogig-master/workspace/.repository/org/locationtech/geogig/geogig-scripting/1.4-SNAPSHOT/geogig-scripting-1.4-SNAPSHOT.pom
[INFO] Installing /home/hudson/genie.geogig/.jenkins/jobs/geogig-master/workspace/src/experimental/scripting/target/geogig-scripting-1.4-SNAPSHOT-tests.jar to /home/hudson/genie.geogig/.jenkins/jobs/geogig-master/workspace/.repository/org/locationtech/geogig/geogig-scripting/1.4-SNAPSHOT/geogig-scripting-1.4-SNAPSHOT-tests.jar
[INFO] Installing /home/hudson/genie.geogig/.jenkins/jobs/geogig-master/workspace/src/experimental/scripting/target/geogig-scripting-1.4-SNAPSHOT-sources.jar to /home/hudson/genie.geogig/.jenkins/jobs/geogig-master/workspace/.repository/org/locationtech/geogig/geogig-scripting/1.4-SNAPSHOT/geogig-scripting-1.4-SNAPSHOT-sources.jar
[INFO] Installing /home/hudson/genie.geogig/.jenkins/jobs/geogig-master/workspace/src/experimental/scripting/target/geogig-scripting-1.4-SNAPSHOT-test-sources.jar to /home/hudson/genie.geogig/.jenkins/jobs/geogig-master/workspace/.repository/org/locationtech/geogig/geogig-scripting/1.4-SNAPSHOT/geogig-scripting-1.4-SNAPSHOT-test-sources.jar
[JENKINS] Archiving disabled