About HoneyNode test in TransportPCE


16347@accelink.com <16347@...>
 

Hi All,

I am working on transportpce to verify our openROADM optical device. I have downloaded the transportpce-stable-sodium version which including the honeyNode 2.2.1(honeycomb).

The transportPCE is compiled and running OK. 

We want to use the honeycomb to simulate the roadm device first. But when I finished compiled the honeycomb, It can not start yet.

When honeycomb starts, yangtools alerts that Schema is not available for interface OrgOpenroadmDevice.Errors may occur in writeTx.put(LogicalDatastoreType.OPERATIONAL, iid, result.build()) when the oper-ROADMA.xml file(sample_configs\openroadm\2.2.1) was loaded. Is it a problem of  honeyNode itself or the openROADM YANG files(2.2.1)

how to deal with it?  thanks.



The following is logs:

        $ honeycomb-tpce 18730 oper-ROADMA.xml 

2019-11-06 08:49:38.286 CST [pool-18-thread-4] WARN  o.o.c.m.s.d.b.i.DOMNotificationRouter - Uncaught exception during invoking listener io.fd.honeycomb.notification.impl.NotificationProducerTra

cker@6b32b9c7

org.opendaylight.yangtools.binding.data.codec.impl.MissingSchemaForClassException: Schema is not available for interface org.opendaylight.yang.gen.v1.http.org.openroadm.device.rev181019.org.open

roadm.device.container.OrgOpenroadmDevice

        at org.opendaylight.yangtools.binding.data.codec.impl.MissingSchemaForClassException.forClass(MissingSchemaForClassException.java:35) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.MissingSchemaForClassException.check(MissingSchemaForClassException.java:50) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.DataContainerCodecContext.childNonNull(DataContainerCodecContext.java:178) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.SchemaRootCodecContext.createDataTreeChildContext(SchemaRootCodecContext.java:181) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.SchemaRootCodecContext.access$000(SchemaRootCodecContext.java:41) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.SchemaRootCodecContext$1.load(SchemaRootCodecContext.java:47) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.SchemaRootCodecContext$1.load(SchemaRootCodecContext.java:44) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3708) ~[guava-22.0.jar:na]

        at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2416) ~[guava-22.0.jar:na]

        at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2299) ~[guava-22.0.jar:na]

        at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2212) ~[guava-22.0.jar:na]

        at com.google.common.cache.LocalCache.get(LocalCache.java:4147) ~[guava-22.0.jar:na]

        at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4151) ~[guava-22.0.jar:na]

        at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:5140) ~[guava-22.0.jar:na]

        at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:5146) ~[guava-22.0.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.SchemaRootCodecContext.getOrRethrow(SchemaRootCodecContext.java:248) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.SchemaRootCodecContext.streamChild(SchemaRootCodecContext.java:143) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.DataContainerCodecContext.bindingPathArgumentChild(DataContainerCodecContext.java:79) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.BindingCodecContext.getCodecContextNode(BindingCodecContext.java:127) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.InstanceIdentifierCodec.serialize(InstanceIdentifierCodec.java:29) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.InstanceIdentifierCodec.serialize(InstanceIdentifierCodec.java:19) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.BindingNormalizedNodeCodecRegistry.toYangInstanceIdentifier(BindingNormalizedNodeCodecRegistry.java:87) ~[mdsal-binding-dom-codec-0.

11.1.jar:na]

        at org.opendaylight.controller.md.sal.binding.impl.BindingToNormalizedNodeCodec.toYangInstanceIdentifierBlocking(BindingToNormalizedNodeCodec.java:101) ~[sal-binding-broker-impl-1.6.1.ja

r:na]

        at org.opendaylight.controller.md.sal.binding.impl.BindingDOMDataTreeChangeServiceAdapter.toDomTreeIdentifier(BindingDOMDataTreeChangeServiceAdapter.java:66) ~[sal-binding-broker-impl-1.

6.1.jar:na]

        at org.opendaylight.controller.md.sal.binding.impl.BindingDOMDataTreeChangeServiceAdapter.registerDataTreeChangeListener(BindingDOMDataTreeChangeServiceAdapter.java:51) ~[sal-binding-bro

ker-impl-1.6.1.jar:na]

        at org.opendaylight.controller.md.sal.binding.impl.BindingDOMDataBrokerAdapter.registerDataTreeChangeListener(BindingDOMDataBrokerAdapter.java:104) ~[sal-binding-broker-impl-1.6.1.jar:na

]

        at io.fd.honeycomb.transportpce.device.notifications.DeviceNotificationProducer.start(DeviceNotificationProducer.java:91) ~[honeynode-plugin-impl-1.18.01.jar:na]

        at io.fd.honeycomb.notification.impl.NotificationProducerTracker.lambda$onSubscriptionChanged$0(NotificationProducerTracker.java:79) ~[notification-impl-1.18.01.jar:na]

        at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) ~[na:1.8.0_221]

        at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) ~[na:1.8.0_221]

        at java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1556) ~[na:1.8.0_221]

        at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) ~[na:1.8.0_221]

        at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) ~[na:1.8.0_221]

        at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) ~[na:1.8.0_221]

        at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) ~[na:1.8.0_221]

        at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[na:1.8.0_221]

        at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) ~[na:1.8.0_221]

        at io.fd.honeycomb.notification.impl.NotificationProducerTracker.onSubscriptionChanged(NotificationProducerTracker.java:70) ~[notification-impl-1.18.01.jar:na]

        at org.opendaylight.controller.md.sal.dom.broker.impl.DOMNotificationRouter.lambda$notifyListenerTypesChanged$2(DOMNotificationRouter.java:147) ~[sal-broker-impl-1.6.1.jar:na]

        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[na:1.8.0_221]

        at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_221]

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[na:1.8.0_221]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[na:1.8.0_221]

        at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_221]

2019-11-06 08:49:38.376 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.northbound.netconf.NetconfServerDispatcherProvider@1d6751e3

2019-11-06 08:49:38.391 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.northbound.netconf.NetconfTcpServerProvider@5348d83c

2019-11-06 08:49:38.394 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.northbound.netconf.NetconfSshServerProvider@285005b8

2019-11-06 08:49:38.395 CST [main] INFO  i.f.h.n.n.NetconfSshServerProvider - Starting NETCONF SSH

2019-11-06 08:49:38.567 CST [main] WARN  io.netty.bootstrap.ServerBootstrap - Unknown channel option 'SO_BACKLOG' for channel '[id: 0xf4cae6ed]'

2019-11-06 08:49:39.377 CST [main] INFO  io.fd.honeycomb.infra.distro.Main - Initializing configuration

2019-11-06 08:49:39.378 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.infra.distro.initializer.InitializerRegistryAdapterProvider@1760e594

2019-11-06 08:49:39.379 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.infra.distro.data.PersistedConfigInitializerProvider@224e6e88

2019-11-06 08:49:39.379 CST [main] INFO  i.f.h.i.d.d.PersistedConfigInitializerProvider - RestoringInitializer ...

2019-11-06 08:49:39.383 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.infra.distro.data.context.PersistedContextInitializerProvider@70c56434

2019-11-06 08:49:39.383 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.infra.distro.data.context.HoneycombContextDOMDataBrokerProvider@1f2d2181

2019-11-06 08:49:39.384 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.infra.distro.data.context.ModifiableDTMgrProvider@6d2260db

2019-11-06 08:49:39.385 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.infra.distro.data.PersistingDataTreeProvider$ContextPersistingDataTreeProvider@3c6bd624

2019-11-06 08:49:39.385 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.infra.distro.data.DataTreeProvider$ContextDataTreeProvider@3dd2b9c1

2019-11-06 08:49:39.387 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.northbound.netconf.NetconfMonitoringReaderFactoryProvider@57b1ec84

2019-11-06 08:49:39.388 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.northbound.netconf.NetconfNotificationsReaderFactoryProvider@4aab7195

2019-11-06 08:49:39.389 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.infra.distro.data.oper.ReaderRegistryProvider@11ad095c

2019-11-06 08:49:39.427 CST [netconf-netty-0] INFO  i.f.h.n.n.NetconfSshServerProvider - Netconf SSH endpoint started successfully at /0.0.0.0:18730

2019-11-06 08:49:39.433 CST [main] INFO  i.f.h.t.d.read.DeviceReaderFactory - writting xml file data to oper datastore

2019-11-06 08:49:45.776 CST [main] INFO  i.f.h.t.d.tools.DefaultDeviceFactory - file 'oper-ROADMA.xml' exists at location : /home/oscape/software/sodimu-tpce-test-2.2.1/honeynode-distribution-1.

18.01/config/device/oper-ROADMA.xml

2019-11-06 08:49:45.990 CST [main] INFO  i.f.h.t.d.c.DeviceConfiguration - result info : NodeIdType [_value=ROADM-A1]

2019-11-06 08:49:45.991 CST [main] INFO  i.f.h.t.d.read.DeviceReaderFactory - Getting device info from xml file for device 'ROADM-A1'

2019-11-06 08:49:46.083 CST [main] INFO  i.f.h.t.d.read.DeviceReaderFactory - WriteTransaction is ok, copy device info to oper datastore

2019-11-06 08:49:46.088 CST [main] ERROR io.fd.honeycomb.infra.distro.Main - Failed to initialize Honeycomb components

com.google.inject.ProvisionException: Unable to provision, see the following errors:

 

1) Error in custom provider, org.opendaylight.yangtools.binding.data.codec.impl.MissingSchemaForClassException: Schema is not available for interface org.opendaylight.yang.gen.v1.http.org.openro

adm.device.rev181019.org.openroadm.device.container.OrgOpenroadmDevice

  while locating io.fd.honeycomb.infra.distro.data.oper.ReaderRegistryProvider

  at io.fd.honeycomb.infra.distro.data.ConfigAndOperationalPipelineModule.configure(ConfigAndOperationalPipelineModule.java:63)

  while locating io.fd.honeycomb.translate.read.registry.ReaderRegistry

  while locating io.fd.honeycomb.infra.distro.initializer.InitializerRegistryAdapterProvider

  at io.fd.honeycomb.infra.distro.initializer.InitializerPipelineModule.configure(InitializerPipelineModule.java:45)

  while locating io.fd.honeycomb.data.init.InitializerRegistry annotated with @com.google.inject.name.Named(value=honeycomb-initializer)

 

1 error

        at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1028) ~[guice-4.1.0.jar:na]

        at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1050) ~[guice-4.1.0.jar:na]

        at io.fd.honeycomb.infra.distro.Main.init(Main.java:75) [minimal-distribution-1.18.01.jar:na]

        at io.fd.honeycomb.infra.distro.Main.main(Main.java:53) [minimal-distribution-1.18.01.jar:na]

Caused by: org.opendaylight.yangtools.binding.data.codec.impl.MissingSchemaForClassException: Schema is not available for interface org.opendaylight.yang.gen.v1.http.org.openroadm.device.rev1810

19.org.openroadm.device.container.OrgOpenroadmDevice

        at org.opendaylight.yangtools.binding.data.codec.impl.MissingSchemaForClassException.forClass(MissingSchemaForClassException.java:35) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.MissingSchemaForClassException.check(MissingSchemaForClassException.java:50) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.DataContainerCodecContext.childNonNull(DataContainerCodecContext.java:178) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.SchemaRootCodecContext.createDataTreeChildContext(SchemaRootCodecContext.java:181) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.SchemaRootCodecContext.access$000(SchemaRootCodecContext.java:41) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.SchemaRootCodecContext$1.load(SchemaRootCodecContext.java:47) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

                     

Thanks,



gang.lu@...


Guillaume Lambert
 

Hello Gang Lu

 

To build Honeynode, you need openjdk version 8.
OpenJDK version 11 is not supported yet by honeynode simualtors (but works with the controller)

If you want to use honeynode with openROADM models version 2.2.1, you need to pass the version to the build script.
By default, the script builds honeynode for only 1.2.1 devices models (+ 2.1 common models).

Here are the commands to pass:

$ cd tests

$ ./buildHoneynode 2.2.1

$./honeynode/2.2.1/honeynode-distribution/target/honeynode-distribution-1.18.01-hc/honeynode-distribution-1.18.01/honeycomb-tpce 17840 sample_configs/openroadm/2.2.1/oper-ROADMA.xml

Those simulators are built by ODL Jenkins releng tox jobs to run automatically our functional tests suite.
You can find all the details in the tox.ini at the root of the projects.

 

Hope this helps

Guillaume

 

From: Transportpce-dev@... [mailto:Transportpce-dev@...] On Behalf Of 16347@...
Sent: jeudi 7 novembre 2019 06:39
To: Transportpce-dev+help; Transportpce-dev
Subject: [Transportpce-dev] About HoneyNode test in TransportPCE

 

Hi All,

I am working on transportpce to verify our openROADM optical device. I have downloaded the transportpce-stable-sodium version which including the honeyNode 2.2.1(honeycomb).

The transportPCE is compiled and running OK. 

We want to use the honeycomb to simulate the roadm device first. But when I finished compiled the honeycomb, It can not start yet.

When honeycomb starts, yangtools alerts that Schema is not available for interface OrgOpenroadmDevice.Errors may occur in writeTx.put(LogicalDatastoreType.OPERATIONAL, iid, result.build()) when the oper-ROADMA.xml file(sample_configs\openroadm\2.2.1) was loaded. Is it a problem of  honeyNode itself or the openROADM YANG files(2.2.1)? 

how to deal with it?  thanks.

 

 

The following is logs:

        $ honeycomb-tpce 18730 oper-ROADMA.xml 

2019-11-06 08:49:38.286 CST [pool-18-thread-4] WARN  o.o.c.m.s.d.b.i.DOMNotificationRouter - Uncaught exception during invoking listener io.fd.honeycomb.notification.impl.NotificationProducerTra

cker@6b32b9c7

org.opendaylight.yangtools.binding.data.codec.impl.MissingSchemaForClassException: Schema is not available for interface org.opendaylight.yang.gen.v1.http.org.openroadm.device.rev181019.org.open

roadm.device.container.OrgOpenroadmDevice

        at org.opendaylight.yangtools.binding.data.codec.impl.MissingSchemaForClassException.forClass(MissingSchemaForClassException.java:35) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.MissingSchemaForClassException.check(MissingSchemaForClassException.java:50) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.DataContainerCodecContext.childNonNull(DataContainerCodecContext.java:178) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.SchemaRootCodecContext.createDataTreeChildContext(SchemaRootCodecContext.java:181) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.SchemaRootCodecContext.access$000(SchemaRootCodecContext.java:41) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.SchemaRootCodecContext$1.load(SchemaRootCodecContext.java:47) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.SchemaRootCodecContext$1.load(SchemaRootCodecContext.java:44) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3708) ~[guava-22.0.jar:na]

        at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2416) ~[guava-22.0.jar:na]

        at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2299) ~[guava-22.0.jar:na]

        at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2212) ~[guava-22.0.jar:na]

        at com.google.common.cache.LocalCache.get(LocalCache.java:4147) ~[guava-22.0.jar:na]

        at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4151) ~[guava-22.0.jar:na]

        at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:5140) ~[guava-22.0.jar:na]

        at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:5146) ~[guava-22.0.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.SchemaRootCodecContext.getOrRethrow(SchemaRootCodecContext.java:248) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.SchemaRootCodecContext.streamChild(SchemaRootCodecContext.java:143) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.DataContainerCodecContext.bindingPathArgumentChild(DataContainerCodecContext.java:79) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.BindingCodecContext.getCodecContextNode(BindingCodecContext.java:127) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.InstanceIdentifierCodec.serialize(InstanceIdentifierCodec.java:29) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.InstanceIdentifierCodec.serialize(InstanceIdentifierCodec.java:19) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.BindingNormalizedNodeCodecRegistry.toYangInstanceIdentifier(BindingNormalizedNodeCodecRegistry.java:87) ~[mdsal-binding-dom-codec-0.

11.1.jar:na]

        at org.opendaylight.controller.md.sal.binding.impl.BindingToNormalizedNodeCodec.toYangInstanceIdentifierBlocking(BindingToNormalizedNodeCodec.java:101) ~[sal-binding-broker-impl-1.6.1.ja

r:na]

        at org.opendaylight.controller.md.sal.binding.impl.BindingDOMDataTreeChangeServiceAdapter.toDomTreeIdentifier(BindingDOMDataTreeChangeServiceAdapter.java:66) ~[sal-binding-broker-impl-1.

6.1.jar:na]

        at org.opendaylight.controller.md.sal.binding.impl.BindingDOMDataTreeChangeServiceAdapter.registerDataTreeChangeListener(BindingDOMDataTreeChangeServiceAdapter.java:51) ~[sal-binding-bro

ker-impl-1.6.1.jar:na]

        at org.opendaylight.controller.md.sal.binding.impl.BindingDOMDataBrokerAdapter.registerDataTreeChangeListener(BindingDOMDataBrokerAdapter.java:104) ~[sal-binding-broker-impl-1.6.1.jar:na

]

        at io.fd.honeycomb.transportpce.device.notifications.DeviceNotificationProducer.start(DeviceNotificationProducer.java:91) ~[honeynode-plugin-impl-1.18.01.jar:na]

        at io.fd.honeycomb.notification.impl.NotificationProducerTracker.lambda$onSubscriptionChanged$0(NotificationProducerTracker.java:79) ~[notification-impl-1.18.01.jar:na]

        at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) ~[na:1.8.0_221]

        at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) ~[na:1.8.0_221]

        at java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1556) ~[na:1.8.0_221]

        at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) ~[na:1.8.0_221]

        at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) ~[na:1.8.0_221]

        at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) ~[na:1.8.0_221]

        at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) ~[na:1.8.0_221]

        at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[na:1.8.0_221]

        at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) ~[na:1.8.0_221]

        at io.fd.honeycomb.notification.impl.NotificationProducerTracker.onSubscriptionChanged(NotificationProducerTracker.java:70) ~[notification-impl-1.18.01.jar:na]

        at org.opendaylight.controller.md.sal.dom.broker.impl.DOMNotificationRouter.lambda$notifyListenerTypesChanged$2(DOMNotificationRouter.java:147) ~[sal-broker-impl-1.6.1.jar:na]

        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[na:1.8.0_221]

        at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_221]

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[na:1.8.0_221]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[na:1.8.0_221]

        at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_221]

2019-11-06 08:49:38.376 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.northbound.netconf.NetconfServerDispatcherProvider@1d6751e3

2019-11-06 08:49:38.391 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.northbound.netconf.NetconfTcpServerProvider@5348d83c

2019-11-06 08:49:38.394 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.northbound.netconf.NetconfSshServerProvider@285005b8

2019-11-06 08:49:38.395 CST [main] INFO  i.f.h.n.n.NetconfSshServerProvider - Starting NETCONF SSH

2019-11-06 08:49:38.567 CST [main] WARN  io.netty.bootstrap.ServerBootstrap - Unknown channel option 'SO_BACKLOG' for channel '[id: 0xf4cae6ed]'

2019-11-06 08:49:39.377 CST [main] INFO  io.fd.honeycomb.infra.distro.Main - Initializing configuration

2019-11-06 08:49:39.378 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.infra.distro.initializer.InitializerRegistryAdapterProvider@1760e594

2019-11-06 08:49:39.379 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.infra.distro.data.PersistedConfigInitializerProvider@224e6e88

2019-11-06 08:49:39.379 CST [main] INFO  i.f.h.i.d.d.PersistedConfigInitializerProvider - RestoringInitializer ...

2019-11-06 08:49:39.383 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.infra.distro.data.context.PersistedContextInitializerProvider@70c56434

2019-11-06 08:49:39.383 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.infra.distro.data.context.HoneycombContextDOMDataBrokerProvider@1f2d2181

2019-11-06 08:49:39.384 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.infra.distro.data.context.ModifiableDTMgrProvider@6d2260db

2019-11-06 08:49:39.385 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.infra.distro.data.PersistingDataTreeProvider$ContextPersistingDataTreeProvider@3c6bd624

2019-11-06 08:49:39.385 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.infra.distro.data.DataTreeProvider$ContextDataTreeProvider@3dd2b9c1

2019-11-06 08:49:39.387 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.northbound.netconf.NetconfMonitoringReaderFactoryProvider@57b1ec84

2019-11-06 08:49:39.388 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.northbound.netconf.NetconfNotificationsReaderFactoryProvider@4aab7195

2019-11-06 08:49:39.389 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.infra.distro.data.oper.ReaderRegistryProvider@11ad095c

2019-11-06 08:49:39.427 CST [netconf-netty-0] INFO  i.f.h.n.n.NetconfSshServerProvider - Netconf SSH endpoint started successfully at /0.0.0.0:18730

2019-11-06 08:49:39.433 CST [main] INFO  i.f.h.t.d.read.DeviceReaderFactory - writting xml file data to oper datastore

2019-11-06 08:49:45.776 CST [main] INFO  i.f.h.t.d.tools.DefaultDeviceFactory - file 'oper-ROADMA.xml' exists at location : /home/oscape/software/sodimu-tpce-test-2.2.1/honeynode-distribution-1.

18.01/config/device/oper-ROADMA.xml

2019-11-06 08:49:45.990 CST [main] INFO  i.f.h.t.d.c.DeviceConfiguration - result info : NodeIdType [_value=ROADM-A1]

2019-11-06 08:49:45.991 CST [main] INFO  i.f.h.t.d.read.DeviceReaderFactory - Getting device info from xml file for device 'ROADM-A1'

2019-11-06 08:49:46.083 CST [main] INFO  i.f.h.t.d.read.DeviceReaderFactory - WriteTransaction is ok, copy device info to oper datastore

2019-11-06 08:49:46.088 CST [main] ERROR io.fd.honeycomb.infra.distro.Main - Failed to initialize Honeycomb components

com.google.inject.ProvisionException: Unable to provision, see the following errors:

 

1) Error in custom provider, org.opendaylight.yangtools.binding.data.codec.impl.MissingSchemaForClassException: Schema is not available for interface org.opendaylight.yang.gen.v1.http.org.openro

adm.device.rev181019.org.openroadm.device.container.OrgOpenroadmDevice

  while locating io.fd.honeycomb.infra.distro.data.oper.ReaderRegistryProvider

  at io.fd.honeycomb.infra.distro.data.ConfigAndOperationalPipelineModule.configure(ConfigAndOperationalPipelineModule.java:63)

  while locating io.fd.honeycomb.translate.read.registry.ReaderRegistry

  while locating io.fd.honeycomb.infra.distro.initializer.InitializerRegistryAdapterProvider

  at io.fd.honeycomb.infra.distro.initializer.InitializerPipelineModule.configure(InitializerPipelineModule.java:45)

  while locating io.fd.honeycomb.data.init.InitializerRegistry annotated with @com.google.inject.name.Named(value=honeycomb-initializer)

 

1 error

        at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1028) ~[guice-4.1.0.jar:na]

        at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1050) ~[guice-4.1.0.jar:na]

        at io.fd.honeycomb.infra.distro.Main.init(Main.java:75) [minimal-distribution-1.18.01.jar:na]

        at io.fd.honeycomb.infra.distro.Main.main(Main.java:53) [minimal-distribution-1.18.01.jar:na]

Caused by: org.opendaylight.yangtools.binding.data.codec.impl.MissingSchemaForClassException: Schema is not available for interface org.opendaylight.yang.gen.v1.http.org.openroadm.device.rev1810

19.org.openroadm.device.container.OrgOpenroadmDevice

        at org.opendaylight.yangtools.binding.data.codec.impl.MissingSchemaForClassException.forClass(MissingSchemaForClassException.java:35) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.MissingSchemaForClassException.check(MissingSchemaForClassException.java:50) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.DataContainerCodecContext.childNonNull(DataContainerCodecContext.java:178) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.SchemaRootCodecContext.createDataTreeChildContext(SchemaRootCodecContext.java:181) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.SchemaRootCodecContext.access$000(SchemaRootCodecContext.java:41) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.SchemaRootCodecContext$1.load(SchemaRootCodecContext.java:47) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

                     

Thanks,


 

gang.lu@...

_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.

This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.


Gavin Lu
 

Hi Guillaume

Thank you for your help. According to your advise, we have tried to compile again using openjdk 8 (http://jdk.java.net/java-se-ri/8) and maven 3.5.4. When the honeycomb is execute, the following errors happened. 
Is it still a problem of JDK? 

the logs is as follows: 

2019-11-09 14:23:03.552 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.infra.distro.schema.SchemaServiceProvider@4aebd384

2019-11-09 14:23:03.555 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: ModuleInfoBackedCtxProvider{writerFactories=null}

2019-11-09 14:23:03.558 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.infra.distro.schema.SchemaServiceProvider@6ac93b87

2019-11-09 14:23:03.605 CST [main] ERROR io.fd.honeycomb.infra.distro.Main - Failed to initialize Honeycomb components

com.google.inject.CreationException: Unable to create injector, see the following errors:

 

1) Error in custom provider, java.lang.NullPointerException

  while locating io.fd.honeycomb.infra.distro.data.BindingDataBrokerProvider

  at io.fd.honeycomb.infra.distro.data.context.ContextPipelineModule.configure(ContextPipelineModule.java:58)

  while locating org.opendaylight.controller.md.sal.binding.api.DataBroker annotated with @com.google.inject.name.Named(value=honeycomb-context)

    for field at io.fd.honeycomb.infra.distro.data.ModifiableDTDelegProvider.contextBroker(ModifiableDTDelegProvider.java:33)

  while locating io.fd.honeycomb.infra.distro.data.ModifiableDTDelegProvider

  at io.fd.honeycomb.infra.distro.data.ConfigAndOperationalPipelineModule.configure(ConfigAndOperationalPipelineModule.java:75)

  while locating io.fd.honeycomb.data.ModifiableDataManager

    for field at io.fd.honeycomb.infra.distro.data.HoneycombDOMDataBrokerProvider.modDataManager(HoneycombDOMDataBrokerProvider.java:26)

  at io.fd.honeycomb.infra.distro.data.ConfigAndOperationalPipelineModule.configure(ConfigAndOperationalPipelineModule.java:82)

Caused by: java.lang.NullPointerException

        at org.opendaylight.controller.md.sal.binding.impl.BindingDOMDataBrokerAdapter.<init>(BindingDOMDataBrokerAdapter.java:48)

        at io.fd.honeycomb.infra.distro.data.BindingDataBrokerProvider.create(BindingDataBrokerProvider.java:37)

        at io.fd.honeycomb.infra.distro.data.BindingDataBrokerProvider.create(BindingDataBrokerProvider.java:28)

        at io.fd.honeycomb.binding.init.ProviderTrait.get(ProviderTrait.java:30)

        at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)

        at com.google.inject.internal.BoundProviderFactory.provision(BoundProviderFactory.java:72)

        at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61)

        at com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:62)

        at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)

        at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)

        at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)

        at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:194)

        at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)

        at com.google.inject.internal.ExposedKeyFactory.get(ExposedKeyFactory.java:54)

        at com.google.inject.internal.SingleFieldInjector.inject(SingleFieldInjector.java:54)

        at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:132)

        at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:120)

        at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)

        at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)

        at com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:61)

        at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)

        at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)

        at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)

        at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:194)

        at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)

        at com.google.inject.internal.SingleFieldInjector.inject(SingleFieldInjector.java:54)

        at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:132)

        at com.google.inject.internal.MembersInjectorImpl$1.call(MembersInjectorImpl.java:93)

        at com.google.inject.internal.MembersInjectorImpl$1.call(MembersInjectorImpl.java:80)

        at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1085)

        at com.google.inject.internal.MembersInjectorImpl.injectAndNotify(MembersInjectorImpl.java:80)

        at com.google.inject.internal.Initializer$InjectableReference.get(Initializer.java:223)

        at com.google.inject.internal.Initializer.injectAll(Initializer.java:132)

        at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:174)

        at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:110)

        at com.google.inject.Guice.createInjector(Guice.java:99)

        at com.google.inject.Guice.createInjector(Guice.java:73)

        at io.fd.honeycomb.infra.distro.Main.init(Main.java:58)

        at io.fd.honeycomb.infra.distro.Main.main(Main.java:47)



gang.lu@...

 
Date: 2019-11-08 22:16
Subject: Re: [Transportpce-dev] About HoneyNode test in TransportPCE

Hello Gang Lu

 

To build Honeynode, you need openjdk version 8.
OpenJDK version 11 is not supported yet by honeynode simualtors (but works with the controller)

If you want to use honeynode with openROADM models version 2.2.1, you need to pass the version to the build script.
By default, the script builds honeynode for only 1.2.1 devices models (+ 2.1 common models).

Here are the commands to pass:

$ cd tests

$ ./buildHoneynode 2.2.1

$./honeynode/2.2.1/honeynode-distribution/target/honeynode-distribution-1.18.01-hc/honeynode-distribution-1.18.01/honeycomb-tpce 17840 sample_configs/openroadm/2.2.1/oper-ROADMA.xml

Those simulators are built by ODL Jenkins releng tox jobs to run automatically our functional tests suite.
You can find all the details in the tox.ini at the root of the projects.

 

Hope this helps

Guillaume

 

From: Transportpce-dev@... [mailto:Transportpce-dev@...] On Behalf Of 16347@...
Sent: jeudi 7 novembre 2019 06:39
To: Transportpce-dev+help; Transportpce-dev
Subject: [Transportpce-dev] About HoneyNode test in TransportPCE

 

Hi All,

I am working on transportpce to verify our openROADM optical device. I have downloaded the transportpce-stable-sodium version which including the honeyNode 2.2.1(honeycomb).

The transportPCE is compiled and running OK. 

We want to use the honeycomb to simulate the roadm device first. But when I finished compiled the honeycomb, It can not start yet.

When honeycomb starts, yangtools alerts that Schema is not available for interface OrgOpenroadmDevice.Errors may occur in writeTx.put(LogicalDatastoreType.OPERATIONAL, iid, result.build()) when the oper-ROADMA.xml file(sample_configs\openroadm\2.2.1) was loaded. Is it a problem of  honeyNode itself or the openROADM YANG files(2.2.1)? 

how to deal with it?  thanks.

 

 

The following is logs:

        $ honeycomb-tpce 18730 oper-ROADMA.xml 

2019-11-06 08:49:38.286 CST [pool-18-thread-4] WARN  o.o.c.m.s.d.b.i.DOMNotificationRouter - Uncaught exception during invoking listener io.fd.honeycomb.notification.impl.NotificationProducerTra

cker@6b32b9c7

org.opendaylight.yangtools.binding.data.codec.impl.MissingSchemaForClassException: Schema is not available for interface org.opendaylight.yang.gen.v1.http.org.openroadm.device.rev181019.org.open

roadm.device.container.OrgOpenroadmDevice

        at org.opendaylight.yangtools.binding.data.codec.impl.MissingSchemaForClassException.forClass(MissingSchemaForClassException.java:35) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.MissingSchemaForClassException.check(MissingSchemaForClassException.java:50) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.DataContainerCodecContext.childNonNull(DataContainerCodecContext.java:178) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.SchemaRootCodecContext.createDataTreeChildContext(SchemaRootCodecContext.java:181) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.SchemaRootCodecContext.access$000(SchemaRootCodecContext.java:41) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.SchemaRootCodecContext$1.load(SchemaRootCodecContext.java:47) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.SchemaRootCodecContext$1.load(SchemaRootCodecContext.java:44) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3708) ~[guava-22.0.jar:na]

        at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2416) ~[guava-22.0.jar:na]

        at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2299) ~[guava-22.0.jar:na]

        at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2212) ~[guava-22.0.jar:na]

        at com.google.common.cache.LocalCache.get(LocalCache.java:4147) ~[guava-22.0.jar:na]

        at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4151) ~[guava-22.0.jar:na]

        at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:5140) ~[guava-22.0.jar:na]

        at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:5146) ~[guava-22.0.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.SchemaRootCodecContext.getOrRethrow(SchemaRootCodecContext.java:248) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.SchemaRootCodecContext.streamChild(SchemaRootCodecContext.java:143) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.DataContainerCodecContext.bindingPathArgumentChild(DataContainerCodecContext.java:79) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.BindingCodecContext.getCodecContextNode(BindingCodecContext.java:127) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.InstanceIdentifierCodec.serialize(InstanceIdentifierCodec.java:29) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.InstanceIdentifierCodec.serialize(InstanceIdentifierCodec.java:19) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.BindingNormalizedNodeCodecRegistry.toYangInstanceIdentifier(BindingNormalizedNodeCodecRegistry.java:87) ~[mdsal-binding-dom-codec-0.

11.1.jar:na]

        at org.opendaylight.controller.md.sal.binding.impl.BindingToNormalizedNodeCodec.toYangInstanceIdentifierBlocking(BindingToNormalizedNodeCodec.java:101) ~[sal-binding-broker-impl-1.6.1.ja

r:na]

        at org.opendaylight.controller.md.sal.binding.impl.BindingDOMDataTreeChangeServiceAdapter.toDomTreeIdentifier(BindingDOMDataTreeChangeServiceAdapter.java:66) ~[sal-binding-broker-impl-1.

6.1.jar:na]

        at org.opendaylight.controller.md.sal.binding.impl.BindingDOMDataTreeChangeServiceAdapter.registerDataTreeChangeListener(BindingDOMDataTreeChangeServiceAdapter.java:51) ~[sal-binding-bro

ker-impl-1.6.1.jar:na]

        at org.opendaylight.controller.md.sal.binding.impl.BindingDOMDataBrokerAdapter.registerDataTreeChangeListener(BindingDOMDataBrokerAdapter.java:104) ~[sal-binding-broker-impl-1.6.1.jar:na

]

        at io.fd.honeycomb.transportpce.device.notifications.DeviceNotificationProducer.start(DeviceNotificationProducer.java:91) ~[honeynode-plugin-impl-1.18.01.jar:na]

        at io.fd.honeycomb.notification.impl.NotificationProducerTracker.lambda$onSubscriptionChanged$0(NotificationProducerTracker.java:79) ~[notification-impl-1.18.01.jar:na]

        at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) ~[na:1.8.0_221]

        at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) ~[na:1.8.0_221]

        at java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1556) ~[na:1.8.0_221]

        at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) ~[na:1.8.0_221]

        at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) ~[na:1.8.0_221]

        at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) ~[na:1.8.0_221]

        at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) ~[na:1.8.0_221]

        at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[na:1.8.0_221]

        at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) ~[na:1.8.0_221]

        at io.fd.honeycomb.notification.impl.NotificationProducerTracker.onSubscriptionChanged(NotificationProducerTracker.java:70) ~[notification-impl-1.18.01.jar:na]

        at org.opendaylight.controller.md.sal.dom.broker.impl.DOMNotificationRouter.lambda$notifyListenerTypesChanged$2(DOMNotificationRouter.java:147) ~[sal-broker-impl-1.6.1.jar:na]

        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[na:1.8.0_221]

        at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_221]

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[na:1.8.0_221]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[na:1.8.0_221]

        at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_221]

2019-11-06 08:49:38.376 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.northbound.netconf.NetconfServerDispatcherProvider@1d6751e3

2019-11-06 08:49:38.391 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.northbound.netconf.NetconfTcpServerProvider@5348d83c

2019-11-06 08:49:38.394 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.northbound.netconf.NetconfSshServerProvider@285005b8

2019-11-06 08:49:38.395 CST [main] INFO  i.f.h.n.n.NetconfSshServerProvider - Starting NETCONF SSH

2019-11-06 08:49:38.567 CST [main] WARN  io.netty.bootstrap.ServerBootstrap - Unknown channel option 'SO_BACKLOG' for channel '[id: 0xf4cae6ed]'

2019-11-06 08:49:39.377 CST [main] INFO  io.fd.honeycomb.infra.distro.Main - Initializing configuration

2019-11-06 08:49:39.378 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.infra.distro.initializer.InitializerRegistryAdapterProvider@1760e594

2019-11-06 08:49:39.379 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.infra.distro.data.PersistedConfigInitializerProvider@224e6e88

2019-11-06 08:49:39.379 CST [main] INFO  i.f.h.i.d.d.PersistedConfigInitializerProvider - RestoringInitializer ...

2019-11-06 08:49:39.383 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.infra.distro.data.context.PersistedContextInitializerProvider@70c56434

2019-11-06 08:49:39.383 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.infra.distro.data.context.HoneycombContextDOMDataBrokerProvider@1f2d2181

2019-11-06 08:49:39.384 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.infra.distro.data.context.ModifiableDTMgrProvider@6d2260db

2019-11-06 08:49:39.385 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.infra.distro.data.PersistingDataTreeProvider$ContextPersistingDataTreeProvider@3c6bd624

2019-11-06 08:49:39.385 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.infra.distro.data.DataTreeProvider$ContextDataTreeProvider@3dd2b9c1

2019-11-06 08:49:39.387 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.northbound.netconf.NetconfMonitoringReaderFactoryProvider@57b1ec84

2019-11-06 08:49:39.388 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.northbound.netconf.NetconfNotificationsReaderFactoryProvider@4aab7195

2019-11-06 08:49:39.389 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.infra.distro.data.oper.ReaderRegistryProvider@11ad095c

2019-11-06 08:49:39.427 CST [netconf-netty-0] INFO  i.f.h.n.n.NetconfSshServerProvider - Netconf SSH endpoint started successfully at /0.0.0.0:18730

2019-11-06 08:49:39.433 CST [main] INFO  i.f.h.t.d.read.DeviceReaderFactory - writting xml file data to oper datastore

2019-11-06 08:49:45.776 CST [main] INFO  i.f.h.t.d.tools.DefaultDeviceFactory - file 'oper-ROADMA.xml' exists at location : /home/oscape/software/sodimu-tpce-test-2.2.1/honeynode-distribution-1.

18.01/config/device/oper-ROADMA.xml

2019-11-06 08:49:45.990 CST [main] INFO  i.f.h.t.d.c.DeviceConfiguration - result info : NodeIdType [_value=ROADM-A1]

2019-11-06 08:49:45.991 CST [main] INFO  i.f.h.t.d.read.DeviceReaderFactory - Getting device info from xml file for device 'ROADM-A1'

2019-11-06 08:49:46.083 CST [main] INFO  i.f.h.t.d.read.DeviceReaderFactory - WriteTransaction is ok, copy device info to oper datastore

2019-11-06 08:49:46.088 CST [main] ERROR io.fd.honeycomb.infra.distro.Main - Failed to initialize Honeycomb components

com.google.inject.ProvisionException: Unable to provision, see the following errors:

 

1) Error in custom provider, org.opendaylight.yangtools.binding.data.codec.impl.MissingSchemaForClassException: Schema is not available for interface org.opendaylight.yang.gen.v1.http.org.openro

adm.device.rev181019.org.openroadm.device.container.OrgOpenroadmDevice

  while locating io.fd.honeycomb.infra.distro.data.oper.ReaderRegistryProvider

  at io.fd.honeycomb.infra.distro.data.ConfigAndOperationalPipelineModule.configure(ConfigAndOperationalPipelineModule.java:63)

  while locating io.fd.honeycomb.translate.read.registry.ReaderRegistry

  while locating io.fd.honeycomb.infra.distro.initializer.InitializerRegistryAdapterProvider

  at io.fd.honeycomb.infra.distro.initializer.InitializerPipelineModule.configure(InitializerPipelineModule.java:45)

  while locating io.fd.honeycomb.data.init.InitializerRegistry annotated with @com.google.inject.name.Named(value=honeycomb-initializer)

 

1 error

        at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1028) ~[guice-4.1.0.jar:na]

        at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1050) ~[guice-4.1.0.jar:na]

        at io.fd.honeycomb.infra.distro.Main.init(Main.java:75) [minimal-distribution-1.18.01.jar:na]

        at io.fd.honeycomb.infra.distro.Main.main(Main.java:53) [minimal-distribution-1.18.01.jar:na]

Caused by: org.opendaylight.yangtools.binding.data.codec.impl.MissingSchemaForClassException: Schema is not available for interface org.opendaylight.yang.gen.v1.http.org.openroadm.device.rev1810

19.org.openroadm.device.container.OrgOpenroadmDevice

        at org.opendaylight.yangtools.binding.data.codec.impl.MissingSchemaForClassException.forClass(MissingSchemaForClassException.java:35) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.MissingSchemaForClassException.check(MissingSchemaForClassException.java:50) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.DataContainerCodecContext.childNonNull(DataContainerCodecContext.java:178) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.SchemaRootCodecContext.createDataTreeChildContext(SchemaRootCodecContext.java:181) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.SchemaRootCodecContext.access$000(SchemaRootCodecContext.java:41) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.SchemaRootCodecContext$1.load(SchemaRootCodecContext.java:47) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

                     

Thanks,


 

gang.lu@...

_________________________________________________________________________________________________________________________
Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.


Guillaume Lambert
 

Hello

 

Weird.
The official openjdk page is http://openjdk.java.net

It seems that your URL points to the Java SE 8 derived from openjdk packaged by Oracle.

I wonder if it has not a limited set of features.

To avoid caveats, you’d better try to use the openjdk8 packaged for your linux distribution.

 

Did you use the build script “buildHoneynode 2.2.1”  ?

 

Hope this helps

Guillaume

 

From: Transportpce-dev@... [mailto:Transportpce-dev@...] On Behalf Of Gavin Lu
Sent: lundi 11 novembre 2019 01:31
To: LAMBERT Guillaume TGI/OLN;
卢刚; Transportpce-dev
Cc: Transportpce-dev
Subject: Re: [Transportpce-dev] About HoneyNode test in TransportPCE

 

Hi Guillaume

 

Thank you for your help. According to your advise, we have tried to compile again using openjdk 8 (http://jdk.java.net/java-se-ri/8) and maven 3.5.4. When the honeycomb is execute, the following errors happened. 

Is it still a problem of JDK? 

 

the logs is as follows: 

2019-11-09 14:23:03.552 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.infra.distro.schema.SchemaServiceProvider@4aebd384

2019-11-09 14:23:03.555 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: ModuleInfoBackedCtxProvider{writerFactories=null}

2019-11-09 14:23:03.558 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.infra.distro.schema.SchemaServiceProvider@6ac93b87

2019-11-09 14:23:03.605 CST [main] ERROR io.fd.honeycomb.infra.distro.Main - Failed to initialize Honeycomb components

com.google.inject.CreationException: Unable to create injector, see the following errors:

 

1) Error in custom provider, java.lang.NullPointerException

  while locating io.fd.honeycomb.infra.distro.data.BindingDataBrokerProvider

  at io.fd.honeycomb.infra.distro.data.context.ContextPipelineModule.configure(ContextPipelineModule.java:58)

  while locating org.opendaylight.controller.md.sal.binding.api.DataBroker annotated with @com.google.inject.name.Named(value=honeycomb-context)

    for field at io.fd.honeycomb.infra.distro.data.ModifiableDTDelegProvider.contextBroker(ModifiableDTDelegProvider.java:33)

  while locating io.fd.honeycomb.infra.distro.data.ModifiableDTDelegProvider

  at io.fd.honeycomb.infra.distro.data.ConfigAndOperationalPipelineModule.configure(ConfigAndOperationalPipelineModule.java:75)

  while locating io.fd.honeycomb.data.ModifiableDataManager

    for field at io.fd.honeycomb.infra.distro.data.HoneycombDOMDataBrokerProvider.modDataManager(HoneycombDOMDataBrokerProvider.java:26)

  at io.fd.honeycomb.infra.distro.data.ConfigAndOperationalPipelineModule.configure(ConfigAndOperationalPipelineModule.java:82)

Caused by: java.lang.NullPointerException

        at org.opendaylight.controller.md.sal.binding.impl.BindingDOMDataBrokerAdapter.<init>(BindingDOMDataBrokerAdapter.java:48)

        at io.fd.honeycomb.infra.distro.data.BindingDataBrokerProvider.create(BindingDataBrokerProvider.java:37)

        at io.fd.honeycomb.infra.distro.data.BindingDataBrokerProvider.create(BindingDataBrokerProvider.java:28)

        at io.fd.honeycomb.binding.init.ProviderTrait.get(ProviderTrait.java:30)

        at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)

        at com.google.inject.internal.BoundProviderFactory.provision(BoundProviderFactory.java:72)

        at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61)

        at com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:62)

        at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)

        at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)

        at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)

        at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:194)

        at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)

        at com.google.inject.internal.ExposedKeyFactory.get(ExposedKeyFactory.java:54)

        at com.google.inject.internal.SingleFieldInjector.inject(SingleFieldInjector.java:54)

        at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:132)

        at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:120)

        at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)

        at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)

        at com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:61)

        at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)

        at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)

        at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)

        at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:194)

        at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)

        at com.google.inject.internal.SingleFieldInjector.inject(SingleFieldInjector.java:54)

        at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:132)

        at com.google.inject.internal.MembersInjectorImpl$1.call(MembersInjectorImpl.java:93)

        at com.google.inject.internal.MembersInjectorImpl$1.call(MembersInjectorImpl.java:80)

        at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1085)

        at com.google.inject.internal.MembersInjectorImpl.injectAndNotify(MembersInjectorImpl.java:80)

        at com.google.inject.internal.Initializer$InjectableReference.get(Initializer.java:223)

        at com.google.inject.internal.Initializer.injectAll(Initializer.java:132)

        at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:174)

        at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:110)

        at com.google.inject.Guice.createInjector(Guice.java:99)

        at com.google.inject.Guice.createInjector(Guice.java:73)

        at io.fd.honeycomb.infra.distro.Main.init(Main.java:58)

        at io.fd.honeycomb.infra.distro.Main.main(Main.java:47)

 

 

gang.lu@...

 

Date: 2019-11-08 22:16

Subject: Re: [Transportpce-dev] About HoneyNode test in TransportPCE

Hello Gang Lu

 

To build Honeynode, you need openjdk version 8.
OpenJDK version 11 is not supported yet by honeynode simualtors (but works with the controller)

If you want to use honeynode with openROADM models version 2.2.1, you need to pass the version to the build script.
By default, the script builds honeynode for only 1.2.1 devices models (+ 2.1 common models).

Here are the commands to pass:

$ cd tests

$ ./buildHoneynode 2.2.1

$./honeynode/2.2.1/honeynode-distribution/target/honeynode-distribution-1.18.01-hc/honeynode-distribution-1.18.01/honeycomb-tpce 17840 sample_configs/openroadm/2.2.1/oper-ROADMA.xml

Those simulators are built by ODL Jenkins releng tox jobs to run automatically our functional tests suite.
You can find all the details in the tox.ini at the root of the projects.

 

Hope this helps

Guillaume


 

From: Transportpce-dev@... [mailto:Transportpce-dev@...] On Behalf Of 16347@...
Sent: jeudi 7 novembre 2019 06:39
To: Transportpce-dev+help; Transportpce-dev
Subject: [Transportpce-dev] About HoneyNode test in TransportPCE

 

Hi All,

I am working on transportpce to verify our openROADM optical device. I have downloaded the transportpce-stable-sodium version which including the honeyNode 2.2.1(honeycomb).

The transportPCE is compiled and running OK. 

We want to use the honeycomb to simulate the roadm device first. But when I finished compiled the honeycomb, It can not start yet.

When honeycomb starts, yangtools alerts that Schema is not available for interface OrgOpenroadmDevice.Errors may occur in writeTx.put(LogicalDatastoreType.OPERATIONAL, iid, result.build()) when the oper-ROADMA.xml file(sample_configs\openroadm\2.2.1) was loaded. Is it a problem of  honeyNode itself or the openROADM YANG files(2.2.1)? 

how to deal with it?  thanks.

 

 

The following is logs:

        $ honeycomb-tpce 18730 oper-ROADMA.xml 

2019-11-06 08:49:38.286 CST [pool-18-thread-4] WARN  o.o.c.m.s.d.b.i.DOMNotificationRouter - Uncaught exception during invoking listener io.fd.honeycomb.notification.impl.NotificationProducerTra

cker@6b32b9c7

org.opendaylight.yangtools.binding.data.codec.impl.MissingSchemaForClassException: Schema is not available for interface org.opendaylight.yang.gen.v1.http.org.openroadm.device.rev181019.org.open

roadm.device.container.OrgOpenroadmDevice

        at org.opendaylight.yangtools.binding.data.codec.impl.MissingSchemaForClassException.forClass(MissingSchemaForClassException.java:35) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.MissingSchemaForClassException.check(MissingSchemaForClassException.java:50) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.DataContainerCodecContext.childNonNull(DataContainerCodecContext.java:178) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.SchemaRootCodecContext.createDataTreeChildContext(SchemaRootCodecContext.java:181) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.SchemaRootCodecContext.access$000(SchemaRootCodecContext.java:41) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.SchemaRootCodecContext$1.load(SchemaRootCodecContext.java:47) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.SchemaRootCodecContext$1.load(SchemaRootCodecContext.java:44) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3708) ~[guava-22.0.jar:na]

        at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2416) ~[guava-22.0.jar:na]

        at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2299) ~[guava-22.0.jar:na]

        at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2212) ~[guava-22.0.jar:na]

        at com.google.common.cache.LocalCache.get(LocalCache.java:4147) ~[guava-22.0.jar:na]

        at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4151) ~[guava-22.0.jar:na]

        at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:5140) ~[guava-22.0.jar:na]

        at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:5146) ~[guava-22.0.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.SchemaRootCodecContext.getOrRethrow(SchemaRootCodecContext.java:248) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.SchemaRootCodecContext.streamChild(SchemaRootCodecContext.java:143) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.DataContainerCodecContext.bindingPathArgumentChild(DataContainerCodecContext.java:79) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.BindingCodecContext.getCodecContextNode(BindingCodecContext.java:127) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.InstanceIdentifierCodec.serialize(InstanceIdentifierCodec.java:29) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.InstanceIdentifierCodec.serialize(InstanceIdentifierCodec.java:19) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.BindingNormalizedNodeCodecRegistry.toYangInstanceIdentifier(BindingNormalizedNodeCodecRegistry.java:87) ~[mdsal-binding-dom-codec-0.

11.1.jar:na]

        at org.opendaylight.controller.md.sal.binding.impl.BindingToNormalizedNodeCodec.toYangInstanceIdentifierBlocking(BindingToNormalizedNodeCodec.java:101) ~[sal-binding-broker-impl-1.6.1.ja

r:na]

        at org.opendaylight.controller.md.sal.binding.impl.BindingDOMDataTreeChangeServiceAdapter.toDomTreeIdentifier(BindingDOMDataTreeChangeServiceAdapter.java:66) ~[sal-binding-broker-impl-1.

6.1.jar:na]

        at org.opendaylight.controller.md.sal.binding.impl.BindingDOMDataTreeChangeServiceAdapter.registerDataTreeChangeListener(BindingDOMDataTreeChangeServiceAdapter.java:51) ~[sal-binding-bro

ker-impl-1.6.1.jar:na]

        at org.opendaylight.controller.md.sal.binding.impl.BindingDOMDataBrokerAdapter.registerDataTreeChangeListener(BindingDOMDataBrokerAdapter.java:104) ~[sal-binding-broker-impl-1.6.1.jar:na

]

        at io.fd.honeycomb.transportpce.device.notifications.DeviceNotificationProducer.start(DeviceNotificationProducer.java:91) ~[honeynode-plugin-impl-1.18.01.jar:na]

        at io.fd.honeycomb.notification.impl.NotificationProducerTracker.lambda$onSubscriptionChanged$0(NotificationProducerTracker.java:79) ~[notification-impl-1.18.01.jar:na]

        at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) ~[na:1.8.0_221]

        at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) ~[na:1.8.0_221]

        at java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1556) ~[na:1.8.0_221]

        at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) ~[na:1.8.0_221]

        at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) ~[na:1.8.0_221]

        at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) ~[na:1.8.0_221]

        at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) ~[na:1.8.0_221]

        at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[na:1.8.0_221]

        at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) ~[na:1.8.0_221]

        at io.fd.honeycomb.notification.impl.NotificationProducerTracker.onSubscriptionChanged(NotificationProducerTracker.java:70) ~[notification-impl-1.18.01.jar:na]

        at org.opendaylight.controller.md.sal.dom.broker.impl.DOMNotificationRouter.lambda$notifyListenerTypesChanged$2(DOMNotificationRouter.java:147) ~[sal-broker-impl-1.6.1.jar:na]

        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[na:1.8.0_221]

        at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_221]

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[na:1.8.0_221]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[na:1.8.0_221]

        at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_221]

2019-11-06 08:49:38.376 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.northbound.netconf.NetconfServerDispatcherProvider@1d6751e3

2019-11-06 08:49:38.391 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.northbound.netconf.NetconfTcpServerProvider@5348d83c

2019-11-06 08:49:38.394 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.northbound.netconf.NetconfSshServerProvider@285005b8

2019-11-06 08:49:38.395 CST [main] INFO  i.f.h.n.n.NetconfSshServerProvider - Starting NETCONF SSH

2019-11-06 08:49:38.567 CST [main] WARN  io.netty.bootstrap.ServerBootstrap - Unknown channel option 'SO_BACKLOG' for channel '[id: 0xf4cae6ed]'

2019-11-06 08:49:39.377 CST [main] INFO  io.fd.honeycomb.infra.distro.Main - Initializing configuration

2019-11-06 08:49:39.378 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.infra.distro.initializer.InitializerRegistryAdapterProvider@1760e594

2019-11-06 08:49:39.379 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.infra.distro.data.PersistedConfigInitializerProvider@224e6e88

2019-11-06 08:49:39.379 CST [main] INFO  i.f.h.i.d.d.PersistedConfigInitializerProvider - RestoringInitializer ...

2019-11-06 08:49:39.383 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.infra.distro.data.context.PersistedContextInitializerProvider@70c56434

2019-11-06 08:49:39.383 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.infra.distro.data.context.HoneycombContextDOMDataBrokerProvider@1f2d2181

2019-11-06 08:49:39.384 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.infra.distro.data.context.ModifiableDTMgrProvider@6d2260db

2019-11-06 08:49:39.385 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.infra.distro.data.PersistingDataTreeProvider$ContextPersistingDataTreeProvider@3c6bd624

2019-11-06 08:49:39.385 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.infra.distro.data.DataTreeProvider$ContextDataTreeProvider@3dd2b9c1

2019-11-06 08:49:39.387 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.northbound.netconf.NetconfMonitoringReaderFactoryProvider@57b1ec84

2019-11-06 08:49:39.388 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.northbound.netconf.NetconfNotificationsReaderFactoryProvider@4aab7195

2019-11-06 08:49:39.389 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.infra.distro.data.oper.ReaderRegistryProvider@11ad095c

2019-11-06 08:49:39.427 CST [netconf-netty-0] INFO  i.f.h.n.n.NetconfSshServerProvider - Netconf SSH endpoint started successfully at /0.0.0.0:18730

2019-11-06 08:49:39.433 CST [main] INFO  i.f.h.t.d.read.DeviceReaderFactory - writting xml file data to oper datastore

2019-11-06 08:49:45.776 CST [main] INFO  i.f.h.t.d.tools.DefaultDeviceFactory - file 'oper-ROADMA.xml' exists at location : /home/oscape/software/sodimu-tpce-test-2.2.1/honeynode-distribution-1.

18.01/config/device/oper-ROADMA.xml

2019-11-06 08:49:45.990 CST [main] INFO  i.f.h.t.d.c.DeviceConfiguration - result info : NodeIdType [_value=ROADM-A1]

2019-11-06 08:49:45.991 CST [main] INFO  i.f.h.t.d.read.DeviceReaderFactory - Getting device info from xml file for device 'ROADM-A1'

2019-11-06 08:49:46.083 CST [main] INFO  i.f.h.t.d.read.DeviceReaderFactory - WriteTransaction is ok, copy device info to oper datastore

2019-11-06 08:49:46.088 CST [main] ERROR io.fd.honeycomb.infra.distro.Main - Failed to initialize Honeycomb components

com.google.inject.ProvisionException: Unable to provision, see the following errors:

 

1) Error in custom provider, org.opendaylight.yangtools.binding.data.codec.impl.MissingSchemaForClassException: Schema is not available for interface org.opendaylight.yang.gen.v1.http.org.openro

adm.device.rev181019.org.openroadm.device.container.OrgOpenroadmDevice

  while locating io.fd.honeycomb.infra.distro.data.oper.ReaderRegistryProvider

  at io.fd.honeycomb.infra.distro.data.ConfigAndOperationalPipelineModule.configure(ConfigAndOperationalPipelineModule.java:63)

  while locating io.fd.honeycomb.translate.read.registry.ReaderRegistry

  while locating io.fd.honeycomb.infra.distro.initializer.InitializerRegistryAdapterProvider

  at io.fd.honeycomb.infra.distro.initializer.InitializerPipelineModule.configure(InitializerPipelineModule.java:45)

  while locating io.fd.honeycomb.data.init.InitializerRegistry annotated with @com.google.inject.name.Named(value=honeycomb-initializer)

 

1 error

        at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1028) ~[guice-4.1.0.jar:na]

        at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1050) ~[guice-4.1.0.jar:na]

        at io.fd.honeycomb.infra.distro.Main.init(Main.java:75) [minimal-distribution-1.18.01.jar:na]

        at io.fd.honeycomb.infra.distro.Main.main(Main.java:53) [minimal-distribution-1.18.01.jar:na]

Caused by: org.opendaylight.yangtools.binding.data.codec.impl.MissingSchemaForClassException: Schema is not available for interface org.opendaylight.yang.gen.v1.http.org.openroadm.device.rev1810

19.org.openroadm.device.container.OrgOpenroadmDevice

        at org.opendaylight.yangtools.binding.data.codec.impl.MissingSchemaForClassException.forClass(MissingSchemaForClassException.java:35) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.MissingSchemaForClassException.check(MissingSchemaForClassException.java:50) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.DataContainerCodecContext.childNonNull(DataContainerCodecContext.java:178) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.SchemaRootCodecContext.createDataTreeChildContext(SchemaRootCodecContext.java:181) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.SchemaRootCodecContext.access$000(SchemaRootCodecContext.java:41) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.SchemaRootCodecContext$1.load(SchemaRootCodecContext.java:47) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

                     

Thanks,


 

gang.lu@...

_________________________________________________________________________________________________________________________
Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.
_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.

This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.


Gavin Lu
 

Hello Guillaume

We have used openjdk8 packaged for our ubuntu version to compile the honeycomb codes and at last the honeynode starts successfully!  

The following is the command and logs:

$ ./buildHoneynode.sh 2.2.1
$ ./honeycomb-tpce 18730  sample_configs/openroadm/2.2.1/oper-ROADMA.xml

2019-11-13 18:33:11.594 CST [main] INFO  i.f.h.i.d.i.InitializerRegistryAdapter - Config initialization started
2019-11-13 18:33:11.624 CST [main] INFO  i.f.h.i.d.i.InitializerRegistryAdapter - Persisted context restored successfully
2019-11-13 18:33:11.626 CST [main] INFO  i.f.h.i.d.i.InitializerRegistryAdapter - Configuration initialized successfully
2019-11-13 18:33:11.627 CST [main] INFO  i.f.h.i.d.i.InitializerRegistryAdapter - Persisted configuration restored successfully
2019-11-13 18:33:11.628 CST [main] INFO  i.f.h.i.d.i.InitializerRegistryAdapter - Honeycomb initialized
2019-11-13 18:33:11.628 CST [main] INFO  io.fd.honeycomb.infra.distro.Main - Configuration initialized successfully
2019-11-13 18:33:11.628 CST [main] INFO  io.fd.honeycomb.infra.distro.Main - 
Honeycomb started successfully!
2019-11-13 18:33:11.894 CST [netconf-netty-0] INFO  i.f.h.n.n.NetconfSshServerProvider - 
Netconf SSH endpoint started successfully at /0.0.0.0:18740

Thanks a lots for your help.
Gang Lu

 
Date: 2019-11-12 19:03
Subject: Re: [Transportpce-dev] About HoneyNode test in TransportPCE

Hello

 

Weird.
The official openjdk page is http://openjdk.java.net

It seems that your URL points to the Java SE 8 derived from openjdk packaged by Oracle.

I wonder if it has not a limited set of features.

To avoid caveats, you’d better try to use the openjdk8 packaged for your linux distribution.

 

Did you use the build script “buildHoneynode 2.2.1”  ?

 

Hope this helps

Guillaume

 

From: Transportpce-dev@... [mailto:Transportpce-dev@...] On Behalf Of Gavin Lu
Sent: lundi 11 novembre 2019 01:31
To: LAMBERT Guillaume TGI/OLN;
卢刚; Transportpce-dev
Cc: Transportpce-dev
Subject: Re: [Transportpce-dev] About HoneyNode test in TransportPCE

 

Hi Guillaume

 

Thank you for your help. According to your advise, we have tried to compile again using openjdk 8 (http://jdk.java.net/java-se-ri/8) and maven 3.5.4. When the honeycomb is execute, the following errors happened. 

Is it still a problem of JDK? 

 

the logs is as follows: 

2019-11-09 14:23:03.552 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.infra.distro.schema.SchemaServiceProvider@4aebd384

2019-11-09 14:23:03.555 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: ModuleInfoBackedCtxProvider{writerFactories=null}

2019-11-09 14:23:03.558 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.infra.distro.schema.SchemaServiceProvider@6ac93b87

2019-11-09 14:23:03.605 CST [main] ERROR io.fd.honeycomb.infra.distro.Main - Failed to initialize Honeycomb components

com.google.inject.CreationException: Unable to create injector, see the following errors:

 

1) Error in custom provider, java.lang.NullPointerException

  while locating io.fd.honeycomb.infra.distro.data.BindingDataBrokerProvider

  at io.fd.honeycomb.infra.distro.data.context.ContextPipelineModule.configure(ContextPipelineModule.java:58)

  while locating org.opendaylight.controller.md.sal.binding.api.DataBroker annotated with @com.google.inject.name.Named(value=honeycomb-context)

    for field at io.fd.honeycomb.infra.distro.data.ModifiableDTDelegProvider.contextBroker(ModifiableDTDelegProvider.java:33)

  while locating io.fd.honeycomb.infra.distro.data.ModifiableDTDelegProvider

  at io.fd.honeycomb.infra.distro.data.ConfigAndOperationalPipelineModule.configure(ConfigAndOperationalPipelineModule.java:75)

  while locating io.fd.honeycomb.data.ModifiableDataManager

    for field at io.fd.honeycomb.infra.distro.data.HoneycombDOMDataBrokerProvider.modDataManager(HoneycombDOMDataBrokerProvider.java:26)

  at io.fd.honeycomb.infra.distro.data.ConfigAndOperationalPipelineModule.configure(ConfigAndOperationalPipelineModule.java:82)

Caused by: java.lang.NullPointerException

        at org.opendaylight.controller.md.sal.binding.impl.BindingDOMDataBrokerAdapter.<init>(BindingDOMDataBrokerAdapter.java:48)

        at io.fd.honeycomb.infra.distro.data.BindingDataBrokerProvider.create(BindingDataBrokerProvider.java:37)

        at io.fd.honeycomb.infra.distro.data.BindingDataBrokerProvider.create(BindingDataBrokerProvider.java:28)

        at io.fd.honeycomb.binding.init.ProviderTrait.get(ProviderTrait.java:30)

        at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)

        at com.google.inject.internal.BoundProviderFactory.provision(BoundProviderFactory.java:72)

        at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61)

        at com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:62)

        at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)

        at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)

        at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)

        at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:194)

        at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)

        at com.google.inject.internal.ExposedKeyFactory.get(ExposedKeyFactory.java:54)

        at com.google.inject.internal.SingleFieldInjector.inject(SingleFieldInjector.java:54)

        at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:132)

        at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:120)

        at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)

        at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)

        at com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:61)

        at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)

        at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)

        at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)

        at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:194)

        at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)

        at com.google.inject.internal.SingleFieldInjector.inject(SingleFieldInjector.java:54)

        at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:132)

        at com.google.inject.internal.MembersInjectorImpl$1.call(MembersInjectorImpl.java:93)

        at com.google.inject.internal.MembersInjectorImpl$1.call(MembersInjectorImpl.java:80)

        at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1085)

        at com.google.inject.internal.MembersInjectorImpl.injectAndNotify(MembersInjectorImpl.java:80)

        at com.google.inject.internal.Initializer$InjectableReference.get(Initializer.java:223)

        at com.google.inject.internal.Initializer.injectAll(Initializer.java:132)

        at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:174)

        at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:110)

        at com.google.inject.Guice.createInjector(Guice.java:99)

        at com.google.inject.Guice.createInjector(Guice.java:73)

        at io.fd.honeycomb.infra.distro.Main.init(Main.java:58)

        at io.fd.honeycomb.infra.distro.Main.main(Main.java:47)

 

 

gang.lu@...

 

Date: 2019-11-08 22:16

Subject: Re: [Transportpce-dev] About HoneyNode test in TransportPCE

Hello Gang Lu

 

To build Honeynode, you need openjdk version 8.
OpenJDK version 11 is not supported yet by honeynode simualtors (but works with the controller)

If you want to use honeynode with openROADM models version 2.2.1, you need to pass the version to the build script.
By default, the script builds honeynode for only 1.2.1 devices models (+ 2.1 common models).

Here are the commands to pass:

$ cd tests

$ ./buildHoneynode 2.2.1

$./honeynode/2.2.1/honeynode-distribution/target/honeynode-distribution-1.18.01-hc/honeynode-distribution-1.18.01/honeycomb-tpce 17840 sample_configs/openroadm/2.2.1/oper-ROADMA.xml

Those simulators are built by ODL Jenkins releng tox jobs to run automatically our functional tests suite.
You can find all the details in the tox.ini at the root of the projects.

 

Hope this helps

Guillaume


 

From: Transportpce-dev@... [mailto:Transportpce-dev@...] On Behalf Of 16347@...
Sent: jeudi 7 novembre 2019 06:39
To: Transportpce-dev+help; Transportpce-dev
Subject: [Transportpce-dev] About HoneyNode test in TransportPCE

 

Hi All,

I am working on transportpce to verify our openROADM optical device. I have downloaded the transportpce-stable-sodium version which including the honeyNode 2.2.1(honeycomb).

The transportPCE is compiled and running OK. 

We want to use the honeycomb to simulate the roadm device first. But when I finished compiled the honeycomb, It can not start yet.

When honeycomb starts, yangtools alerts that Schema is not available for interface OrgOpenroadmDevice.Errors may occur in writeTx.put(LogicalDatastoreType.OPERATIONAL, iid, result.build()) when the oper-ROADMA.xml file(sample_configs\openroadm\2.2.1) was loaded. Is it a problem of  honeyNode itself or the openROADM YANG files(2.2.1)? 

how to deal with it?  thanks.

 

 

The following is logs:

        $ honeycomb-tpce 18730 oper-ROADMA.xml 

2019-11-06 08:49:38.286 CST [pool-18-thread-4] WARN  o.o.c.m.s.d.b.i.DOMNotificationRouter - Uncaught exception during invoking listener io.fd.honeycomb.notification.impl.NotificationProducerTra

cker@6b32b9c7

org.opendaylight.yangtools.binding.data.codec.impl.MissingSchemaForClassException: Schema is not available for interface org.opendaylight.yang.gen.v1.http.org.openroadm.device.rev181019.org.open

