[syncope-dev] Build failed in Jenkins: Syncope trunk (Windows) #34

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[syncope-dev] Build failed in Jenkins: Syncope trunk (Windows) #34

jenkins
See <http://jenkins.syncope-idm.org/job/Syncope%20trunk%20(Windows)/34/>

------------------------------------------
[...truncated 984 lines...]
[INFO] --- maven-surefire-plugin:2.9:test (default-test) @ syncope-core ---
[INFO]
[INFO] --- maven-surefire-plugin:2.9:test (test-phase-execution) @ syncope-core ---
Running jpasymphony.dao.JPAWorkflowEntryTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.297 sec
Running org.syncope.core.persistence.dao.AttrTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.703 sec
Running org.syncope.core.persistence.dao.ConnInstanceTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.203 sec
Running org.syncope.core.persistence.dao.DerAttrTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.344 sec
Running org.syncope.core.persistence.dao.DerSchemaTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.078 sec
Running org.syncope.core.persistence.dao.EntitlementTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.11 sec
Running org.syncope.core.persistence.dao.MembershipTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.157 sec
Running org.syncope.core.persistence.dao.PolicyTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.453 sec
Running org.syncope.core.persistence.dao.ResourceTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.125 sec
Running org.syncope.core.persistence.dao.RoleTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.219 sec
Running org.syncope.core.persistence.dao.SchemaTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.188 sec
Running org.syncope.core.persistence.dao.TaskExecTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec
Running org.syncope.core.persistence.dao.TaskTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.719 sec
Running org.syncope.core.persistence.dao.UserSearchTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.562 sec
Running org.syncope.core.persistence.dao.UserTest
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.469 sec
Running org.syncope.core.persistence.dao.VirAttrTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.094 sec
Running org.syncope.core.persistence.dao.VirSchemaTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec

Results :

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

[JENKINS] Recording test results
[INFO]
[INFO] --- maven-surefire-plugin:2.9:test (relationship-test-execution) @ syncope-core ---
[INFO] Surefire report directory: <http://jenkins.syncope-idm.org/job/Syncope%20trunk%20(Windows)/ws/core\target\surefire-reports>

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running jpasymphony.relationships.JPAWorkflowEntryTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 37.71 sec
Running org.syncope.core.persistence.relationships.AttrTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.387 sec
Running org.syncope.core.persistence.relationships.DerSchemaTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.077 sec
Running org.syncope.core.persistence.relationships.MembershipTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.263 sec
Running org.syncope.core.persistence.relationships.ResourceTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.526 sec
Running org.syncope.core.persistence.relationships.RoleTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.069 sec
Running org.syncope.core.persistence.relationships.SchemaTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.111 sec
Running org.syncope.core.persistence.relationships.TaskTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.975 sec
Running org.syncope.core.persistence.relationships.UserTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 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%20trunk%20(Windows)/ws/core\target\syncope]>
[INFO] Processing war project
[INFO] Copying webapp webResources [<http://jenkins.syncope-idm.org/job/Syncope%20trunk%20(Windows)/ws/core\src/main/webapp]> to [<http://jenkins.syncope-idm.org/job/Syncope%20trunk%20(Windows)/ws/core\target\syncope]>
[INFO] Copying webapp resources [<http://jenkins.syncope-idm.org/job/Syncope%20trunk%20(Windows)/ws/core\src\main\webapp]>
[INFO] Webapp assembled in [51858 msecs]
[INFO] Building war: <http://jenkins.syncope-idm.org/job/Syncope%20trunk%20(Windows)/ws/core\target\syncope.war>
[WARNING] Warning: selected war files include a WEB-INF/web.xml which will be ignored
(webxml attribute is missing from war task, or ignoreWebxml attribute is specified as 'true')
[INFO] Packaging classes
[INFO] Building jar: <http://jenkins.syncope-idm.org/job/Syncope%20trunk%20(Windows)/ws/core\target\syncope-classes.jar>
[INFO]
[INFO] --- maven-antrun-plugin:1.6:run (explodeSyncopeWAR) @ syncope-core ---
[INFO] Executing tasks

main:
    [unzip] Expanding: <http://jenkins.syncope-idm.org/job/Syncope%20trunk%20(Windows)/ws/core\target\syncope.war> into <http://jenkins.syncope-idm.org/job/Syncope%20trunk%20(Windows)/ws/core\target\syncope-core-test>
[INFO] Executed tasks
[INFO]
[INFO] --- maven-antrun-plugin:1.6:run (setupTomcat) @ syncope-core ---
[INFO] Executing tasks

main:
      [get] Destination already exists (skipping): C:\WINDOWS\TEMP\apache-tomcat-7.0.21.zip
    [unzip] Expanding: C:\WINDOWS\TEMP\apache-tomcat-7.0.21.zip into C:\WINDOWS\TEMP
[INFO] Executed tasks
[INFO]
[INFO] --- maven-antrun-plugin:1.6:run (setupCSV) @ syncope-core ---
[INFO] Executing tasks

main:
     [copy] Copying 1 file to C:\WINDOWS\TEMP
[INFO] Executed tasks
[INFO]
[INFO] --- maven-dependency-plugin:2.3:copy (set-bundles) @ syncope-core ---
[INFO] Configured Artifact: org.connid.bundles.soap:org.connid.bundles.soap:1.1:jar
[INFO] Configured Artifact: org.connid.bundles.db:org.connid.bundles.db.table:1.2.1:jar
[INFO] Configured Artifact: org.connid.bundles:org.connid.bundles.csvdir:0.1:jar
[INFO] Copying org.connid.bundles.soap-1.1.jar to <http://jenkins.syncope-idm.org/job/Syncope%20trunk%20(Windows)/ws/core\target\bundles\org.connid.bundles.soap-1.1.jar>
[INFO] Copying org.connid.bundles.db.table-1.2.1.jar to <http://jenkins.syncope-idm.org/job/Syncope%20trunk%20(Windows)/ws/core\target\bundles\org.connid.bundles.db.table-1.2.1.jar>
[INFO] Copying org.connid.bundles.csvdir-0.1.jar to <http://jenkins.syncope-idm.org/job/Syncope%20trunk%20(Windows)/ws/core\target\bundles\org.connid.bundles.csvdir-0.1.jar>
[INFO]
[INFO] --- maven-hsqldb-plugin:1.0:run (startTestDb) @ syncope-core ---[Server@98f5f9]: [Thread[pool-1-thread-1,5,main]]: setSilent(true)
[Server@98f5f9]: Initiating startup sequence...

[Server@98f5f9]: Server socket opened successfully in 533 ms.
[Server@98f5f9]: Database [index=0, id=0, db=mem:testdb, alias=testdb] opened sucessfully in 515 ms.
[Server@98f5f9]: Startup sequence completed in 1048 ms.
[Server@98f5f9]: 2011-09-23 17:20:27.649 HSQLDB server 2.2.4 is online on port 9001
[Server@98f5f9]: To close normally, connect and execute SHUTDOWN SQL
[Server@98f5f9]: From command line, use [Ctrl]+[C] to abort abruptly
[INFO] HSQL Launched
[INFO] ONLINE
[INFO] Live name: testdb
[INFO]
[INFO] --- sql-maven-plugin:1.4:execute (loadTestDb) @ syncope-core ---
[INFO] Executing file: C:\WINDOWS\TEMP\testdb.432875833sql
[INFO] 4 of 4 SQL statements executed successfully
[INFO]
[INFO] --- cargo-maven2-plugin:1.1.2:start (start-container) @ syncope-core ---
[INFO]
[INFO] --- maven-failsafe-plugin:2.9:integration-test (default) @ syncope-core ---
[INFO] Failsafe report directory: <http://jenkins.syncope-idm.org/job/Syncope%20trunk%20(Windows)/ws/core\target\failsafe-reports>

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.syncope.core.rest.AuthenticationTestITCase
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 39.611 sec
Running org.syncope.core.rest.ConfigurationTestITCase
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.405 sec
Running org.syncope.core.rest.ConnInstanceTestITCase
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.905 sec
Running org.syncope.core.rest.DerivedSchemaTestITCase
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.568 sec
Running org.syncope.core.rest.LogTestITCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.029 sec
Running org.syncope.core.rest.PolicyTestITCase
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.801 sec
Running org.syncope.core.rest.ResourceTestITCase
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.267 sec
Running org.syncope.core.rest.RoleTestITCase
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.005 sec
Running org.syncope.core.rest.SchemaTestITCase
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.459 sec
Running org.syncope.core.rest.TaskTestITCase
Tests run: 10, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 8.001 sec <<< FAILURE!
Running org.syncope.core.rest.UserTestITCase
Tests run: 22, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.495 sec
Running org.syncope.core.rest.VirtualSchemaTestITCase
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.412 sec

Results :

Failed tests:   sync(org.syncope.core.rest.TaskTestITCase): Expected 710, found 7

Tests run: 94, 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.9:verify (default) @ syncope-core ---
[INFO] Failsafe report directory: <http://jenkins.syncope-idm.org/job/Syncope%20trunk%20(Windows)/ws/core\target\failsafe-reports>
[JENKINS] Archiving <http://jenkins.syncope-idm.org/job/Syncope%20trunk%20(Windows)/ws/core\pom.xml> to /var/lib/jenkins/jobs/Syncope trunk (Windows)/modules/org.syncope$syncope-core/builds/2011-09-23_17-14-00/archive/org.syncope/syncope-core/0.7-SNAPSHOT/syncope-core-0.7-SNAPSHOT.pom
[JENKINS] Archiving <http://jenkins.syncope-idm.org/job/Syncope%20trunk%20(Windows)/ws/core\target\syncope.war> to /var/lib/jenkins/jobs/Syncope trunk (Windows)/modules/org.syncope$syncope-core/builds/2011-09-23_17-14-00/archive/org.syncope/syncope-core/0.7-SNAPSHOT/syncope-core-0.7-SNAPSHOT.war
[JENKINS] Archiving <http://jenkins.syncope-idm.org/job/Syncope%20trunk%20(Windows)/ws/core\target\syncope-classes.jar> to /var/lib/jenkins/jobs/Syncope trunk (Windows)/modules/org.syncope$syncope-core/builds/2011-09-23_17-14-00/archive/org.syncope/syncope-core/0.7-SNAPSHOT/syncope-core-0.7-SNAPSHOT-classes.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Syncope ........................................... SUCCESS [6.953s]
[INFO] Syncope build tools ............................... SUCCESS [38.110s]
[INFO] Syncope client .................................... SUCCESS [56.781s]
[INFO] Syncope core ...................................... FAILURE [8:10.147s]
[INFO] Syncope console ................................... SKIPPED
[INFO] Syncope archetype ................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10:57.782s
[INFO] Finished at: Fri Sep 23 17:25:12 CEST 2011
[INFO] Final Memory: 25M/495M
[INFO] ------------------------------------------------------------------------
mavenExecutionResult exceptions not empty
message : Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.9:verify (default) on project syncope-core: There are test failures.

Please refer to <http://jenkins.syncope-idm.org/job/Syncope%20trunk%20(Windows)/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%20trunk%20(Windows)/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.9:verify (default) on project syncope-core: There are test failures.

Please refer to <http://jenkins.syncope-idm.org/job/Syncope%20trunk%20(Windows)/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:122)
        at hudson.maven.Maven3Builder.call(Maven3Builder.java:74)
        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 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        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%20trunk%20(Windows)/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.
Sending e-mails to: [hidden email]
channel stopped

Reply | Threaded
Open this post in threaded view
|

[syncope-dev] Jenkins build is back to normal : Syncope trunk (Windows) #35

jenkins