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

Flaky Coveralls failures #813

Merged
merged 2 commits into from
Dec 11, 2024

Conversation

zeeke
Copy link
Member

@zeeke zeeke commented Dec 5, 2024

This PR wants to solve the failures of the Coveralls actions: sometimes, the function findNodePoolConfig(...) results in low coverage. This is probably because of some test flakiness.

Also, the CI invokes make test-controllers and CLUSTER_TYPE=openshift make test-controllers. Both steps overrides
cover-controllers.out and the proposed changes avoid this problem.

see following sample builds:

Copy link

github-actions bot commented Dec 5, 2024

Thanks for your PR,
To run vendors CIs, Maintainers can use one of:

  • /test-all: To run all tests for all vendors.
  • /test-e2e-all: To run all E2E tests for all vendors.
  • /test-e2e-nvidia-all: To run all E2E tests for NVIDIA vendor.

To skip the vendors CIs, Maintainers can use one of:

  • /skip-all: To skip all tests for all vendors.
  • /skip-e2e-all: To skip all E2E tests for all vendors.
  • /skip-e2e-nvidia-all: To skip all E2E tests for NVIDIA vendor.
    Best regards.

@zeeke zeeke changed the title Us/flaky coveralls Flaky Coveralls failures Dec 6, 2024
@zeeke zeeke force-pushed the us/flaky-coveralls branch from 77df5f8 to 1bd65a7 Compare December 6, 2024 09:34
@coveralls
Copy link

coveralls commented Dec 6, 2024

Pull Request Test Coverage Report for Build 12274846267

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 3 unchanged lines in 1 file lost coverage.
  • Overall coverage increased (+0.2%) to 47.264%

Files with Coverage Reduction New Missed Lines %
controllers/drain_controller_helper.go 3 62.62%
Totals Coverage Status
Change from base Build 12274658116: 0.2%
Covered Lines: 7204
Relevant Lines: 15242

💛 - Coveralls

).ToNot(HaveOccurred())
})

It("field is correctly written to the SriovNetworkNodePolicy", func() {
Copy link
Collaborator

Choose a reason for hiding this comment

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

*SriovNetworkNodePolicy

Copy link
Member Author

Choose a reason for hiding this comment

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

SriovNetworkNodeState?

@zeeke zeeke force-pushed the us/flaky-coveralls branch from 1bd65a7 to fdffa3d Compare December 11, 2024 10:52
@SchSeba SchSeba merged commit 7c9da38 into k8snetworkplumbingwg:master Dec 11, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants