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

agent: fix make test #266

Merged
merged 1 commit into from
Dec 12, 2024
Merged

agent: fix make test #266

merged 1 commit into from
Dec 12, 2024

Conversation

Sumynwa
Copy link

@Sumynwa Sumynwa commented Dec 10, 2024

Merge Checklist
  • Followed patch format from upstream recommendation: https://github.com/kata-containers/community/blob/main/CONTRIBUTING.md#patch-format
    • Included a single commit in a given PR - at least unless there are related commits and each makes sense as a change on its own.
  • Aware about the PR to be merged using "create a merge commit" rather than "squash and merge" (or similar)
  • The upstream/missing label (or upstream/not-needed) has been set on the PR.
Summary

This commit fixes failing tests

  • test_get_device_name()
  • test_virtio_blk_matcher()

The changes correctly constructs VirtioBlkPciMatcher.

Commit c905577 for hotplugging block devices on PCI segments >= 1 modified VirtioBlkPciMatcher::new() to take the complete pci sysfs
path instead of only the relative path.

Test Methodology

@Sumynwa Sumynwa requested review from a team as code owners December 10, 2024 10:10
@Sumynwa Sumynwa added the upstream/not-needed PRs that will not be upstreamed (e.g. internal) label Dec 10, 2024
@Sumynwa Sumynwa force-pushed the sumsharma/pr_agent_make branch from defa3b9 to 2ec1e51 Compare December 10, 2024 19:21
@sprt
Copy link
Collaborator

sprt commented Dec 10, 2024

@Sumynwa In your commit message please include both the WHAT and the WHY, and any context that can help understand this change - pretty vital when sorting through old commits 🙂

This commit fixes failing tests of test_get_device_name() &
test_virtio_blk_matcher() by correctly constructing VirtioBlkPciMatcher.
Commit c905577 for hotplugging block devices on PCI segments >= 1
modified VirtioBlkPciMatcher::new() to take the complete pci sysfs
path instead of only the relative path.

Signed-off-by: Sumedh Alok Sharma <[email protected]>
@Sumynwa Sumynwa force-pushed the sumsharma/pr_agent_make branch from 2ec1e51 to e8c73d9 Compare December 10, 2024 19:40
@arc9693
Copy link

arc9693 commented Dec 11, 2024

can we also fix the make check as part of this PR? Just cargo format update.

@Sumynwa Sumynwa requested a review from danmihai1 December 12, 2024 05:15
@Sumynwa
Copy link
Author

Sumynwa commented Dec 12, 2024

can we also fix the make check as part of this PR? Just cargo format update.

I will raise that in a separate PR. Thanks @arc9693

Copy link

@danmihai1 danmihai1 left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this, @Sumynwa !

@Sumynwa Sumynwa merged commit 3d6665c into msft-main Dec 12, 2024
115 of 156 checks passed
@Sumynwa Sumynwa deleted the sumsharma/pr_agent_make branch December 12, 2024 18:23
sprt pushed a commit that referenced this pull request Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upstream/not-needed PRs that will not be upstreamed (e.g. internal)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants