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

WIP #7918

Closed
wants to merge 3 commits into from
Closed

WIP #7918

wants to merge 3 commits into from

Conversation

zihaoccc
Copy link
Contributor

Motivation

(Write your motivation for proposed changes here.)

Have you read the Contributing Guidelines on pull requests?

(Write your answer here.)

Test Plan

(Share your test plan here. If you changed code, please provide us with clear instructions for verifying that your changes work.)

Related PRs

(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/diem/diem/tree/main/developers.diem.com, and link to your PR here.)

If targeting a release branch, please fill the below out as well

  • Justification and breaking nature (who does it affect? validators, full nodes, tooling, operators, AOS, etc.)
  • Comprehensive test results that demonstrate the fix working and not breaking existing workflows.
  • Why we must have it for V1 launch.
  • What workarounds and alternative we have if we do not push the PR.

@zihaoccc
Copy link
Contributor Author

/canary

@bors-libra bors-libra moved this from In Review to Canary in bors Mar 14, 2021
bors-libra pushed a commit that referenced this pull request Mar 14, 2021
Closes: #7918
@bors-libra
Copy link
Contributor

💔 Test Failed - ci-test-success

@bors-libra bors-libra moved this from Canary to In Review in bors Mar 14, 2021
@zihaoccc
Copy link
Contributor Author

/canary

bors-libra pushed a commit that referenced this pull request Mar 14, 2021
Closes: #7918
@bors-libra bors-libra moved this from In Review to Canary in bors Mar 14, 2021
@bors-libra
Copy link
Contributor

💔 Test Failed - ci-test-success

@bors-libra bors-libra moved this from Canary to In Review in bors Mar 14, 2021
@zihaoccc
Copy link
Contributor Author

/canary

bors-libra pushed a commit that referenced this pull request Mar 14, 2021
Closes: #7918
@bors-libra bors-libra moved this from In Review to Canary in bors Mar 14, 2021
@bors-libra
Copy link
Contributor

💔 Test Failed - ci-test-success

@bors-libra bors-libra moved this from Canary to In Review in bors Mar 14, 2021
@zihaoccc
Copy link
Contributor Author

/canary

bors-libra pushed a commit that referenced this pull request Mar 14, 2021
Closes: #7918
@bors-libra bors-libra moved this from In Review to Canary in bors Mar 14, 2021
@bors-libra bors-libra moved this from Canary to In Review in bors Mar 14, 2021
@zihaoccc
Copy link
Contributor Author

/canary

bors-libra pushed a commit that referenced this pull request Mar 14, 2021
Closes: #7918
@bors-libra bors-libra moved this from In Review to Canary in bors Mar 14, 2021
@bors-libra bors-libra moved this from Canary to In Review in bors Mar 14, 2021
@zihaoccc
Copy link
Contributor Author

/canary

bors-libra pushed a commit that referenced this pull request Mar 14, 2021
Closes: #7918
@bors-libra bors-libra moved this from In Review to Canary in bors Mar 14, 2021
@zihaoccc
Copy link
Contributor Author

/canary

bors-libra pushed a commit that referenced this pull request Mar 16, 2021
Closes: #7918
@bors-libra bors-libra moved this from In Review to Canary in bors Mar 16, 2021
@github-actions
Copy link

Cluster Test Result

Test runner setup time spent 250 secs
all up : 949 TPS, 4786 ms latency, 5500 ms p99 latency, no expired txns, time spent 270 secs
Logs: http://kibana.ct-1-k8s-testnet.aws.hlw3truzy4ls.com/app/kibana#/discover?_g=(time:(from:'2021-03-16T03:04:38Z',to:'2021-03-16T03:15:13Z'))
Dashboard: http://grafana.ct-1-k8s-testnet.aws.hlw3truzy4ls.com/d/performance/performance?from=1615863878000&to=1615864513000
Validator 1 logs: http://kibana.ct-1-k8s-testnet.aws.hlw3truzy4ls.com/app/kibana#/discover?_g=(time:(from:'2021-03-16T03:04:38Z',to:'2021-03-16T03:15:13Z'))&_a=(columns:!(log),query:(language:kuery,query:'kubernetes.pod_name:"val-1"'),sort:!(!('@timestamp',desc)))

Repro cmd:

./scripts/cti --tag land_1428fabc -E RUST_LOG=debug --report report.json --suite land_blocking

🎉 Land-blocking cluster test passed! 👌

@bors-libra
Copy link
Contributor

☀️ Canary successful

@bors-libra bors-libra moved this from Canary to In Review in bors Mar 16, 2021
@zihaoccc
Copy link
Contributor Author

/canary

bors-libra pushed a commit that referenced this pull request Mar 16, 2021
@bors-libra bors-libra moved this from In Review to Canary in bors Mar 16, 2021
@github-actions
Copy link

Cluster Test Result

