[CONTROLLER-1820] sal-distributed-datastore dependencies failed Created: 04/Apr/18  Updated: 19/Jul/18  Resolved: 19/Jul/18

Status: Resolved
Project: controller
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Medium
Reporter: Paul Greenberg Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:
Apache Maven 3.5.3 (3383c37e1f9e9b3bc3df5050c29c8aff9f295297; 2018-02-24T14:49:05-05:00)
Maven home: /opt/apache-maven
Java version: 1.8.0_161, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-0.b14.el7_4.x86_64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.10.0-693.21.1.el7.x86_64", arch: "amd64", family: "unix"


 Description   

Branch and commit info:

$ git status
# On branch stable/nitrogen
nothing to commit, working directory clean

$ git log
commit e3d2bf59c7b5f6f2f4eb15ea2d536a88aa13bae7
Author: Robert Varga <robert.varga@pantheon.tech>
Date:   Tue Jan 23 17:42:44 2018 +0100

 

Encountered the below error during a build:

Tests run: 38, Failures: 0, Errors: 1, Skipped: 4, Time elapsed: 243.451 sec <<< FAILURE! - in org.opendaylight.controller.cluster.datastore.DistributedDataStoreRemotingIntegrationTest
testSingleShardTransactionsWithLeaderChanges[class org.opendaylight.controller.cluster.datastore.DistributedDataStore](org.opendaylight.controller.cluster.datastore.DistributedDataStoreRemotingIntegrationTest)  Time elapsed: 7.571 sec  <<< ERROR!
java.util.concurrent.ExecutionException: org.opendaylight.controller.cluster.datastore.exceptions.NoShardLeaderException: Shard member-2-shard-cars-testSingleShardTransactionsWithLeaderChanges currently has no leader. Try again later.
    at com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:503)
    at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:404)
    at com.google.common.util.concurrent.AbstractFuture$TrustedFuture.get(AbstractFuture.java:86)
    at org.opendaylight.controller.cluster.datastore.IntegrationTestKit.doCommit(IntegrationTestKit.java:354)
    at org.opendaylight.controller.cluster.datastore.DistributedDataStoreRemotingIntegrationTest.testSingleShardTransactionsWithLeaderChanges(DistributedDataStoreRemotingIntegrationTest.java:629)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
    at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
    at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
    at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
    at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
    at org.junit.runners.Suite.runChild(Suite.java:127)
    at org.junit.runners.Suite.runChild(Suite.java:26)
    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
    at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283)
    at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173)
    at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
    at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128)
    at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
    at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
    at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
Caused by: org.opendaylight.controller.cluster.datastore.exceptions.NoShardLeaderException: Shard member-2-shard-cars-testSingleShardTransactionsWithLeaderChanges currently has no leader. Try again later.
    at org.opendaylight.controller.cluster.datastore.shardmanager.ShardManager.createNoShardLeaderException(ShardManager.java:955)
    at org.opendaylight.controller.cluster.datastore.shardmanager.ShardManager.onShardNotInitializedTimeout(ShardManager.java:787)
    at org.opendaylight.controller.cluster.datastore.shardmanager.ShardManager.handleCommand(ShardManager.java:254)
    at org.opendaylight.controller.cluster.common.actor.AbstractUntypedPersistentActor.onReceiveCommand(AbstractUntypedPersistentActor.java:44)
    at akka.persistence.UntypedPersistentActor.onReceive(PersistentActor.scala:170)
    at akka.actor.UntypedActor$$anonfun$receive$1.applyOrElse(UntypedActor.scala:165)
    at akka.actor.Actor$class.aroundReceive(Actor.scala:502)
    at akka.persistence.UntypedPersistentActor.akka$persistence$Eventsourced$$super$aroundReceive(PersistentActor.scala:168)
    at akka.persistence.Eventsourced$$anon$1.stateReceive(Eventsourced.scala:727)
    at akka.persistence.Eventsourced$class.aroundReceive(Eventsourced.scala:183)
    at akka.persistence.UntypedPersistentActor.aroundReceive(PersistentActor.scala:168)
    at akka.actor.ActorCell.receiveMessage(ActorCell.scala:526)
    at akka.actor.ActorCell.invoke(ActorCell.scala:495)
    at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:257)
    at akka.dispatch.Mailbox.run(Mailbox.scala:224)
    at akka.dispatch.Mailbox.exec(Mailbox.scala:234)
    at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
    at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
    at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
    at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)

Running org.opendaylight.controller.cluster.datastore.ThreePhaseCommitCohortProxyTest
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.5 sec - in org.opendaylight.controller.cluster.datastore.ThreePhaseCommitCohortProxyTest
Running org.opendaylight.controller.cluster.datastore.ShardTransactionFailureTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.207 sec - in org.opendaylight.controller.cluster.datastore.ShardTransactionFailureTest
Running org.opendaylight.controller.cluster.datastore.TransactionContextWrapperTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec - in org.opendaylight.controller.cluster.datastore.TransactionContextWrapperTest
Running org.opendaylight.controller.cluster.datastore.DistributedDataStoreTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.723 sec - in org.opendaylight.controller.cluster.datastore.DistributedDataStoreTest
Running org.opendaylight.controller.cluster.datastore.DataTreeChangeListenerSupportTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.19 sec - in org.opendaylight.controller.cluster.datastore.DataTreeChangeListenerSupportTest
Running org.opendaylight.controller.cluster.datastore.SimpleShardDataTreeCohortTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec - in org.opendaylight.controller.cluster.datastore.SimpleShardDataTreeCohortTest
Running org.opendaylight.controller.cluster.sharding.RoleChangeListenerActorTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.075 sec - in org.opendaylight.controller.cluster.sharding.RoleChangeListenerActorTest
Running org.opendaylight.controller.cluster.sharding.DistributedShardFrontendTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.097 sec - in org.opendaylight.controller.cluster.sharding.DistributedShardFrontendTest
Running org.opendaylight.controller.cluster.sharding.CDSShardAccessImplTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022 sec - in org.opendaylight.controller.cluster.sharding.CDSShardAccessImplTest
Running org.opendaylight.controller.cluster.sharding.DistributedShardedDOMDataTreeRemotingTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 83.914 sec - in org.opendaylight.controller.cluster.sharding.DistributedShardedDOMDataTreeRemotingTest
Running org.opendaylight.controller.cluster.sharding.DistributedShardedDOMDataTreeTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 84.357 sec - in org.opendaylight.controller.cluster.sharding.DistributedShardedDOMDataTreeTest

Results :

Tests in error:
  DistributedDataStoreRemotingIntegrationTest.testSingleShardTransactionsWithLeaderChanges:629 » Execution

Tests run: 857, Failures: 0, Errors: 1, Skipped: 6

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] mdsal-artifacts 1.6.3-SNAPSHOT ..................... SUCCESS [ 26.726 s]
[INFO] config-api 0.7.3-SNAPSHOT .......................... SUCCESS [01:29 min]
[INFO] config-subsystem 0.7.3-SNAPSHOT .................... SUCCESS [  0.648 s]
[INFO] config-plugin-parent 0.7.3-SNAPSHOT ................ SUCCESS [  1.377 s]
[INFO] yang-jmx-generator 0.7.3-SNAPSHOT .................. SUCCESS [ 19.105 s]
[INFO] yang-jmx-generator-plugin 0.7.3-SNAPSHOT ........... SUCCESS [ 26.739 s]
[INFO] sal-common-api 1.6.3-SNAPSHOT ...................... SUCCESS [ 18.754 s]
[INFO] sal-common-util 1.6.3-SNAPSHOT ..................... SUCCESS [  5.497 s]
[INFO] sal-common-impl 1.6.3-SNAPSHOT ..................... SUCCESS [  4.498 s]
[INFO] sal-common-testutil 1.6.3-SNAPSHOT ................. SUCCESS [ 10.199 s]
[INFO] sal-test-model 1.6.3-SNAPSHOT ...................... SUCCESS [ 13.654 s]
[INFO] sal-core-api 1.6.3-SNAPSHOT ........................ SUCCESS [  9.484 s]
[INFO] sal-core-spi 1.6.3-SNAPSHOT ........................ SUCCESS [  8.518 s]
[INFO] sal-binding-api 1.6.3-SNAPSHOT ..................... SUCCESS [  7.711 s]
[INFO] sal-dom-config 1.6.3-SNAPSHOT ...................... SUCCESS [  9.142 s]
[INFO] sal-inmemory-datastore 1.6.3-SNAPSHOT .............. SUCCESS [ 19.028 s]
[INFO] sal-broker-impl 1.6.3-SNAPSHOT ..................... SUCCESS [ 21.294 s]
[INFO] sal-schema-service 1.6.3-SNAPSHOT .................. SUCCESS [  3.782 s]
[INFO] sal-binding-util 1.6.3-SNAPSHOT .................... SUCCESS [  4.032 s]
[INFO] sal-binding-broker-impl 1.6.3-SNAPSHOT ............. SUCCESS [ 31.469 s]
[INFO] sal-binding-config 1.6.3-SNAPSHOT .................. SUCCESS [ 11.270 s]
[INFO] config-parent 0.7.3-SNAPSHOT ....................... SUCCESS [  0.432 s]
[INFO] sal-dom-broker-config 1.6.3-SNAPSHOT ............... SUCCESS [  8.755 s]
[INFO] md-sal-config 1.6.3-SNAPSHOT ....................... SUCCESS [  5.851 s]
[INFO] sample-toaster 1.6.3-SNAPSHOT ...................... SUCCESS [  4.904 s]
[INFO] sample-toaster-consumer 1.6.3-SNAPSHOT ............. SUCCESS [ 16.829 s]
[INFO] sample-toaster-provider 1.6.3-SNAPSHOT ............. SUCCESS [ 20.918 s]
[INFO] sal-parent 1.6.3-SNAPSHOT .......................... SUCCESS [  0.016 s]
[INFO] sal-samples 1.6.3-SNAPSHOT ......................... SUCCESS [  0.015 s]
[INFO] clustering-it 1.6.3-SNAPSHOT ....................... SUCCESS [  0.018 s]
[INFO] clustering-it-config 1.6.3-SNAPSHOT ................ SUCCESS [  2.083 s]
[INFO] clustering-it-model 1.6.3-SNAPSHOT ................. SUCCESS [ 11.969 s]
[INFO] sal-clustering-commons 1.6.3-SNAPSHOT .............. SUCCESS [ 51.454 s]
[INFO] sal-akka-raft 1.6.3-SNAPSHOT ....................... SUCCESS [03:11 min]
[INFO] cds-access-api 1.2.3-SNAPSHOT ...................... SUCCESS [ 26.893 s]
[INFO] cds-access-client 1.2.3-SNAPSHOT ................... SUCCESS [ 42.086 s]
[INFO] cds-dom-api 1.2.3-SNAPSHOT ......................... SUCCESS [  9.167 s]
[INFO] sal-akka-raft-example 1.6.3-SNAPSHOT ............... SUCCESS [  5.406 s]
[INFO] sal-distributed-datastore 1.6.3-SNAPSHOT ........... FAILURE [12:06 min]
[INFO] clustering-it-provider 1.6.3-SNAPSHOT .............. SKIPPED
[INFO] odl-config-api 0.7.3-SNAPSHOT ...................... SKIPPED
[INFO] OpenDaylight :: Config :: All 1.6.3-SNAPSHOT ....... SKIPPED
[INFO] config-util 0.7.3-SNAPSHOT ......................... SKIPPED
[INFO] shutdown-api 0.7.3-SNAPSHOT ........................ SKIPPED
[INFO] config-manager 0.7.3-SNAPSHOT ...................... SKIPPED
[INFO] shutdown-impl 0.7.3-SNAPSHOT ....................... SKIPPED
[INFO] odl-config-core 0.7.3-SNAPSHOT ..................... SKIPPED
[INFO] odl-config-manager 0.7.3-SNAPSHOT .................. SKIPPED
[INFO] config-manager-facade-xml 0.7.3-SNAPSHOT ........... SKIPPED
[INFO] config-persister-api 0.7.3-SNAPSHOT ................ SKIPPED
[INFO] config-persister-file-xml-adapter 0.7.3-SNAPSHOT ... SKIPPED
[INFO] config-persister-directory-xml-adapter 0.7.3-SNAPSHOT SKIPPED
[INFO] config-persister-impl 0.7.3-SNAPSHOT ............... SKIPPED
[INFO] config-persister-feature-adapter 0.7.3-SNAPSHOT .... SKIPPED
[INFO] OpenDaylight :: Config Persister 0.7.3-SNAPSHOT .... SKIPPED
[INFO] OpenDaylight :: Config Persister:: Config Startup 0.7.3-SNAPSHOT SKIPPED
[INFO] netty-config-api 0.7.3-SNAPSHOT .................... SKIPPED
[INFO] odl-config-netty-config-api 0.7.3-SNAPSHOT ......... SKIPPED
[INFO] netty-event-executor-config 0.7.3-SNAPSHOT ......... SKIPPED
[INFO] netty-threadgroup-config 0.7.3-SNAPSHOT ............ SKIPPED
[INFO] threadpool-config-api 0.7.3-SNAPSHOT ............... SKIPPED
[INFO] threadpool-config-impl 0.7.3-SNAPSHOT .............. SKIPPED
[INFO] netty-timer-config 0.7.3-SNAPSHOT .................. SKIPPED
[INFO] config-netty-config 0.7.3-SNAPSHOT ................. SKIPPED
[INFO] OpenDaylight :: Config-Netty 0.7.3-SNAPSHOT ........ SKIPPED
[INFO] sal-connector-api 1.6.3-SNAPSHOT ................... SKIPPED
[INFO] blueprint 0.7.3-SNAPSHOT ........................... SKIPPED
[INFO] OpenDaylight :: MDSAL :: Broker 1.6.3-SNAPSHOT ..... SKIPPED
[INFO] odl-mdsal-clustering-commons 1.6.3-SNAPSHOT ........ SKIPPED
[INFO] sal-remoterpc-connector 1.6.3-SNAPSHOT ............. SKIPPED
[INFO] odl-mdsal-remoterpc-connector 1.6.3-SNAPSHOT ....... SKIPPED
[INFO] sal-cluster-admin-api 1.6.3-SNAPSHOT ............... SKIPPED
[INFO] sal-cluster-admin-impl 1.6.3-SNAPSHOT .............. SKIPPED
[INFO] odl-mdsal-distributed-datastore 1.6.3-SNAPSHOT ..... SKIPPED
[INFO] sal-clustering-config 1.6.3-SNAPSHOT ............... SKIPPED
[INFO] odl-mdsal-broker 1.6.3-SNAPSHOT .................... SKIPPED
[INFO] odl-clustering-test-app 1.6.3-SNAPSHOT ............. SKIPPED
[INFO] OpenDaylight :: Toaster 1.6.3-SNAPSHOT ............. SKIPPED
[INFO] odl-mdsal-all 1.6.3-SNAPSHOT ....................... SKIPPED
[INFO] odl-mdsal-clustering 1.6.3-SNAPSHOT ................ SKIPPED
[INFO] model-parent 1.6.3-SNAPSHOT ........................ SKIPPED
[INFO] model-inventory 1.6.3-SNAPSHOT ..................... SKIPPED
[INFO] messagebus-api 1.6.3-SNAPSHOT ...................... SKIPPED
[INFO] messagebus-spi 1.6.3-SNAPSHOT ...................... SKIPPED
[INFO] messagebus-util 1.6.3-SNAPSHOT ..................... SKIPPED
[INFO] messagebus-impl 1.6.3-SNAPSHOT ..................... SKIPPED
[INFO] messagebus-config 1.6.3-SNAPSHOT ................... SKIPPED
[INFO] odl-message-bus-collector 1.6.3-SNAPSHOT ........... SKIPPED
[INFO] features-mdsal 1.6.3-SNAPSHOT ...................... SKIPPED
[INFO] config-it-base 0.7.3-SNAPSHOT ...................... SKIPPED
[INFO] mdsal-it-base 1.6.3-SNAPSHOT ....................... SKIPPED
[INFO] mdsal-it-parent 1.6.3-SNAPSHOT ..................... SKIPPED
[INFO] sample-toaster-it 1.6.3-SNAPSHOT ................... SKIPPED
[INFO] sal-dummy-distributed-datastore 1.6.3-SNAPSHOT ..... SKIPPED
[INFO] sal-binding-it 1.6.3-SNAPSHOT ...................... SKIPPED
[INFO] sal-binding-dom-it 1.6.3-SNAPSHOT .................. SKIPPED
[INFO] mdsal-trace-api 1.6.3-SNAPSHOT ..................... SKIPPED
[INFO] mdsal-trace-dom-impl 1.6.3-SNAPSHOT ................ SKIPPED
[INFO] mdsal-trace-binding-impl 1.6.3-SNAPSHOT ............ SKIPPED
[INFO] OpenDaylight :: TracingBroker 1.6.3-SNAPSHOT ....... SKIPPED
[INFO] OpenDaylight :: TracingBroker 1.6.3-SNAPSHOT ....... SKIPPED
[INFO] mdsal-trace-feature-aggregator 1.6.3-SNAPSHOT ...... SKIPPED
[INFO] mdsaltrace 1.6.3-SNAPSHOT .......................... SKIPPED
[INFO] yang-test-plugin 0.7.3-SNAPSHOT .................... SKIPPED
[INFO] yang-test 0.7.3-SNAPSHOT ........................... SKIPPED
[INFO] config-artifacts 0.7.3-SNAPSHOT .................... SKIPPED
[INFO] config-filtering-parent 0.7.3-SNAPSHOT ............. SKIPPED
[INFO] model-topology 1.6.3-SNAPSHOT ...................... SKIPPED
[INFO] liblldp 0.13.3-SNAPSHOT ............................ SKIPPED
[INFO] benchmark-api 1.4.3-SNAPSHOT ....................... SKIPPED
[INFO] dsbenchmark 1.4.3-SNAPSHOT ......................... SKIPPED
[INFO] ntfbenchmark 1.4.3-SNAPSHOT ........................ SKIPPED
[INFO] rpcbenchmark 1.4.3-SNAPSHOT ........................ SKIPPED
[INFO] benchmark-artifacts 1.4.3-SNAPSHOT ................. SKIPPED
[INFO] benchmark-aggregator 1.4.3-SNAPSHOT ................ SKIPPED
[INFO] odl-jolokia-osgi ................................... SKIPPED
[INFO] Jolokia JMX/HTTP bridge 1.9.3-SNAPSHOT ............. SKIPPED
[INFO] OpenDaylight :: Extras :: All 1.9.3-SNAPSHOT ....... SKIPPED
[INFO] features-extras 1.9.3-SNAPSHOT ..................... SKIPPED
[INFO] distribution.opendaylight-karaf 1.9.3-SNAPSHOT ..... SKIPPED
[INFO] karaf-aggregator 1.5.3-SNAPSHOT .................... SKIPPED
[INFO] odl-config-all 0.7.3-SNAPSHOT ...................... SKIPPED
[INFO] features-config 0.7.3-SNAPSHOT ..................... SKIPPED
[INFO] features-config-aggregator 0.7.3-SNAPSHOT .......... SKIPPED
[INFO] Opendaylight :: Config Persister:: Mapping for Config Subsystem 0.7.3-SNAPSHOT SKIPPED
[INFO] OpenDaylight :: Config Persister:: All 0.7.3-SNAPSHOT SKIPPED
[INFO] features-config-persister 0.7.3-SNAPSHOT ........... SKIPPED
[INFO] features-config-persister-aggregator 0.7.3-SNAPSHOT  SKIPPED
[INFO] features-config-netty 0.7.3-SNAPSHOT ............... SKIPPED
[INFO] features-config-netty-aggregator 0.7.3-SNAPSHOT .... SKIPPED
[INFO] features-mdsal-aggregator 1.6.3-SNAPSHOT ........... SKIPPED
[INFO] features-extras-aggregator 1.9.3-SNAPSHOT .......... SKIPPED
[INFO] OpenDaylight :: Benchmark :: API 1.4.3-SNAPSHOT .... SKIPPED
[INFO] OpenDaylight :: dsbenchmark 1.4.3-SNAPSHOT ......... SKIPPED
[INFO] OpenDaylight :: MD-SAL :: benchmark 1.4.3-SNAPSHOT . SKIPPED
[INFO] OpenDaylight :: ntfbenchmark 1.4.3-SNAPSHOT ........ SKIPPED
[INFO] features-mdsal-benchmark 1.4.3-SNAPSHOT ............ SKIPPED
[INFO] features-mdsal-benchmark-aggregator 1.4.3-SNAPSHOT . SKIPPED
[INFO] features-controller 1.9.3-SNAPSHOT ................. SKIPPED
[INFO] archetypes-parent .................................. SKIPPED
[INFO] opendaylight-startup-archetype 1.4.3-SNAPSHOT ...... SKIPPED
[INFO] controller 0.6.3-SNAPSHOT .......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 25:43 min
[INFO] Finished at: 2018-03-29T07:15:42-04:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on project sal-distributed-datastore: There are test failures.
[ERROR]
[ERROR] Please refer to /home/greenpau/dev/git.opendaylight.org/gerrit/controller/opendaylight/md-sal/sal-distributed-datastore/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 :sal-distributed-datastore

Attempted to re-run:

$ mvn org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test -rf :sal-distributed-datastore
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.opendaylight.controller:md-sal-config:jar:1.6.3-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:build-helper-maven-plugin is missing. @ line 27, column 17
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.opendaylight.controller.samples:clustering-it-config:jar:1.6.3-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:build-helper-maven-plugin is missing. @ org.opendaylight.controller.samples:clustering-it-config:[unknown-version], /home/greenpau/dev/git.opendaylight.org/gerrit/controller/opendaylight/md-sal/samples/clustering-test-app/configuration/pom.xml, line 21, column 17
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.opendaylight.controller:sal-clustering-config:jar:1.6.3-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:build-helper-maven-plugin is missing. @ line 27, column 15
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.opendaylight.controller:messagebus-config:jar:1.6.3-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:build-helper-maven-plugin is missing. @ line 27, column 15
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.opendaylight.controller:threadpool-config-api:bundle:0.7.3-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.opendaylight.yangtools:yang-maven-plugin is missing. @ org.opendaylight.controller:threadpool-config-api:[unknown-version], /home/greenpau/dev/git.opendaylight.org/gerrit/controller/opendaylight/config/threadpool-config-api/pom.xml, line 35, column 15
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.opendaylight.controller:threadpool-config-impl:bundle:0.7.3-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.opendaylight.yangtools:yang-maven-plugin is missing. @ org.opendaylight.controller:threadpool-config-impl:[unknown-version], /home/greenpau/dev/git.opendaylight.org/gerrit/controller/opendaylight/config/threadpool-config-impl/pom.xml, line 53, column 15
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]


 Comments   
Comment by Paul Greenberg [ 04/Apr/18 ]

The issue is that "sal-distributed-datastore" requires the presence of "<localRepository/>" in "~/.m2/settings.xml" file.
Once I added it in, then the build was successful:

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12:40 min
[INFO] Finished at: 2018-03-29T07:41:55-04:00
[INFO] ------------------------------------------------------------------------
Comment by Tom Pantelis [ 19/Jul/18 ]

There's nothing special with sal-distributed-datastore wrt .m2/settings.xml that is different than any ODL project. I'm not really clear on why this jira was created, as such I don't see anything actionable so closing.

Generated at Wed Feb 07 19:56:32 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.