Skip to content

Conversation

@kkosciuszkiewicz-arista

Some hostcfgd tests override contents of /proc/cmdline using various methods. In the remaining cases, actual /proc/cmdline from the host running the tests is opened and processed.

For example, if crashkernel= is present on the test machine, a number of tests will try accessing config db table KDUMP and fail.

To avoid influencing test results by the test environment, a new fixture is added to ensure reading /proc/cmdline returns an empty line by default.

Some hostcfgd tests override contents of /proc/cmdline using various methods.
In the remaining cases, actual /proc/cmdline from the host running the tests is
opened and processed.

For example, if `crashkernel=` is present on the test machine, a number
of tests will try accessing config db table `KDUMP` and fail.

To avoid influencing test results by the test environment, a new fixture is
added to ensure reading /proc/cmdline returns an empty line by default.

Signed-off-by: Krzysztof Kościuszkiewicz <[email protected]>
@mssonicbld
Copy link

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jusherma
Copy link

We're seeing this issue too and this fix works for us. Can this be merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants