Duplicate tproxy MG test in integration tests#1262
Merged
GitGab19 merged 1 commit intoDec 13, 2024
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1262 +/- ##
=======================================
Coverage 19.30% 19.30%
=======================================
Files 164 164
Lines 10849 10849
=======================================
Hits 2094 2094
Misses 8755 8755
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Contributor
Contributor
|
| Branch | 2024-11-14-rewrite-tproxy-test |
| Testbed | sv2 |
Click to view all benchmark results
| Benchmark | Latency | Benchmark Result nanoseconds (ns) (Result Δ%) | Upper Boundary nanoseconds (ns) (Limit %) |
|---|---|---|---|
| client_sv2_handle_message_common | 📈 view plot 🚷 view threshold | 45.22 (+1.43%) | 46.82 (96.58%) |
| client_sv2_handle_message_mining | 📈 view plot 🚷 view threshold | 73.74 (-3.33%) | 93.78 (78.63%) |
| client_sv2_mining_message_submit_standard | 📈 view plot 🚷 view threshold | 14.67 (+0.06%) | 14.76 (99.37%) |
| client_sv2_mining_message_submit_standard_serialize | 📈 view plot 🚷 view threshold | 271.80 (+2.04%) | 298.88 (90.94%) |
| client_sv2_mining_message_submit_standard_serialize_deserialize | 📈 view plot 🚷 view threshold | 620.83 (+0.69%) | 671.45 (92.46%) |
| client_sv2_open_channel | 📈 view plot 🚷 view threshold | 163.78 (+1.64%) | 189.75 (86.31%) |
| client_sv2_open_channel_serialize | 📈 view plot 🚷 view threshold | 285.33 (+0.36%) | 310.39 (91.93%) |
| client_sv2_open_channel_serialize_deserialize | 📈 view plot 🚷 view threshold | 401.21 (+4.29%) | 417.01 (96.21%) |
| client_sv2_setup_connection | 📈 view plot 🚷 view threshold | 164.05 (+2.16%) | 171.88 (95.44%) |
| client_sv2_setup_connection_serialize | 📈 view plot 🚷 view threshold | 475.16 (+1.02%) | 544.54 (87.26%) |
| client_sv2_setup_connection_serialize_deserialize | 📈 view plot 🚷 view threshold | 1,081.20 (+8.16%) | 1,115.40 (96.93%) |
Contributor
|
| Branch | 2024-11-14-rewrite-tproxy-test |
| Testbed | sv1 |
Click to view all benchmark results
| Benchmark | Estimated Cycles | Benchmark Result estimated cycles (Result Δ%) | Upper Boundary estimated cycles (Limit %) | Instructions | Benchmark Result instructions (Result Δ%) | Upper Boundary instructions (Limit %) | L1 Accesses | Benchmark Result accesses (Result Δ%) | Upper Boundary accesses (Limit %) | L2 Accesses | Benchmark Result accesses (Result Δ%) | Upper Boundary accesses (Limit %) | RAM Accesses | Benchmark Result accesses (Result Δ%) | Upper Boundary accesses (Limit %) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| get_authorize | 📈 view plot 🚷 view threshold | 8,372.00 (-1.02%) | 8,726.00 (95.94%) | 📈 view plot 🚷 view threshold | 3,686.00 (-1.46%) | 3,869.13 (95.27%) | 📈 view plot 🚷 view threshold | 5,157.00 (-1.62%) | 5,450.43 (94.62%) | 📈 view plot 🚷 view threshold | 6.00 (-20.25%) | 14.60 (41.09%) | 📈 view plot 🚷 view threshold | 91.00 (+0.21%) | 95.72 (95.07%) |
| get_submit | 📈 view plot 🚷 view threshold | 95,156.00 (-0.26%) | 95,850.41 (99.28%) | 📈 view plot 🚷 view threshold | 59,343.00 (-0.16%) | 59,712.34 (99.38%) | 📈 view plot 🚷 view threshold | 85,221.00 (-0.18%) | 85,815.95 (99.31%) | 📈 view plot 🚷 view threshold | 48.00 (+8.42%) | 60.08 (79.89%) | 📈 view plot 🚷 view threshold | 277.00 (-1.14%) | 290.13 (95.48%) |
| get_subscribe | 📈 view plot 🚷 view threshold | 7,857.00 (-1.93%) | 8,283.03 (94.86%) | 📈 view plot 🚷 view threshold | 2,762.00 (-2.29%) | 2,949.68 (93.64%) | 📈 view plot 🚷 view threshold | 3,847.00 (-2.56%) | 4,144.88 (92.81%) | 📈 view plot 🚷 view threshold | 11.00 (-7.06%) | 19.94 (55.17%) | 📈 view plot 🚷 view threshold | 113.00 (-1.23%) | 118.59 (95.29%) |
| serialize_authorize | 📈 view plot 🚷 view threshold | 12,101.00 (-1.41%) | 12,567.34 (96.29%) | 📈 view plot 🚷 view threshold | 5,263.00 (-0.94%) | 5,435.19 (96.83%) | 📈 view plot 🚷 view threshold | 7,326.00 (-1.07%) | 7,606.65 (96.31%) | 📈 view plot 🚷 view threshold | 10.00 (+6.40%) | 17.50 (57.16%) | 📈 view plot 🚷 view threshold | 135.00 (-1.99%) | 142.63 (94.65%) |
| serialize_deserialize_authorize | 📈 view plot 🚷 view threshold | 24,591.00 (-0.46%) | 25,206.07 (97.56%) | 📈 view plot 🚷 view threshold | 9,835.00 (-0.45%) | 10,037.53 (97.98%) | 📈 view plot 🚷 view threshold | 13,876.00 (-0.50%) | 14,201.48 (97.71%) | 📈 view plot 🚷 view threshold | 36.00 (+3.06%) | 44.86 (80.24%) | 📈 view plot 🚷 view threshold | 301.00 (-0.47%) | 314.21 (95.80%) |
| serialize_deserialize_handle_authorize | 📈 view plot 🚷 view threshold | 30,073.00 (-0.83%) | 30,753.57 (97.79%) | 📈 view plot 🚷 view threshold | 12,012.00 (-0.48%) | 12,208.05 (98.39%) | 📈 view plot 🚷 view threshold | 16,998.00 (-0.54%) | 17,311.76 (98.19%) | 📈 view plot 🚷 view threshold | 60.00 (+7.97%) | 67.34 (89.11%) | 📈 view plot 🚷 view threshold | 365.00 (-1.40%) | 380.81 (95.85%) |
| serialize_deserialize_handle_submit | 📈 view plot 🚷 view threshold | 126,257.00 (-0.17%) | 126,908.19 (99.49%) | 📈 view plot 🚷 view threshold | 73,200.00 (-0.10%) | 73,534.05 (99.55%) | 📈 view plot 🚷 view threshold | 104,912.00 (-0.13%) | 105,486.58 (99.46%) | 📈 view plot 🚷 view threshold | 111.00 (+4.79%) | 125.93 (88.14%) | 📈 view plot 🚷 view threshold | 594.00 (-0.49%) | 607.19 (97.83%) |
| serialize_deserialize_handle_subscribe | 📈 view plot 🚷 view threshold | 27,703.00 (-0.61%) | 28,536.03 (97.08%) | 📈 view plot 🚷 view threshold | 9,581.00 (-0.64%) | 9,763.91 (98.13%) | 📈 view plot 🚷 view threshold | 13,533.00 (-0.76%) | 13,832.40 (97.84%) | 📈 view plot 🚷 view threshold | 69.00 (+8.55%) | 75.98 (90.81%) | 📈 view plot 🚷 view threshold | 395.00 (-0.68%) | 414.39 (95.32%) |
| serialize_deserialize_submit | 📈 view plot 🚷 view threshold | 115,161.00 (-0.08%) | 115,780.89 (99.46%) | 📈 view plot 🚷 view threshold | 68,060.00 (-0.05%) | 68,414.98 (99.48%) | 📈 view plot 🚷 view threshold | 97,646.00 (-0.07%) | 98,266.84 (99.37%) | 📈 view plot 🚷 view threshold | 73.00 (+15.57%) | 81.41 (89.67%) | 📈 view plot 🚷 view threshold | 490.00 (-0.42%) | 500.74 (97.86%) |
| serialize_deserialize_subscribe | 📈 view plot 🚷 view threshold | 23,135.00 (-0.68%) | 23,924.15 (96.70%) | 📈 view plot 🚷 view threshold | 8,140.00 (-0.71%) | 8,319.81 (97.84%) | 📈 view plot 🚷 view threshold | 11,450.00 (-0.82%) | 11,739.48 (97.53%) | 📈 view plot 🚷 view threshold | 41.00 (+9.02%) | 46.73 (87.74%) | 📈 view plot 🚷 view threshold | 328.00 (-0.69%) | 345.56 (94.92%) |
| serialize_submit | 📈 view plot 🚷 view threshold | 99,545.00 (-0.28%) | 100,286.06 (99.26%) | 📈 view plot 🚷 view threshold | 61,405.00 (-0.14%) | 61,741.18 (99.46%) | 📈 view plot 🚷 view threshold | 88,080.00 (-0.16%) | 88,646.00 (99.36%) | 📈 view plot 🚷 view threshold | 53.00 (+13.52%) | 64.04 (82.76%) | 📈 view plot 🚷 view threshold | 320.00 (-1.51%) | 335.47 (95.39%) |
| serialize_subscribe | 📈 view plot 🚷 view threshold | 11,302.00 (-0.90%) | 11,675.36 (96.80%) | 📈 view plot 🚷 view threshold | 4,115.00 (-1.43%) | 4,291.52 (95.89%) | 📈 view plot 🚷 view threshold | 5,707.00 (-1.69%) | 5,997.57 (95.16%) | 📈 view plot 🚷 view threshold | 13.00 (+0.18%) | 21.60 (60.20%) | 📈 view plot 🚷 view threshold | 158.00 (-0.08%) | 163.74 (96.49%) |
Contributor
|
| Branch | 2024-11-14-rewrite-tproxy-test |
| Testbed | sv2 |
🚨 2 Alerts
| Benchmark | Measure Units | View | Benchmark Result (Result Δ%) | Upper Boundary (Limit %) |
|---|---|---|---|---|
| client_sv2_handle_message_mining | Estimated Cycles estimated cycles | 📈 plot 🚨 alert (🔔) 🚷 threshold | 8,360.00 (+1.79%) | 8,351.08 (100.11%) |
| client_sv2_mining_message_submit_standard | Estimated Cycles estimated cycles | 📈 plot 🚨 alert (🔔) 🚷 threshold | 6,433.00 (+2.24%) | 6,431.58 (100.02%) |
Click to view all benchmark results
| Benchmark | Estimated Cycles | Benchmark Result estimated cycles (Result Δ%) | Upper Boundary estimated cycles (Limit %) | Instructions | Benchmark Result instructions (Result Δ%) | Upper Boundary instructions (Limit %) | L1 Accesses | Benchmark Result accesses (Result Δ%) | Upper Boundary accesses (Limit %) | L2 Accesses | Benchmark Result accesses (Result Δ%) | Upper Boundary accesses (Limit %) | RAM Accesses | Benchmark Result accesses (Result Δ%) | Upper Boundary accesses (Limit %) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| client_sv2_handle_message_common | 📈 view plot 🚷 view threshold | 2,163.00 (+2.86%) | 2,216.92 (97.57%) | 📈 view plot 🚷 view threshold | 473.00 (-0.08%) | 488.79 (96.77%) | 📈 view plot 🚷 view threshold | 733.00 (-0.39%) | 757.50 (96.77%) | 📈 view plot 🚷 view threshold | 6.00 (+16.36%) | 13.16 (45.60%) | 📈 view plot 🚷 view threshold | 40.00 (+4.38%) | 41.40 (96.62%) |
| client_sv2_handle_message_mining | 📈 view plot 🚨 view alert (🔔) 🚷 view threshold | 8,360.00 (+1.79%) | 8,351.08 (100.11%) | 📈 view plot 🚷 view threshold | 2,137.00 (-0.03%) | 2,143.08 (99.72%) | 📈 view plot 🚷 view threshold | 3,150.00 (-0.33%) | 3,171.36 (99.33%) | 📈 view plot 🚷 view threshold | 41.00 (+15.82%) | 41.54 (98.70%) | 📈 view plot 🚷 view threshold | 143.00 (+2.66%) | 143.09 (99.94%) |
| client_sv2_mining_message_submit_standard | 📈 view plot 🚨 view alert (🔔) 🚷 view threshold | 6,433.00 (+2.24%) | 6,431.58 (100.02%) | 📈 view plot 🚷 view threshold | 1,750.00 (-0.05%) | 1,767.12 (99.03%) | 📈 view plot 🚷 view threshold | 2,543.00 (-0.39%) | 2,575.92 (98.72%) | 📈 view plot 🚷 view threshold | 22.00 (+29.35%) | 24.41 (90.11%) | 📈 view plot 🚷 view threshold | 108.00 (+3.45%) | 108.25 (99.77%) |
| client_sv2_mining_message_submit_standard_serialize | 📈 view plot 🚷 view threshold | 14,896.00 (+1.15%) | 14,947.16 (99.66%) | 📈 view plot 🚷 view threshold | 4,694.00 (-0.02%) | 4,711.12 (99.64%) | 📈 view plot 🚷 view threshold | 6,741.00 (-0.25%) | 6,784.50 (99.36%) | 📈 view plot 🚷 view threshold | 56.00 (+27.00%) | 57.25 (97.82%) | 📈 view plot 🚷 view threshold | 225.00 (+1.64%) | 226.99 (99.13%) |
| client_sv2_mining_message_submit_standard_serialize_deserialize | 📈 view plot 🚷 view threshold | 27,868.00 (+1.12%) | 27,928.00 (99.79%) | 📈 view plot 🚷 view threshold | 10,645.00 (+0.48%) | 10,673.65 (99.73%) | 📈 view plot 🚷 view threshold | 15,498.00 (+0.51%) | 15,550.67 (99.66%) | 📈 view plot 🚷 view threshold | 94.00 (+14.42%) | 94.02 (99.98%) | 📈 view plot 🚷 view threshold | 340.00 (+1.45%) | 341.95 (99.43%) |
| client_sv2_open_channel | 📈 view plot 🚷 view threshold | 4,519.00 (+2.98%) | 4,562.36 (99.05%) | 📈 view plot 🚷 view threshold | 1,461.00 (-0.03%) | 1,476.79 (98.93%) | 📈 view plot 🚷 view threshold | 2,154.00 (-0.30%) | 2,183.55 (98.65%) | 📈 view plot 🚷 view threshold | 11.00 (+30.49%) | 15.37 (71.56%) | 📈 view plot 🚷 view threshold | 66.00 (+5.69%) | 67.29 (98.08%) |
| client_sv2_open_channel_serialize | 📈 view plot 🚷 view threshold | 14,154.00 (+0.91%) | 14,265.28 (99.22%) | 📈 view plot 🚷 view threshold | 5,064.00 (-0.01%) | 5,079.79 (99.69%) | 📈 view plot 🚷 view threshold | 7,314.00 (-0.17%) | 7,350.98 (99.50%) | 📈 view plot 🚷 view threshold | 45.00 (+27.12%) | 45.15 (99.66%) | 📈 view plot 🚷 view threshold | 189.00 (+1.40%) | 193.28 (97.78%) |
| client_sv2_open_channel_serialize_deserialize | 📈 view plot 🚷 view threshold | 22,888.00 (+0.96%) | 22,949.03 (99.73%) | 📈 view plot 🚷 view threshold | 8,040.00 (+0.15%) | 8,063.52 (99.71%) | 📈 view plot 🚷 view threshold | 11,688.00 (+0.08%) | 11,731.25 (99.63%) | 📈 view plot 🚷 view threshold | 84.00 (+12.39%) | 86.10 (97.56%) | 📈 view plot 🚷 view threshold | 308.00 (+1.52%) | 310.51 (99.19%) |
| client_sv2_setup_connection | 📈 view plot 🚷 view threshold | 4,749.00 (+1.34%) | 4,783.68 (99.27%) | 📈 view plot 🚷 view threshold | 1,502.00 (-0.02%) | 1,517.79 (98.96%) | 📈 view plot 🚷 view threshold | 2,274.00 (-0.19%) | 2,299.32 (98.90%) | 📈 view plot 🚷 view threshold | 12.00 (+24.17%) | 16.54 (72.53%) | 📈 view plot 🚷 view threshold | 69.00 (+2.34%) | 70.03 (98.53%) |
| client_sv2_setup_connection_serialize | 📈 view plot 🚷 view threshold | 16,282.00 (+0.79%) | 16,368.17 (99.47%) | 📈 view plot 🚷 view threshold | 5,963.00 (-0.01%) | 5,978.79 (99.74%) | 📈 view plot 🚷 view threshold | 8,652.00 (-0.14%) | 8,690.88 (99.55%) | 📈 view plot 🚷 view threshold | 49.00 (+22.93%) | 53.18 (92.15%) | 📈 view plot 🚷 view threshold | 211.00 (+1.29%) | 213.81 (98.69%) |
| client_sv2_setup_connection_serialize_deserialize | 📈 view plot 🚷 view threshold | 35,782.00 (+0.60%) | 35,841.73 (99.83%) | 📈 view plot 🚷 view threshold | 14,888.00 (+0.19%) | 14,911.25 (99.84%) | 📈 view plot 🚷 view threshold | 21,867.00 (+0.17%) | 21,917.71 (99.77%) | 📈 view plot 🚷 view threshold | 109.00 (+18.03%) | 112.47 (96.91%) | 📈 view plot 🚷 view threshold | 382.00 (+0.72%) | 384.90 (99.25%) |
GitGab19
reviewed
Nov 25, 2024
GitGab19
left a comment
Member
There was a problem hiding this comment.
I tested it many times, and some of them I got this error, I don't know if you already noticed it:
running 2 tests
thread 'translation_proxy' panicked at tests-integration/tests/common/mod.rs:162:14:
called `Result::unwrap()` on an `Err` value: JsonRpc(Transport(SocketError(Os { code: 35, kind: WouldBlock, message: "Resource temporarily unavailable" })))
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
test translation_proxy ... FAILED
thread 'success_pool_template_provider_connection' panicked at tests-integration/tests/common/mod.rs:162:14:
called `Result::unwrap()` on an `Err` value: JsonRpc(Transport(SocketError(Os { code: 35, kind: WouldBlock, message: "Resource temporarily unavailable" })))
test success_pool_template_provider_connection ... FAILED
failures:
failures:
success_pool_template_provider_connection
translation_proxy
test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 37.93s
error: test failed, to rerun pass `-p integration-test --test pool_integration`
plebhash
reviewed
Nov 27, 2024
plebhash
reviewed
Nov 27, 2024
plebhash
reviewed
Nov 27, 2024
plebhash
reviewed
Nov 27, 2024
plebhash
added a commit
to plebhash/stratum
that referenced
this pull request
Dec 10, 2024
WARNING: this commit is just to illustrate how to unblock stratum-mining#1262 DO NOT CHERRY PICK, we still need to fix unnecessary JDC logic
plebhash
added a commit
to plebhash/stratum
that referenced
this pull request
Dec 10, 2024
WARNING: this commit is just to illustrate how to unblock stratum-mining#1262 DO NOT CHERRY PICK, we still need to fix unnecessary JDC logic
This was referenced Dec 10, 2024
This comment was marked as outdated.
This comment was marked as outdated.
This was referenced Dec 11, 2024
Contributor
Author
jbesraa
commented
Dec 12, 2024
GitGab19
approved these changes
Dec 13, 2024
plebhash
approved these changes
Dec 13, 2024
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
resolves #1208