ibex
ibex copied to clipboard
[DV] Failing regression at riscv_debug_basic_test.0 for experimental-maxperf-pmp-bmfull
- Config: experimental-maxperf-pmp-bmfull
- Test: riscv_debug_basic_test
- Seed: 11904
- Message: No dret detected, or incorrect privilege mode switch in timeout period of 100000 cycles
See https://dev.azure.com/lowrisc/lowrisc-private/_build/results?buildId=25194&view=results for full logs (you can find the artifacts under the "Related" heading on that page where it says "1 published").
The test log says:
Test binary: out/seed-11904/instr_gen/asm_tests/riscv_rand_instr_test.0.o
ibex uvm log : out/seed-11904/rtl_sim/riscv_rand_instr_test.0/sim.log
riscv_rand_instr_test : [PASSED]
ibex : out/seed-11904/rtl_sim/riscv_rand_instr_test.0/trace_core_00000000.csv
spike : out/seed-11904/instr_gen/spike_sim/riscv_rand_instr_test.0.csv
[PASSED]: 694 matched
Test binary: out/seed-11904/instr_gen/asm_tests/riscv_debug_basic_test.0.o
ibex uvm log : out/seed-11904/rtl_sim/riscv_debug_basic_test.0/sim.log
riscv_debug_basic_test : [FAILED]
Test binary: out/seed-11904/instr_gen/asm_tests/riscv_multiple_interrupt_test.0.o
ibex uvm log : out/seed-11904/rtl_sim/riscv_multiple_interrupt_test.0/sim.log
riscv_multiple_interrupt_test : [PASSED]
ibex : out/seed-11904/rtl_sim/riscv_multiple_interrupt_test.0/trace_core_00000000.csv
spike : out/seed-11904/instr_gen/spike_sim/riscv_multiple_interrupt_test.0.csv
[PASSED]: 0 matched
2 PASSED, 1 FAILED
sim.log says:
ucli% run
UVM_INFO @ 0: reporter [RNTST] Running test core_ibex_debug_intr_basic_test...
UVM_INFO /azp/agent/_work/1/s/dv/uvm/core_ibex/tests/core_ibex_base_test.sv(111) @ 202500: uvm_test_top [uvm_test_top] Running test : out/seed-11904/instr_gen/asm_tests/riscv_debug_basic_test_0.bin
UVM_INFO /azp/agent/_work/1/s/dv/uvm/core_ibex/common/ibex_mem_intf_agent/ibex_mem_intf_response_seq_lib.sv(28) @ 202500: uvm_test_top.env.instr_if_response_agent.sequencer@@instr_intf_seq [uvm_test_top.env.instr_if_response_agent.sequencer.instr_intf_seq] is_dmem_seq: 0x0
UVM_INFO /azp/agent/_work/1/s/dv/uvm/core_ibex/common/ibex_mem_intf_agent/ibex_mem_intf_response_seq_lib.sv(28) @ 202500: uvm_test_top.env.data_if_response_agent.sequencer@@data_intf_seq [uvm_test_top.env.data_if_response_agent.sequencer.data_intf_seq] is_dmem_seq: 0x1
core_ibex_tb_top.dut.u_ibex_tracer.printbuffer_dumpline.unnamed$$_0: Writing execution trace to out/seed-11904/rtl_sim/riscv_debug_basic_test.0/trace_core_00000000.log
UVM_INFO /azp/agent/_work/1/s/dv/uvm/core_ibex/tests/core_ibex_seq_lib.sv(39) @ 4126500: reporter@@debug_seq_stress_h [debug_seq_stress_h] Starting sequence...
UVM_INFO /azp/agent/_work/1/s/dv/uvm/core_ibex/tests/core_ibex_seq_lib.sv(60) @ 2163400500: reporter@@debug_seq_stress_h [debug_seq_stress_h] Stopping sequence
UVM_INFO /azp/agent/_work/1/s/dv/uvm/core_ibex/tests/core_ibex_seq_lib.sv(51) @ 2163870500: reporter@@debug_seq_stress_h [debug_seq_stress_h] Exiting sequence
UVM_INFO /azp/agent/_work/1/s/dv/uvm/core_ibex/tests/core_ibex_base_test.sv(127) @ 2163870500: uvm_test_top [uvm_test_top] ECALL instruction is detected, test done
UVM_FATAL /azp/agent/_work/1/s/dv/uvm/core_ibex/tests/core_ibex_test_lib.sv(346) @ 2364258500: uvm_test_top [uvm_test_top] No dret detected, or incorrect privilege mode switch in timeout period of 100000 cycles
@udinator would you mind having a look if we just need to increase the timeout in this test, or if there's something going wrong?
yup, I'll take a look
This issue should have been addressed by #1183, so I'll close this issue.