C project on Github (public repo) - "There was an error processing coverage reports."

Description

I have recently added codecov to my project in GitHub but I can’t get it to work, when I ran the codecov bash uploader script locally, using a commit I pushed and the right token I get the report to be displayed properly instead when I run my github workflow even if from the logs everything looks alright on the website I keep getting a “There was an error processing coverage reports.”

I keep getting a code coverage of 0 when I run the uploader on github via the workflow.

I have already installed the codecov application and it appears to be working.

Repository

https://github.com/danielealbano/cachegrand/tree/fix_code_coverage_with_codecov_try_3

CI/CD

Uploader

(sorry I had to put a space between http/https and the colon symbol because of the links limit)

bash <(curl -s https ://codecov.io/bash) -n cachegrand-tests -F unittests -Z -c -G *cachegrand-internal*

Commit SHAs

This is the latest one at the time of writing but I will keep doing tests :slight_smile:

850106c647c9b7c1a9a63f523e4d48be73f1cdc1

Codecov YAML

The default one

Codecov Output

(sorry I had to put a space between http/https and the colon symbol because of the links limit)

2020-06-22T18:23:19.1824691Z ##[group]Run bash <(curl -s https ://codecov.io/bash) -n cachegrand-tests -F unittests -Z -c -G \*cachegrand-internal\*
2020-06-22T18:23:19.1825066Z bash <(curl -s https ://codecov.io/bash) -n cachegrand-tests -F unittests -Z -c -G \*cachegrand-internal\*
2020-06-22T18:23:19.1866577Z shell: /bin/bash --noprofile --norc -e -o pipefail {0}
2020-06-22T18:23:19.1866726Z env:
2020-06-22T18:23:19.1866861Z   BUILD_TYPE: Debug
2020-06-22T18:23:19.1866996Z ##[endgroup]
2020-06-22T18:23:21.1445362Z 
2020-06-22T18:23:21.1445765Z   _____          _
2020-06-22T18:23:21.1445911Z  / ____|        | |
2020-06-22T18:23:21.1446059Z | |     ___   __| | ___  ___ _____   __
2020-06-22T18:23:21.1446246Z | |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
2020-06-22T18:23:21.1447701Z | |___| (_) | (_| |  __/ (_| (_) \ V /
2020-06-22T18:23:21.1448120Z  \_____\___/ \__,_|\___|\___\___/ \_/
2020-06-22T18:23:21.1449133Z                               Bash-20200602-f809a24
2020-06-22T18:23:21.1449431Z 
2020-06-22T18:23:21.1449761Z 
2020-06-22T18:23:21.1527872Z ==> GitHub Actions detected.
2020-06-22T18:23:21.1633943Z     project root: .
2020-06-22T18:23:21.2238886Z     l not found, that's ok! Learn more at http ://docs.codecov.io/docs/codecov-yaml
2020-06-22T18:23:21.2631132Z ==> Running gcov in . (disable via -X gcov)
2020-06-22T18:23:21.3482271Z ./src/CMakeFiles/cachegrand-internal.dir/threadpool.c.gcda:cannot open data file, assuming not executed
2020-06-22T18:23:21.3490576Z ./src/CMakeFiles/cachegrand-internal.dir/__/cmake_config/cmake_config.c.gcno:no functions found
2020-06-22T18:23:21.3515954Z File '/home/runner/work/cachegrand/cachegrand/src/pow2.c'
2020-06-22T18:23:21.3516254Z Lines executed:100.00% of 12
2020-06-22T18:23:21.3516408Z Branches executed:100.00% of 4
2020-06-22T18:23:21.3516556Z Taken at least once:75.00% of 4
2020-06-22T18:23:21.3516705Z Calls executed:100.00% of 1
2020-06-22T18:23:21.3517074Z Creating '#home#runner#work#cachegrand#cachegrand#src#pow2.c.gcov'
2020-06-22T18:23:21.3517182Z 
2020-06-22T18:23:21.3517509Z File '/home/runner/work/cachegrand/cachegrand/src/signal_handler_sigsegv.c'
2020-06-22T18:23:21.3517676Z Lines executed:40.00% of 5
2020-06-22T18:23:21.3517817Z No branches
2020-06-22T18:23:21.3517957Z Calls executed:0.00% of 1
2020-06-22T18:23:21.3518317Z Creating '#home#runner#work#cachegrand#cachegrand#src#signal_handler_sigsegv.c.gcov'
2020-06-22T18:23:21.3518432Z 
2020-06-22T18:23:21.3518744Z File '/home/runner/work/cachegrand/cachegrand/src/xalloc.c'
2020-06-22T18:23:21.3518902Z Lines executed:64.52% of 31
2020-06-22T18:23:21.3519045Z Branches executed:60.00% of 10
2020-06-22T18:23:21.3519195Z Taken at least once:30.00% of 10
2020-06-22T18:23:21.3519343Z Calls executed:62.50% of 8
2020-06-22T18:23:21.3519673Z Creating '#home#runner#work#cachegrand#cachegrand#src#xalloc.c.gcov'
2020-06-22T18:23:21.3519765Z 
2020-06-22T18:23:21.3520072Z File '/home/runner/work/cachegrand/cachegrand/src/log.c'
2020-06-22T18:23:21.3520234Z Lines executed:62.50% of 40
2020-06-22T18:23:21.3520375Z Branches executed:100.00% of 10
2020-06-22T18:23:21.3520520Z Taken at least once:30.00% of 10
2020-06-22T18:23:21.3520663Z Calls executed:100.00% of 9
2020-06-22T18:23:21.3520991Z Creating '#home#runner#work#cachegrand#cachegrand#src#log.c.gcov'
2020-06-22T18:23:21.3521078Z 
2020-06-22T18:23:21.3521391Z File '/home/runner/work/cachegrand/cachegrand/src/spinlock.c'
2020-06-22T18:23:21.3521546Z Lines executed:96.00% of 25
2020-06-22T18:23:21.3521687Z Branches executed:100.00% of 10
2020-06-22T18:23:21.3521829Z Taken at least once:90.00% of 10
2020-06-22T18:23:21.3521968Z Calls executed:66.67% of 3
2020-06-22T18:23:21.3522409Z Creating '#home#runner#work#cachegrand#cachegrand#src#spinlock.c.gcov'
2020-06-22T18:23:21.3522657Z 
2020-06-22T18:23:21.3522955Z File '/home/runner/work/cachegrand/cachegrand/src/random.c'
2020-06-22T18:23:21.3523098Z Lines executed:100.00% of 25
2020-06-22T18:23:21.3523232Z Branches executed:100.00% of 2
2020-06-22T18:23:21.3523435Z Taken at least once:100.00% of 2
2020-06-22T18:23:21.3523572Z Calls executed:100.00% of 4
2020-06-22T18:23:21.3523891Z Creating '#home#runner#work#cachegrand#cachegrand#src#random.c.gcov'
2020-06-22T18:23:21.3523985Z 
2020-06-22T18:23:21.3524277Z File '/home/runner/work/cachegrand/cachegrand/src/threadpool.c'
2020-06-22T18:23:21.3524421Z Lines executed:0.00% of 2
2020-06-22T18:23:21.3524551Z No branches
2020-06-22T18:23:21.3524680Z No calls
2020-06-22T18:23:21.3524989Z Creating '#home#runner#work#cachegrand#cachegrand#src#threadpool.c.gcov'
2020-06-22T18:23:21.3525073Z 
2020-06-22T18:23:21.3525380Z File '/home/runner/work/cachegrand/cachegrand/src/hashtable/hashtable_data.c'
2020-06-22T18:23:21.3525540Z Lines executed:100.00% of 25
2020-06-22T18:23:21.3525679Z Branches executed:100.00% of 2
2020-06-22T18:23:21.3525814Z Taken at least once:100.00% of 2
2020-06-22T18:23:21.3525946Z Calls executed:100.00% of 8
2020-06-22T18:23:21.3526277Z Creating '#home#runner#work#cachegrand#cachegrand#src#hashtable#hashtable_data.c.gcov'
2020-06-22T18:23:21.3526378Z 
2020-06-22T18:23:21.3526691Z File '/home/runner/work/cachegrand/cachegrand/src/hashtable/hashtable_support_hash_search.c'
2020-06-22T18:23:21.3526847Z Lines executed:64.29% of 14
2020-06-22T18:23:21.3526977Z Branches executed:75.00% of 8
2020-06-22T18:23:21.3527110Z Taken at least once:37.50% of 8
2020-06-22T18:23:21.3527245Z Calls executed:75.00% of 8
2020-06-22T18:23:21.3527594Z Creating '#home#runner#work#cachegrand#cachegrand#src#hashtable#hashtable_support_hash_search.c.gcov'
2020-06-22T18:23:21.3527699Z 
2020-06-22T18:23:21.3528077Z File '/home/runner/work/cachegrand/cachegrand/src/hashtable/hashtable_support_hash_search_loop.c'
2020-06-22T18:23:21.3528235Z Lines executed:100.00% of 9
2020-06-22T18:23:21.3528366Z Branches executed:100.00% of 6
2020-06-22T18:23:21.3528499Z Taken at least once:100.00% of 6
2020-06-22T18:23:21.3528631Z Calls executed:100.00% of 1
2020-06-22T18:23:21.3528989Z Creating '#home#runner#work#cachegrand#cachegrand#src#hashtable#hashtable_support_hash_search_loop.c.gcov'
2020-06-22T18:23:21.3529079Z 
2020-06-22T18:23:21.3529392Z File '/home/runner/work/cachegrand/cachegrand/src/hashtable/hashtable_op_delete.c'
2020-06-22T18:23:21.3529541Z Lines executed:100.00% of 44
2020-06-22T18:23:21.3529674Z Branches executed:87.50% of 16
2020-06-22T18:23:21.3529804Z Taken at least once:81.25% of 16
2020-06-22T18:23:21.3529935Z Calls executed:100.00% of 15
2020-06-22T18:23:21.3530265Z Creating '#home#runner#work#cachegrand#cachegrand#src#hashtable#hashtable_op_delete.c.gcov'
2020-06-22T18:23:21.3530370Z 
2020-06-22T18:23:21.3530810Z File '/home/runner/work/cachegrand/cachegrand/src/hashtable/hashtable_support_hash_search_avx2.c'
2020-06-22T18:23:21.3530956Z Lines executed:100.00% of 9
2020-06-22T18:23:21.3531076Z Branches executed:100.00% of 2
2020-06-22T18:23:21.3531183Z Taken at least once:100.00% of 2
2020-06-22T18:23:21.3531300Z No calls
2020-06-22T18:23:21.3531627Z Creating '#home#runner#work#cachegrand#cachegrand#src#hashtable#hashtable_support_hash_search_avx2.c.gcov'
2020-06-22T18:23:21.3531727Z 
2020-06-22T18:23:21.3531998Z File '/usr/lib/gcc/x86_64-linux-gnu/7/include/avxintrin.h'
2020-06-22T18:23:21.3532130Z Lines executed:100.00% of 6
2020-06-22T18:23:21.3532251Z No branches
2020-06-22T18:23:21.3532368Z No calls
2020-06-22T18:23:21.3532649Z Creating '#usr#lib#gcc#x86_64-linux-gnu#7#include#avxintrin.h.gcov'
2020-06-22T18:23:21.3532723Z 
2020-06-22T18:23:21.3532991Z File '/usr/lib/gcc/x86_64-linux-gnu/7/include/avx2intrin.h'
2020-06-22T18:23:21.3533123Z Lines executed:100.00% of 1
2020-06-22T18:23:21.3533242Z No branches
2020-06-22T18:23:21.3533358Z No calls
2020-06-22T18:23:21.3533641Z Creating '#usr#lib#gcc#x86_64-linux-gnu#7#include#avx2intrin.h.gcov'
2020-06-22T18:23:21.3533950Z 
2020-06-22T18:23:21.3534249Z File '/usr/lib/gcc/x86_64-linux-gnu/7/include/bmiintrin.h'
2020-06-22T18:23:21.3534388Z Lines executed:100.00% of 1
2020-06-22T18:23:21.3534514Z No branches
2020-06-22T18:23:21.3534637Z No calls
2020-06-22T18:23:21.3535024Z Creating '#usr#lib#gcc#x86_64-linux-gnu#7#include#bmiintrin.h.gcov'
2020-06-22T18:23:21.3535123Z 
2020-06-22T18:23:21.3535443Z File '/home/runner/work/cachegrand/cachegrand/src/hashtable/hashtable_op_get.c'
2020-06-22T18:23:21.3535593Z Lines executed:100.00% of 35
2020-06-22T18:23:21.3535728Z Branches executed:83.33% of 12
2020-06-22T18:23:21.3535859Z Taken at least once:75.00% of 12
2020-06-22T18:23:21.3535993Z Calls executed:100.00% of 11
2020-06-22T18:23:21.3536324Z Creating '#home#runner#work#cachegrand#cachegrand#src#hashtable#hashtable_op_get.c.gcov'
2020-06-22T18:23:21.3536413Z 
2020-06-22T18:23:21.3547638Z File '/home/runner/work/cachegrand/cachegrand/src/hashtable/hashtable_support_index.c'
2020-06-22T18:23:21.3547906Z Lines executed:100.00% of 2
2020-06-22T18:23:21.3548039Z No branches
2020-06-22T18:23:21.3548166Z No calls
2020-06-22T18:23:21.3548514Z Creating '#home#runner#work#cachegrand#cachegrand#src#hashtable#hashtable_support_index.c.gcov'
2020-06-22T18:23:21.3548623Z 
2020-06-22T18:23:21.3548940Z File '/home/runner/work/cachegrand/cachegrand/src/hashtable/hashtable.c'
2020-06-22T18:23:21.3549092Z Lines executed:90.00% of 20
2020-06-22T18:23:21.3549226Z Branches executed:100.00% of 4
2020-06-22T18:23:21.3549362Z Taken at least once:50.00% of 4
2020-06-22T18:23:21.3549494Z Calls executed:85.71% of 7
2020-06-22T18:23:21.3549818Z Creating '#home#runner#work#cachegrand#cachegrand#src#hashtable#hashtable.c.gcov'
2020-06-22T18:23:21.3549905Z 
2020-06-22T18:23:21.3550236Z File '/home/runner/work/cachegrand/cachegrand/src/hashtable/hashtable_support_hash_search_avx.c'
2020-06-22T18:23:21.3550394Z Lines executed:100.00% of 9
2020-06-22T18:23:21.3550527Z Branches executed:100.00% of 2
2020-06-22T18:23:21.3550667Z Taken at least once:100.00% of 2
2020-06-22T18:23:21.3550797Z No calls
2020-06-22T18:23:21.3551148Z Creating '#home#runner#work#cachegrand#cachegrand#src#hashtable#hashtable_support_hash_search_avx.c.gcov'
2020-06-22T18:23:21.3551237Z 
2020-06-22T18:23:21.3551556Z File '/home/runner/work/cachegrand/cachegrand/src/hashtable/hashtable_support_op.c'
2020-06-22T18:23:21.3551707Z Lines executed:100.00% of 2
2020-06-22T18:23:21.3551838Z Branches executed:62.50% of 32
2020-06-22T18:23:21.3551969Z Taken at least once:31.25% of 32
2020-06-22T18:23:21.3552103Z Calls executed:66.67% of 24
2020-06-22T18:23:21.3552435Z Creating '#home#runner#work#cachegrand#cachegrand#src#hashtable#hashtable_support_op.c.gcov'
2020-06-22T18:23:21.3552539Z 
2020-06-22T18:23:21.3552851Z File '/home/runner/work/cachegrand/cachegrand/src/hashtable/hashtable_op_set.c'
2020-06-22T18:23:21.3553002Z Lines executed:100.00% of 40
2020-06-22T18:23:21.3553136Z Branches executed:100.00% of 10
2020-06-22T18:23:21.3553254Z Taken at least once:70.00% of 10
2020-06-22T18:23:21.3553392Z Calls executed:94.74% of 19
2020-06-22T18:23:21.3553723Z Creating '#home#runner#work#cachegrand#cachegrand#src#hashtable#hashtable_op_set.c.gcov'
2020-06-22T18:23:21.3553824Z 
2020-06-22T18:23:21.3554146Z File '/home/runner/work/cachegrand/cachegrand/src/hashtable/hashtable_support_op_arch.c'
2020-06-22T18:23:21.3554300Z Lines executed:0.00% of 212
2020-06-22T18:23:21.3554432Z Branches executed:0.00% of 92
2020-06-22T18:23:21.3554565Z Taken at least once:0.00% of 92
2020-06-22T18:23:21.3554697Z Calls executed:0.00% of 93
2020-06-22T18:23:21.3555035Z Creating '#home#runner#work#cachegrand#cachegrand#src#hashtable#hashtable_support_op_arch.c.gcov'
2020-06-22T18:23:21.3555124Z 
2020-06-22T18:23:21.3555435Z File '/home/runner/work/cachegrand/cachegrand/src/hashtable/hashtable_config.c'
2020-06-22T18:23:21.3555581Z Lines executed:100.00% of 6
2020-06-22T18:23:21.3555709Z No branches
2020-06-22T18:23:21.3555837Z Calls executed:100.00% of 2
2020-06-22T18:23:21.3556168Z Creating '#home#runner#work#cachegrand#cachegrand#src#hashtable#hashtable_config.c.gcov'
2020-06-22T18:23:21.3556396Z 
2020-06-22T18:23:21.3556725Z File '/home/runner/work/cachegrand/cachegrand/src/hashtable/hashtable_support_hash.c'
2020-06-22T18:23:21.3556877Z Lines executed:100.00% of 4
2020-06-22T18:23:21.3557052Z No branches
2020-06-22T18:23:21.3557183Z Calls executed:100.00% of 1
2020-06-22T18:23:21.3557533Z Creating '#home#runner#work#cachegrand#cachegrand#src#hashtable#hashtable_support_hash.c.gcov'
2020-06-22T18:23:21.3557637Z 
2020-06-22T18:23:21.3557922Z File '/home/runner/work/cachegrand/cachegrand/src/cpu.c'
2020-06-22T18:23:21.3558061Z Lines executed:16.67% of 30
2020-06-22T18:23:21.3558191Z Branches executed:22.22% of 18
2020-06-22T18:23:21.3558325Z Taken at least once:11.11% of 18
2020-06-22T18:23:21.3558458Z Calls executed:25.00% of 4
2020-06-22T18:23:21.3558762Z Creating '#home#runner#work#cachegrand#cachegrand#src#cpu.c.gcov'
2020-06-22T18:23:21.3558841Z 
2020-06-22T18:23:21.3559133Z File '/home/runner/work/cachegrand/cachegrand/src/log_debug.c'
2020-06-22T18:23:21.3559281Z Lines executed:96.43% of 28
2020-06-22T18:23:21.3559415Z Branches executed:100.00% of 14
2020-06-22T18:23:21.3559548Z Taken at least once:85.71% of 14
2020-06-22T18:23:21.3559678Z Calls executed:100.00% of 3
2020-06-22T18:23:21.3559990Z Creating '#home#runner#work#cachegrand#cachegrand#src#log_debug.c.gcov'
2020-06-22T18:23:21.3560070Z 
2020-06-22T18:23:21.3560362Z File '/home/runner/work/cachegrand/cachegrand/src/backtrace.c'
2020-06-22T18:23:21.3560503Z Lines executed:0.00% of 4
2020-06-22T18:23:21.3560632Z No branches
2020-06-22T18:23:21.3560760Z Calls executed:0.00% of 2
2020-06-22T18:23:21.3561070Z Creating '#home#runner#work#cachegrand#cachegrand#src#backtrace.c.gcov'
2020-06-22T18:23:21.3561164Z 
2020-06-22T18:23:21.3561555Z File '/home/runner/work/cachegrand/cachegrand/src/fatal.c'
2020-06-22T18:23:21.3561687Z Lines executed:0.00% of 17
2020-06-22T18:23:21.3561808Z No branches
2020-06-22T18:23:21.3561927Z Calls executed:0.00% of 9
2020-06-22T18:23:21.3562217Z Creating '#home#runner#work#cachegrand#cachegrand#src#fatal.c.gcov'
2020-06-22T18:23:21.3562289Z 
2020-06-22T18:23:21.3562406Z Lines executed:54.71% of 658
2020-06-22T18:23:21.3581272Z ==> Python coveragepy not found
2020-06-22T18:23:21.3581620Z ==> Searching for coverage reports in:
2020-06-22T18:23:21.3582234Z     + .
2020-06-22T18:23:21.3727929Z     -> Found 28 reports
2020-06-22T18:23:21.3737453Z ==> Detecting git/mercurial file structure
2020-06-22T18:23:21.4329359Z ==> Reading reports
2020-06-22T18:23:21.4405107Z     + ./#home#runner#work#cachegrand#cachegrand#src#hashtable#hashtable_op_set.c.gcov bytes=6276
2020-06-22T18:23:21.4604725Z     + ./#home#runner#work#cachegrand#cachegrand#src#hashtable#hashtable_data.c.gcov bytes=3280
2020-06-22T18:23:21.4762714Z     + ./#home#runner#work#cachegrand#cachegrand#src#hashtable#hashtable_support_hash_search_avx2.c.gcov bytes=2109
2020-06-22T18:23:21.4916878Z     + ./#home#runner#work#cachegrand#cachegrand#src#hashtable#hashtable_support_op.c.gcov bytes=5881
2020-06-22T18:23:21.5077257Z     + ./#home#runner#work#cachegrand#cachegrand#src#hashtable#hashtable_config.c.gcov bytes=1170
2020-06-22T18:23:21.5231298Z     + ./#usr#lib#gcc#x86_64-linux-gnu#7#include#avxintrin.h.gcov bytes=73442
2020-06-22T18:23:21.5410763Z     + ./#home#runner#work#cachegrand#cachegrand#src#hashtable#hashtable_support_hash_search.c.gcov bytes=2602
2020-06-22T18:23:21.5564702Z     + ./#home#runner#work#cachegrand#cachegrand#src#hashtable#hashtable.c.gcov bytes=2430
2020-06-22T18:23:21.5725912Z     + ./#home#runner#work#cachegrand#cachegrand#src#hashtable#hashtable_op_delete.c.gcov bytes=6455
2020-06-22T18:23:21.5882607Z     + ./#home#runner#work#cachegrand#cachegrand#src#xalloc.c.gcov bytes=6593
2020-06-22T18:23:21.6045614Z     + ./#home#runner#work#cachegrand#cachegrand#src#random.c.gcov bytes=2328
2020-06-22T18:23:21.6202472Z     + ./#home#runner#work#cachegrand#cachegrand#src#fatal.c.gcov bytes=4337
2020-06-22T18:23:21.6364989Z     + ./#home#runner#work#cachegrand#cachegrand#src#signal_handler_sigsegv.c.gcov bytes=898
2020-06-22T18:23:21.6524864Z     + ./#home#runner#work#cachegrand#cachegrand#src#spinlock.c.gcov bytes=4410
2020-06-22T18:23:21.6680724Z     + ./#usr#lib#gcc#x86_64-linux-gnu#7#include#avx2intrin.h.gcov bytes=88662
2020-06-22T18:23:21.6863737Z     + ./#home#runner#work#cachegrand#cachegrand#src#threadpool.c.gcov bytes=458
2020-06-22T18:23:21.7034071Z     + ./#home#runner#work#cachegrand#cachegrand#src#hashtable#hashtable_support_hash_search_avx.c.gcov bytes=1941
2020-06-22T18:23:21.7212185Z     + ./#home#runner#work#cachegrand#cachegrand#src#cpu.c.gcov bytes=8154
2020-06-22T18:23:21.7376485Z     + ./#home#runner#work#cachegrand#cachegrand#src#hashtable#hashtable_support_op_arch.c.gcov bytes=32522
2020-06-22T18:23:21.7544727Z     + ./#home#runner#work#cachegrand#cachegrand#src#hashtable#hashtable_support_hash.c.gcov bytes=1096
2020-06-22T18:23:21.7699722Z     + ./#home#runner#work#cachegrand#cachegrand#src#hashtable#hashtable_support_index.c.gcov bytes=830
2020-06-22T18:23:21.7857815Z     + ./#home#runner#work#cachegrand#cachegrand#src#log.c.gcov bytes=4056
2020-06-22T18:23:21.8013127Z     + ./#home#runner#work#cachegrand#cachegrand#src#backtrace.c.gcov bytes=4972
2020-06-22T18:23:21.8174466Z     + ./#home#runner#work#cachegrand#cachegrand#src#pow2.c.gcov bytes=1145
2020-06-22T18:23:21.8333424Z     + ./#usr#lib#gcc#x86_64-linux-gnu#7#include#bmiintrin.h.gcov bytes=8675
2020-06-22T18:23:21.8504155Z     + ./#home#runner#work#cachegrand#cachegrand#src#hashtable#hashtable_op_get.c.gcov bytes=5173
2020-06-22T18:23:21.8670865Z     + ./#home#runner#work#cachegrand#cachegrand#src#hashtable#hashtable_support_hash_search_loop.c.gcov bytes=2052
2020-06-22T18:23:21.8837917Z     + ./#home#runner#work#cachegrand#cachegrand#src#log_debug.c.gcov bytes=3820
2020-06-22T18:23:21.8970183Z ==> Appending adjustments
2020-06-22T18:23:21.8970644Z     https ://docs.codecov.io/docs/fixing-reports
2020-06-22T18:23:21.9308807Z     + Found adjustments
2020-06-22T18:23:21.9347443Z ==> Gzipping contents
2020-06-22T18:23:21.9393115Z ==> Uploading reports
2020-06-22T18:23:21.9393894Z     url: https ://codecov.io
2020-06-22T18:23:21.9394916Z     query: branch=fix_code_coverage_with_codecov_try_3&commit=8aca4a52876cc552fd2c4a69b669efc157e35af2&build=143960836&build_url=http%3A%2F%2Fgithub.com%2Fdanielealbano%2Fcachegrand%2Factions%2Fruns%2F143960836&name=cachegrand-tests&tag=&slug=danielealbano%2Fcachegrand&service=github-actions&flags=unittests&pr=37&job=
2020-06-22T18:23:21.9434339Z     -> Pinging Codecov
2020-06-22T18:23:21.9435463Z https ://codecov.io/upload/v4?package=bash-20200602-f809a24&token=secret&branch=fix_code_coverage_with_codecov_try_3&commit=8aca4a52876cc552fd2c4a69b669efc157e35af2&build=143960836&build_url=http%3A%2F%2Fgithub.com%2Fdanielealbano%2Fcachegrand%2Factions%2Fruns%2F143960836&name=cachegrand-tests&tag=&slug=danielealbano%2Fcachegrand&service=github-actions&flags=unittests&pr=37&job=
2020-06-22T18:23:22.7797297Z     -> Uploading
2020-06-22T18:23:23.0761305Z     -> View reports at https://codecov.io/github/danielealbano/cachegrand/commit/850106c647c9b7c1a9a63f523e4d48be73f1cdc1

Additional Information

I am doing some special building for
src/hashtable/hashtable_support_op_arch.c

The same source file is built multiple times but with different compiler options, the OBJ files are in different target (cmake) folders but of course the source file is the same.

For instance, the code coverage is being generated properly testing gcov / lcov

I think the issue is being triggered when the tests run within the server running the GitHub workflow, I built an lcov action for github to be able to filter out and process what I wanted to include or not in the code coverage and also to simplify the integration with codecov.io and I see that when I run lcov on the execution performed by the tests on the github workflow server it process correctly the data files reports no coverage as well.

Hi @dalbano, this actually looks like a path fixing issue. Here is the raw report from the initial SHA you submitted. You’ll notice the paths that are provided at the top should match your repository. While the paths in the report e.g.


does not match up.

I’m not familiar enough here to give advice on what the actual addition to the codecov.yml should be, but let me know if there’s anything else I can do here to help.

Hey Tom, yes I thought the same but because I wasn’t able to sort it out ended up generating the reports with lcov and then ingesting them with codecov and that sorted out the problem.

In addition I can filter in advance what I want to send :smile:

Thanks!

1 Like

Amazing, glad that you got it figured out and now have more control!