Skip to content
This repository was archived by the owner on Jun 28, 2024. It is now read-only.

CI: codecov/patch check issue #508

Closed
bergwolf opened this issue Jul 18, 2018 · 4 comments
Closed

CI: codecov/patch check issue #508

bergwolf opened this issue Jul 18, 2018 · 4 comments

Comments

@bergwolf
Copy link
Member

Not sure if this is the right place to raise this but I want to raise an issue w.r.t. codecov/patch check in out PR CI check list, after digging through a failure in kata-containers/runtime/pull/458.

The codecov failure on that PR (codecov/patch — 39.13% of diff hit (target 64.16%)) looks bogus since clearly the patch is already properly tested with UT.

Looking at https://codecov.io/gh/kata-containers/runtime/commit/b821a5df4c1adb154613b80f981ba16684ed8b80, the change in kata_agent.go is clearly covered by UT in kata_agent_test.go but the patch diff coverage for kata_agent.so is reported as 0%.

This looks to be an issue on codecov.io side. I would suggest we either remove codecov/patch, or always ignore it during reviewing.

@egernst @sboeuf @jodh-intel @grahamwhaley @WeiZhang555 @gnawux WDYT?

@sboeuf
Copy link

sboeuf commented Jul 18, 2018

@bergwolf I agree I've seen many codecov/patch weird behavior compared to codecov/project which was always properly reporting the coverage as expected.
Unless someone thinks codecov/patch is needed for a good reason, I think keeping codecov/project only will be enough.

@sboeuf
Copy link

sboeuf commented Jul 18, 2018

/cc @chavafg

@sboeuf
Copy link

sboeuf commented Jul 20, 2018

@kata-containers/tests any opinion on this ?

@jodh-intel
Copy link
Contributor

+1 to removing patch.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants