Re: [kernel-dev] [release] [app-dev] Silicon MRI Version Bump happening now

Robert Varga

On 23/10/2020 11:34, Karthikeyan wrote:
Hi Robert,
   I had spent some time today on looking at netvirt patch[0] and fixed
a few of errors and still not able to identify the root cause of the
below jenkins ERRORs.
Please let us know if you know how to address this issue for loading
configproperties from OVSDB.


*14:44:25* [ERROR] Tests run: 10, Failures: 0, Errors: 8, Skipped: 2,
Time elapsed: 3.608 s <<< FAILURE! - in
org.opendaylight.netvirt.elanmanager.tests.ElanServiceTest *14:44:25*
Time elapsed: 2.633 s <<< ERROR! *14:44:25
java.lang.NoClassDefFoundError: org/osgi/framework/FrameworkUtil
14:44:25 at
org.opendaylight.ovsdb.utils.config.ConfigProperties.getProperty(**14:44:25* at
org.opendaylight.genius.utils.ServiceIndex.getIndex( *14:44:25*
*14:44:25* at
*14:44:25* at
Hmm, weird, why is this even needed?

It does look like ConfigProperties.getProperty() requires OSGi runtime
to execute -- which your UT is not.

We typically reserve this to the runtime, where osgi-core is scope=provided.

Can you add a scop=test dependency on osgi-core (or wherevever
FrameworkUtil lives)?


Join { to automatically receive all group messages.