Build failed in Jenkins: Syncope branch 0_7_X (GNU Linux) #38

0 views
Skip to first unread message

jen...@syncope-idm.org

unread,
Feb 9, 2012, 7:15:57 AM2/9/12
to synco...@googlegroups.com, chicch...@gmail.com
See <http://jenkins.syncope-idm.org/job/Syncope%20branch%200_7_X%20(GNU%20Linux)/38/changes>

Changes:

[chicch...@gmail.com] Fixes issue 288

------------------------------------------
[...truncated 1220 lines...]
[INFO]
[INFO] --- maven-surefire-plugin:2.11:test (default-test) @ syncope-core ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-surefire-plugin:2.11:test (test-phase-execution) @ syncope-core ---
[INFO] Surefire report directory: <http://jenkins.syncope-idm.org/job/Syncope%20branch%200_7_X%20(GNU%20Linux)/ws/core/target/surefire-reports>

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.syncope.core.persistence.dao.SchemaTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.77 sec
Running org.syncope.core.persistence.dao.ConnInstanceTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.085 sec
Running org.syncope.core.persistence.dao.PolicyTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.123 sec
Running org.syncope.core.persistence.dao.TaskTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.266 sec
Running org.syncope.core.persistence.dao.TaskExecTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.115 sec
Running org.syncope.core.persistence.dao.DerAttrTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.229 sec
Running org.syncope.core.persistence.dao.VirSchemaTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.072 sec
Running org.syncope.core.persistence.dao.RoleTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.312 sec
Running org.syncope.core.persistence.dao.VirAttrTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.202 sec
Running org.syncope.core.persistence.dao.EntitlementTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.132 sec
Running org.syncope.core.persistence.dao.NotificationTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.1 sec
Running org.syncope.core.persistence.dao.DerSchemaTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.054 sec
Running org.syncope.core.persistence.dao.MembershipTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.139 sec
Running org.syncope.core.persistence.dao.ResourceTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.242 sec
Running org.syncope.core.persistence.dao.UserSearchTest
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.085 sec
Running org.syncope.core.persistence.dao.UserTest
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.329 sec
Running org.syncope.core.persistence.dao.AttrTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.109 sec
Running org.syncope.core.init.ConnInstanceLoaderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.362 sec

Results :

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

[JENKINS] Recording test results
[INFO]
[INFO] --- maven-surefire-plugin:2.11:test (relationship-test-execution) @ syncope-core ---
[INFO] Surefire report directory: <http://jenkins.syncope-idm.org/job/Syncope%20branch%200_7_X%20(GNU%20Linux)/ws/core/target/surefire-reports>

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.syncope.core.persistence.relationships.SchemaTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.396 sec
Running org.syncope.core.persistence.relationships.TaskTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.415 sec
Running org.syncope.core.persistence.relationships.RoleTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.101 sec
Running org.syncope.core.persistence.relationships.DerSchemaTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.057 sec
Running org.syncope.core.persistence.relationships.MembershipTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.15 sec
Running org.syncope.core.persistence.relationships.ResourceTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.381 sec
Running org.syncope.core.persistence.relationships.UserTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.078 sec
Running org.syncope.core.persistence.relationships.AttrTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.099 sec

Results :

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

[JENKINS] Recording test results
[INFO]
[INFO] --- maven-war-plugin:2.1.1:war (default-war) @ syncope-core ---
[INFO] Packaging webapp
[INFO] Assembling webapp [syncope-core] in [<http://jenkins.syncope-idm.org/job/Syncope%20branch%200_7_X%20(GNU%20Linux)/ws/core/target/syncope]>
[INFO] Processing war project
[INFO] Copying webapp webResources [<http://jenkins.syncope-idm.org/job/Syncope%20branch%200_7_X%20(GNU%20Linux)/ws/core/src/main/webapp]> to [<http://jenkins.syncope-idm.org/job/Syncope%20branch%200_7_X%20(GNU%20Linux)/ws/core/target/syncope]>
[INFO] Copying webapp resources [<http://jenkins.syncope-idm.org/job/Syncope%20branch%200_7_X%20(GNU%20Linux)/ws/core/src/main/webapp]>
[INFO] Webapp assembled in [283 msecs]
[INFO] Building war: <http://jenkins.syncope-idm.org/job/Syncope%20branch%200_7_X%20(GNU%20Linux)/ws/core/target/syncope.war>
[INFO] WEB-INF/web.xml already added, skipping
[INFO] Packaging classes
[INFO] Building jar: <http://jenkins.syncope-idm.org/job/Syncope%20branch%200_7_X%20(GNU%20Linux)/ws/core/target/syncope-classes.jar>
[INFO]
[INFO] --- maven-antrun-plugin:1.7:run (explodeSyncopeWAR) @ syncope-core ---
[INFO] Executing tasks

main:
[unzip] Expanding: <http://jenkins.syncope-idm.org/job/Syncope%20branch%200_7_X%20(GNU%20Linux)/ws/core/target/syncope.war> into <http://jenkins.syncope-idm.org/job/Syncope%20branch%200_7_X%20(GNU%20Linux)/ws/core/target/syncope-core-test>
[copy] Copying 1 file to <http://jenkins.syncope-idm.org/job/Syncope%20branch%200_7_X%20(GNU%20Linux)/ws/core/target/syncope-core-test/WEB-INF/classes/org/syncope/core/scheduling>
[mkdir] Created dir: <http://jenkins.syncope-idm.org/job/Syncope%20branch%200_7_X%20(GNU%20Linux)/ws/core/target/test-conf>
[copy] Copying 12 files to <http://jenkins.syncope-idm.org/job/Syncope%20branch%200_7_X%20(GNU%20Linux)/ws/core/target/test-conf>
[INFO] Executed tasks
[INFO]
[INFO] --- maven-antrun-plugin:1.7:run (setupTomcat) @ syncope-core ---
[INFO] Executing tasks

main:
[get] Destination already exists (skipping): /tmp/apache-tomcat-7.0.23.zip
[unzip] Expanding: /tmp/apache-tomcat-7.0.23.zip into /tmp
[INFO] Executed tasks
[INFO]
[INFO] --- maven-antrun-plugin:1.7:run (setupCSV) @ syncope-core ---
[INFO] Executing tasks

main:
[copy] Copying 1 file to /tmp
[INFO] Executed tasks
[INFO]
[INFO] --- cargo-maven2-plugin:1.1.2:start (start-container) @ syncope-core ---
[INFO]
[INFO] --- maven-failsafe-plugin:2.11:integration-test (default) @ syncope-core ---
[INFO] Failsafe report directory: <http://jenkins.syncope-idm.org/job/Syncope%20branch%200_7_X%20(GNU%20Linux)/ws/core/target/failsafe-reports>

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.syncope.core.rest.AuthenticationTestITCase
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.11 sec
Running org.syncope.core.rest.ConfigurationTestITCase
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.397 sec
Running org.syncope.core.rest.ConnInstanceTestITCase
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.881 sec
Running org.syncope.core.rest.DerivedSchemaTestITCase
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.379 sec
Running org.syncope.core.rest.LogTestITCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.049 sec
Running org.syncope.core.rest.NotificationTestITCase
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.85 sec
Running org.syncope.core.rest.PolicyTestITCase
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.666 sec
Running org.syncope.core.rest.ResourceTestITCase
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.778 sec
Running org.syncope.core.rest.RoleTestITCase
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.66 sec
Running org.syncope.core.rest.SchemaTestITCase
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.049 sec
Running org.syncope.core.rest.TaskTestITCase
Tests run: 12, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 11.117 sec <<< FAILURE!
Running org.syncope.core.rest.UserRequestTestITCase
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.219 sec
Running org.syncope.core.rest.UserTestITCase
Tests run: 36, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.48 sec
Running org.syncope.core.rest.VirtualSchemaTestITCase
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.164 sec

Results :

Failed tests: sync(org.syncope.core.rest.TaskTestITCase): expected:<[test9@syncope].org> but was:<[user5@syncope-idm].org>

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

[JENKINS] Recording test results
[INFO]
[INFO] --- cargo-maven2-plugin:1.1.2:stop (stop-container) @ syncope-core ---
[INFO]
[INFO] --- maven-failsafe-plugin:2.11:verify (default) @ syncope-core ---
[INFO] Failsafe report directory: <http://jenkins.syncope-idm.org/job/Syncope%20branch%200_7_X%20(GNU%20Linux)/ws/core/target/failsafe-reports>
[JENKINS] Archiving <http://jenkins.syncope-idm.org/job/Syncope%20branch%200_7_X%20(GNU%20Linux)/ws/core/pom.xml> to /var/lib/jenkins/jobs/Syncope branch 0_7_X (GNU Linux)/modules/org.syncope$syncope-core/builds/2012-02-09_13-11-57/archive/org.syncope/syncope-core/0.7.2-SNAPSHOT/syncope-core-0.7.2-SNAPSHOT.pom
[JENKINS] Archiving <http://jenkins.syncope-idm.org/job/Syncope%20branch%200_7_X%20(GNU%20Linux)/ws/core/target/syncope.war> to /var/lib/jenkins/jobs/Syncope branch 0_7_X (GNU Linux)/modules/org.syncope$syncope-core/builds/2012-02-09_13-11-57/archive/org.syncope/syncope-core/0.7.2-SNAPSHOT/syncope-core-0.7.2-SNAPSHOT.war
[JENKINS] Archiving <http://jenkins.syncope-idm.org/job/Syncope%20branch%200_7_X%20(GNU%20Linux)/ws/core/target/syncope-classes.jar> to /var/lib/jenkins/jobs/Syncope branch 0_7_X (GNU Linux)/modules/org.syncope$syncope-core/builds/2012-02-09_13-11-57/archive/org.syncope/syncope-core/0.7.2-SNAPSHOT/syncope-core-0.7.2-SNAPSHOT-classes.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Syncope ........................................... SUCCESS [17.487s]
[INFO] Syncope build tools ............................... SUCCESS [26.148s]
[INFO] Syncope client .................................... SUCCESS [29.366s]
[INFO] Syncope core ...................................... FAILURE [2:20.642s]
[INFO] Syncope console ................................... SKIPPED
[INFO] Syncope archetype ................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3:47.110s
[INFO] Finished at: Thu Feb 09 13:15:56 CET 2012
[INFO] Final Memory: 66M/489M
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
mavenExecutionResult exceptions not empty
message : Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.11:verify (default) on project syncope-core: There are test failures.

Please refer to <http://jenkins.syncope-idm.org/job/Syncope%20branch%200_7_X%20(GNU%20Linux)/ws/core/target/failsafe-reports> for the individual test results.
cause : There are test failures.

Please refer to <http://jenkins.syncope-idm.org/job/Syncope%20branch%200_7_X%20(GNU%20Linux)/ws/core/target/failsafe-reports> for the individual test results.
Stack trace :
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.11:verify (default) on project syncope-core: There are test failures.

Please refer to <http://jenkins.syncope-idm.org/job/Syncope%20branch%200_7_X%20(GNU%20Linux)/ws/core/target/failsafe-reports> for the individual test results.
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:79)
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.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:158)
at hudson.maven.Maven3Builder.call(Maven3Builder.java:104)
at hudson.maven.Maven3Builder.call(Maven3Builder.java:70)
at hudson.remoting.UserRequest.perform(UserRequest.java:118)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:287)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.

Please refer to <http://jenkins.syncope-idm.org/job/Syncope%20branch%200_7_X%20(GNU%20Linux)/ws/core/target/failsafe-reports> for the individual test results.
at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:126)
at org.apache.maven.plugin.failsafe.VerifyMojo.execute(VerifyMojo.java:208)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 27 more
Maven failed with error.
[CHECKSTYLE] Aggregating results of Syncope build tools
[CHECKSTYLE] Using set difference to compute new warnings
[CHECKSTYLE] Not changing build status, since no threshold has been exceeded
[CHECKSTYLE] Aggregating results of Syncope client
[CHECKSTYLE] Using set difference to compute new warnings
[CHECKSTYLE] Not changing build status, since no threshold has been exceeded
[PMD] Aggregating results of Syncope build tools
[PMD] Using set difference to compute new warnings
[PMD] Not changing build status, since no threshold has been exceeded
[PMD] Aggregating results of Syncope client
[PMD] Using set difference to compute new warnings
[PMD] Not changing build status, since no threshold has been exceeded
channel stopped

jen...@syncope-idm.org

unread,
Feb 9, 2012, 7:46:09 AM2/9/12
to synco...@googlegroups.com, chicch...@gmail.com
Reply all
Reply to author
Forward
0 new messages