Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

Syzkaller reproducer falsely reported as failed #20

Open
shunghsiyu opened this issue Jul 7, 2020 · 0 comments
Open

Syzkaller reproducer falsely reported as failed #20

shunghsiyu opened this issue Jul 7, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@shunghsiyu
Copy link
Contributor

While inspecting the resulting file I comes across a case where the Syzkaller reproducer is marked as failed, but in reality it passed.

{
  "tid": "ae496c7eb605ca41cd6192cc678f08ad2020f1c3",
  "runs": 1,
  "warnings": 0,
  "runtime": "13.5256508011371",
  "broken": 0,
  "skipped": 0,
  "failed": 1,
  "passed": 0,
  "log": [
    "...omitted...",
    "[  573.830051] 0syzwrap  -d /opt/ltp/testcases/bin -n ae496c7eb605ca41cd6192cc678f08ad2020ff1c3; echo cmd-exit-115-$?",
    "...omitted...",
    "Summary:",
    "passed   1",
    "failed   0",
    "skipped  0",
    "warnings 0",
    "...omitted..."
  ]
}

Further inspection of the raw log file it look like the it is an unfortunate case where the output of printk got interleaved with the output of syzwrap exit status.

[  586.379945] 0cmd-exit-115-001: RBP: 00007ffcd6f1def0 R08: 0000000000000001 R09: 00007ffcd6f1def0

I think adding some delimiter around cmd-exit-115-$? might relieve this issue, but reliable retrieval of exit status we will need #19.

@shunghsiyu shunghsiyu changed the title Syzkaller reproducer falsey reported as failed Syzkaller reproducer falsely reported as failed Jul 7, 2020
@richiejp richiejp added the bug Something isn't working label Jul 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants