Skip to content

nexthopbmc: add CIT TPM test - #295

Open
nate-nexthop wants to merge 1 commit into
facebook:heliumfrom
nexthop-ai:nate.tpm-test
Open

nate-nexthop wants to merge 1 commit into
facebook:heliumfrom
nexthop-ai:nate.tpm-test

Conversation

@nate-nexthop

Copy link
Copy Markdown
Contributor

Description

Check that the TPM device node /dev/tpm0 exists on nexthopbmc.

Motivation

Ensure TPM device is properly created.

Test Plan

Run on a nexthopbmc with tests2 copied to /run/tests2:

$ python3 cit_runner.py --run-test tests.nexthopbmc.test_tpm
test_tpm_device_exists (tests.nexthopbmc.test_tpm.TpmTest.test_tpm_device_exists)
Tests that the TPM device /dev/tpm0 was created successfully. ... ok

----------------------------------------------------------------------
Ran 1 test in 0.003s

OK

Summary:
Check that the TPM device node /dev/tpm0 exists on nexthopbmc.

# Test Plan

Run on a nexthopbmc with tests2 copied to /run/tests2:

    $ python3 cit_runner.py --run-test tests.nexthopbmc.test_tpm
    test_tpm_device_exists (tests.nexthopbmc.test_tpm.TpmTest.test_tpm_device_exists)
    Tests that the TPM device /dev/tpm0 was created successfully. ... ok

    ----------------------------------------------------------------------
    Ran 1 test in 0.003s

    OK
@meta-cla meta-cla Bot added the CLA Signed label Sep 23, 2026
@meta-codesync

meta-codesync Bot commented Sep 23, 2026

Copy link
Copy Markdown

This pull request has been imported. If you are a Meta employee, you can view this in D121409779. (Because this pull request was imported automatically, there will not be any future comments.)

@nate-nexthop

Copy link
Copy Markdown
Contributor Author

@ezeob002 More nexthopbmc tests.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant