OT: sorry, I did not send this email to vpp-dev, the second attempt. Copy
below

EDIT: api message is LcpItfPairGet.


Hi Pim,

govpp (go) is used for API communication. I have just discovered a way how
to reproduce an issue in my home environment. Test utility can be hound at
github (also with precompiled binary ... I know, I know ... ).

https://github.com/petrbol/govppApiLcpTest/tree/master

vppctl create loopback interface instance 101
> vppctl create loopback interface instance 102
> vppctl create loopback interface instance 103
> vppctl create loopback interface instance 104
> vppctl create loopback interface instance 105
>
> vppctl lcp create loop100 host-if loop100
> vppctl lcp create loop101 host-if loop101
> vppctl lcp create loop102 host-if loop102
> vppctl lcp create loop103 host-if loop103
> vppctl lcp create loop104 host-if loop104
> vppctl lcp create loop105 host-if loop105
>
> How to reproduce:

1. systemctl restart myVppService
2. add commands upper
3. ./govppLcpDumpTest (a few pass, the test will be failed)

Now, the interesting thinks ...
4. vppctl show interface
5.  ./govppLcpDumpTest (test will PASS for 100% for me)

Regards
Petr

pá 15. 4. 2022 v 22:40 odesílatel Pim van Pelt <p...@ipng.nl> napsal:

> Hoi Petr,
>
> I do not observe this with linux-cp or lcpng on Python API, after
> doing O(10k) lcp_itf_pair_get() calls. There was a message on this
> mailinglist about lcp_itf_pair_add_del() giving unexpected error codes even
> though the create/delete was successful. What you say dumpLcpPairList,
> which language are you referring to?
> Can you provide a minimal repro ?
>
> groet,
> Pim
>
> On Fri, Apr 15, 2022 at 9:50 PM Petr Boltík <petr.bol...@gmail.com> wrote:
>
>> Hi,
>>
>> only report issue with API linux-cp plugin.
>>
>> Api reply to the "dumpLcpPairList" message is not consistent (Sometimes
>> return not full lcp pair list. Debug command "vppctl show lcp" works
>> correctly. Tested environment: 3x dpdk lan, 2x vlan, 1x loopback (6 lcp
>> pair). 5-10% of reply list dump requests return not a complete list.)
>>
>> vpp v22.06-rc0~378-g6120441f9
>> apu4D4
>>
>> Regards
>> Petr B.
>>
>>
>> 
>>
>>
>
> --
> Pim van Pelt <p...@ipng.nl>
> PBVP1-RIPE - http://www.ipng.nl/
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21269): https://lists.fd.io/g/vpp-dev/message/21269
Mute This Topic: https://lists.fd.io/mt/90494063/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to