Build failed in Jenkins: java-identity-provider-nightly #78

Shibboleth Jenkins noreply at shibboleth.net
Tue Aug 6 03:18:16 EDT 2013


See <https://build.shibboleth.net/jenkins/job/java-identity-provider-nightly/78/changes>

Changes:

[scantor] Draft API for subject canonicalization.

[scantor] Get rid of superfluous exception class.

[scantor] Add cloning of custom principals.

[scantor] Action that finalizes authentication and creates SubjectContext.

[scantor] Fix comment.

[scantor] Move ESAPI config initialization into opensaml-core

[scantor] Rename TBD action updating session.

[scantor] Rename TBD action updating session.

[scantor] Add LDAP test for JAAS action.

[scantor] Remove unboundid version.

[scantor] IDP-231: JAAS login action

[rdw] IDP-296 Turn on XSD schema validation by default for SPRING parsers

[rdw] IDP-296 As a preliminary to turning off Schema validation in SchmeTypeAwareXMLBeanDefinitionReader, fix up the tests
- Add namespace location hints to the test files.
- Turn off validation in line in cases where the test file has to be schema invalid in order to exercise code paths.
- We insert the Shibboleth 2 security schema into the test classpath for resolver-spring as a temporary until we work out where this will go.

------------------------------------------
[...truncated 7640 lines...]
[WARNING] <https://build.shibboleth.net/jenkins/job/java-identity-provider-nightly/ws/idp-attribute-filter-impl/src/main/java/net/shibboleth/idp/attribute/filter/impl/matcher/AbstractMatcher.java>: Recompile with -Xlint:unchecked for details.
[INFO]                                                                         
[INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[INFO] Forking Shibboleth IdP :: Profile Implementation 3.0-SNAPSHOT
[INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[INFO] 
[INFO] --- maven-dependency-plugin:2.7:copy (default) @ idp-profile-impl ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ idp-profile-impl ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ idp-profile-impl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 15 source files to <https://build.shibboleth.net/jenkins/job/java-identity-provider-nightly/ws/idp-profile-impl/target/classes>
[WARNING] <https://build.shibboleth.net/jenkins/job/java-identity-provider-nightly/ws/idp-profile-impl/src/main/java/net/shibboleth/idp/profile/impl/InitializeProfileRequestContext.java>: Some input files use unchecked or unsafe operations.
[WARNING] <https://build.shibboleth.net/jenkins/job/java-identity-provider-nightly/ws/idp-profile-impl/src/main/java/net/shibboleth/idp/profile/impl/InitializeProfileRequestContext.java>: Recompile with -Xlint:unchecked for details.
[INFO]                                                                         
[INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[INFO] Forking Shibboleth IdP :: SAML Profile Implementation 3.0-SNAPSHOT
[INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[INFO] 
[INFO] --- maven-dependency-plugin:2.7:copy (default) @ idp-saml-impl ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ idp-saml-impl ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 6 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ idp-saml-impl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 71 source files to <https://build.shibboleth.net/jenkins/job/java-identity-provider-nightly/ws/idp-saml-impl/target/classes>
[WARNING] <https://build.shibboleth.net/jenkins/job/java-identity-provider-nightly/ws/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/impl/profile/saml1/AddDoNotCacheConditionToAssertions.java>: Some input files use unchecked or unsafe operations.
[WARNING] <https://build.shibboleth.net/jenkins/job/java-identity-provider-nightly/ws/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/impl/profile/saml1/AddDoNotCacheConditionToAssertions.java>: Recompile with -Xlint:unchecked for details.
[INFO]                                                                         
[INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[INFO] Forking Shibboleth IdP :: Attribute Resolver Spring Integration 3.0-SNAPSHOT
[INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[INFO] 
[INFO] --- maven-dependency-plugin:2.7:copy (default) @ idp-attribute-resolver-spring ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ idp-attribute-resolver-spring ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 7 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ idp-attribute-resolver-spring ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 50 source files to <https://build.shibboleth.net/jenkins/job/java-identity-provider-nightly/ws/idp-attribute-resolver-spring/target/classes>
[INFO]                                                                         
[INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[INFO] Forking Shibboleth IdP :: Attribute Filter Spring Integration 3.0-SNAPSHOT
[INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[INFO] 
[INFO] --- maven-dependency-plugin:2.7:copy (default) @ idp-attribute-filter-spring ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ idp-attribute-filter-spring ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 5 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ idp-attribute-filter-spring ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 51 source files to <https://build.shibboleth.net/jenkins/job/java-identity-provider-nightly/ws/idp-attribute-filter-spring/target/classes>
[WARNING] <https://build.shibboleth.net/jenkins/job/java-identity-provider-nightly/ws/idp-attribute-filter-spring/src/main/java/net/shibboleth/idp/attribute/filter/spring/AttributeFilterPolicyParser.java>: <https://build.shibboleth.net/jenkins/job/java-identity-provider-nightly/ws/idp-attribute-filter-spring/src/main/java/net/shibboleth/idp/attribute/filter/spring/AttributeFilterPolicyParser.java> uses unchecked or unsafe operations.
[WARNING] <https://build.shibboleth.net/jenkins/job/java-identity-provider-nightly/ws/idp-attribute-filter-spring/src/main/java/net/shibboleth/idp/attribute/filter/spring/AttributeFilterPolicyParser.java>: Recompile with -Xlint:unchecked for details.
[INFO]                                                                         
[INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[INFO] Forking Shibboleth IdP :: Attribute CLI 3.0-SNAPSHOT
[INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[INFO] 
[INFO] --- maven-dependency-plugin:2.7:copy (default) @ idp-attribute-cli ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ idp-attribute-cli ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 5 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ idp-attribute-cli ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 5 source files to <https://build.shibboleth.net/jenkins/job/java-identity-provider-nightly/ws/idp-attribute-cli/target/classes>
[INFO]                                                                         
[INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[INFO] Forking Shibboleth IdP :: War 3.0-SNAPSHOT
[INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[INFO] 
[INFO] --- maven-dependency-plugin:2.7:copy (default) @ idp-war ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ idp-war ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <https://build.shibboleth.net/jenkins/job/java-identity-provider-nightly/ws/idp-war/src/main/resources>
[INFO] 
[INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ idp-war ---
[INFO] No sources to compile
[INFO] 
[INFO] <<< maven-javadoc-plugin:2.9:test-aggregate (report:test-aggregate) @ idp-saml-api <<<
[INFO] configuring report plugin org.apache.maven.plugins:maven-jxr-plugin:2.3
[INFO] configuring report plugin org.apache.maven.plugins:maven-project-info-reports-plugin:2.6
[INFO] Parent project loaded from repository: net.shibboleth:parent-v3:pom:TRUNK-SNAPSHOT
[INFO] Relativizing decoration links with respect to project URL: http://shibboleth.net/idp-saml-api/
[INFO] Rendering site with org.apache.maven.skins:maven-default-skin:jar:1.0 skin.
[INFO] Generating "Checkstyle" report    --- maven-checkstyle-plugin:2.10
[INFO] 
[INFO] Generating "Cobertura Test Coverage" report    --- cobertura-maven-plugin:2.5.2
[INFO] Cobertura Report generation was successful.
[INFO] Generating "About" report    --- maven-project-info-reports-plugin:2.6
[INFO] Generating "Project License" report    --- maven-project-info-reports-plugin:2.6
[INFO] Generating "Distribution Management" report    --- maven-project-info-reports-plugin:2.6
[INFO] Generating "Mailing Lists" report    --- maven-project-info-reports-plugin:2.6
[INFO] Generating "Issue Tracking" report    --- maven-project-info-reports-plugin:2.6
[INFO] Generating "Source Repository" report    --- maven-project-info-reports-plugin:2.6
[INFO] Generating "Project Team" report    --- maven-project-info-reports-plugin:2.6
[INFO] Generating "Dependencies" report    --- maven-project-info-reports-plugin:2.6
Downloading: https://build.shibboleth.net/nexus/content/repositories/snapshots/net/shibboleth/idp/idp-saml-api/3.0-SNAPSHOT/idp-saml-api-3.0-20130806.071705-76.pom
3/3 KB   
         
Downloaded: https://build.shibboleth.net/nexus/content/repositories/snapshots/net/shibboleth/idp/idp-saml-api/3.0-SNAPSHOT/idp-saml-api-3.0-20130806.071705-76.pom (3 KB at 211.9 KB/sec)
[INFO] Generating "Dependency Management" report    --- maven-project-info-reports-plugin:2.6
[INFO] Generating "Project Plugins" report    --- maven-project-info-reports-plugin:2.6
[INFO] Generating "Plugin Management" report    --- maven-project-info-reports-plugin:2.6
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Shibboleth IdP :: Authentication Implementation 3.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ idp-authn-impl ---
[INFO] Deleting <https://build.shibboleth.net/jenkins/job/java-identity-provider-nightly/ws/idp-authn-impl/target>
[INFO] 
[INFO] --- maven-dependency-plugin:2.7:copy (default) @ idp-authn-impl ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ idp-authn-impl ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ idp-authn-impl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 25 source files to <https://build.shibboleth.net/jenkins/job/java-identity-provider-nightly/ws/idp-authn-impl/target/classes>
[WARNING] <https://build.shibboleth.net/jenkins/job/java-identity-provider-nightly/ws/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/ExtractUsernamePasswordFromBasicAuth.java>: Some input files use unchecked or unsafe operations.
[WARNING] <https://build.shibboleth.net/jenkins/job/java-identity-provider-nightly/ws/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/ExtractUsernamePasswordFromBasicAuth.java>: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ idp-authn-impl ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.0:testCompile (default-testCompile) @ idp-authn-impl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 15 source files to <https://build.shibboleth.net/jenkins/job/java-identity-provider-nightly/ws/idp-authn-impl/target/test-classes>
[WARNING] <https://build.shibboleth.net/jenkins/job/java-identity-provider-nightly/ws/idp-authn-impl/src/test/java/net/shibboleth/idp/authn/impl/ValidateUserAgentAddressTest.java>: Some input files use unchecked or unsafe operations.
[WARNING] <https://build.shibboleth.net/jenkins/job/java-identity-provider-nightly/ws/idp-authn-impl/src/test/java/net/shibboleth/idp/authn/impl/ValidateUserAgentAddressTest.java>: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ idp-authn-impl ---
[INFO] Surefire report directory: <https://build.shibboleth.net/jenkins/job/java-identity-provider-nightly/ws/idp-authn-impl/target/surefire-reports>

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running TestSuite
Tests run: 80, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.089 sec <<< FAILURE!
testDefault(net.shibboleth.idp.authn.impl.DisplayUsernamePasswordPageTest)  Time elapsed: 0.038 sec  <<< FAILURE!
org.owasp.esapi.errors.ConfigurationException: java.lang.reflect.InvocationTargetException SecurityConfiguration class (org.owasp.esapi.reference.DefaultSecurityConfiguration) CTOR threw exception.
	at org.owasp.esapi.util.ObjFactory.make(ObjFactory.java:129)
	at org.owasp.esapi.ESAPI.securityConfiguration(ESAPI.java:184)
	at org.owasp.esapi.ESAPI.encoder(ESAPI.java:99)
	at net.shibboleth.idp.authn.impl.DisplayUsernamePasswordPage.buildTemplateContext(DisplayUsernamePasswordPage.java:211)
	at net.shibboleth.idp.authn.impl.DisplayUsernamePasswordPage.doExecute(DisplayUsernamePasswordPage.java:181)
	at net.shibboleth.idp.authn.AbstractAuthenticationAction.doExecute(AbstractAuthenticationAction.java:97)
	at org.opensaml.profile.action.AbstractProfileAction.execute(AbstractProfileAction.java:73)
	at net.shibboleth.idp.authn.impl.DisplayUsernamePasswordPageTest.testDefault(DisplayUsernamePasswordPageTest.java:91)
Caused by: java.lang.reflect.InvocationTargetException
	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:601)
	at org.owasp.esapi.util.ObjFactory.make(ObjFactory.java:86)
	... 41 more
Caused by: org.owasp.esapi.errors.ConfigurationException: ESAPI.properties could not be loaded by any means. Fail.
	at org.owasp.esapi.reference.DefaultSecurityConfiguration.loadConfiguration(DefaultSecurityConfiguration.java:439)
	at org.owasp.esapi.reference.DefaultSecurityConfiguration.<init>(DefaultSecurityConfiguration.java:227)
	at org.owasp.esapi.reference.DefaultSecurityConfiguration.getInstance(DefaultSecurityConfiguration.java:75)
	... 46 more
Caused by: java.lang.IllegalArgumentException: Failed to load ESAPI.properties as a classloader resource.
	at org.owasp.esapi.reference.DefaultSecurityConfiguration.loadConfigurationFromClasspath(DefaultSecurityConfiguration.java:667)
	at org.owasp.esapi.reference.DefaultSecurityConfiguration.loadConfiguration(DefaultSecurityConfiguration.java:436)
	... 48 more


Results :

Failed tests:   testDefault(net.shibboleth.idp.authn.impl.DisplayUsernamePasswordPageTest): java.lang.reflect.InvocationTargetException SecurityConfiguration class (org.owasp.esapi.reference.DefaultSecurityConfiguration) CTOR threw exception.

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

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Shibboleth Identity Provider ...................... SUCCESS [55.296s]
[INFO] Shibboleth IdP :: Core ............................ SUCCESS [20.979s]
[INFO] Shibboleth IdP :: Attribute API ................... SUCCESS [33.630s]
[INFO] Shibboleth IdP :: Attribute Resolver API .......... SUCCESS [40.427s]
[INFO] Shibboleth IdP :: Attribute Filter API ............ SUCCESS [27.692s]
[INFO] Shibboleth IdP :: Profile API ..................... SUCCESS [54.034s]
[INFO] Shibboleth IdP :: Authentication API .............. SUCCESS [52.470s]
[INFO] Shibboleth IdP :: SAML Profile API ................ SUCCESS [1:10.067s]
[INFO] Shibboleth IdP :: Authentication Implementation ... FAILURE [2.906s]
[INFO] Shibboleth IdP :: Attribute Implementation ........ SKIPPED
[INFO] Shibboleth IdP :: Attribute Resolver Implementation  SKIPPED
[INFO] Shibboleth IdP :: Attribute Filter Implementation . SKIPPED
[INFO] Shibboleth IdP :: Profile Implementation .......... SKIPPED
[INFO] Shibboleth IdP :: SAML Profile Implementation ..... SKIPPED
[INFO] Shibboleth IdP :: Attribute Resolver Spring Integration  SKIPPED
[INFO] Shibboleth IdP :: Attribute Filter Spring Integration  SKIPPED
[INFO] Shibboleth IdP :: Attribute CLI ................... SKIPPED
[INFO] Shibboleth IdP :: War ............................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5:59.897s
[INFO] Finished at: Tue Aug 06 03:18:03 EDT 2013
[INFO] Final Memory: 198M/900M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project idp-authn-impl: There are test failures.
[ERROR] 
[ERROR] Please refer to <https://build.shibboleth.net/jenkins/job/java-identity-provider-nightly/ws/idp-authn-impl/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
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :idp-authn-impl
Build step 'Invoke top-level Maven targets' marked build as failure
[htmlpublisher] Archiving HTML reports...
[htmlpublisher] Archiving at PROJECT level <https://build.shibboleth.net/jenkins/job/java-identity-provider-nightly/ws/idp-parent/target/site> to /home/jenkins/.jenkins/jobs/java-identity-provider-nightly/htmlreports/Site_Report
Publishing Javadoc
TestNG Reports Processing: START
Looking for TestNG results report in workspace using pattern: **/target/surefire-reports/testng-results.xml
testng-results.xml was last modified before this build started. Ignoring it.
testng-results.xml was last modified before this build started. Ignoring it.
testng-results.xml was last modified before this build started. Ignoring it.
testng-results.xml was last modified before this build started. Ignoring it.
testng-results.xml was last modified before this build started. Ignoring it.
Saving reports...
Processing '/home/jenkins/.jenkins/jobs/java-identity-provider-nightly/builds/2013-08-06_03-11-57/testng/testng-results-1.xml'
Processing '/home/jenkins/.jenkins/jobs/java-identity-provider-nightly/builds/2013-08-06_03-11-57/testng/testng-results-2.xml'
Processing '/home/jenkins/.jenkins/jobs/java-identity-provider-nightly/builds/2013-08-06_03-11-57/testng/testng-results-3.xml'
Processing '/home/jenkins/.jenkins/jobs/java-identity-provider-nightly/builds/2013-08-06_03-11-57/testng/testng-results-4.xml'
Processing '/home/jenkins/.jenkins/jobs/java-identity-provider-nightly/builds/2013-08-06_03-11-57/testng/testng-results-5.xml'
Processing '/home/jenkins/.jenkins/jobs/java-identity-provider-nightly/builds/2013-08-06_03-11-57/testng/testng-results-6.xml'
Processing '/home/jenkins/.jenkins/jobs/java-identity-provider-nightly/builds/2013-08-06_03-11-57/testng/testng-results.xml'
TestNG Reports Processing: FINISH


More information about the commits mailing list