openhwgroup / cva6

The CORE-V CVA6 is an Application class 6-stage RISC-V CPU capable of booting Linux
https://docs.openhwgroup.org/projects/cva6-user-manual/
Other
2.28k stars 689 forks source link

[TASK] Setup and maintain embedded CI on Thales servers #1387

Closed JeanRochCoulon closed 8 months ago

JeanRochCoulon commented 1 year ago

What Provide code coverage metrics in an automated way without consuming too much energy.

Howto First do not run heavy tests if smoke tests fail. Then add another workflow running on master once a week, to provide metrics and their history.

Current status There are currently no metrics available.

Risks The amount of code and infrastructure to change might be significant.

Prerequisites Complete CI simplification before adding new things.

KPI None

Description of done The metrics dashboard is available.

cathales commented 1 year ago
JeanRochCoulon commented 1 year ago

Would be useful to refer the related PR.

cathales commented 1 year ago
cathales commented 1 year ago

This description includes notion of code coverage, which is the topic of https://github.com/openhwgroup/cva6/issues/1436

However the current task focuses on "when is each job run?".

cathales commented 1 year ago

Notes from meeting:

cathales commented 1 year ago

For first point from last message see https://github.com/openhwgroup/cva6/issues/1436

For second point, we need to discuss how we want to specify which tests we want to ignore.

cathales commented 9 months ago

We wanted to ignore tests that are known to be failing on master. As we do not run these tests before merging PRs, do we still want to ignore them?

Note: the failing tests are in the compliance and riscv-tests-p jobs. Actually these tests are "crashing", not only "failing". This implies that subsequent tests in the same job are not run. So we thought that 2 tests were failing (one in each job) while more are crashing! I had to list them to debug my own stuff so I share it with you below.

List of crashing tests on c430c6c34be0e24175e03d3c91478e349bfaaf4e (2024-01-05):

The crashes seem related to the two letters after rv32.

cathales commented 8 months ago

Can we consider this task as done?

JeanRochCoulon commented 8 months ago

Yes, this task is completed but the tests which are crashed are to be fixed. A new GitHub Issue shall be open for this issue.

cathales commented 8 months ago

Done #1944