xapi-project / xen-api

The Xapi Project's XenAPI Server
http://xenproject.org/developers/teams/xapi.html
Other
342 stars 282 forks source link

Merge `feature/vm-anti-affinity` to `master` #5765

Closed BengangY closed 4 days ago

BengangY commented 6 days ago

Merge feature/vm-anti-affinity to master

coveralls commented 6 days ago

Coverage Status

coverage: 44.887%. remained the same when pulling 769ffbad9e3f62b87f1d943c23cf999078b76fb4 on BengangY:private/bengangy/vm-anti-affinity-to-master into 2008661e9cc6f0593b3727f608a9455f62478424 on xapi-project:master.

coveralls commented 6 days ago

Coverage Status

coverage: 44.887%. remained the same when pulling daa687c36ec17a280e797f38ec867d57290f6584 on BengangY:private/bengangy/vm-anti-affinity-to-master into 2008661e9cc6f0593b3727f608a9455f62478424 on xapi-project:master.

gangj commented 6 days ago

The last commit in the source branch: https://github.com/BengangY/xen-api/commit/daa687c36ec17a280e797f38ec867d57290f6584 is not in the feature branch yet, I think you should first have a PR to merge master into the feature branch.

coveralls commented 6 days ago

Coverage Status

coverage: 44.887%. remained the same when pulling c4e9238a9f7637fcf3feb125cc8bce3385804c2f on BengangY:private/bengangy/vm-anti-affinity-to-master into f11657e4c69cb1fc6ef03aeb921fcbf61a915180 on xapi-project:master.

edwintorok commented 6 days ago

The schema hash needs to be updated to fix the CI failure.

coveralls commented 6 days ago

Coverage Status

coverage: 44.887%. remained the same when pulling 813b3b5387f3c4776fc635e872e11d412801c750 on BengangY:private/bengangy/vm-anti-affinity-to-master into ee8e80032f17c97e0f2aa4952a531b81a5c0ce94 on xapi-project:master.

gangj commented 5 days ago

` $ git show 813b3b538 commit 813b3b5387f3c4776fc635e872e11d412801c750 (HEAD -> private/bengangy/vm-anti-affinity-to-master, bengang_github/private/bengangy/vm-anti-affinity-to-master) Merge: 6cd2d82f2 f11657e4c Author: Bengang Yuan 118869129+BengangY@users.noreply.github.com Date: Tue Jul 2 18:11:42 2024 +0800

Merge branch 'master' into feature/vm-anti-affinity

Signed-off-by: Bengang Yuan <bengang.yuan@cloud.com>

diff --cc ocaml/idl/schematest.ml index 1d48ba780,8ec116452..f2ee8fe4b --- a/ocaml/idl/schematest.ml +++ b/ocaml/idl/schematest.ml @@@ -3,7 -3,7 +3,7 @@@ let hash x = Digest.string x |> Digest. ( BEWARE: if this changes, check that schema has been bumped accordingly in ocaml/idl/datamodel_common.ml, usually schema_minor_vsn )

- let last_known_schema_hash = "92e75e20c5d0e319b0df73145be12b8e" -let last_known_schema_hash = "e34cd0d32cdcec7805c2d3ed4e4a0c25" ++let last_known_schema_hash = "efdb1c7e536362523741ccdb7f33f797"

let current_schema_hash : string = let open Datamodel_types in diff --cc quality-gate.sh index 09cd3ef06,7bc8f35cf..b504ed69d --- a/quality-gate.sh +++ b/quality-gate.sh @@@ -25,7 -25,7 +25,7 @@@ verify-cert () }

mli-files () { - N=516 - N=514 ++ N=515 # do not count ml files from the tests in ocaml/{tests/perftest/quicktest} MLIS=$(git ls-files -- '*/.mli' | grep -vE "ocaml/tests|ocaml/perftest|ocaml/quicktest|ocaml/message-switch/core_test" | xargs -I {} sh -c "echo {} | cut -f 1 -d '.'" \;) MLS=$(git ls-files -- '*/.ml' | grep -vE "ocaml/tests|ocaml/perftest|ocaml/quicktest|ocaml/message-switch/core_test" | xargs -I {} sh -c "echo {} | cut -f 1 -d '.'" \;) `

@BengangY I see ml files without mli increased from 514 to 515, there is a new file from feature/vm-anti-affinity added without a mli?

BengangY commented 5 days ago

` $ git show 813b3b5 commit 813b3b5 (HEAD -> private/bengangy/vm-anti-affinity-to-master, bengang_github/private/bengangy/vm-anti-affinity-to-master) Merge: 6cd2d82 f11657e Author: Bengang Yuan 118869129+BengangY@users.noreply.github.com Date: Tue Jul 2 18:11:42 2024 +0800

Merge branch 'master' into feature/vm-anti-affinity

Signed-off-by: Bengang Yuan <bengang.yuan@cloud.com>

diff --cc ocaml/idl/schematest.ml index 1d48ba780,8ec116452..f2ee8fe4b --- a/ocaml/idl/schematest.ml +++ b/ocaml/idl/schematest.ml @@@ -3,7 -3,7 +3,7 @@@ let hash x = Digest.string x |> Digest. ( BEWARE: if this changes, check that schema has been bumped accordingly in ocaml/idl/datamodel_common.ml, usually schema_minor_vsn )

  • let last_known_schema_hash = "92e75e20c5d0e319b0df73145be12b8e" -let last_known_schema_hash = "e34cd0d32cdcec7805c2d3ed4e4a0c25" ++let last_known_schema_hash = "efdb1c7e536362523741ccdb7f33f797"

let current_schema_hash : string = let open Datamodel_types in diff --cc quality-gate.sh index 09cd3ef06,7bc8f35cf..b504ed69d --- a/quality-gate.sh +++ b/quality-gate.sh @@@ -25,7 -25,7 +25,7 @@@ verify-cert () }

mli-files () { - N=516 - N=514 ++ N=515 # do not count ml files from the tests in ocaml/{tests/perftest/quicktest} MLIS=$(git ls-files -- '*/.mli' | grep -vE "ocaml/tests|ocaml/perftest|ocaml/quicktest|ocaml/message-switch/core_test" | xargs -I {} sh -c "echo {} | cut -f 1 -d '.'" ;) MLS=$(git ls-files -- '*/.ml' | grep -vE "ocaml/tests|ocaml/perftest|ocaml/quicktest|ocaml/message-switch/core_test" | xargs -I {} sh -c "echo {} | cut -f 1 -d '.'" ;) `

@BengangY I see ml files without mli increased from 514 to 515, there is a new file from feature/vm-anti-affinity added without a mli?

This feature added datamodel_vm_group.ml without an mli file. But seems there is no mil file for the most of other datamodel files.