Page MenuHomeVyOS Platform

Smoke tests for VPP are not running correctly due to limited hardware resources
Closed, ResolvedPublicBUG

Description

see comment in task and forum post

Details

Version
1.5-rolling-202502190007
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

HollyGurza changed the task status from Open to In progress.
HollyGurza claimed this task.
HollyGurza triaged this task as Normal priority.Feb 26 2025, 2:27 AM

I did not have a deeper look yet, but as some tests related to hugepages are failing, I assume they'd need to be enabled on the host running the tests and Docker should be allowed to make use of them as well? About the latter I'm unsure as a VM is spun up to perform the tests, so Docker might be irrelevant to this.

In case my assumption is right, I'd say either the test should check if hugepages are enabled in the first place (and skip the tests if not), or the test suite should generally require them to be enabled.

Thank you @MPStudyly

In tests, only those hugepages are available that are available in the system, but when using large hugepages( e.g. 1Gb+), the vpp cannot allocate enough amount of memory and the tests fail.
As a solution, I limited the maximum size of the pages used in the test.

https://github.com/vyos/vyos-vpp/pull/21

Nothing to thank me for @HollyGurza, you're the one who fixed it! :) After all, it seems I got the issue wrong anyway. ^^"