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

Setting up hardware testing #10

Open
mwasilew opened this issue Sep 10, 2024 · 5 comments
Open

Setting up hardware testing #10

mwasilew opened this issue Sep 10, 2024 · 5 comments
Assignees
Labels
qa Quality Assurance
Milestone

Comments

@mwasilew
Copy link
Contributor

This ticket is about setting up testing on hardware. Below there is a list of things to setup in order to start testing:

  1. LAVA lab
    This is already setup. We host qcm6490 (qcs6490) and it can run boot test using OE build

  2. qa-reports group and project
    I created group qcom. It currently only contains a test project that has restricted visibility. What is the name of the project we want to keep the test results in?

  3. Setup github integration for result reporting
    The idea of test result reporting is to push the test status to the commit directly. This avoids running a github action for the whole duration of the test job (plus waiting time if there is a queue). Once tests are completed, the status will be pushed using github API. This can be done for a commit (cron builds) or PR. On PR it shows as an additional check. For this integration to work it is required to setup a token with the following permissions:

    • Read access to metadata
    • Read and Write access to commit statuses

    Token needs to be uploaded to qa-reports

  4. Store build artifacts where LAVA can download them from
    LAVA can download with additional headers to avoid exposing artifacts to unauthorized download. Password or token has to be stored in LAVA master.

  5. Define test jobs
    I think we should start with boot test on qcs6490. More tests can be added later. I think at this point we can't test with ethernet due to missing firmware. This reduces the number of tests we can actually run.

  6. Adding test submission action to the workflow
    This can be done after github token is setup. Submit action repository is located here: https://github.com/foundriesio/qa-reports-action. I will start a PR on that shortly.

@mwasilew
Copy link
Contributor Author

@ricardosalveti @doanac

@ricardosalveti
Copy link
Contributor

  1. qa-reports group and project
    I created group qcom. It currently only contains a test project that has restricted visibility. What is the name of the project we want to keep the test results in?

We can probably use 'quic-yocto' as a way to indicate that these are jobs coming out of this org.

  1. Define test jobs
    I think we should start with boot test on qcs6490. More tests can be added later. I think at this point we can't test with ethernet due to missing firmware. This reduces the number of tests we can actually run.

Yes, boot test is already a great start.

  1. Adding test submission action to the workflow
    This can be done after github token is setup. Submit action repository is located here: https://github.com/foundriesio/qa-reports-action. I will start a PR on that shortly.

Thanks for starting this up.

@EmbeddedAndroid EmbeddedAndroid added enhancement New feature or request qa Quality Assurance and removed enhancement New feature or request labels Sep 11, 2024
@EmbeddedAndroid EmbeddedAndroid added this to the picanha milestone Sep 12, 2024
@sbanerjee-quic
Copy link
Contributor

@mwasilew @ricardosalveti how to view the dashboard that displays the run result for boot test?

@mwasilew
Copy link
Contributor Author

@sbanerjee-quic results will be posted somewhere here: https://qa-reports.foundries.io/qcom/. Right now there is nothing as we haven't started running any tests yet.

@mwasilew
Copy link
Contributor Author

Ah, I forgot to mention there should be a link to test results on each commit we test - PR and cron testing.

@ricardosalveti ricardosalveti modified the milestones: Picanha, 12/24 Dec 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
qa Quality Assurance
Projects
Status: In Progress
Development

No branches or pull requests

4 participants