<div dir="ltr"><div>Hi Donald,</div><div><br></div><div>Mark helped me using our local slack.</div><div><br></div><div> I could not be 100% sure yet until I repeat all the steps but here is the problem as I understand it today.</div><div><br></div><div> I built and installed frr for ubuntu 18.04 according to <a href="http://docs.frrouting.org/projects/dev-guide/en/latest/building-frr-for-ubuntu1804.html">http://docs.frrouting.org/projects/dev-guide/en/latest/building-frr-for-ubuntu1804.html</a>, in this case shared libraries are placed in /usr/lib/frr. It creates some subtle problem with vtysh when running topotests (and topotest only). It was resolved by adding file with /usr/lib/frr path to /etc/ld.so.conf.d and running ldconfig.</div><div><br></div><div>The topotest instructions <a href="http://docs.frrouting.org/projects/dev-guide/en/latest/topotests.html">http://docs.frrouting.org/projects/dev-guide/en/latest/topotests.html</a> suggest slightly different set of configure options and I guess they do not hit this problem because of different shared libs placement - but as I said I did not try it yet.</div><div><br></div><div> Thanks,</div><div><br></div><div>Aleksey</div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Dec 2, 2019 at 8:41 PM Donald Sharp <<a href="mailto:sharpd@cumulusnetworks.com">sharpd@cumulusnetworks.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Aleksey -<br>
<br>
Debugging topotests over email might end up being quite fun.  I would<br>
suggest logging into the FRRouting slack and opening a discussion<br>
there and we can start talking through what is going wrong.  I am<br>
suggesting this because when something goes wrong I end up having to<br>
look in a bunch of different places to understand the test and to fix<br>
it.<br>
<br>
donald<br>
<br>
On Mon, Dec 2, 2019 at 11:07 AM Aleksey Romanov <<a href="mailto:aleksey@voltanet.io" target="_blank">aleksey@voltanet.io</a>> wrote:<br>
><br>
> Hi,<br>
><br>
> 1. I had built frr from recent sources on ubuntu-18.04.<br>
> 2. Made sure it starts and ospfd when configured logs events in the specified log and interacts with master agentx.<br>
> 3. Reset configurations to default and stopped frr.<br>
> 4. Followed instructions to run topotests<br>
><br>
> <a href="http://docs.frrouting.org/projects/dev-guide/en/latest/topotests.html" rel="noreferrer" target="_blank">http://docs.frrouting.org/projects/dev-guide/en/latest/topotests.html</a><br>
><br>
> sudo py.test -s -v --tb=no > /var/tmp/topo_test_out 2>&1<br>
><br>
> It seems that every test is either failed or skipped. Among other things I noticed vtysh errors that seems quite unexpected.<br>
><br>
> 2019-12-02 10:49:14,139 WARNING: vtysh_cmd: failed to convert json output<br>
> 2019-12-02 10:49:14,642 WARNING: vtysh_cmd: failed to convert json output<br>
> 2019-12-02 10:49:15,146 WARNING: vtysh_cmd: failed to convert json output<br>
> 2019-12-02 10:49:15,651 WARNING: vtysh_cmd: failed to convert json output<br>
><br>
> See attached file for more.<br>
><br>
> Thanks,<br>
><br>
> Aleksey<br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> dev mailing list<br>
> <a href="mailto:dev@lists.frrouting.org" target="_blank">dev@lists.frrouting.org</a><br>
> <a href="https://lists.frrouting.org/listinfo/dev" rel="noreferrer" target="_blank">https://lists.frrouting.org/listinfo/dev</a><br>
</blockquote></div>