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

[Bug]: coverage test in CI is not running cmd/mo-service tests #18792

Closed
1 task done
reusee opened this issue Sep 14, 2024 · 1 comment
Closed
1 task done

[Bug]: coverage test in CI is not running cmd/mo-service tests #18792

reusee opened this issue Sep 14, 2024 · 1 comment
Assignees
Labels
kind/bug Something isn't working
Milestone

Comments

@reusee
Copy link
Contributor

reusee commented Sep 14, 2024

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Branch Name

main

Commit ID

955e00b

Other Environment Information

- Hardware parameters:
- OS type:
- Others:

Actual Behavior

Tests in cmd/mo-service are not run causing this PR to fail: #18788

The conntrack module needs root permission to run, so it's ignored in the BVT tests:

Screenshot from 2024-09-14 10-26-11

In the UT coverage tests, the cmd/mo-service package is ignored, resulting in no coverage info.

Expected Behavior

Tests in the cmd/mo-service should be run in coverage tests in CI.
Even without root permission, the coverage should be like:
Screenshot from 2024-09-14 10-31-29

Steps to Reproduce

pr CI.

Additional information

No response

@guguducken
Copy link
Contributor

@guguducken guguducken assigned reusee and unassigned guguducken Sep 14, 2024
@reusee reusee closed this as completed Sep 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants