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.
Note

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

  1. Log in to authenticate your device.

    Note

    Logging in is mandatory to upload the test results file.

    # rhcert-cli login
    1. Open the generated URL in a new browser window or tab.
    2. Enter the username and password and click Log in.
    3. Click Grant access. Device login successful message displays.
    4. Return to the terminal and enter yes to the Please confirm once you grant access prompt.
  2. Submit the result file. You can do it by using two different methods:

    1. Step by step method

      1. Enter the following command.

        # rhcert-cli upload
      2. When prompted enter the mandatory fields,

        1. Enter your Certification ID.
        2. Enter a brief description for your uploaded file.
        3. Enter the absolute path of your test results file.
    2. 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
      Note

      When 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

  1. Log in to the Red Hat Certification portal.
  2. On the homepage, enter the product case number in the search bar.
  3. Select the required case number from the list that is displayed.
  4. On the Summary tab, go to the Files section and then click Upload, to upload your test results file.
  5. Browse for the test results file and click Open.

    The file is uploaded for Red Hat’s review.

  6. 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.

Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.