RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2135744 - Rebase sevctl for RHEL 9.2
Summary: Rebase sevctl for RHEL 9.2
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: sevctl
Version: 9.2
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: ---
Assignee: Tyler Fanelli
QA Contact: zixchen
URL:
Whiteboard:
Depends On:
Blocks: 2103630 2135747
TreeView+ depends on / blocked
 
Reported: 2022-10-18 10:54 UTC by John Ferlan
Modified: 2023-07-11 19:56 UTC (History)
5 users (show)

Fixed In Version: sevctl-0.3.2-1.el9.x86_64
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2135747 (view as bug list)
Environment:
Last Closed: 2023-05-09 07:45:22 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-136849 0 None None None 2022-10-18 11:04:45 UTC
Red Hat Product Errata RHBA-2023:2308 0 None None None 2023-05-09 07:45:29 UTC

Description John Ferlan 2022-10-18 10:54:39 UTC
Description of problem:

Let's be sure the latest sevctl release is rebased into RHEL 9.2

Comment 1 John Ferlan 2022-10-18 10:57:54 UTC
Setting ITR=9.2.0 and DTM=15 to align w/ qemu rebases - this needs to be completed before 15-Jan in order to be ready for Comprehensive Test Cycle 2

Comment 2 Tyler Fanelli 2022-12-08 00:23:34 UTC
Hi, can you start the manual gating test for the RHEL 9.2 build?

https://dashboard.osci.redhat.com/#/artifact/brew-build/aid/49481777

Comment 3 zixchen 2022-12-08 10:12:03 UTC
(In reply to Tyler Fanelli from comment #2)
> Hi, can you start the manual gating test for the RHEL 9.2 build?
> 
> https://dashboard.osci.redhat.com/#/artifact/brew-build/aid/49481777

Hi Tyler, the manual test passed, I met some issues with rhpkg ci-submit-result, could you please help to submit the manual test result to pass? Thanks.

# cargo test --features=hw_tests,openssl
   Compiling sev v1.0.1 (/root/sevctl-0.3.2-vendor/sev)
    Finished test [unoptimized + debuginfo] target(s) in 1.78s
     Running unittests src/lib.rs (target/debug/deps/sev-a80755c9ff36f039)

running 7 tests
test firmware::host::types::test::snp_ext_config_get_certs ... ok
test firmware::host::types::test::snp_ext_config_get_config ... ok
test util::impl_const_id::tests::test_const_id_macro ... ok
test session::key::mac ... ok
test session::initialized::verify ... ok
test session::key::derive ... ok
test session::initialized::session ... ok

test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s

     Running tests/api.rs (target/debug/deps/api-9f41a1a26249cd0b)

running 13 tests
test pdh_generate ... ignored
test pek_cert_import ... ignored
test pek_generate ... ignored
test platform_reset ... ignored
test snp_get_ext_config_cert_only ... ignored
test snp_get_ext_config_cfg_only ... ignored
test snp_get_ext_config_std ... ignored
test snp_set_ext_config_std ... ignored
test get_identifier ... ok
test pek_csr ... ok
test snp_platform_status ... ok
test platform_status ... ok
test pdh_cert_export ... ok

test result: ok. 5 passed; 0 failed; 8 ignored; 0 measured; 0 filtered out; finished in 0.01s

     Running tests/certs.rs (target/debug/deps/certs-163b5669ffeca1ce)

running 58 tests
test milan::ark::decode ... ok
test milan::ark::encode ... ok
test milan::ask::decode ... ok
test milan::ask::encode ... ok
test milan::cek::encode ... ok
test milan::cek::decode ... ok
test milan::oca::decode ... ok
test milan::pdh::decode ... ok
test milan::oca::encode ... ok
test milan::pdh::encode ... ok
test milan::pek::decode ... ok
test milan::pek::encode ... ok
test naples::ark::decode ... ok
test naples::ark::encode ... ok
test naples::ask::encode ... ok
test naples::ask::decode ... ok
test naples::cek::decode ... ok
test naples::oca::encode ... ok
test naples::oca::decode ... ok
test naples::cek::encode ... ok
test naples::pdh::encode ... ok
test naples::pdh::decode ... ok
test rome::ask::decode ... ok
test rome::ark::decode ... ok
test naples::cek::verify ... ok
test naples::ask::verify ... ok
test naples::pek::encode ... ok
test naples::pek::decode ... ok
test naples::ark::verify ... ok
test rome::ask::encode ... ok
test rome::ark::verify ... ok
test rome::ark::encode ... ok
test rome::cek::encode ... ok
test rome::cek::decode ... ok
test rome::oca::encode ... ok
test rome::oca::decode ... ok
test rome::ask::verify ... ok
test rome::pdh::decode ... ok
test rome::cek::verify ... ok
test rome::pdh::encode ... ok
test rome::pek::decode ... ok
test rome::pek::encode ... ok
test test_for_verify_false_positive ... ok
test milan::ark::verify ... ok
test milan::cek::verify ... ok
test milan::ask::verify ... ok
test naples::oca::verify ... ok
test milan::oca::verify ... ok
test rome::oca::verify ... ok
test rome::pdh::verify ... ok
test milan::pdh::verify ... ok
test naples::pdh::verify ... ok
test naples::pek::verify ... ok
test milan::pek::verify ... ok
test rome::pek::verify ... ok
test milan::oca::create ... ok
test rome::oca::create ... ok
test naples::oca::create ... ok

test result: ok. 58 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s

     Running tests/launch.rs (target/debug/deps/launch-e2ab4934316e2203)

running 1 test
test sev ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s

     Running tests/session.rs (target/debug/deps/session-bcd44997b6953056)

running 2 tests
test initialized::create ... ok
test initialized::start ... ok

test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s

     Running tests/snp_launch.rs (target/debug/deps/snp_launch-4b1db484a103d985)

running 1 test
test snp ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s

   Doc-tests sev

running 1 test
test src/lib.rs - Generation (line 131) - compile ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s

Comment 4 Tyler Fanelli 2022-12-09 00:08:15 UTC
(In reply to zixchen from comment #3)
> (In reply to Tyler Fanelli from comment #2)
> > Hi, can you start the manual gating test for the RHEL 9.2 build?
> > 
> > https://dashboard.osci.redhat.com/#/artifact/brew-build/aid/49481777
> 
> Hi Tyler, the manual test passed, I met some issues with rhpkg
> ci-submit-result, could you please help to submit the manual test result to
> pass? Thanks.

Can you show some steps on how to do that? I've never submitted a manual test.

> 
> # cargo test --features=hw_tests,openssl
>    Compiling sev v1.0.1 (/root/sevctl-0.3.2-vendor/sev)
>     Finished test [unoptimized + debuginfo] target(s) in 1.78s
>      Running unittests src/lib.rs (target/debug/deps/sev-a80755c9ff36f039)
> 
> running 7 tests
> test firmware::host::types::test::snp_ext_config_get_certs ... ok
> test firmware::host::types::test::snp_ext_config_get_config ... ok
> test util::impl_const_id::tests::test_const_id_macro ... ok
> test session::key::mac ... ok
> test session::initialized::verify ... ok
> test session::key::derive ... ok
> test session::initialized::session ... ok
> 
> test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out;
> finished in 0.01s
> 
>      Running tests/api.rs (target/debug/deps/api-9f41a1a26249cd0b)
> 
> running 13 tests
> test pdh_generate ... ignored
> test pek_cert_import ... ignored
> test pek_generate ... ignored
> test platform_reset ... ignored
> test snp_get_ext_config_cert_only ... ignored
> test snp_get_ext_config_cfg_only ... ignored
> test snp_get_ext_config_std ... ignored
> test snp_set_ext_config_std ... ignored
> test get_identifier ... ok
> test pek_csr ... ok
> test snp_platform_status ... ok
> test platform_status ... ok
> test pdh_cert_export ... ok
> 
> test result: ok. 5 passed; 0 failed; 8 ignored; 0 measured; 0 filtered out;
> finished in 0.01s
> 
>      Running tests/certs.rs (target/debug/deps/certs-163b5669ffeca1ce)
> 
> running 58 tests
> test milan::ark::decode ... ok
> test milan::ark::encode ... ok
> test milan::ask::decode ... ok
> test milan::ask::encode ... ok
> test milan::cek::encode ... ok
> test milan::cek::decode ... ok
> test milan::oca::decode ... ok
> test milan::pdh::decode ... ok
> test milan::oca::encode ... ok
> test milan::pdh::encode ... ok
> test milan::pek::decode ... ok
> test milan::pek::encode ... ok
> test naples::ark::decode ... ok
> test naples::ark::encode ... ok
> test naples::ask::encode ... ok
> test naples::ask::decode ... ok
> test naples::cek::decode ... ok
> test naples::oca::encode ... ok
> test naples::oca::decode ... ok
> test naples::cek::encode ... ok
> test naples::pdh::encode ... ok
> test naples::pdh::decode ... ok
> test rome::ask::decode ... ok
> test rome::ark::decode ... ok
> test naples::cek::verify ... ok
> test naples::ask::verify ... ok
> test naples::pek::encode ... ok
> test naples::pek::decode ... ok
> test naples::ark::verify ... ok
> test rome::ask::encode ... ok
> test rome::ark::verify ... ok
> test rome::ark::encode ... ok
> test rome::cek::encode ... ok
> test rome::cek::decode ... ok
> test rome::oca::encode ... ok
> test rome::oca::decode ... ok
> test rome::ask::verify ... ok
> test rome::pdh::decode ... ok
> test rome::cek::verify ... ok
> test rome::pdh::encode ... ok
> test rome::pek::decode ... ok
> test rome::pek::encode ... ok
> test test_for_verify_false_positive ... ok
> test milan::ark::verify ... ok
> test milan::cek::verify ... ok
> test milan::ask::verify ... ok
> test naples::oca::verify ... ok
> test milan::oca::verify ... ok
> test rome::oca::verify ... ok
> test rome::pdh::verify ... ok
> test milan::pdh::verify ... ok
> test naples::pdh::verify ... ok
> test naples::pek::verify ... ok
> test milan::pek::verify ... ok
> test rome::pek::verify ... ok
> test milan::oca::create ... ok
> test rome::oca::create ... ok
> test naples::oca::create ... ok
> 
> test result: ok. 58 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out;
> finished in 0.02s
> 
>      Running tests/launch.rs (target/debug/deps/launch-e2ab4934316e2203)
> 
> running 1 test
> test sev ... ok
> 
> test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out;
> finished in 0.07s
> 
>      Running tests/session.rs (target/debug/deps/session-bcd44997b6953056)
> 
> running 2 tests
> test initialized::create ... ok
> test initialized::start ... ok
> 
> test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out;
> finished in 0.01s
> 
>      Running tests/snp_launch.rs
> (target/debug/deps/snp_launch-4b1db484a103d985)
> 
> running 1 test
> test snp ... ok
> 
> test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out;
> finished in 0.05s
> 
>    Doc-tests sev
> 
> running 1 test
> test src/lib.rs - Generation (line 131) - compile ... ok
> 
> test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out;
> finished in 0.03s

Everything looks fine to me.

Comment 5 zixchen 2022-12-09 01:51:50 UTC
(In reply to Tyler Fanelli from comment #4)
> (In reply to zixchen from comment #3)
> > (In reply to Tyler Fanelli from comment #2)
> > > Hi, can you start the manual gating test for the RHEL 9.2 build?
> > > 
> > > https://dashboard.osci.redhat.com/#/artifact/brew-build/aid/49481777
> > 
> > Hi Tyler, the manual test passed, I met some issues with rhpkg
> > ci-submit-result, could you please help to submit the manual test result to
> > pass? Thanks.
> 
> Can you show some steps on how to do that? I've never submitted a manual
> test.
> 

Thanks Tyler, asked QE CI contact Yanan, there is an issue change the manual test result by cyborg-jenkins, as UMB message use version 0.1.0 can not be caught by resultdb, so test waived.

Comment 8 zixchen 2022-12-21 05:27:12 UTC
Test with sevctl, function test passed.

Version:
sevctl-0.3.2-1.el9.x86_64

Job log: https://beaker-archive.hosts.prod.psi.bos.redhat.com/beaker-logs/2022/12/73454/7345470/13104975/153985745/taskout.log

Comment 10 errata-xmlrpc 2023-05-09 07:45:22 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (sevctl bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:2308


Note You need to log in before you can comment on or make changes to this bug.