Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Testcase: Verify Hardware Configuration #420

Open
dcrowell77 opened this issue Feb 19, 2019 · 2 comments
Open

New Testcase: Verify Hardware Configuration #420

dcrowell77 opened this issue Feb 19, 2019 · 2 comments

Comments

@dcrowell77
Copy link

There are a variety of bugs that could result in hardware being hidden from the OS. This can range from problems in partial good handling of the module vpd, presence detection issues, MRW mistakes, HDAT bugs, etc. Currently we don't have any tests that ensure we boot with all the parts that the system actually has installed.

The testcase should take in some kind of 'configuration' file that specifies the hardware we expect. It should include:

  • Number of processor chips
  • Number of processor cores
  • Number of DIMMs and how much memory per DIMM

Theoretically this data could be saved in the AES entry so that it can be fetched dynamically for any system. Failing that, unique configurations could be maintained for each system in the test pool.

@ghost
Copy link

ghost commented Feb 20, 2019

The closest thing we currently have is the PCI devices test case, which ensures we get the same lspci output as we expect. There also should be one for grabbing it and then, on next IPL, ensure it matches.

At the very least, if we don't have input of what we expect, it should write the data it expects to the test-results/ dir as well as check that on all IPLs we do while testing, we get the same thing we expect.

@dcrowell77
Copy link
Author

Clever idea to just use historical data as the 'right answer'. That should work as long as the data is manually checked when a new system is added to the pool and it persists forever.

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

No branches or pull requests

2 participants