[NETCONF-504] Netconf testtool broken after upstream version bump Created: 24/Jan/18 Updated: 06/Aug/18 Resolved: 06/Aug/18 |
|
| Status: | Resolved |
| Project: | netconf |
| Component/s: | netconf |
| Affects Version/s: | None |
| Fix Version/s: | Oxygen SR2 |
| Type: | Bug | Priority: | Medium |
| Reporter: | Luis Gomez | Assignee: | Luis Gomez |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Netconf CSIT tests are failing because netconf testtool does not boot up properly. This error is seen in the testtool log [1]:
04:01:23.234 [main] DEBUG o.o.y.y.m.r.u.AbstractSchemaRepository - Failed to acquire source from {closed=0, instance=org.opendaylight.yangtools.yang.model.repo.spi.PotentialSchemaSource@d4674cdc, provider=org.opendaylight.yangtools.yang.parser.rfc7950.repo.TextToASTTransformer@51c668e3}
java.lang.NullPointerException: "in" is null!
at java.nio.channels.Channels.checkNotNull(Channels.java:67)
at java.nio.channels.Channels.newChannel(Channels.java:347)
at org.antlr.v4.runtime.CharStreams.fromStream(CharStreams.java:143)
at org.antlr.v4.runtime.CharStreams.fromStream(CharStreams.java:139)
at org.antlr.v4.runtime.CharStreams.fromStream(CharStreams.java:128)
at org.opendaylight.yangtools.yang.parser.rfc7950.repo.YangStatementStreamSource.parseYangSource(YangStatementStreamSource.java:149)
at org.opendaylight.yangtools.yang.parser.rfc7950.repo.YangStatementStreamSource.create(YangStatementStreamSource.java:80)
at org.opendaylight.yangtools.yang.parser.rfc7950.repo.TextToASTTransformer.transformText(TextToASTTransformer.java:43)
at org.opendaylight.yangtools.yang.parser.rfc7950.repo.TextToASTTransformer.lambda$new$0(TextToASTTransformer.java:34)
at com.google.common.util.concurrent.AbstractTransformFuture$AsyncTransformFuture.doTransform(AbstractTransformFuture.java:206)
at com.google.common.util.concurrent.AbstractTransformFuture$AsyncTransformFuture.doTransform(AbstractTransformFuture.java:195)
at com.google.common.util.concurrent.AbstractTransformFuture.run(AbstractTransformFuture.java:115)
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
at com.google.common.util.concurrent.AbstractFuture.executeListener(AbstractFuture.java:1016)
at com.google.common.util.concurrent.AbstractFuture.addListener(AbstractFuture.java:672)
at com.google.common.util.concurrent.AbstractFuture$TrustedFuture.addListener(AbstractFuture.java:107)
at com.google.common.util.concurrent.AbstractTransformFuture.create(AbstractTransformFuture.java:43)
at com.google.common.util.concurrent.Futures.transformAsync(Futures.java:627)
at org.opendaylight.yangtools.yang.model.repo.util.SchemaSourceTransformer.getSource(SchemaSourceTransformer.java:56)
at org.opendaylight.yangtools.yang.model.repo.util.AbstractSchemaRepository.fetchSource(AbstractSchemaRepository.java:70)
at org.opendaylight.yangtools.yang.model.repo.util.AbstractSchemaRepository.getSchemaSource(AbstractSchemaRepository.java:107)
at org.opendaylight.yangtools.yang.parser.repo.SharedSchemaContextFactory.requestSource(SharedSchemaContextFactory.java:135)
at com.google.common.collect.Iterators$6.transform(Iterators.java:820)
at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48)
at java.util.AbstractCollection.toArray(AbstractCollection.java:141)
at com.google.common.collect.ImmutableList.copyOf(ImmutableList.java:258)
at com.google.common.collect.ImmutableList.copyOf(ImmutableList.java:229)
at com.google.common.util.concurrent.Futures.allAsList(Futures.java:856)
at org.opendaylight.yangtools.yang.parser.repo.SharedSchemaContextFactory.createSchemaContext(SharedSchemaContextFactory.java:105)
at org.opendaylight.yangtools.yang.parser.repo.SharedSchemaContextFactory.createSchemaContext(SharedSchemaContextFactory.java:87)
at org.opendaylight.netconf.test.tool.NetconfDeviceSimulator.parseSchemasToModuleCapabilities(NetconfDeviceSimulator.java:331)
at org.opendaylight.netconf.test.tool.NetconfDeviceSimulator.start(NetconfDeviceSimulator.java:180)
at org.opendaylight.netconf.test.tool.Main.main(Main.java:64)
|
| Comments |
| Comment by Kit Lou [ 27/Feb/18 ] |
|
Please provide an update on this issue. Is this a true blocker? Any ETA on resolution? |
| Comment by Michael Vorburger [ 27/Feb/18 ] |
|
ebrjohn not sure if this is the same "netconf testtool" as the one we were on about in https://lists.opendaylight.org/pipermail/sfc-dev/2018-February/004384.html, but presumably so, therefore I'm guessing this issue will interest you, and you may want to chime in on its criticality. |
| Comment by Michael Vorburger [ 27/Feb/18 ] |
|
FTR: In https://git.opendaylight.org/gerrit/#/c/68827/ ebrjohn has to use a very old version of this tool in SFC. |
| Comment by Luis Gomez [ 27/Feb/18 ] |
|
Just to be clear this issue is not in the controller itself but in the tool we use to verify the controller netconf plugin feature. Today in the call it was suggested an older version of the netconf tool should work. I will take a look at the test to see if we can hack to use older version of the tool. |
| Comment by Luis Gomez [ 09/Apr/18 ] |
|
Forgot to update this ticket. CSIT is currently using Nitrogen release version of the tool: |
| Comment by Jakub Morvay [ 06/Aug/18 ] |
|
Duplicate of stable oxygen fix: master (fluorine) fix: |