roadm.device.container.OrgOpenroadmDevice

        at org.opendaylight.yangtools.binding.data.codec.impl.MissingSchemaForClassException.forClass(MissingSchemaForClassException.java:35) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.MissingSchemaForClassException.check(MissingSchemaForClassException.java:50) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.DataContainerCodecContext.childNonNull(DataContainerCodecContext.java:178) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.SchemaRootCodecContext.createDataTreeChildContext(SchemaRootCodecContext.java:181) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.SchemaRootCodecContext.access$000(SchemaRootCodecContext.java:41) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.SchemaRootCodecContext$1.load(SchemaRootCodecContext.java:47) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.SchemaRootCodecContext$1.load(SchemaRootCodecContext.java:44) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3708) ~[guava-22.0.jar:na]

        at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2416) ~[guava-22.0.jar:na]

        at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2299) ~[guava-22.0.jar:na]

        at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2212) ~[guava-22.0.jar:na]

        at com.google.common.cache.LocalCache.get(LocalCache.java:4147) ~[guava-22.0.jar:na]

        at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4151) ~[guava-22.0.jar:na]

        at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:5140) ~[guava-22.0.jar:na]

        at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:5146) ~[guava-22.0.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.SchemaRootCodecContext.getOrRethrow(SchemaRootCodecContext.java:248) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.SchemaRootCodecContext.streamChild(SchemaRootCodecContext.java:143) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.DataContainerCodecContext.bindingPathArgumentChild(DataContainerCodecContext.java:79) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.BindingCodecContext.getCodecContextNode(BindingCodecContext.java:127) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.InstanceIdentifierCodec.serialize(InstanceIdentifierCodec.java:29) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.InstanceIdentifierCodec.serialize(InstanceIdentifierCodec.java:19) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.BindingNormalizedNodeCodecRegistry.toYangInstanceIdentifier(BindingNormalizedNodeCodecRegistry.java:87) ~[mdsal-binding-dom-codec-0.

11.1.jar:na]

        at org.opendaylight.controller.md.sal.binding.impl.BindingToNormalizedNodeCodec.toYangInstanceIdentifierBlocking(BindingToNormalizedNodeCodec.java:101) ~[sal-binding-broker-impl-1.6.1.ja

r:na]

        at org.opendaylight.controller.md.sal.binding.impl.BindingDOMDataTreeChangeServiceAdapter.toDomTreeIdentifier(BindingDOMDataTreeChangeServiceAdapter.java:66) ~[sal-binding-broker-impl-1.

6.1.jar:na]

        at org.opendaylight.controller.md.sal.binding.impl.BindingDOMDataTreeChangeServiceAdapter.registerDataTreeChangeListener(BindingDOMDataTreeChangeServiceAdapter.java:51) ~[sal-binding-bro

ker-impl-1.6.1.jar:na]

        at org.opendaylight.controller.md.sal.binding.impl.BindingDOMDataBrokerAdapter.registerDataTreeChangeListener(BindingDOMDataBrokerAdapter.java:104) ~[sal-binding-broker-impl-1.6.1.jar:na

]

        at io.fd.honeycomb.transportpce.device.notifications.DeviceNotificationProducer.start(DeviceNotificationProducer.java:91) ~[honeynode-plugin-impl-1.18.01.jar:na]

        at io.fd.honeycomb.notification.impl.NotificationProducerTracker.lambda$onSubscriptionChanged$0(NotificationProducerTracker.java:79) ~[notification-impl-1.18.01.jar:na]

        at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) ~[na:1.8.0_221]

        at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) ~[na:1.8.0_221]

        at java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1556) ~[na:1.8.0_221]

        at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) ~[na:1.8.0_221]

        at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) ~[na:1.8.0_221]

        at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) ~[na:1.8.0_221]

        at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) ~[na:1.8.0_221]

        at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[na:1.8.0_221]

        at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) ~[na:1.8.0_221]

        at io.fd.honeycomb.notification.impl.NotificationProducerTracker.onSubscriptionChanged(NotificationProducerTracker.java:70) ~[notification-impl-1.18.01.jar:na]

        at org.opendaylight.controller.md.sal.dom.broker.impl.DOMNotificationRouter.lambda$notifyListenerTypesChanged$2(DOMNotificationRouter.java:147) ~[sal-broker-impl-1.6.1.jar:na]

        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[na:1.8.0_221]

        at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_221]

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[na:1.8.0_221]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[na:1.8.0_221]

        at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_221]

2019-11-06 08:49:38.376 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.northbound.netconf.NetconfServerDispatcherProvider@1d6751e3

2019-11-06 08:49:38.391 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.northbound.netconf.NetconfTcpServerProvider@5348d83c

2019-11-06 08:49:38.394 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.northbound.netconf.NetconfSshServerProvider@285005b8

2019-11-06 08:49:38.395 CST [main] INFO  i.f.h.n.n.NetconfSshServerProvider - Starting NETCONF SSH

2019-11-06 08:49:38.567 CST [main] WARN  io.netty.bootstrap.ServerBootstrap - Unknown channel option 'SO_BACKLOG' for channel '[id: 0xf4cae6ed]'

2019-11-06 08:49:39.377 CST [main] INFO  io.fd.honeycomb.infra.distro.Main - Initializing configuration

2019-11-06 08:49:39.378 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.infra.distro.initializer.InitializerRegistryAdapterProvider@1760e594

2019-11-06 08:49:39.379 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.infra.distro.data.PersistedConfigInitializerProvider@224e6e88

2019-11-06 08:49:39.379 CST [main] INFO  i.f.h.i.d.d.PersistedConfigInitializerProvider - RestoringInitializer ...

2019-11-06 08:49:39.383 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.infra.distro.data.context.PersistedContextInitializerProvider@70c56434

2019-11-06 08:49:39.383 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.infra.distro.data.context.HoneycombContextDOMDataBrokerProvider@1f2d2181

2019-11-06 08:49:39.384 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.infra.distro.data.context.ModifiableDTMgrProvider@6d2260db

2019-11-06 08:49:39.385 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.infra.distro.data.PersistingDataTreeProvider$ContextPersistingDataTreeProvider@3c6bd624

2019-11-06 08:49:39.385 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.infra.distro.data.DataTreeProvider$ContextDataTreeProvider@3dd2b9c1

2019-11-06 08:49:39.387 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.northbound.netconf.NetconfMonitoringReaderFactoryProvider@57b1ec84

2019-11-06 08:49:39.388 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.northbound.netconf.NetconfNotificationsReaderFactoryProvider@4aab7195

2019-11-06 08:49:39.389 CST [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.infra.distro.data.oper.ReaderRegistryProvider@11ad095c

2019-11-06 08:49:39.427 CST [netconf-netty-0] INFO  i.f.h.n.n.NetconfSshServerProvider - Netconf SSH endpoint started successfully at /0.0.0.0:18730

2019-11-06 08:49:39.433 CST [main] INFO  i.f.h.t.d.read.DeviceReaderFactory - writting xml file data to oper datastore

2019-11-06 08:49:45.776 CST [main] INFO  i.f.h.t.d.tools.DefaultDeviceFactory - file 'oper-ROADMA.xml' exists at location : /home/oscape/software/sodimu-tpce-test-2.2.1/honeynode-distribution-1.

18.01/config/device/oper-ROADMA.xml

2019-11-06 08:49:45.990 CST [main] INFO  i.f.h.t.d.c.DeviceConfiguration - result info : NodeIdType [_value=ROADM-A1]

2019-11-06 08:49:45.991 CST [main] INFO  i.f.h.t.d.read.DeviceReaderFactory - Getting device info from xml file for device 'ROADM-A1'

2019-11-06 08:49:46.083 CST [main] INFO  i.f.h.t.d.read.DeviceReaderFactory - WriteTransaction is ok, copy device info to oper datastore

2019-11-06 08:49:46.088 CST [main] ERROR io.fd.honeycomb.infra.distro.Main - Failed to initialize Honeycomb components

com.google.inject.ProvisionException: Unable to provision, see the following errors:

 

1) Error in custom provider, org.opendaylight.yangtools.binding.data.codec.impl.MissingSchemaForClassException: Schema is not available for interface org.opendaylight.yang.gen.v1.http.org.openro

adm.device.rev181019.org.openroadm.device.container.OrgOpenroadmDevice

  while locating io.fd.honeycomb.infra.distro.data.oper.ReaderRegistryProvider

  at io.fd.honeycomb.infra.distro.data.ConfigAndOperationalPipelineModule.configure(ConfigAndOperationalPipelineModule.java:63)

  while locating io.fd.honeycomb.translate.read.registry.ReaderRegistry

  while locating io.fd.honeycomb.infra.distro.initializer.InitializerRegistryAdapterProvider

  at io.fd.honeycomb.infra.distro.initializer.InitializerPipelineModule.configure(InitializerPipelineModule.java:45)

  while locating io.fd.honeycomb.data.init.InitializerRegistry annotated with @com.google.inject.name.Named(value=honeycomb-initializer)

 

1 error

        at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1028) ~[guice-4.1.0.jar:na]

        at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1050) ~[guice-4.1.0.jar:na]

        at io.fd.honeycomb.infra.distro.Main.init(Main.java:75) [minimal-distribution-1.18.01.jar:na]

        at io.fd.honeycomb.infra.distro.Main.main(Main.java:53) [minimal-distribution-1.18.01.jar:na]

Caused by: org.opendaylight.yangtools.binding.data.codec.impl.MissingSchemaForClassException: Schema is not available for interface org.opendaylight.yang.gen.v1.http.org.openroadm.device.rev1810

19.org.openroadm.device.container.OrgOpenroadmDevice

        at org.opendaylight.yangtools.binding.data.codec.impl.MissingSchemaForClassException.forClass(MissingSchemaForClassException.java:35) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.MissingSchemaForClassException.check(MissingSchemaForClassException.java:50) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.DataContainerCodecContext.childNonNull(DataContainerCodecContext.java:178) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.SchemaRootCodecContext.createDataTreeChildContext(SchemaRootCodecContext.java:181) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.SchemaRootCodecContext.access$000(SchemaRootCodecContext.java:41) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

        at org.opendaylight.yangtools.binding.data.codec.impl.SchemaRootCodecContext$1.load(SchemaRootCodecContext.java:47) ~[mdsal-binding-dom-codec-0.11.1.jar:na]

                     

Thanks,


 

gang.lu@...

_________________________________________________________________________________________________________________________
Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.
_________________________________________________________________________________________________________________________
Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.