| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Add a rust error regexp and a test to verify the resulting report.
|
| | |
|
| |
|
|
|
|
|
| |
Handle SIGKILL (exit code = 137) on osutil.Run() during Linux kernel image
building and return build.InfraError without reporting.
Fixes: https://github.com/google/syzkaller/issues/5317
|
| | |
|
| |
|
|
|
|
|
|
|
| |
Default compilers are specified in the OS- and platform-dependent logic.
It is more convenient to extract info about them during the kernel build
itself, rather than during the manager object initialization.
Apply the necessary changes throughout the code that is involved in
building the kernels and processing information about this process.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
For strings it's more readable to compare the string itself with "",
instead of comparing len with 0. Fix all such cases.
Update #1876
|
| | |
|
| |
|
|
| |
Checks for too long functions (based on lines and statements).
|
| |
|
|
|
|
|
| |
Extract build error source file and obtain maintainers
so that we can mail the report to the right people.
Update #1667
|
| |
|
|
|
|
|
|
|
| |
1. Extract multiple error lines (up to 10).
Gives more complete picture, maybe the first one
is not the most indicative one.
2. Replace weird unicode quotes with normal quotes.
These may be mishandled by some systems that don't understand utf-8.
|
| |
|
|
| |
This happens when compiler has bad permissions.
|
| |
|
|
|
| |
The first error is usually more informative and significant.
Extract first error instead of last.
|
| |
|
|
|
|
|
|
|
|
| |
We currently manually call extractRootCause in few selected places
to denote kernel build errors that we want to report to developers.
The rest are considered infra errors that we don't report.
This does not work well. We are missing fuchsia and gvisor build errors.
Treat all external command exection failures as kernel build errors instead.
Let's see how this works in practice.
Also add bazel-specfic error patterns and tests.
|
| |
|
|
|
|
|
|
| |
Such error popped up during bisection on older kernels.
It's already detected properly, yet build failed with just "make failed"...
Unclear why that happened, but the test won't harm.
Update #501
|
| |
|
|
|
|
|
|
|
|
| |
* pkg/build: share extractRootCause with openbsd
This should get kernel build errors reported in syz-ci console.
* Add a test
* lint
|
| | |
|
|
|
Rename pkg/kernel to pkg/build and prepare for multi-OS support.
|