[INFO] ------------------------------------------------------------------------ [INFO] Building TextGrid :: ExistUpload :: Core [INFO] task-segment: [package] [INFO] ------------------------------------------------------------------------ [INFO] [resources:resources {execution: default-resources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 0 resource [INFO] snapshot info.textgrid.utils:httpclients:1.1.0-SNAPSHOT: checking for updates from archiva.snapshots.http Downloading: http://repository.bibforge.org/archiva/repository/snapshots/info/textgrid/utils/httpclients/1.1.0-SNAPSHOT/httpclients-1.1.0-SNAPSHOT.jar 17K downloaded (httpclients-1.1.0-SNAPSHOT.jar) [INFO] [compiler:compile {execution: default-compile}] [INFO] Compiling 3 source files to /var/lib/jenkins/jobs/middleware-common/workspace/existupload/core/target/classes [INFO] [resources:testResources {execution: default-testResources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 5 resources [INFO] [compiler:testCompile {execution: default-testCompile}] [INFO] Compiling 1 source file to /var/lib/jenkins/jobs/middleware-common/workspace/existupload/core/target/test-classes [INFO] [surefire:test {execution: default-test}] [INFO] Surefire report directory: /var/lib/jenkins/jobs/middleware-common/workspace/existupload/core/target/surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- Running info.textgrid.common.existupload.TestBean Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.03 sec Running info.textgrid.common.existupload.TestExistLatestUpload Tests run: 2, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.145 sec Running info.textgrid.common.existupload.TestExistUpload Apr 28, 2011 7:00:48 PM info.textgrid.utils.httpclient.TGHttpClient setEndpoint INFO: loc: http://134.76.20.85/exist/rest/ Apr 28, 2011 7:00:48 PM info.textgrid.utils.httpclient.TGHttpClient setEndpoint INFO: loc-host: 134.76.20.85 Apr 28, 2011 7:00:48 PM info.textgrid.utils.httpclient.TGHttpClient setEndpoint INFO: loc: http://134.76.20.85/exist-latest/rest/ Apr 28, 2011 7:00:48 PM info.textgrid.utils.httpclient.TGHttpClient setEndpoint INFO: loc-host: 134.76.20.85 Apr 28, 2011 7:00:48 PM info.textgrid.utils.existclient.ExistClient putDocument INFO: uploading junit/2f09.0 Apr 28, 2011 7:00:48 PM info.textgrid.utils.existclient.ExistClient putDocument INFO: exist-upload-res: 201 Apr 28, 2011 7:00:48 PM info.textgrid.utils.existclient.ExistClient getDocument INFO: getting doc: http://134.76.20.85/exist-latest/rest/junit/2f09 Apr 28, 2011 7:00:48 PM info.textgrid.utils.existclient.ExistClient getDocument INFO: exist-get-res: 200 Apr 28, 2011 7:00:48 PM info.textgrid.utils.existclient.ExistClient putDocument INFO: uploading junit/2f09.1 Apr 28, 2011 7:00:48 PM info.textgrid.utils.existclient.ExistClient putDocument INFO: exist-upload-res: 201 Apr 28, 2011 7:00:48 PM info.textgrid.utils.existclient.ExistClient getDocument INFO: getting doc: http://134.76.20.85/exist-latest/rest/junit/2f09 Apr 28, 2011 7:00:48 PM info.textgrid.utils.existclient.ExistClient getDocument INFO: exist-get-res: 200 Apr 28, 2011 7:00:48 PM info.textgrid.utils.existclient.ExistClient putDocument SEVERE: java.io.IOException: Stream closed at java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:145) at java.io.BufferedInputStream.read(BufferedInputStream.java:308) at java.io.FilterInputStream.read(FilterInputStream.java:90) at org.apache.http.util.EntityUtils.toByteArray(EntityUtils.java:100) at org.apache.http.entity.BufferedHttpEntity.<init>(BufferedHttpEntity.java:60) at info.textgrid.utils.existclient.ExistClient.putDocument(ExistClient.java:189) at info.textgrid.utils.existclient.ExistClient.putDocument(ExistClient.java:168) at info.textgrid.common.existupload.TestExistUpload.TestLatestUpload(TestExistUpload.java:55) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127) at org.apache.maven.surefire.Surefire.run(Surefire.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009) Apr 28, 2011 7:00:48 PM info.textgrid.utils.existclient.ExistClient putDocument INFO: uploading junit/2f09.0 Apr 28, 2011 7:00:48 PM info.textgrid.utils.existclient.ExistClient putDocument INFO: exist-upload-res: 201 Apr 28, 2011 7:00:48 PM info.textgrid.utils.existclient.ExistClient getDocument INFO: getting doc: http://134.76.20.85/exist-latest/rest/junit/2f09 Apr 28, 2011 7:00:48 PM info.textgrid.utils.existclient.ExistClient getDocument INFO: exist-get-res: 200 Apr 28, 2011 7:00:48 PM info.textgrid.utils.existclient.ExistClient deleteDocument INFO: exist-delete-res: 200 Apr 28, 2011 7:00:48 PM info.textgrid.utils.existclient.ExistClient getDocument INFO: getting doc: http://134.76.20.85/exist-latest/rest/junit/2f09 Apr 28, 2011 7:00:49 PM info.textgrid.utils.existclient.ExistClient getDocument INFO: exist-get-res: 200 Apr 28, 2011 7:00:49 PM info.textgrid.utils.existclient.ExistClient deleteDocument INFO: exist-delete-res: 200 delres1 = 200 Apr 28, 2011 7:00:49 PM info.textgrid.utils.existclient.ExistClient deleteDocument INFO: exist-delete-res: 404 delres2 = 404 Apr 28, 2011 7:00:49 PM info.textgrid.utils.existclient.ExistClient getDocument INFO: getting doc: http://134.76.20.85/exist-latest/rest/junit/2f09 Apr 28, 2011 7:00:49 PM info.textgrid.utils.existclient.ExistClient getDocument INFO: exist-get-res: 404 Tests run: 2, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.932 sec Results : Tests run: 5, Failures: 0, Errors: 0, Skipped: 3 [JENKINS] Recording test results [INFO] [bundle:bundle {execution: default-bundle}] [JENKINS] Archiving /var/lib/jenkins/jobs/middleware-common/workspace/existupload/core/pom.xml to /var/lib/jenkins/jobs/middleware-common/modules/info.textgrid.common$existupload-core/builds/2011-04-28_19-00-27/archive/info.textgrid.common/existupload-core/1.0.0-SNAPSHOT/existupload-core-1.0.0-SNAPSHOT.pom [JENKINS] Archiving /var/lib/jenkins/jobs/middleware-common/workspace/existupload/core/target/existupload-core-1.0.0-SNAPSHOT.jar to /var/lib/jenkins/jobs/middleware-common/modules/info.textgrid.common$existupload-core/builds/2011-04-28_19-00-27/archive/info.textgrid.common/existupload-core/1.0.0-SNAPSHOT/existupload-core-1.0.0-SNAPSHOT.jar