Page MenuHomeVyOS Platform

smoketest: restore the adapter offload state before every config test
Closed, ResolvedPublicBUG

Description

Committing a configuration which does not list an offload option turns that option off, and removing the interface afterwards does not put it back.
The activation script only records an option while the adapter still has it enabled, so whether a testcase found one depended on which testcases had run before it - the state ratchets down as the suite progresses, and which testcases fail changes with the order.

Read the state the adapters booted with once and put it back before every testcase. Options the driver has pinned are left alone.

Details

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

Event Timeline

c-po renamed this task from smoketest: Txxxx: restore the adapter offload state before every config test to smoketest: restore the adapter offload state before every config test.
c-po changed the task status from Open to In progress.
c-po claimed this task.
c-po triaged this task as Normal priority.
Viacheslav moved this task from Need Triage to Completed on the VyOS Rolling board.