Smoketest requirements VPP

Hey,
yesterday I tried to run all smoketests locally, which went fine so far, but miserably failed for VPP. This raised quite a few questions, as how I understood VPP is still a separate add-on and not installed by default, so why are smoketests for that run by default? Also, the failures all were caused by resource exhaustion, I’m not sure if it is about RAM or disk memory, the debug message says

DEBUG - Not enough free memory to start VPP: available: 1.1GB required: 3.2GB

So my question is, how can I resolve this? As we don’t rely (yet) on VPP, we do not really care, so we could skip these tests alltogether. To run the tests I calles make test from within the docker build environment. If there is a straightforward way to get these running, I wouldn’t mind going that route as well, as I expect these tests to hold back an official rolling release as well. Or was I just unlucky to begin with and VPP is actually in a broken state in the repos right now?

Best regards

To pass tests it requires 4 CPU and 8 Memory like this test-no-interface

Add those args for the test and it will pass

Thank you for the quick response!

So complaint about the memory is indeed about RAM? Why doesn’t this target have that set already? Or can I call that target with some flags to ingore VPP?

By default it used 4 GB and it is not enough to pass tests vyos-build/scripts/check-qemu-install at 07f55aca2c820ecc0215033bbfbcd41ccbaa386f · vyos/vyos-build · GitHub

There is no option to skip this test now.

I see. Would you accept a PR increasing the default? As there is no option skip yet, this might be helpful.

Sure, feel free to add a PR but not default, you should add args —cpu —memory for phony test

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.