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

tests: run fuzzers four times in a row #10794

Merged
merged 1 commit into from
Nov 16, 2018

Conversation

evverx
Copy link
Member

@evverx evverx commented Nov 16, 2018

This should help to catch issues that are easily detectable by
bad_build_check like the one being fixed in #10793,
which would totally break the build tomorrow if I hadn't run
helper.py check_build manually.

@evverx evverx added the tests label Nov 16, 2018
@evverx evverx force-pushed the run-fuzzers-four-times-in-a-row branch from 40c7cc4 to 0a22268 Compare November 16, 2018 09:33
@evverx
Copy link
Member Author

evverx commented Nov 16, 2018

Judging by

551/687 fuzz-journald-kmsg:subsystem-loopback:address  FAIL     0.04 s (killed by signal 6 SIGABRT)

--- command ---
/usr/bin/env /build/build/fuzz-journald-kmsg:address /build/test/fuzz/fuzz-journald-kmsg/subsystem-loopback
--- stdout ---
/build/test/fuzz/fuzz-journald-kmsg/subsystem-loopback... 
--- stderr ---
Found container virtualization container-other.
Assertion 'close_nointr(fd) != -EBADF' failed at ../../../../src/basic/fd-util.c:66, function safe_close(). Aborting.
-------

it seems to be working. I'm tempted to create a label called "ci-fails/doesn't-need-rework" :-)

I'll wait for #10793 to be merged, rebase it on top to see how it goes.

This should help to catch issues that are easily detectable by
bad_build_check like the one being fixed in systemd#10793,
which would totally break the build tomorrow if I hadn't run
`helper.py check_build` manually.
@evverx
Copy link
Member Author

evverx commented Nov 16, 2018

Now that #10793 is merged, I rebased the PR on top of master to see how it goes. TravisCI and semaphorci should become green soon.

@yuwata
Copy link
Member

yuwata commented Nov 16, 2018

@evverx Do you think it can be merged now?

@@ -30,7 +35,8 @@ int main(int argc, char **argv) {
}
printf("%s... ", name);
fflush(stdout);
(void) LLVMFuzzerTestOneInput((uint8_t*)buf, size);
for (int j = 0; j < MIN_NUMBER_OF_RUNS; j++)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BTW, I prefer here unsigned or size_t. But please ignore this now.

@evverx
Copy link
Member Author

evverx commented Nov 16, 2018

@yuwata yes, I think this PR is ready to roll.

@yuwata
Copy link
Member

yuwata commented Nov 16, 2018

OK. Let's ignore remaining CIs.

@yuwata yuwata merged commit a7891d2 into systemd:master Nov 16, 2018
@evverx evverx deleted the run-fuzzers-four-times-in-a-row branch November 16, 2018 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

2 participants