google / google/clusterfuzz

uploading coverage info

Open
#2,051 6 comments 0 reactions 1 assignee Claimed by @Dor1s View on GitHub
Dominant language
Python
Stars
5.6k
Forks
629
Avg merge
4d 6h
Merged PRs (30d)
22

Description

Hi,

I want to upload coverage info to clusterfuzz GCP.

I am following the instructions at https://google.github.io/clusterfuzz/using-clusterfuzz/advanced/code-coverage/.

i have uploaded multiple jobs on cfz but I want to upload coverage only for 1 fuzz target.

**i have per fuzzer json file. I think summary.json should also be same as $fuzzer.json because I am uploading data only for one fuzzer. please clarify if I am incorrect.**

i uploaded both files as mentioned

gsutil cp summary.json gs:///fuzz_target/reports/20200924/linux/summary.json

gsutil cp fuzz_target.json gs:///fuzz_target/fuzzer_stats/20200924/fuzz_target.json

fuzz_target is the name of fuzzer.

**I am little confused on how do I upload HTML report ?**

"html_report_url": "https://link_to_the_main_page_of_the_report",

I am not getting of what "https://link_to_the_main_page_of_the_report" means ?

**Also you have shown a example for zlib. you have considered zlib as project name. In my case the job name is libfuzzer_asan_temp and fuuzer name is fuzz_target. i am not sure which name I should pick up for project?**

will it be fuzz_target or libFuzzer_fuzz_target or something else ?

Also how do i upload HTML file ? whether it should be same gsutil or something else ?

Thanks in advance.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.