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

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) #14

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

Changes:

[[hidden email]] Global Password Policy implementation

Update issue 78

------------------------------------------
[...truncated 983 lines...]
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.157 sec
Running org.syncope.core.persistence.dao.DerAttrTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.219 sec
Running org.syncope.core.persistence.dao.DerSchemaTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.093 sec
Running org.syncope.core.persistence.dao.EntitlementTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.172 sec
Running org.syncope.core.persistence.dao.MembershipTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.079 sec
Running org.syncope.core.persistence.dao.PolicyTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.25 sec
Running org.syncope.core.persistence.dao.ResourceTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.171 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.156 sec
Running org.syncope.core.persistence.dao.TaskExecTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec
Running org.syncope.core.persistence.dao.TaskTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.265 sec
Running org.syncope.core.persistence.dao.UserSearchTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.547 sec
Running org.syncope.core.persistence.dao.UserTest
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.343 sec
Running org.syncope.core.persistence.dao.VirAttrTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.125 sec
Running org.syncope.core.persistence.dao.VirSchemaTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec

Results :

Tests run: 92, 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: 11.062 sec
Running org.syncope.core.persistence.relationships.AttrTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.25 sec
Running org.syncope.core.persistence.relationships.DerSchemaTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.141 sec
Running org.syncope.core.persistence.relationships.MembershipTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.156 sec
Running org.syncope.core.persistence.relationships.ResourceTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.235 sec
Running org.syncope.core.persistence.relationships.RoleTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.078 sec
Running org.syncope.core.persistence.relationships.SchemaTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.125 sec
Running org.syncope.core.persistence.relationships.TaskTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.719 sec
Running org.syncope.core.persistence.relationships.UserTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 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 [4984 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] Executing tasks

main:

[INFO] --- maven-antrun-plugin:1.6:run (setupTomcat) @ syncope-core ---
      [get] Getting: http://www.apache.org/dist/tomcat/tomcat-7/v7.0.20/bin/apache-tomcat-7.0.20.zip
      [get] To: C:\DOCUME~1\ilgrosso\IMPOST~1\Temp\apache-tomcat-7.0.20.zip
    [unzip] Expanding: C:\DOCUME~1\ilgrosso\IMPOST~1\Temp\apache-tomcat-7.0.20.zip into C:\DOCUME~1\ilgrosso\IMPOST~1\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:\DOCUME~1\ilgrosso\IMPOST~1\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@10290ee]: [Thread[pool-1-thread-1,5,main]]: setSilent(true)
[Server@10290ee]: Initiating startup sequence...
[Server@10290ee]: Server socket opened successfully in 46 ms.
[Server@10290ee]: Database [index=0, id=0, db=mem:testdb, alias=testdb] opened sucessfully in 469 ms.
[Server@10290ee]: Startup sequence completed in 531 ms.
[Server@10290ee]: 2011-09-01 15:24:14.003 HSQLDB server 2.2.4 is online on port 9001
[Server@10290ee]: To close normally, connect and execute SHUTDOWN SQL
[Server@10290ee]: 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:\DOCUME~1\ilgrosso\IMPOST~1\Temp\testdb.559738469sql
[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: 24.125 sec
Running org.syncope.core.rest.ConfigurationTestITCase
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.156 sec
Running org.syncope.core.rest.ConnInstanceTestITCase
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.812 sec
Running org.syncope.core.rest.DerivedSchemaTestITCase
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.359 sec
Running org.syncope.core.rest.LogTestITCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec
Running org.syncope.core.rest.PolicyTestITCase
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.89 sec
Running org.syncope.core.rest.ResourceTestITCase
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.469 sec
Running org.syncope.core.rest.RoleTestITCase
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.812 sec
Running org.syncope.core.rest.SchemaTestITCase
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.516 sec
Running org.syncope.core.rest.TaskTestITCase
Tests run: 10, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 9.562 sec <<< FAILURE!
Running org.syncope.core.rest.UserTestITCase
Tests run: 21, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 9.438 sec <<< FAILURE!
Running org.syncope.core.rest.VirtualSchemaTestITCase
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.234 sec

Results :

Failed tests:   create(org.syncope.core.rest.UserTestITCase)

Tests in error:
  read(org.syncope.core.rest.TaskTestITCase): {[NotFound [Task 1]], }

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

[JENKINS] Recording test results
[INFO]
[INFO] --- cargo-maven2-plugin:1.1.2:stop (stop-container) @ syncope-core ---
[INFO] [INFO] Failsafe report directory: <http://jenkins.syncope-idm.org/job/Syncope%20trunk%20(Windows)/ws/core\target\failsafe-reports>

[INFO] --- maven-failsafe-plugin:2.9:verify (default) @ syncope-core ---
mojoFailed org.apache.maven.plugins:maven-failsafe-plugin:2.9(default)
projectFailed org.syncope:syncope-core:0.7-SNAPSHOT
[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-01_15-21-59/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-01_15-21-59/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-01_15-21-59/archive/org.syncope/syncope-core/0.7-SNAPSHOT/syncope-core-0.7-SNAPSHOT-classes.jar
sessionEnded
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Syncope ........................................... SUCCESS [3.078s]
[INFO] Syncope build tools ............................... SUCCESS [6.516s]
[INFO] Syncope client .................................... SUCCESS [6.453s]
[INFO] Syncope core ...................................... FAILURE [3:47.891s]
[INFO] Syncope console ................................... SKIPPED
[INFO] Syncope archetype ................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4:18.997s
[INFO] Finished at: Thu Sep 01 15:26:22 CEST 2011
[INFO] Final Memory: 40M/495M
[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.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:121)
        at hudson.maven.Maven3Builder.call(Maven3Builder.java:73)
        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) #15

jenkins