Test runner setup time spent 265 secs
all up : 949 TPS, 4792 ms latency, 5550 ms p99 latency, no expired txns, time spent 271 secs
Logs: http://kibana.ct-1-k8s-testnet.aws.hlw3truzy4ls.com/app/kibana#/discover?_g=(time:(from:'2021-03-16T03:42:56Z',to:'2021-03-16T03:53:50Z'))
Dashboard: http://grafana.ct-1-k8s-testnet.aws.hlw3truzy4ls.com/d/performance/performance?from=1615866176000&to=1615866830000
Validator 1 logs: http://kibana.ct-1-k8s-testnet.aws.hlw3truzy4ls.com/app/kibana#/discover?_g=(time:(from:'2021-03-16T03:42:56Z',to:'2021-03-16T03:53:50Z'))&_a=(columns:!(log),query:(language:kuery,query:'kubernetes.pod_name:"val-1"'),sort:!(!('@timestamp',desc)))

Repro cmd:

./scripts/cti --tag land_02cfb63e -E RUST_LOG=debug --report report.json --suite land_blocking

🎉 Land-blocking cluster test passed! 👌

@bors-libra
Copy link
Contributor

☀️ Canary successful

@bors-libra bors-libra moved this from Canary to In Review in bors Mar 16, 2021
@zihaoccc zihaoccc force-pushed the test_p1 branch 3 times, most recently from 943c44f to 9002e88 Compare March 16, 2021 17:38
@libra-action
Copy link

LSR dependency change summary:

host packages:
  M syn 1.0.64 (direct third-party, crates.io)
    * version upgraded from 1.0.62
    * (unchanged features: clone-impls, default, derive, extra-traits, full, parsing, printing, proc-macro, quote, visit)

@libra-action
Copy link

LEC dependency change summary:

host packages:
  M syn 1.0.64 (direct third-party, crates.io)
    * version upgraded from 1.0.62
    * (unchanged features: clone-impls, default, derive, extra-traits, full, parsing, printing, proc-macro, quote, visit, visit-mut)

@libra-action
Copy link

release binaries dependency change summary:

target packages:
  A move-stdlib 0.1.0 (workspace, path 'language/move-stdlib')
    * features: [none]
  M serde-generate 0.19.1 (direct third-party, crates.io)
    * version upgraded from 0.19.0
    * (unchanged features: [none])
  M regex-syntax 0.6.23 (transitive third-party, crates.io)
    * version upgraded from 0.6.22
    * (unchanged features: default, unicode, unicode-age, unicode-bool, unicode-case, unicode-gencat, unicode-perl, unicode-script, unicode-segment)

host packages:
  M syn 1.0.64 (direct third-party, crates.io)
    * version upgraded from 1.0.62
    * (unchanged features: clone-impls, default, derive, extra-traits, fold, full, parsing, printing, proc-macro, quote, visit, visit-mut)
  M regex-syntax 0.6.23 (transitive third-party, crates.io)
    * version upgraded from 0.6.22
    * (unchanged features: default, unicode, unicode-age, unicode-bool, unicode-case, unicode-gencat, unicode-perl, unicode-script, unicode-segment)

@MIRAI-bot
Copy link

Hey hey!

It looks like #wannabe-land-blocking found some issues that are not yet land blocking, but will be in the future.
Please fix these:

click here to reveal them
warning: integer arithmetic detected
   --> execution/executor-benchmark/src/lib.rs:298:13
    |
298 |             total_transactions += num_txns;
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#integer_arithmetic

warning: integer arithmetic detected
--> language/move-core/types/src/account_address.rs:56:22
|
56 | if hex_len < Self::LENGTH * 2 {
| ^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#integer_arithmetic

warning: integer arithmetic detected
--> language/move-core/types/src/account_address.rs:57:53
|
57 | let mut hex_str = String::with_capacity(Self::LENGTH * 2);
| ^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#integer_arithmetic

warning: integer arithmetic detected
--> language/move-core/types/src/account_address.rs:58:25
|
58 | for _ in 0..Self::LENGTH * 2 - hex_len {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#integer_arithmetic

warning: integer arithmetic detected
--> language/move-lang/src/naming/uses.rs:157:22
|
157 | let node = cycle[len - 2];
| ^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#integer_arithmetic

warning: integer arithmetic detected
--> language/move-lang/src/naming/uses.rs:158:26
|
158 | let neighbor = cycle[len - 1];
| ^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#integer_arithmetic

warning: integer arithmetic detected
--> language/move-lang/src/to_bytecode/translate.rs:72:29
|
72 | orderings.insert(m, mdef.dependency_order + 1 + max_ordering);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#integer_arithmetic

warning: integer arithmetic detected
--> testsuite/cluster-test/src/experiments/versioning_test.rs:215:9
|
215 | diem_root_account.sequence_number += 1;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#integer_arithmetic

warning: integer arithmetic detected
--> testsuite/cluster-test/src/experiments/versioning_test.rs:221:9
|
221 | account.sequence_number += 1;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#integer_arithmetic

warning: integer arithmetic detected
--> testsuite/cluster-test/src/experiments/versioning_test.rs:229:29
|
229 | Duration::from_secs(15 * 60)
| ^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#integer_arithmetic

@zihaoccc zihaoccc closed this Mar 16, 2021
@bors-libra bors-libra removed this from In Review in bors Mar 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants