Skip to content

Crash in //target/veer/syscall_latency:measure_syscall_latency_emulator_test #304

Description

@konkers

I'm seeing constant test failures with //target/veer/syscall_latency:measure_syscall_latency_emulator_test when running ./pw build caliptra_emulator_tests.

Test stalls for some time between [INF] Average latency: 456 cpu clocks and the exception.

[INF] Initializing PIC 0x60000000
[INF] Welcome to Maize on Earlgrey Syscall Latency Test!
[INF] Starting monotonic timer
[INF] Created initial thread; bootstrapping
[INF] Context switching to first thread
[INF] Welcome to the first thread, continuing bootstrap
[INF] Allocating non-privileged process 'syscall_latency'
[INF] Allocating non-privileged thread 'syscall_latency'
[INF] Performed 100 syscalls in 45624 rv_timer ticks.
[INF] Average latency: 456 rv_timer ticks
[INF] Average latency: 456 cpu clocks
[INF] Exception frame 0x4000a538:
[INF] ra  0x40000900 t0 0x40009fa4 t1  0x400077e6 t2  0x00000000
[INF] t3  0x4000b110 t4 0x00000000 t5  0x00000000 t6  0x00000000
[INF] a0  0x18000088 a1 0x00000002 a2  0x00000001 a3  0x00000000
[INF] a4  0x4000af00 a5 0x00000003 a6  0x00000000 a7  0x00000010
[INF] tp  0x4000afc0 gp 0x4000652a sp  0x00000000
[INF] mstatus 0x18001800
[INF] mcause 0x00000001
[INF] mtval 0x00000000
[INF] epc 0x00000000
[FTL] 

.-------.    ____    ,---.   .--..-./`)     _______
\  _(`)_ \ .'  __ `. |    \  |  |\ .-.')   /   __  \
| (_ o._)|/   '  \  \|  ,  \ |  |/ `-' \  | ,_/  \__)
|  (_,_) /|___|  /  ||  |\_ \|  | `-'`"`,-./  )
|   '-.-'    _.-`   ||  _( )_\  | .---. \  '_ '`)
|   |     .'   _    || (_ o _)  | |   |  > (_)  )  __
|   |     |  _( )_  ||  (_,_)\  | |   | (  .  .-'_/  )
/   )     \ (_ o _) /|  |    |  | |   |  `-'`-'     /
`---'      '.(_,_).' '--'    '--' '---'    `._____.'


[FTL] Terminal exception in kernel mode
[INF] Exception frame 0x4000a438:
[INF] ra  0x40003334 t0 0x4000a590 t1  0x40006532 t2  0x00000000
[INF] t3  0x4000b110 t4 0x00000000 t5  0x00000000 t6  0x00000000
[INF] a0  0x00000000 a1 0x18001800 a2  0x00000002 a3  0x00000001
[INF] a4  0x00000001 a5 0x4000745e a6  0x4000a4f8 a7  0x40007eb0
[INF] tp  0x00000002 gp 0x00000010 sp  0x00000000
[INF] mstatus 0x18001800
[INF] mcause 0x00000003
[INF] mtval 0x40003334
[INF] epc 0x40003334
[INF] Shutting down with code 1
[INF] FAIL: 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions