Build failed in Jenkins: spring-extensions-nightly-central-disabled #162

Shibboleth Jenkins noreply at shibboleth.net
Tue Sep 29 02:25:58 EDT 2015


See <https://build.shibboleth.net/jenkins/job/spring-extensions-nightly-central-disabled/162/>

------------------------------------------
[...truncated 81 lines...]
60/212 KB   
63/212 KB   
64/212 KB   
68/212 KB   
70/212 KB   
72/212 KB   
76/212 KB   
78/212 KB   
80/212 KB   
84/212 KB   
86/212 KB   
88/212 KB   
92/212 KB   
94/212 KB   
96/212 KB   
100/212 KB   
102/212 KB   
104/212 KB   
108/212 KB   
110/212 KB   
112/212 KB   
116/212 KB   
117/212 KB   
120/212 KB   
124/212 KB   
125/212 KB   
128/212 KB   
132/212 KB   
133/212 KB   
136/212 KB   
140/212 KB   
141/212 KB   
144/212 KB   
148/212 KB   
149/212 KB   
152/212 KB   
156/212 KB   
160/212 KB   
160/212 KB   
164/212 KB   
168/212 KB   
168/212 KB   
172/212 KB   
176/212 KB   
176/212 KB   
180/212 KB   
184/212 KB   
184/212 KB   
188/212 KB   
192/212 KB   
192/212 KB   
195/212 KB   
199/212 KB   
200/212 KB   
203/212 KB   
207/212 KB   
208/212 KB   
211/212 KB   
212/212 KB   
             
Downloaded: https://build.shibboleth.net/nexus/content/repositories/snapshots/net/shibboleth/utilities/java-support/7.2.0-SNAPSHOT/java-support-7.2.0-20150929.055715-187.jar (212 KB at 2325.8 KB/sec)
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ spring-extensions ---
[INFO] Deleting <https://build.shibboleth.net/jenkins/job/spring-extensions-nightly-central-disabled/ws/target>
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ spring-extensions ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ spring-extensions ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 43 source files to <https://build.shibboleth.net/jenkins/job/spring-extensions-nightly-central-disabled/ws/target/classes>
[WARNING] <https://build.shibboleth.net/jenkins/job/spring-extensions-nightly-central-disabled/ws/src/main/java/net/shibboleth/ext/spring/service/ClassBasedServiceStrategy.java>: Some input files use unchecked or unsafe operations.
[WARNING] <https://build.shibboleth.net/jenkins/job/spring-extensions-nightly-central-disabled/ws/src/main/java/net/shibboleth/ext/spring/service/ClassBasedServiceStrategy.java>: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ spring-extensions ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 25 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ spring-extensions ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 13 source files to <https://build.shibboleth.net/jenkins/job/spring-extensions-nightly-central-disabled/ws/target/test-classes>
[INFO] 
[INFO] --- maven-surefire-plugin:2.16:test (default-test) @ spring-extensions ---
[INFO] Surefire report directory: <https://build.shibboleth.net/jenkins/job/spring-extensions-nightly-central-disabled/ws/target/surefire-reports>

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running TestSuite
Tests run: 32, Failures: 13, Errors: 0, Skipped: 0, Time elapsed: 15.432 sec <<< FAILURE! - in TestSuite
testCompare(net.shibboleth.ext.spring.resource.FileBackedHTTPResourceTest)  Time elapsed: 0.102 sec  <<< FAILURE!
java.lang.AssertionError: expected [true] but found [false]
	at org.testng.Assert.fail(Assert.java:94)
	at org.testng.Assert.failNotEquals(Assert.java:494)
	at org.testng.Assert.assertTrue(Assert.java:42)
	at org.testng.Assert.assertTrue(Assert.java:52)
	at net.shibboleth.ext.spring.resource.FileBackedHTTPResourceTest.testCompare(FileBackedHTTPResourceTest.java:80)

testParsingNew(net.shibboleth.ext.spring.resource.FileBackedHTTPResourceTest)  Time elapsed: 0.287 sec  <<< FAILURE!
java.lang.AssertionError: expected [true] but found [false]
	at org.testng.Assert.fail(Assert.java:94)
	at org.testng.Assert.failNotEquals(Assert.java:494)
	at org.testng.Assert.assertTrue(Assert.java:42)
	at org.testng.Assert.assertTrue(Assert.java:52)
	at net.shibboleth.ext.spring.resource.FileBackedHTTPResourceTest.testParsingNew(FileBackedHTTPResourceTest.java:147)

testParsingOld(net.shibboleth.ext.spring.resource.FileBackedHTTPResourceTest)  Time elapsed: 0.122 sec  <<< FAILURE!
java.lang.AssertionError: expected [true] but found [false]
	at org.testng.Assert.fail(Assert.java:94)
	at org.testng.Assert.failNotEquals(Assert.java:494)
	at org.testng.Assert.assertTrue(Assert.java:42)
	at org.testng.Assert.assertTrue(Assert.java:52)
	at net.shibboleth.ext.spring.resource.FileBackedHTTPResourceTest.testParsingOld(FileBackedHTTPResourceTest.java:125)

existsTest(net.shibboleth.ext.spring.resource.HTTPResourceTest)  Time elapsed: 0.085 sec  <<< FAILURE!
java.lang.AssertionError: expected [true] but found [false]
	at org.testng.Assert.fail(Assert.java:94)
	at org.testng.Assert.failNotEquals(Assert.java:494)
	at org.testng.Assert.assertTrue(Assert.java:42)
	at org.testng.Assert.assertTrue(Assert.java:52)
	at net.shibboleth.ext.spring.resource.HTTPResourceTest.existsTest(HTTPResourceTest.java:60)

springLoadFileCache(net.shibboleth.ext.spring.resource.HTTPResourceTest)  Time elapsed: 0.246 sec  <<< FAILURE!
java.lang.AssertionError: expected [true] but found [false]
	at org.testng.Assert.fail(Assert.java:94)
	at org.testng.Assert.failNotEquals(Assert.java:494)
	at org.testng.Assert.assertTrue(Assert.java:42)
	at org.testng.Assert.assertTrue(Assert.java:52)
	at net.shibboleth.ext.spring.resource.HTTPResourceTest.springLoadFileCache(HTTPResourceTest.java:164)

springLoadMemCache(net.shibboleth.ext.spring.resource.HTTPResourceTest)  Time elapsed: 0.205 sec  <<< FAILURE!
java.lang.AssertionError: expected [true] but found [false]
	at org.testng.Assert.fail(Assert.java:94)
	at org.testng.Assert.failNotEquals(Assert.java:494)
	at org.testng.Assert.assertTrue(Assert.java:42)
	at org.testng.Assert.assertTrue(Assert.java:52)
	at net.shibboleth.ext.spring.resource.HTTPResourceTest.springLoadMemCache(HTTPResourceTest.java:131)

testCachedCache(net.shibboleth.ext.spring.resource.HTTPResourceTest)  Time elapsed: 0.141 sec  <<< FAILURE!
java.lang.AssertionError: expected [true] but found [false]
	at org.testng.Assert.fail(Assert.java:94)
	at org.testng.Assert.failNotEquals(Assert.java:494)
	at org.testng.Assert.assertTrue(Assert.java:42)
	at org.testng.Assert.assertTrue(Assert.java:52)
	at net.shibboleth.ext.spring.resource.HTTPResourceTest.testCachedCache(HTTPResourceTest.java:100)

testCachedNoCache(net.shibboleth.ext.spring.resource.HTTPResourceTest)  Time elapsed: 0.15 sec  <<< FAILURE!
java.lang.AssertionError: expected [true] but found [false]
	at org.testng.Assert.fail(Assert.java:94)
	at org.testng.Assert.failNotEquals(Assert.java:494)
	at org.testng.Assert.assertTrue(Assert.java:42)
	at org.testng.Assert.assertTrue(Assert.java:52)
	at net.shibboleth.ext.spring.resource.HTTPResourceTest.testCachedNoCache(HTTPResourceTest.java:89)

testCompare(net.shibboleth.ext.spring.resource.HTTPResourceTest)  Time elapsed: 0.099 sec  <<< FAILURE!
java.io.IOException: Non-ok status code 404 returned from remote resource http://svn.shibboleth.net/view/utilities/spring-extensions/trunk/src/test/resources/data/document.xml?view=co
	at net.shibboleth.ext.spring.resource.HTTPResource.getInputStream(HTTPResource.java:165)
	at net.shibboleth.ext.spring.resource.ResourceTestHelper.compare(ResourceTestHelper.java:33)
	at net.shibboleth.ext.spring.resource.HTTPResourceTest.testCompare(HTTPResourceTest.java:66)

testMain(net.shibboleth.ext.spring.resource.SVNResourceTest)  Time elapsed: 1.745 sec  <<< FAILURE!
org.springframework.beans.factory.BeanCreationException: Unable to check out revsion HEAD from remote repository https://svn.shibboleth.net/utilities/spring-extensions/trunk/src/test/resources/data to local working directory /tmp/SVNResourceTest8518192204241040513
	at net.shibboleth.ext.spring.resource.SVNResource.<init>(SVNResource.java:136)
	at net.shibboleth.ext.spring.resource.SVNResourceTest.testMain(SVNResourceTest.java:121)

testNotExist(net.shibboleth.ext.spring.resource.SVNResourceTest)  Time elapsed: 0.007 sec  <<< FAILURE!
org.springframework.beans.factory.BeanCreationException: Unable to check out revsion 442 from remote repository https://svn.shibboleth.net/utilities/spring-extensions/trunk/src/test/resources/data to local working directory /tmp/SVNResourceTest4725964084320372585
	at net.shibboleth.ext.spring.resource.SVNResource.<init>(SVNResource.java:136)
	at net.shibboleth.ext.spring.resource.SVNResourceTest.testNotExist(SVNResourceTest.java:115)

testRevision(net.shibboleth.ext.spring.resource.SVNResourceTest)  Time elapsed: 0.003 sec  <<< FAILURE!
org.springframework.beans.factory.BeanCreationException: Unable to check out revsion 492 from remote repository https://svn.shibboleth.net/utilities/spring-extensions/trunk/src/test/resources/data to local working directory /tmp/SVNResourceTest8064025933440256107
	at net.shibboleth.ext.spring.resource.SVNResource.<init>(SVNResource.java:136)
	at net.shibboleth.ext.spring.resource.SVNResourceTest.testRevision(SVNResourceTest.java:100)

testSpringLoad(net.shibboleth.ext.spring.resource.SVNResourceTest)  Time elapsed: 0.041 sec  <<< FAILURE!
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'TheBean' defined in class path resource [data/SVNBean.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [net.shibboleth.ext.spring.resource.SVNResource]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Unable to check out revsion HEAD from remote repository https://svn.shibboleth.net/utilities/spring-extensions/trunk/src/test/resources/data to local working directory /tmp/SVNResourceTest5873245701781526511
	at net.shibboleth.ext.spring.resource.SVNResource.<init>(SVNResource.java:136)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
	at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)
	at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:122)
	at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:267)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1143)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1046)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:305)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:301)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772)
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:834)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:537)
	at net.shibboleth.ext.spring.resource.SVNResourceTest.getContext(SVNResourceTest.java:143)
	at net.shibboleth.ext.spring.resource.SVNResourceTest.testSpringLoad(SVNResourceTest.java:151)


Results :

Failed tests: 
  FileBackedHTTPResourceTest.testCompare:80 expected [true] but found [false]
  FileBackedHTTPResourceTest.testParsingNew:147 expected [true] but found [false]
  FileBackedHTTPResourceTest.testParsingOld:125 expected [true] but found [false]
  HTTPResourceTest.existsTest:60 expected [true] but found [false]
  HTTPResourceTest.springLoadFileCache:164 expected [true] but found [false]
  HTTPResourceTest.springLoadMemCache:131 expected [true] but found [false]
  HTTPResourceTest.testCachedCache:100 expected [true] but found [false]
  HTTPResourceTest.testCachedNoCache:89 expected [true] but found [false]
  HTTPResourceTest.testCompare:66 » IO Non-ok status code 404 returned from remo...
  SVNResourceTest.testMain:121 » BeanCreation Unable to check out revsion HEAD f...
  SVNResourceTest.testNotExist:115 » BeanCreation Unable to check out revsion 44...
  SVNResourceTest.testRevision:100 » BeanCreation Unable to check out revsion 49...
  SVNResourceTest.testSpringLoad:151->getContext:143 » BeanCreation Error creati...

Tests run: 32, Failures: 13, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 53.563 s
[INFO] Finished at: 2015-09-29T02:25:58-04:00
[INFO] Final Memory: 25M/478M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) on project spring-extensions: There are test failures.
[ERROR] 
[ERROR] Please refer to <https://build.shibboleth.net/jenkins/job/spring-extensions-nightly-central-disabled/ws/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
Build step 'Invoke top-level Maven targets' marked build as failure
[CHECKSTYLE] Skipping publisher since build result is FAILURE
[htmlpublisher] Archiving HTML reports...
[htmlpublisher] Archiving at PROJECT level <https://build.shibboleth.net/jenkins/job/spring-extensions-nightly-central-disabled/ws/target/site> to /var/lib/jenkins/jobs/spring-extensions-nightly-central-disabled/htmlreports/Site_Report
ERROR: Specified HTML directory '<https://build.shibboleth.net/jenkins/job/spring-extensions-nightly-central-disabled/ws/target/site'> does not exist.
Publishing Javadoc
TestNG Reports Processing: START
Looking for TestNG results report in workspace using pattern: **/target/surefire-reports/testng-results.xml
Saving reports...
Processing '/var/lib/jenkins/jobs/spring-extensions-nightly-central-disabled/builds/162/testng/testng-results.xml'
Failed Tests/Configs found. Marking build as UNSTABLE.
TestNG Reports Processing: FINISH


More information about the commits mailing list