Chapter 7. Uploading the test results to Red Hat certification portal
After running the certification tests, upload the test results file for Red Hat’s review and verification. You can upload it by using two different methods - CLI or the Red Hat certification portal.
7.1. Uploading the results file by using CLI
Prerequisites
- A compressed test results file in tgz, tar or zip format available on the test host system.
You must have superuser privileges on the test host system to run the commands rhcert-login
and rhcert-upload
. If not, you can run the commands with superuser privileges. For example,
$ sudo rhcert-cli login $ sudo rhcert-cli upload
Procedure
Log in to authenticate your device.
NoteLogging in is mandatory to upload the test results file.
# rhcert-cli login
- Open the generated URL in a new browser window or tab.
- Enter the username and password and click Log in.
- Click Grant access. Device login successful message displays.
- Return to the terminal and enter yes to the Please confirm once you grant access prompt.
Submit the result file. You can do it by using two different methods:
Step by step method
Enter the following command.
# rhcert-cli upload
When prompted enter the mandatory fields,
- Enter your Certification ID.
- Enter a brief description for your uploaded file.
- Enter the absolute path of your test results file.
Direct method
Alternatively, you can upload your results file by providing all the mandatory fields by using the following command:
# rhcert-cli upload --certification-id xxxxx --description "Any file description" --file /var/log/redhat-certification/xyz.tgz
NoteWhen you are uploading the test results file, if the user is not authorized then an authentication URL is automatically generated and displayed. When you grant access to the user by using the URL, then the test results file gets uploaded for Red Hat certification team’s review.
Sample output
Here is an example of the sample output received while uploading the test results file by using CLI.
[user1@testsystem ~]$ sudo rhcert-cli upload Please enter the Certification ID: 625817 Please enter description: Cinder result file upload Please enter the result path: /var/log/redhat-certification/rhoso-cert-cinder-2024-Jul-31_04-25-24.tgz Uploading zip files to Red Hat for the Certification ID: 625817 Authorization failed Please visit https://sso.redhat.com/auth/realms/redhat-external/device?user_code=FOJQ-BLZS and grant the authorization for this host Have you granted the authorization? (yes|no) yes response: yes response: True
Verification
Upon successful upload, the details of the uploaded file are displayed.
For example,
Success: Test results rhoso-cert-cinder-2024-Jul-31_04-25-24.tgz uploaded to certification ID 625817
Red Hat reviews the uploaded test results file and suggests the next steps.
7.2. Uploading the results file by using the certification portal
Prerequisites
A compressed test results file in tgz, tar or zip format available on the test host system.
Procedure
- Log in to the Red Hat Certification portal.
- On the homepage, enter the product case number in the search bar.
- Select the required case number from the list that is displayed.
- On the Summary tab, go to the Files section and then click Upload, to upload your test results file.
Browse for the test results file and click Open.
The file is uploaded for Red Hat’s review.
- Optional: Add your queries related to certification, if any, in the Discussions text box and then click Add Comment. The Red Hat certification team provides clarifications for your queries.
Verification steps
Upon successful upload, the details of the uploaded file are displayed in the Files > Attachments section.
Red Hat reviews the uploaded test results file and suggests the next steps.