aptos-labs / aptos-core

Aptos is a layer 1 blockchain built to support the widespread use of blockchain through better technology and user experience.
https://aptosfoundation.org
Other
5.85k stars 3.54k forks source link

build debug image #13213

Closed zjma closed 1 week ago

zjma commented 1 week ago

Description

Type of Change

Which Components or Systems Does This Change Impact?

How Has This Been Tested?

Key Areas to Review

Checklist

trunk-io[bot] commented 1 week ago
⏱️ 6h 11m total CI duration on this PR | Job | Cumulative Duration | Recent Runs | |---|---|---| | [rust-smoke-tests](https://github.com/aptos-labs/aptos-core/actions/runs/8976495229/job/24653477085) | 1h 10m | [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8975513200/job/24650284634) [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8976495229/job/24653477085)  | | [rust-unit-tests](https://github.com/aptos-labs/aptos-core/actions/runs/8976495229/job/24653476586) | 57m | [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8975513200/job/24650284417) [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8976495229/job/24653476586)  | | [execution-performance / single-node-performance](https://github.com/aptos-labs/aptos-core/actions/runs/8976495282/job/24653476771) | 49m | [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8975513212/job/24650281809) [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8976495282/job/24653476771)  | | [rust-move-tests](https://github.com/aptos-labs/aptos-core/actions/runs/8976495230/job/24653475384) | 32m | [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8975513189/job/24650285207) [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8976495230/job/24653475384)  | | [forge-e2e-test / forge](https://github.com/aptos-labs/aptos-core/actions/runs/8976495123/job/24653964847) | 32m | [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8975513285/job/24650775419) [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8976495123/job/24653964847)  | | [rust-images / rust-all](https://github.com/aptos-labs/aptos-core/actions/runs/8976495123/job/24653476220) | 30m | [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8975513285/job/24650282879) [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8976495123/job/24653476220)  | | [forge-compat-test / forge](https://github.com/aptos-labs/aptos-core/actions/runs/8976495123/job/24653964667) | 29m | [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8975513285/job/24650775221) [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8976495123/job/24653964667)  | | [rust-lints](https://github.com/aptos-labs/aptos-core/actions/runs/8976495229/job/24653475660) | 15m | [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8975513200/job/24650283971) [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8976495229/job/24653475660)  | | [cli-e2e-tests / run-cli-tests](https://github.com/aptos-labs/aptos-core/actions/runs/8976495123/job/24653963901) | 12m | [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8975513285/job/24650774362) [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8976495123/job/24653963901)  | | [run-tests-main-branch](https://github.com/aptos-labs/aptos-core/actions/runs/8976495110/job/24653481099) | 9m | [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8975513230/job/24650291071) [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8976495110/job/24653481099)  | | [rust-build-cached-packages](https://github.com/aptos-labs/aptos-core/actions/runs/8976495229/job/24653476894) | 8m | [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8975513200/job/24650284833) [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8976495229/job/24653476894)  | | [check](https://github.com/aptos-labs/aptos-core/actions/runs/8976495231/job/24653465602) | 8m | [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8975513190/job/24650267658) [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8976495231/job/24653465602)  | | [indexer-grpc-e2e-tests / test-indexer-grpc-docker-compose](https://github.com/aptos-labs/aptos-core/actions/runs/8976495123/job/24653963708) | 5m | [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8975513285/job/24650774559) [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8976495123/job/24653963708)  | | [general-lints](https://github.com/aptos-labs/aptos-core/actions/runs/8976495229/job/24653475995) | 5m | [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8975513200/job/24650284225) [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8976495229/job/24653475995)  | | [check-dynamic-deps](https://github.com/aptos-labs/aptos-core/actions/runs/8976495235/job/24653465285) | 4m | [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8975512624/job/24650263955) [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8975513196/job/24650266504) [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8976495235/job/24653465285)  | | [node-api-compatibility-tests / node-api-compatibility-tests](https://github.com/aptos-labs/aptos-core/actions/runs/8976495123/job/24653964138) | 2m | [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8975513285/job/24650774766) [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8976495123/job/24653964138)  | | [semgrep/ci](https://github.com/aptos-labs/aptos-core/actions/runs/8976495236/job/24653465247) | 1m | [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8975512627/job/24650263839) [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8975513192/job/24650266490) [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8976495236/job/24653465247)  | | [file_change_determinator](https://github.com/aptos-labs/aptos-core/actions/runs/8976495230/job/24653465769) | 31s | [⬜](https://github.com/aptos-labs/aptos-core/actions/runs/8975512630/job/24650264610) [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8975513189/job/24650274596) [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8976495230/job/24653465769)  | | [execution-performance / file_change_determinator](https://github.com/aptos-labs/aptos-core/actions/runs/8976495282/job/24653465579) | 30s | [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8975513212/job/24650267369) [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8976495282/job/24653465579)  | | [file_change_determinator](https://github.com/aptos-labs/aptos-core/actions/runs/8976495110/job/24653470508) | 29s | [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8975513230/job/24650277471) [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8976495110/job/24653470508)  | | [file_change_determinator](https://github.com/aptos-labs/aptos-core/actions/runs/8976495123/job/24653470126) | 29s | [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8975513285/job/24650275237) [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8976495123/job/24653470126)  | | [file_change_determinator](https://github.com/aptos-labs/aptos-core/actions/runs/8976495229/job/24653465604) | 28s | [⬜](https://github.com/aptos-labs/aptos-core/actions/runs/8975512632/job/24650264785) [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8975513200/job/24650272258) [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8976495229/job/24653465604)  | | [permission-check](https://github.com/aptos-labs/aptos-core/actions/runs/8976495102/job/24653464757) | 14s | [⬜](https://github.com/aptos-labs/aptos-core/actions/runs/8975512564/job/24650264367) [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8975513229/job/24650270891) [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8976495102/job/24653464757)  | | [permission-check](https://github.com/aptos-labs/aptos-core/actions/runs/8976495117/job/24653464622) | 12s | [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8975512559/job/24650263696) [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8975513235/job/24650266880) [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8976495117/job/24653464622)  | | [permission-check](https://github.com/aptos-labs/aptos-core/actions/runs/8976495110/job/24653464778) | 6s | [⬜](https://github.com/aptos-labs/aptos-core/actions/runs/8975512567/job/24650264227) [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8975513230/job/24650271337) [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8976495110/job/24653464778)  | | [permission-check](https://github.com/aptos-labs/aptos-core/actions/runs/8976495107/job/24653464708) | 6s | [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8975512563/job/24650263534) [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8975513236/job/24650266900) [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8976495107/job/24653464708)  | | [determine-docker-build-metadata](https://github.com/aptos-labs/aptos-core/actions/runs/8976495123/job/24653469886) | 6s | [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8975513285/job/24650274913) [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8976495123/job/24653469886)  | | [permission-check](https://github.com/aptos-labs/aptos-core/actions/runs/8976495123/job/24653465151) | 4s | [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8975513285/job/24650268169) [🟩](https://github.com/aptos-labs/aptos-core/actions/runs/8976495123/job/24653465151)  |

🚨 2 jobs on the last run were significantly faster/slower than expected

Job Duration vs 7d avg Delta
rust-move-tests 14m 8m +66%
rust-images / rust-all 17m 13m +28%

settingsfeedbackdocs ⋅ learn more about trunk.io

github-actions[bot] commented 1 week ago

Forge is running suite realistic_env_max_load on fc8acd78dd210d270f932cdc1c4f95971086876f

github-actions[bot] commented 1 week ago

Forge is running suite compat on aptos-node-v1.10.1 ==> fc8acd78dd210d270f932cdc1c4f95971086876f

github-actions[bot] commented 1 week ago

:white_check_mark: Forge suite compat success on aptos-node-v1.10.1 ==> fc8acd78dd210d270f932cdc1c4f95971086876f

Compatibility test results for aptos-node-v1.10.1 ==> fc8acd78dd210d270f932cdc1c4f95971086876f (PR)
1. Check liveness of validators at old version: aptos-node-v1.10.1
compatibility::simple-validator-upgrade::liveness-check : committed: 5811 txn/s, latency: 5646 ms, (p50: 5000 ms, p90: 8400 ms, p99: 15100 ms), latency samples: 203400
2. Upgrading first Validator to new version: fc8acd78dd210d270f932cdc1c4f95971086876f
compatibility::simple-validator-upgrade::single-validator-upgrade : committed: 1860 txn/s, latency: 15785 ms, (p50: 18600 ms, p90: 22100 ms, p99: 22300 ms), latency samples: 93000
3. Upgrading rest of first batch to new version: fc8acd78dd210d270f932cdc1c4f95971086876f
compatibility::simple-validator-upgrade::half-validator-upgrade : committed: 1585 txn/s, latency: 17640 ms, (p50: 19600 ms, p90: 23200 ms, p99: 24000 ms), latency samples: 82420
4. upgrading second batch to new version: fc8acd78dd210d270f932cdc1c4f95971086876f
compatibility::simple-validator-upgrade::rest-validator-upgrade : committed: 2744 txn/s, latency: 10088 ms, (p50: 9900 ms, p90: 15900 ms, p99: 19600 ms), latency samples: 129000
5. check swarm health
Compatibility test for aptos-node-v1.10.1 ==> fc8acd78dd210d270f932cdc1c4f95971086876f passed
Test Ok
github-actions[bot] commented 1 week ago

:white_check_mark: Forge suite realistic_env_max_load success on fc8acd78dd210d270f932cdc1c4f95971086876f

two traffics test: inner traffic : committed: 8010 txn/s, latency: 4902 ms, (p50: 4500 ms, p90: 5800 ms, p99: 12300 ms), latency samples: 3452320
two traffics test : committed: 100 txn/s, latency: 1906 ms, (p50: 1900 ms, p90: 2200 ms, p99: 5500 ms), latency samples: 1760
Latency breakdown for phase 0: ["QsBatchToPos: max: 0.213, avg: 0.203", "QsPosToProposal: max: 0.277, avg: 0.201", "ConsensusProposalToOrdered: max: 0.477, avg: 0.433", "ConsensusOrderedToCommit: max: 0.414, avg: 0.391", "ConsensusProposalToCommit: max: 0.875, avg: 0.824"]
Max round gap was 1 [limit 4] at version 2573. Max no progress secs was 6.473813 [limit 15] at version 1668950.
Test Ok
github-actions[bot] commented 1 week ago

Forge is running suite realistic_env_max_load on b68b5ec77776345912ff684fa0e614a832b5e584

github-actions[bot] commented 1 week ago

Forge is running suite compat on aptos-node-v1.10.1 ==> b68b5ec77776345912ff684fa0e614a832b5e584

github-actions[bot] commented 1 week ago

:white_check_mark: Forge suite compat success on aptos-node-v1.10.1 ==> b68b5ec77776345912ff684fa0e614a832b5e584

Compatibility test results for aptos-node-v1.10.1 ==> b68b5ec77776345912ff684fa0e614a832b5e584 (PR)
1. Check liveness of validators at old version: aptos-node-v1.10.1
compatibility::simple-validator-upgrade::liveness-check : committed: 6431 txn/s, latency: 5086 ms, (p50: 4800 ms, p90: 9000 ms, p99: 10200 ms), latency samples: 231520
2. Upgrading first Validator to new version: b68b5ec77776345912ff684fa0e614a832b5e584
compatibility::simple-validator-upgrade::single-validator-upgrade : committed: 1842 txn/s, latency: 15795 ms, (p50: 18800 ms, p90: 22300 ms, p99: 22600 ms), latency samples: 92140
3. Upgrading rest of first batch to new version: b68b5ec77776345912ff684fa0e614a832b5e584
compatibility::simple-validator-upgrade::half-validator-upgrade : committed: 1744 txn/s, latency: 16404 ms, (p50: 19200 ms, p90: 23200 ms, p99: 23800 ms), latency samples: 92440
4. upgrading second batch to new version: b68b5ec77776345912ff684fa0e614a832b5e584
compatibility::simple-validator-upgrade::rest-validator-upgrade : committed: 3051 txn/s, latency: 10259 ms, (p50: 9900 ms, p90: 14700 ms, p99: 17900 ms), latency samples: 128160
5. check swarm health
Compatibility test for aptos-node-v1.10.1 ==> b68b5ec77776345912ff684fa0e614a832b5e584 passed
Test Ok
github-actions[bot] commented 1 week ago

:white_check_mark: Forge suite realistic_env_max_load success on b68b5ec77776345912ff684fa0e614a832b5e584

two traffics test: inner traffic : committed: 7815 txn/s, latency: 5023 ms, (p50: 4800 ms, p90: 6000 ms, p99: 13300 ms), latency samples: 3376220
two traffics test : committed: 100 txn/s, latency: 2044 ms, (p50: 1900 ms, p90: 2200 ms, p99: 10300 ms), latency samples: 1820
Latency breakdown for phase 0: ["QsBatchToPos: max: 0.284, avg: 0.215", "QsPosToProposal: max: 0.207, avg: 0.182", "ConsensusProposalToOrdered: max: 0.448, avg: 0.416", "ConsensusOrderedToCommit: max: 0.427, avg: 0.408", "ConsensusProposalToCommit: max: 0.872, avg: 0.824"]
Max round gap was 1 [limit 4] at version 1211414. Max no progress secs was 9.566637 [limit 15] at version 1211414.
Test Ok