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

build(deps): bump rust-vmm-ci from 589b6b1 to 9751aaa #258

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 5, 2023

Bumps rust-vmm-ci from 589b6b1 to 9751aaa.

Commits
  • 9751aaa README: Fix link to setup_new_repo.md
  • 665f31f Add Rust unittest so that test_coverage properly self-tests
  • 2148c04 Update container version to 26
  • 412ecd5 Have coverage test use llvm-cov instead of cargo-kcov
  • 7c1057e test_commit_format: no longer check body length
  • 9dfe5b2 Use derivatives of BaseException for exceptions
  • 7e9af57 test: Update code coverage test
  • 56bfdc9 test: Format with black
  • 285971e Update container version to 24
  • See full diff in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 5, 2023
Ablu added a commit to Ablu/vm-virtio that referenced this pull request Oct 12, 2023
This warning is new in latest Rust and breaks when updating the CI
environment [1].

[1] rust-vmm#258

Signed-off-by: Erik Schilling <erik.schilling@linaro.org>
@Ablu Ablu mentioned this pull request Oct 12, 2023
4 tasks
@Ablu
Copy link
Contributor

Ablu commented Oct 12, 2023

Depends on #263. Not sure why the coverage tanked though...

epilys pushed a commit that referenced this pull request Oct 16, 2023
This warning is new in latest Rust and breaks when updating the CI
environment [1].

[1] #258

Signed-off-by: Erik Schilling <erik.schilling@linaro.org>
@Ablu
Copy link
Contributor

Ablu commented Oct 16, 2023

Can someone do @dependabot rebase here?

@epilys
Copy link
Member

epilys commented Oct 16, 2023

@dependabot rebase

Bumps [rust-vmm-ci](https://github.com/rust-vmm/rust-vmm-ci) from `589b6b1` to `9751aaa`.
- [Commits](rust-vmm/rust-vmm-ci@589b6b1...9751aaa)

---
updated-dependencies:
- dependency-name: rust-vmm-ci
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/submodules/rust-vmm-ci-9751aaa branch from d627bbe to f97599f Compare October 16, 2023 09:51
@epilys
Copy link
Member

epilys commented Oct 16, 2023

ValueError: Current code coverage (58.72%) deviates by 30.38% from the previous code coverage 89.10%.Current code coverage must be within the range 89.10%..89.60%.Please update the coverage in coverage_config_x86_64.json.

Huh?..

@stefano-garzarella
Copy link
Member

ValueError: Current code coverage (58.72%) deviates by 30.38% from the previous code coverage 89.10%.Current code coverage must be within the range 89.10%..89.60%.Please update the coverage in coverage_config_x86_64.json.

Huh?..

mmm, strange! Could that be related to rust-vmm/rust-vmm-ci#133 ? @roypat any suggestion?

@andreeaflorescu
Copy link
Member

Considering how big the difference is I don't think is related only to that. I would guess that the tests for some crates are no longer running 🤷‍♀️ otherwise it doesn't make sense. For the other crates the difference was only a few percentages.

@roypat
Copy link
Contributor

roypat commented Oct 18, 2023

Sorry, I was out sick until today and only saw this now :(

I think its because the exclude_path in coverage_config_x86_64.json needs to be updated, the syntax here changed slightly with rust-vmm/rust-vmm-ci#132. Iirc its a regex on the filename now, so maybe changing it to virtio-bindings|mock\.rs will fix it? 😅
`

@stefano-garzarella
Copy link
Member

@roypat good point!

We can also just replace the , with | and it works, something like this:

diff --git a/coverage_config_x86_64.json b/coverage_config_x86_64.json
index bf4b322..5d42b9a 100644
--- a/coverage_config_x86_64.json
+++ b/coverage_config_x86_64.json
@@ -1,5 +1,5 @@
 {
   "coverage_score": 89.1,
-  "exclude_path": "crates/virtio-bindings,crates/virtio-queue/src/mock.rs",
+  "exclude_path": "crates/virtio-bindings|crates/virtio-queue/src/mock.rs",
   "crate_features": "virtio-blk/backend-stdio"
 }

But we need to fix test_coverage.py and put the -ignore-filename-regex argument between double quotes, otherwise it fails. I'll send a patch.

@stefano-garzarella
Copy link
Member

PR here: rust-vmm/rust-vmm-ci#137
When it will be merged, we can ask dependabot to update this PR and I will update the coverage_config files.

@roypat
Copy link
Contributor

roypat commented Oct 20, 2023

@dependabot rebase

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 20, 2023

Looks like this PR is already up-to-date with main! If you'd still like to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

@roypat
Copy link
Contributor

roypat commented Oct 20, 2023

how do we get it to pick up the new commits from rust-vmm-ci? 🤔

@epilys
Copy link
Member

epilys commented Oct 21, 2023

@dependabot recreate

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 21, 2023

Superseded by #264.

@dependabot dependabot bot closed this Oct 21, 2023
@dependabot dependabot bot deleted the dependabot/submodules/rust-vmm-ci-9751aaa branch October 21, 2023 07:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants