[Geoserver-devel] Build failed in Jenkins: GeoServer-Master » Core Platform Module #2428

See <http://winbuild.geo-solutions.it/jenkins/job/GeoServer-Master/org.geoserver$gs-platform/2428/&gt;

------------------------------------------
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 10 second
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Core Platform Module 2.9-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ gs-platform ---
[INFO] Deleting <http://winbuild.geo-solutions.it/jenkins/job/GeoServer-Master/org.geoserver$gs-platform/ws/target&gt;
[INFO]
[INFO] --- cobertura-maven-plugin:2.6:clean (default) @ gs-platform ---
[INFO]
[INFO] --- git-commit-id-plugin:2.0.4:revision (default) @ gs-platform ---
[INFO] [GitCommitIdMojo] Running on 'C:\.jenkins\jobs\GeoServer-Master\workspace\.git' repository...
[INFO] [GitCommitIdMojo] Initializing properties...
[INFO] [GitCommitIdMojo] Using maven project properties...
[INFO] [GitCommitIdMojo] Loading data from git repository...
[INFO] [GitCommitIdMojo] ------------------git properties loaded------------------
[INFO] [GitCommitIdMojo] build.commit.message.short = Revert style encoding to platform default
[INFO] [GitCommitIdMojo] build.build.user.email = Unknown
[INFO] [GitCommitIdMojo] build.hudsonId = -1
[INFO] [GitCommitIdMojo] build.commit.time = 02.12.2015 @ 22:22:58 CET
[INFO] [GitCommitIdMojo] build.timestamp = 02-dic-2015 23:14
[INFO] [GitCommitIdMojo] build.build.time = 02.12.2015 @ 23:15:18 CET
[INFO] [GitCommitIdMojo] build.branch = 35e49ee0c16e3edd64d309d251a27a828a79d407
[INFO] [GitCommitIdMojo] build.commit.user.email = ben@anonymised.com
[INFO] [GitCommitIdMojo] build.build.user.name = Unknown
[INFO] [GitCommitIdMojo] build.commit.user.name = Ben Caradoc-Davies
[INFO] [GitCommitIdMojo] build.commit.id.abbrev = 35e49ee
[INFO] [GitCommitIdMojo] build.commit.id = 35e49ee0c16e3edd64d309d251a27a828a79d407
[INFO] [GitCommitIdMojo] build.commit.message.full = Revert style encoding to platform default

[INFO] [GitCommitIdMojo] ---------------------------------------------------------
[INFO] [GitCommitIdMojo] Finished running.
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ gs-platform ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] skip non existing resourceDirectory <http://winbuild.geo-solutions.it/jenkins/job/GeoServer-Master/org.geoserver$gs-platform/ws/src/main/resources&gt;
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ gs-platform ---
[INFO] Compiling 41 source files to <http://winbuild.geo-solutions.it/jenkins/job/GeoServer-Master/org.geoserver$gs-platform/ws/target/classes&gt;
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ gs-platform ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO] skip non existing resourceDirectory <http://winbuild.geo-solutions.it/jenkins/job/GeoServer-Master/org.geoserver$gs-platform/ws/src/test/resources&gt;
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ gs-platform ---
[INFO] Compiling 19 source files to <http://winbuild.geo-solutions.it/jenkins/job/GeoServer-Master/org.geoserver$gs-platform/ws/target/test-classes&gt;
[INFO]
[INFO] --- maven-surefire-plugin:2.12.3:test (default-test) @ gs-platform ---
[INFO] Surefire report directory: <http://winbuild.geo-solutions.it/jenkins/job/GeoServer-Master/org.geoserver$gs-platform/ws/target/surefire-reports&gt;

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.geoserver.platform.AdvancedDispatchFilterTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.125 sec
Running org.geoserver.platform.GeoServerExtensionsTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.624 sec
Running org.geoserver.platform.exception.ExceptionLocalizeTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec
Running org.geoserver.platform.exception.GeoServerExceptionsTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.geoserver.platform.resource.FileSystemResourceTheoryTest
Tests run: 36, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.69 sec
Running org.geoserver.platform.resource.FileWrapperResourceTheoryTest
Tests run: 32, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.324 sec <<< FAILURE!
theoryAddingFileToDirectoryAddsResource(org.geoserver.platform.resource.FileWrapperResourceTheoryTest) Time elapsed: 15 sec <<< ERROR!
org.junit.experimental.theories.internal.ParameterizedAssertionError: theoryAddingFileToDirectoryAddsResource(testPaths[2])
  at org.junit.experimental.theories.Theories$TheoryAnchor.reportParameterizedError(Theories.java:192)
  at org.junit.experimental.theories.Theories$TheoryAnchor$1$1.evaluate(Theories.java:146)
  at org.junit.experimental.theories.Theories$TheoryAnchor.runWithCompleteAssignment(Theories.java:127)
  at org.junit.experimental.theories.Theories$TheoryAnchor.runWithAssignment(Theories.java:111)
  at org.junit.experimental.theories.Theories$TheoryAnchor.runWithIncompleteAssignment(Theories.java:120)
  at org.junit.experimental.theories.Theories$TheoryAnchor.runWithAssignment(Theories.java:109)
  at org.junit.experimental.theories.Theories$TheoryAnchor.evaluate(Theories.java:96)
  at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
  at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
  at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
  at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
  at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
  at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
  at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
  at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
  at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
  at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
  at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
  at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:606)
  at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
  at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
  at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
  at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
  at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
Caused by: java.lang.AssertionError:
Expected: is resource that is defined
     but: was <ResourceAdaptor(C:\Windows\TEMP\junit2538536057382917061\C:\Windows\TEMP\junit2538536057382917061\DirC\newFileCreatedDirectly)>
  at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
  at org.junit.Assert.assertThat(Assert.java:865)
  at org.junit.Assert.assertThat(Assert.java:832)
  at org.geoserver.platform.resource.ResourceTheoryTest.theoryAddingFileToDirectoryAddsResource(ResourceTheoryTest.java:452)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:606)
  at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
  at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
  at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
  at org.junit.experimental.theories.Theories$TheoryAnchor$2.evaluate(Theories.java:175)
  at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
  at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
  at org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:168)
  at org.junit.rules.RunRules.evaluate(RunRules.java:20)
  at org.junit.experimental.theories.Theories$TheoryAnchor$1$1.evaluate(Theories.java:141)
  ... 26 more

Running org.geoserver.platform.resource.PathsTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
Running org.geoserver.util.LoggerRuleTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.25 sec

Results :

Tests in error:
  theoryAddingFileToDirectoryAddsResource(org.geoserver.platform.resource.FileWrapperResourceTheoryTest): theoryAddingFileToDirectoryAddsResource(testPaths[2])

Tests run: 103, Failures: 0, Errors: 1, Skipped: 0

[JENKINS] Recording test results
[JENKINS] Archiving disabled

See <http://winbuild.geo-solutions.it/jenkins/job/GeoServer-Master/org.geoserver$gs-platform/2429/&gt;

------------------------------------------
[...truncated 1478 lines...]
  at org.junit.experimental.theories.Theories$TheoryAnchor$1$1.evaluate(Theories.java:146)
  at org.junit.experimental.theories.Theories$TheoryAnchor.runWithCompleteAssignment(Theories.java:127)
  at org.junit.experimental.theories.Theories$TheoryAnchor.runWithAssignment(Theories.java:111)
  at org.junit.experimental.theories.Theories$TheoryAnchor.runWithIncompleteAssignment(Theories.java:120)
  at org.junit.experimental.theories.Theories$TheoryAnchor.runWithAssignment(Theories.java:109)
  at org.junit.experimental.theories.Theories$TheoryAnchor.evaluate(Theories.java:96)
  at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
  at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
  at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
  at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
  at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
  at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
  at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
  at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
  at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
  at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
  at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
  at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:606)
  at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
  at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
  at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
  at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
  at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 1
  at java.lang.String.charAt(String.java:658)
  at java.util.regex.Matcher.appendReplacement(Matcher.java:762)
  at java.util.regex.Matcher.replaceAll(Matcher.java:906)
  at java.lang.String.replaceAll(String.java:2162)
  at org.geoserver.platform.resource.FileWrapperResourceTheoryTest.getResource(FileWrapperResourceTheoryTest.java:27)
  at org.geoserver.platform.resource.ResourceTheoryTest.theoryUndefinedHaveIstream(ResourceTheoryTest.java:131)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:606)
  at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
  at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
  at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
  at org.junit.experimental.theories.Theories$TheoryAnchor$2.evaluate(Theories.java:175)
  at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
  at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
  at org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:168)
  at org.junit.rules.RunRules.evaluate(RunRules.java:20)
  at org.junit.experimental.theories.Theories$TheoryAnchor$1$1.evaluate(Theories.java:141)
  ... 26 more

theoryDoubleClose(org.geoserver.platform.resource.FileWrapperResourceTheoryTest) Time elapsed: 47 sec <<< ERROR!
org.junit.experimental.theories.internal.ParameterizedAssertionError: theoryDoubleClose(testPaths[4])
  at org.junit.experimental.theories.Theories$TheoryAnchor.reportParameterizedError(Theories.java:192)
  at org.junit.experimental.theories.Theories$TheoryAnchor$1$1.evaluate(Theories.java:146)
  at org.junit.experimental.theories.Theories$TheoryAnchor.runWithCompleteAssignment(Theories.java:127)
  at org.junit.experimental.theories.Theories$TheoryAnchor.runWithAssignment(Theories.java:111)
  at org.junit.experimental.theories.Theories$TheoryAnchor.runWithIncompleteAssignment(Theories.java:120)
  at org.junit.experimental.theories.Theories$TheoryAnchor.runWithAssignment(Theories.java:109)
  at org.junit.experimental.theories.Theories$TheoryAnchor.evaluate(Theories.java:96)
  at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
  at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
  at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
  at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
  at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
  at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
  at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
  at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
  at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
  at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
  at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
  at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:606)
  at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
  at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
  at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
  at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
  at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 1
  at java.lang.String.charAt(String.java:658)
  at java.util.regex.Matcher.appendReplacement(Matcher.java:762)
  at java.util.regex.Matcher.replaceAll(Matcher.java:906)
  at java.lang.String.replaceAll(String.java:2162)
  at org.geoserver.platform.resource.FileWrapperResourceTheoryTest.getResource(FileWrapperResourceTheoryTest.java:27)
  at org.geoserver.platform.resource.ResourceTheoryTest.theoryDoubleClose(ResourceTheoryTest.java:492)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:606)
  at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
  at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
  at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
  at org.junit.experimental.theories.Theories$TheoryAnchor$2.evaluate(Theories.java:175)
  at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
  at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
  at org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:168)
  at org.junit.rules.RunRules.evaluate(RunRules.java:20)
  at org.junit.experimental.theories.Theories$TheoryAnchor$1$1.evaluate(Theories.java:141)
  ... 26 more

theoryRecursiveDelete(org.geoserver.platform.resource.FileWrapperResourceTheoryTest) Time elapsed: 31 sec <<< ERROR!
org.junit.experimental.theories.internal.ParameterizedAssertionError: theoryRecursiveDelete(testPaths[4])
  at org.junit.experimental.theories.Theories$TheoryAnchor.reportParameterizedError(Theories.java:192)
  at org.junit.experimental.theories.Theories$TheoryAnchor$1$1.evaluate(Theories.java:146)
  at org.junit.experimental.theories.Theories$TheoryAnchor.runWithCompleteAssignment(Theories.java:127)
  at org.junit.experimental.theories.Theories$TheoryAnchor.runWithAssignment(Theories.java:111)
  at org.junit.experimental.theories.Theories$TheoryAnchor.runWithIncompleteAssignment(Theories.java:120)
  at org.junit.experimental.theories.Theories$TheoryAnchor.runWithAssignment(Theories.java:109)
  at org.junit.experimental.theories.Theories$TheoryAnchor.evaluate(Theories.java:96)
  at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
  at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
  at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
  at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
  at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
  at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
  at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
  at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
  at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
  at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
  at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
  at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:606)
  at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
  at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
  at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
  at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
  at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 1
  at java.lang.String.charAt(String.java:658)
  at java.util.regex.Matcher.appendReplacement(Matcher.java:762)
  at java.util.regex.Matcher.replaceAll(Matcher.java:906)
  at java.lang.String.replaceAll(String.java:2162)
  at org.geoserver.platform.resource.FileWrapperResourceTheoryTest.getResource(FileWrapperResourceTheoryTest.java:27)
  at org.geoserver.platform.resource.ResourceTheoryTest.theoryRecursiveDelete(ResourceTheoryTest.java:502)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:606)
  at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
  at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
  at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
  at org.junit.experimental.theories.Theories$TheoryAnchor$2.evaluate(Theories.java:175)
  at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
  at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
  at org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:168)
  at org.junit.rules.RunRules.evaluate(RunRules.java:20)
  at org.junit.experimental.theories.Theories$TheoryAnchor$1$1.evaluate(Theories.java:141)
  ... 26 more

theoryLeavesHaveIstream(org.geoserver.platform.resource.FileWrapperResourceTheoryTest) Time elapsed: 47 sec <<< ERROR!
org.junit.experimental.theories.internal.ParameterizedAssertionError: theoryLeavesHaveIstream(testPaths[4])
  at org.junit.experimental.theories.Theories$TheoryAnchor.reportParameterizedError(Theories.java:192)
  at org.junit.experimental.theories.Theories$TheoryAnchor$1$1.evaluate(Theories.java:146)
  at org.junit.experimental.theories.Theories$TheoryAnchor.runWithCompleteAssignment(Theories.java:127)
  at org.junit.experimental.theories.Theories$TheoryAnchor.runWithAssignment(Theories.java:111)
  at org.junit.experimental.theories.Theories$TheoryAnchor.runWithIncompleteAssignment(Theories.java:120)
  at org.junit.experimental.theories.Theories$TheoryAnchor.runWithAssignment(Theories.java:109)
  at org.junit.experimental.theories.Theories$TheoryAnchor.evaluate(Theories.java:96)
  at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
  at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
  at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
  at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
  at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
  at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
  at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
  at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
  at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
  at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
  at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
  at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:606)
  at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
  at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
  at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
  at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
  at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 1
  at java.lang.String.charAt(String.java:658)
  at java.util.regex.Matcher.appendReplacement(Matcher.java:762)
  at java.util.regex.Matcher.replaceAll(Matcher.java:906)
  at java.lang.String.replaceAll(String.java:2162)
  at org.geoserver.platform.resource.FileWrapperResourceTheoryTest.getResource(FileWrapperResourceTheoryTest.java:27)
  at org.geoserver.platform.resource.ResourceTheoryTest.theoryLeavesHaveIstream(ResourceTheoryTest.java:109)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:606)
  at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
  at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
  at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
  at org.junit.experimental.theories.Theories$TheoryAnchor$2.evaluate(Theories.java:175)
  at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
  at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
  at org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:168)
  at org.junit.rules.RunRules.evaluate(RunRules.java:20)
  at org.junit.experimental.theories.Theories$TheoryAnchor$1$1.evaluate(Theories.java:141)
  ... 26 more

Running org.geoserver.platform.resource.PathsTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.geoserver.util.LoggerRuleTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.234 sec

Results :

Tests in error:
  theoryDirectoriesHaveNoIstreams(org.geoserver.platform.resource.FileWrapperResourceTheoryTest): theoryDirectoriesHaveNoIstreams(testPaths[4])
  theoryHaveDir(org.geoserver.platform.resource.FileWrapperResourceTheoryTest): theoryHaveDir(testPaths[4])
  theorySamePathGivesEquivalentResource(org.geoserver.platform.resource.FileWrapperResourceTheoryTest): theorySamePathGivesEquivalentResource(testPaths[4])
  theoryUndefinedHaveOstream(org.geoserver.platform.resource.FileWrapperResourceTheoryTest): theoryUndefinedHaveOstream(testPaths[4])
  theoryUndefinedHaveEmptyListOfChildren(org.geoserver.platform.resource.FileWrapperResourceTheoryTest): theoryUndefinedHaveEmptyListOfChildren(testPaths[4])
  theoryLeavesHaveOstream(org.geoserver.platform.resource.FileWrapperResourceTheoryTest): theoryLeavesHaveOstream(testPaths[4])
  theoryAlteringFileAltersResource(org.geoserver.platform.resource.FileWrapperResourceTheoryTest): theoryAlteringFileAltersResource(testPaths[4])
  theoryExtantHaveDate(org.geoserver.platform.resource.FileWrapperResourceTheoryTest): theoryExtantHaveDate(testPaths[4])
  theoryLeavesHaveEmptyListOfChildren(org.geoserver.platform.resource.FileWrapperResourceTheoryTest): theoryLeavesHaveEmptyListOfChildren(testPaths[4])
  theoryHaveFile(org.geoserver.platform.resource.FileWrapperResourceTheoryTest): theoryHaveFile(testPaths[4])
  theoryHaveName(org.geoserver.platform.resource.FileWrapperResourceTheoryTest): theoryHaveName(testPaths[4])
  theoryNotNull(org.geoserver.platform.resource.FileWrapperResourceTheoryTest): theoryNotNull(testPaths[4])
  theoryUndefinedNotDeleted(org.geoserver.platform.resource.FileWrapperResourceTheoryTest): theoryUndefinedNotDeleted(testPaths[4])
  theoryRenamedAreUndefined(org.geoserver.platform.resource.FileWrapperResourceTheoryTest): theoryRenamedAreUndefined(testPaths[4])
  theoryMultipleOutputStreamsAreSafe(org.geoserver.platform.resource.FileWrapperResourceTheoryTest): theoryMultipleOutputStreamsAreSafe(testPaths[4])
  theoryDirectoriesHaveFileWithSameNamedChildren(org.geoserver.platform.resource.FileWrapperResourceTheoryTest): theoryDirectoriesHaveFileWithSameNamedChildren(testPaths[4])
  theoryDirectoriesHaveChildren(org.geoserver.platform.resource.FileWrapperResourceTheoryTest): theoryDirectoriesHaveChildren(testPaths[4])
  theoryNonDirectoriesHaveFileWithSameContents(org.geoserver.platform.resource.FileWrapperResourceTheoryTest): theoryNonDirectoriesHaveFileWithSameContents(testPaths[4])
  theoryNonDirectoriesPersistData(org.geoserver.platform.resource.FileWrapperResourceTheoryTest): theoryNonDirectoriesPersistData(testPaths[4])
  theoryDeletedResourcesAreUndefined(org.geoserver.platform.resource.FileWrapperResourceTheoryTest): theoryDeletedResourcesAreUndefined(testPaths[4])
  theoryDirectoriesHaveNoOstream(org.geoserver.platform.resource.FileWrapperResourceTheoryTest): theoryDirectoriesHaveNoOstream(testPaths[4])
  theoryRenamedResourcesAreEquivalent(org.geoserver.platform.resource.FileWrapperResourceTheoryTest): theoryRenamedResourcesAreEquivalent(testPaths[4])
  theoryAddingFileToDirectoryAddsResource(org.geoserver.platform.resource.FileWrapperResourceTheoryTest): theoryAddingFileToDirectoryAddsResource(testPaths[2])
  theoryNameIsEndOfPath(org.geoserver.platform.resource.FileWrapperResourceTheoryTest): theoryNameIsEndOfPath(testPaths[4])
  theoryParentsKnowTheirChildren(org.geoserver.platform.resource.FileWrapperResourceTheoryTest): theoryParentsKnowTheirChildren(testPaths[4])
  theoryChildrenKnowTheirParents(org.geoserver.platform.resource.FileWrapperResourceTheoryTest): theoryChildrenKnowTheirParents(testPaths[4])
  theoryParentIsDirectory(org.geoserver.platform.resource.FileWrapperResourceTheoryTest): theoryParentIsDirectory(testPaths[4])
  theoryUndefinedHaveIstream(org.geoserver.platform.resource.FileWrapperResourceTheoryTest): theoryUndefinedHaveIstream(testPaths[4])
  theoryDoubleClose(org.geoserver.platform.resource.FileWrapperResourceTheoryTest): theoryDoubleClose(testPaths[4])
  theoryRecursiveDelete(org.geoserver.platform.resource.FileWrapperResourceTheoryTest): theoryRecursiveDelete(testPaths[4])
  theoryLeavesHaveIstream(org.geoserver.platform.resource.FileWrapperResourceTheoryTest): theoryLeavesHaveIstream(testPaths[4])

Tests run: 103, Failures: 0, Errors: 31, Skipped: 0

[JENKINS] Recording test results
[JENKINS] Archiving disabled

See <http://winbuild.geo-solutions.it/jenkins/job/GeoServer-Master/org.geoserver$gs-platform/2430/&gt;