Closed luismarques closed 5 months ago
I'm pleased to say that this is fixed now. I just ran 50 seeds with the smoke test and commit 4facfc972126b64a4032c875095f7feb58f0e0c3 and 100% pass rate:
## RV_DM Simulation Results
### Monday June 03 2024 10:33:31 UTC
### GitHub Revision: [`4facfc9721`](https://github.com/lowrisc/opentitan/tree/4facfc972126b64a4032c875095f7feb58f0e0c3)
### Branch: tmp
### [Testplan](https://opentitan.org/book/hw/ip/rv_dm/data/rv_dm_testplan.html)
### Simulator: XCELIUM
### Test Results
| Stage | Name | Tests | Max Job Runtime | Simulated Time | Passing | Total | Pass Rate |
|:-------:|:------:|:------------|:-----------------:|:----------------:|:---------:|:-------:|:-----------:|
| V1 | smoke | rv_dm_smoke | 27.000s | 4.790ms | 50 | 50 | 100.00 % |
| V1 | | **TOTAL** | | | 50 | 50 | 100.00 % |
| V2 | idcode | rv_dm_smoke | 27.000s | 4.790ms | 50 | 50 | 100.00 % |
| | | **TOTAL** | | | 50 | 50 | 100.00 % |
The other test mentioned here is rv_dm_jtag_dtm_idle_hint
, which also passes at 100%:
## RV_DM Simulation Results
### Monday June 03 2024 10:35:56 UTC
### GitHub Revision: [`4facfc9721`](https://github.com/lowrisc/opentitan/tree/4facfc972126b64a4032c875095f7feb58f0e0c3)
### Branch: tmp
### [Testplan](https://opentitan.org/book/hw/ip/rv_dm/data/rv_dm_testplan.html)
### Simulator: XCELIUM
### Test Results
| Stage | Name | Tests | Max Job Runtime | Simulated Time | Passing | Total | Pass Rate |
|:-------:|:------------------:|:-------------------------|:-----------------:|:----------------:|:---------:|:-------:|:-----------:|
| V2 | jtag_dtm_idle_hint | rv_dm_jtag_dtm_idle_hint | 6.000s | 521.911us | 50 | 50 | 100.00 % |
| V2 | | **TOTAL** | | | 50 | 50 | 100.00 % |
| | | **TOTAL** | | | 50 | 50 | 100.00 % |
Hierarchy of regression failure
Block level
Failure Description
From
hw/ip/rv_dm/dv/env/rv_dm_scoreboard.sv
, theDV_CHECK_EQ
that fails:Steps to Reproduce
./util/dvsim/dvsim.py hw/ip/rv_dm/dv/rv_dm_sim_cfg.hjson -i rv_dm_smoke --build-seed 85829748320245376283659198434338498577935164172956485671224275001047693479661 --fixed-seed 62867758507077141611937936609975855929626662239195528877700989414354816228375
It is very easy to find other failing seeds, so this test has a high level of flakiness.
Tests with similar or related failures
rv_dm_jtag_dtm_idle_hint
fails with the same error with the command./util/dvsim/dvsim.py hw/ip/rv_dm/dv/rv_dm_sim_cfg.hjson -i rv_dm_jtag_dtm_idle_hint --build-seed 85829748320245376283659198434338498577935164172956485671224275001047693479661
. Other failing seeds, for the same commit:21398480815814838971835787872663989613314371603139767217588345495592569462190
15717867802553057123626730855244185211380337494610388407941957578997623508128