Ask is moving to Stack Overflow and Serverfault.com! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

0

Why does controller build fails in Integration project ?

asked 2015-01-11 02:49:30 -0800

bhavesh07 gravatar image

updated 2015-01-12 21:29:40 -0800

I tried to build the Integration, but it fails in some test cases. If I build it with -DskipTests, it completes but then I'm unable to install any feature(That also throws an error). Results :

Tests in error: 
  The bundle "org.opendaylight.controller.sal-binding-broker-impl_1.2.0.SNAPSHOT [242]" could not be resolved. Reason: Missing Constraint: Import-Package: org.eclipse.xtext.xbase.lib; version="0.0.0"
  The bundle "org.opendaylight.controller.sal-binding-broker-impl_1.2.0.SNAPSHOT [184]" could not be resolved. Reason: Missing Constraint: Import-Package: org.eclipse.xtext.xbase.lib; version="0.0.0"
  The bundle "org.opendaylight.controller.sal-binding-broker-impl_1.2.0.SNAPSHOT [242]" could not be resolved. Reason: Missing Constraint: Import-Package: org.eclipse.xtext.xbase.lib; version="0.0.0"
  The bundle "org.opendaylight.controller.sal-binding-broker-impl_1.2.0.SNAPSHOT [242]" could not be resolved. Reason: Missing Constraint: Import-Package: org.eclipse.xtext.xbase.lib; version="0.0.0"
  The bundle "org.opendaylight.controller.sal-binding-broker-impl_1.2.0.SNAPSHOT [242]" could not be resolved. Reason: Missing Constraint: Import-Package: org.eclipse.xtext.xbase.lib; version="0.0.0"
  The bundle "org.opendaylight.controller.sal-binding-broker-impl_1.2.0.SNAPSHOT [242]" could not be resolved. Reason: Missing Constraint: Import-Package: org.eclipse.xtext.xbase.lib; version="0.0.0"
  The bundle "org.opendaylight.controller.sal-binding-broker-impl_1.2.0.SNAPSHOT [242]" could not be resolved. Reason: Missing Constraint: Import-Package: org.eclipse.xtext.xbase.lib; version="0.0.0"

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

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] OpenDaylight Integration Project .................. SUCCESS [0.170s]
[INFO] features-integration .............................. FAILURE [2:44.299s]
[INFO] distribution-karaf ................................ SKIPPED
[INFO] OpenDaylight Distributions ........................ SKIPPED
[INFO] feature-selector Webapp ........................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2:45.767s
[INFO] Finished at: Sun Jan 11 15:18:29 IST 2015
[INFO] Final Memory: 78M/693M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) on project features-integration: There are test failures.
[ERROR] 
[ERROR] Please refer to /home/tcs/Videos/odl_bugs/2188_new/integration/features/target/surefire-reports for the individual test results.
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) on project features-integration: There are test failures.

Please refer to /home/tcs/Videos/odl_bugs/2188_new/integration/features/target/surefire-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:320)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
    at org.apache.maven.cli.MavenCli ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-01-12 02:05:42 -0800

Tony Tkacik gravatar image

This should be fixed as of now... Since you are running against -SNAPSHOT (building master) sometimes there is small time window when one project is upgraded and patchset for other project is still waiting for in jenkins queue to be verified in order to be merged.

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2015-01-11 02:49:30 -0800

Seen: 353 times

Last updated: Jan 12 '15