[dev] running topotests

Aleksey Romanov aleksey at voltanet.io
Tue Dec 3 16:13:09 EST 2019


Hi,

Good news: cannot reproduce the problem: booted new ubuntu vm, installed
frr from source, was able to run topotests without problem. I do not know
what was the underlying cause of my yesterday's problem.

Thanks for your help,

Aleksey


On Mon, Dec 2, 2019 at 10:35 PM Aleksey Romanov <aleksey at voltanet.io> wrote:

> Hi Donald,
>
> Mark helped me using our local slack.
>
> I could not be 100% sure yet until I repeat all the steps but here is the
> problem as I understand it today.
>
> I built and installed frr for ubuntu 18.04 according to
> http://docs.frrouting.org/projects/dev-guide/en/latest/building-frr-for-ubuntu1804.html,
> 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.
>
> The topotest instructions
> http://docs.frrouting.org/projects/dev-guide/en/latest/topotests.html
> 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.
>
> Thanks,
>
> Aleksey
>
>
>
>
> On Mon, Dec 2, 2019 at 8:41 PM Donald Sharp <sharpd at cumulusnetworks.com>
> wrote:
>
>> Aleksey -
>>
>> Debugging topotests over email might end up being quite fun.  I would
>> suggest logging into the FRRouting slack and opening a discussion
>> there and we can start talking through what is going wrong.  I am
>> suggesting this because when something goes wrong I end up having to
>> look in a bunch of different places to understand the test and to fix
>> it.
>>
>> donald
>>
>> On Mon, Dec 2, 2019 at 11:07 AM Aleksey Romanov <aleksey at voltanet.io>
>> wrote:
>> >
>> > Hi,
>> >
>> > 1. I had built frr from recent sources on ubuntu-18.04.
>> > 2. Made sure it starts and ospfd when configured logs events in the
>> specified log and interacts with master agentx.
>> > 3. Reset configurations to default and stopped frr.
>> > 4. Followed instructions to run topotests
>> >
>> > http://docs.frrouting.org/projects/dev-guide/en/latest/topotests.html
>> >
>> > sudo py.test -s -v --tb=no > /var/tmp/topo_test_out 2>&1
>> >
>> > It seems that every test is either failed or skipped. Among other
>> things I noticed vtysh errors that seems quite unexpected.
>> >
>> > 2019-12-02 10:49:14,139 WARNING: vtysh_cmd: failed to convert json
>> output
>> > 2019-12-02 10:49:14,642 WARNING: vtysh_cmd: failed to convert json
>> output
>> > 2019-12-02 10:49:15,146 WARNING: vtysh_cmd: failed to convert json
>> output
>> > 2019-12-02 10:49:15,651 WARNING: vtysh_cmd: failed to convert json
>> output
>> >
>> > See attached file for more.
>> >
>> > Thanks,
>> >
>> > Aleksey
>> >
>> >
>> >
>> >
>> > _______________________________________________
>> > dev mailing list
>> > dev at lists.frrouting.org
>> > https://lists.frrouting.org/listinfo/dev
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.frrouting.org/pipermail/dev/attachments/20191203/6f0b98c4/attachment.html>


More information about the dev mailing list