Commit 039af8b
authored
Add new tags, improve error handling, add func as unique key (#41871)
### What does this PR do?
This improve the `fuzz_infra.py` script to handle ctx.run throws that we encountered in this job:
https://gitlab.ddbuild.io/DataDog/datadog-agent/-/jobs/1175663441
That made the list of fuzzer to be started truncated to the first crashing build.
This also adds the `nvml` tag to build some new targets. (TODO: how can we automate the list of tags to include "everything" ? Now that we can fail a build safely, should we "add them all" ?)
And finally, there's a small improvements on the naming scheme for Go fuzzer: the function name is now part of the package. This creates duplicate binaries, but if a package has multiple fuzzers, we can now run them properly (i.e: with their own inputs/crash/coverage)
### Motivation
Improve the fuzzing infrastructure error handling and improve coverage
### Describe how you validated your changes
Gitlab run with the build failure not blocking the remaining fuzzers: https://gitlab.ddbuild.io/DataDog/datadog-agent/-/jobs/1175824522
### Additional Notes
N/A1 parent e334ea8 commit 039af8b
1 file changed
+11
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
| 81 | + | |
80 | 82 | | |
81 | 83 | | |
82 | 84 | | |
| 85 | + | |
83 | 86 | | |
84 | 87 | | |
85 | 88 | | |
86 | | - | |
87 | | - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
88 | 96 | | |
89 | 97 | | |
90 | 98 | | |
| |||
0 commit comments