Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/go: minimization during fuzzing can print several redundant lines #48709

Closed
katiehockman opened this issue Sep 30, 2021 · 2 comments
Closed

cmd/go: minimization during fuzzing can print several redundant lines #48709

katiehockman opened this issue Sep 30, 2021 · 2 comments

Comments

@katiehockman
Copy link
Member

@katiehockman katiehockman commented Sep 30, 2021

I fuzzed the target provided in #48320 with -v, and the command line output looks pretty messy. It seems to be logging every single time the minimizer was able to create a crash with a smaller value, which ended up being ~200 times. Let's reduce this to only the most recent crash, if possible.

/cc @golang/fuzzing

=== FUZZ  FuzzFuzzer
warning: starting with empty corpus
fuzz: elapsed: 0s, execs: 0 (0/sec), interesting: 0
fuzz: minimizing 1232-byte crash input...
fuzz: elapsed: 0s, execs: 420 (8127/sec), interesting: 7
--- FAIL: FuzzFuzzer (0.05s)
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
        --- FAIL: FuzzFuzzer (0.00s)
            dsa_test.go:19: minimize this!
    
    Crash written to testdata/fuzz/FuzzFuzzer/d8398164056fc45958535f08a1b29a7fd10a21f12c95b34d4b891c6f9842b6d3
    To re-run:
    go test crypto/dsa -run=FuzzFuzzer/d8398164056fc45958535f08a1b29a7fd10a21f12c95b34d4b891c6f9842b6d3
FAIL
exit status 1
FAIL    crypto/dsa      0.668s
@gopherbot
Copy link

@gopherbot gopherbot commented Oct 1, 2021

Change https://golang.org/cl/353355 mentions this issue: testing: write output to buffer when fuzzing

@gopherbot
Copy link

@gopherbot gopherbot commented Oct 14, 2021

Change https://golang.org/cl/355909 mentions this issue: testing: write output to buffer when fuzzing

@gopherbot gopherbot closed this in 067d796 Oct 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants