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

add Aggregate MG Test Results job to MG CI #1060

Merged
merged 1 commit into from
Jul 17, 2024

Conversation

plebhash
Copy link
Collaborator

@plebhash plebhash commented Jul 17, 2024

Github only allows branch protection rules based on specific CI jobs. So we are adding a new job that just takes all the other MG test jobs as a prerequisite, so we can use this as an umbrella rule for branch protection.

when some MG test fails:
image

when all MG tests pass:
image

Github only allows branch protection rules based on specific CI jobs. So we are adding a new job that just takes all the other MG test jobs as a prerequisite, and we use this as an umbrella rule for branch protection.
Copy link
Contributor

🐰Bencher

ReportWed, July 17, 2024 at 15:01:59 UTC
ProjectStratum v2 (SRI)
Branchadd-mg-safety-check
Testbedsv2

🚨 11 ALERTS: Threshold Boundary Limits exceeded!
BenchmarkMeasure (units)ViewValueLower BoundaryUpper Boundary
client_sv2_mining_message_submit_standardL2 Accesses (accesses)🚨 (view plot | view alert)26.00 (+47.32%)23.31 (111.55%)
client_sv2_mining_message_submit_standard_serializeL2 Accesses (accesses)🚨 (view plot | view alert)55.00 (+15.97%)52.78 (104.21%)
client_sv2_mining_message_submit_standard_serialize_deserializeInstructions (instructions)🚨 (view plot | view alert)10,585.00 (+0.40%)10,567.30 (100.17%)
client_sv2_mining_message_submit_standard_serialize_deserializeL1 Accesses (accesses)🚨 (view plot | view alert)15,399.00 (+0.38%)15,373.74 (100.16%)
client_sv2_mining_message_submit_standard_serialize_deserializeL2 Accesses (accesses)🚨 (view plot | view alert)90.00 (+7.36%)89.73 (100.30%)
client_sv2_open_channel_serialize_deserializeInstructions (instructions)🚨 (view plot | view alert)8,027.00 (+0.53%)8,009.69 (100.22%)
client_sv2_open_channel_serialize_deserializeL1 Accesses (accesses)🚨 (view plot | view alert)11,672.00 (+0.49%)11,648.55 (100.20%)
client_sv2_open_channel_serialize_deserializeL2 Accesses (accesses)🚨 (view plot | view alert)84.00 (+14.29%)82.57 (101.73%)
client_sv2_setup_connectionL2 Accesses (accesses)🚨 (view plot | view alert)15.00 (+63.31%)13.96 (107.42%)
client_sv2_setup_connection_serialize_deserializeInstructions (instructions)🚨 (view plot | view alert)14,855.00 (+0.29%)14,837.01 (100.12%)
client_sv2_setup_connection_serialize_deserializeL1 Accesses (accesses)🚨 (view plot | view alert)21,811.00 (+0.27%)21,785.36 (100.12%)

Click to view all benchmark results
BenchmarkEstimated CyclesEstimated Cycles Results
estimated cycles | (Δ%)
Estimated Cycles Upper Boundary
estimated cycles | (%)
InstructionsInstructions Results
instructions | (Δ%)
Instructions Upper Boundary
instructions | (%)
L1 AccessesL1 Accesses Results
accesses | (Δ%)
L1 Accesses Upper Boundary
accesses | (%)
L2 AccessesL2 Accesses Results
accesses | (Δ%)
L2 Accesses Upper Boundary
accesses | (%)
RAM AccessesRAM Accesses Results
accesses | (Δ%)
RAM Accesses Upper Boundary
accesses | (%)
client_sv2_handle_message_common✅ (view plot)2,111.00 (+2.95%)2,129.48 (99.13%)✅ (view plot)473.00 (+0.49%)486.40 (97.25%)✅ (view plot)731.00 (-0.16%)755.22 (96.79%)✅ (view plot)10.00 (+42.86%)10.89 (91.86%)✅ (view plot)38.00 (+3.64%)38.61 (98.42%)
client_sv2_handle_message_mining✅ (view plot)8,219.00 (+0.27%)8,336.65 (98.59%)✅ (view plot)2,137.00 (+0.46%)2,171.37 (98.42%)✅ (view plot)3,159.00 (+0.46%)3,216.13 (98.22%)✅ (view plot)39.00 (+1.20%)43.61 (89.43%)✅ (view plot)139.00 (+0.11%)141.98 (97.90%)
client_sv2_mining_message_submit_standard✅ (view plot)6,316.00 (+0.64%)6,389.65 (98.85%)✅ (view plot)1,750.00 (+0.03%)1,763.19 (99.25%)✅ (view plot)2,546.00 (-0.30%)2,575.92 (98.84%)🚨 (view plot | view alert)26.00 (+47.32%)23.31 (111.55%)✅ (view plot)104.00 (+0.16%)106.91 (97.28%)
client_sv2_mining_message_submit_standard_serialize✅ (view plot)14,657.00 (-0.79%)15,034.13 (97.49%)✅ (view plot)4,694.00 (+0.01%)4,707.19 (99.72%)✅ (view plot)6,752.00 (-0.04%)6,775.27 (99.66%)🚨 (view plot | view alert)55.00 (+15.97%)52.78 (104.21%)✅ (view plot)218.00 (-1.95%)230.00 (94.78%)
client_sv2_mining_message_submit_standard_serialize_deserialize✅ (view plot)27,469.00 (-0.03%)27,844.08 (98.65%)🚨 (view plot | view alert)10,585.00 (+0.40%)10,567.30 (100.17%)🚨 (view plot | view alert)15,399.00 (+0.38%)15,373.74 (100.16%)🚨 (view plot | view alert)90.00 (+7.36%)89.73 (100.30%)✅ (view plot)332.00 (-0.83%)345.30 (96.15%)
client_sv2_open_channel✅ (view plot)4,451.00 (-0.90%)4,610.65 (96.54%)✅ (view plot)1,461.00 (+0.06%)1,474.45 (99.09%)✅ (view plot)2,156.00 (+0.15%)2,173.00 (99.22%)✅ (view plot)11.00 (-8.05%)15.23 (72.23%)✅ (view plot)64.00 (-1.71%)68.16 (93.89%)
client_sv2_open_channel_serialize✅ (view plot)14,040.00 (-1.23%)14,463.18 (97.07%)✅ (view plot)5,064.00 (+0.02%)5,077.45 (99.74%)✅ (view plot)7,320.00 (+0.03%)7,339.32 (99.74%)✅ (view plot)42.00 (+12.44%)42.27 (99.37%)✅ (view plot)186.00 (-2.98%)198.98 (93.48%)
client_sv2_open_channel_serialize_deserialize✅ (view plot)22,557.00 (-0.36%)23,023.70 (97.97%)🚨 (view plot | view alert)8,027.00 (+0.53%)8,009.69 (100.22%)🚨 (view plot | view alert)11,672.00 (+0.49%)11,648.55 (100.20%)🚨 (view plot | view alert)84.00 (+14.29%)82.57 (101.73%)✅ (view plot)299.00 (-1.79%)315.02 (94.91%)
client_sv2_setup_connection✅ (view plot)4,693.00 (-0.11%)4,764.75 (98.49%)✅ (view plot)1,502.00 (+0.05%)1,515.45 (99.11%)✅ (view plot)2,273.00 (-0.17%)2,299.69 (98.84%)🚨 (view plot | view alert)15.00 (+63.31%)13.96 (107.42%)✅ (view plot)67.00 (-1.28%)69.64 (96.21%)
client_sv2_setup_connection_serialize✅ (view plot)15,976.00 (-1.75%)16,501.05 (96.82%)✅ (view plot)5,963.00 (+0.01%)5,976.45 (99.77%)✅ (view plot)8,661.00 (+0.07%)8,677.76 (99.81%)✅ (view plot)49.00 (+9.61%)49.21 (99.57%)✅ (view plot)202.00 (-4.21%)217.87 (92.72%)
client_sv2_setup_connection_serialize_deserialize✅ (view plot)35,416.00 (-0.33%)35,747.98 (99.07%)🚨 (view plot | view alert)14,855.00 (+0.29%)14,837.01 (100.12%)🚨 (view plot | view alert)21,811.00 (+0.27%)21,785.36 (100.12%)✅ (view plot)110.00 (+10.20%)113.21 (97.16%)✅ (view plot)373.00 (-1.70%)384.82 (96.93%)

Bencher - Continuous Benchmarking
View Public Perf Page
Docs | Repo | Chat | Help

Copy link
Contributor

🐰Bencher

ReportWed, July 17, 2024 at 15:01:58 UTC
ProjectStratum v2 (SRI)
Branchadd-mg-safety-check
Testbedsv1

🚨 2 ALERTS: Threshold Boundary Limits exceeded!
BenchmarkMeasure (units)ViewValueLower BoundaryUpper Boundary
serialize_deserialize_authorizeRAM Accesses (accesses)🚨 (view plot | view alert)298.00 (+1.06%)297.85 (100.05%)
serialize_deserialize_handle_authorizeRAM Accesses (accesses)🚨 (view plot | view alert)368.00 (+1.13%)367.19 (100.22%)

Click to view all benchmark results
BenchmarkEstimated CyclesEstimated Cycles Results
estimated cycles | (Δ%)
Estimated Cycles Upper Boundary
estimated cycles | (%)
InstructionsInstructions Results
instructions | (Δ%)
Instructions Upper Boundary
instructions | (%)
L1 AccessesL1 Accesses Results
accesses | (Δ%)
L1 Accesses Upper Boundary
accesses | (%)
L2 AccessesL2 Accesses Results
accesses | (Δ%)
L2 Accesses Upper Boundary
accesses | (%)
RAM AccessesRAM Accesses Results
accesses | (Δ%)
RAM Accesses Upper Boundary
accesses | (%)
get_authorize✅ (view plot)8,504.00 (+0.81%)8,725.53 (97.46%)✅ (view plot)3,746.00 (+0.15%)3,855.71 (97.15%)✅ (view plot)5,249.00 (+0.08%)5,402.12 (97.17%)✅ (view plot)7.00 (-11.90%)10.40 (67.31%)✅ (view plot)92.00 (+2.18%)94.03 (97.84%)
get_submit✅ (view plot)95,475.00 (-0.08%)96,143.54 (99.30%)✅ (view plot)59,439.00 (-0.05%)59,779.65 (99.43%)✅ (view plot)85,360.00 (-0.05%)85,838.02 (99.44%)✅ (view plot)49.00 (-11.09%)62.58 (78.30%)✅ (view plot)282.00 (-0.03%)287.71 (98.01%)
get_subscribe✅ (view plot)7,957.00 (-0.25%)8,271.33 (96.20%)✅ (view plot)2,841.00 (+0.39%)2,940.12 (96.63%)✅ (view plot)3,972.00 (+0.46%)4,099.98 (96.88%)✅ (view plot)13.00 (-19.66%)19.82 (65.60%)✅ (view plot)112.00 (-0.56%)116.95 (95.77%)
serialize_authorize✅ (view plot)12,257.00 (+0.42%)12,503.93 (98.03%)✅ (view plot)5,317.00 (+0.11%)5,426.71 (97.98%)✅ (view plot)7,412.00 (+0.06%)7,565.46 (97.97%)✅ (view plot)10.00 (-7.41%)13.38 (74.73%)✅ (view plot)137.00 (+1.06%)140.24 (97.69%)
serialize_deserialize_authorize✅ (view plot)24,554.00 (+0.34%)24,709.48 (99.37%)✅ (view plot)9,898.00 (-0.02%)10,026.68 (98.72%)✅ (view plot)13,959.00 (-0.05%)14,151.77 (98.64%)✅ (view plot)33.00 (-9.79%)41.62 (79.29%)🚨 (view plot | view alert)298.00 (+1.06%)297.85 (100.05%)
serialize_deserialize_handle_authorize✅ (view plot)30,293.00 (+0.48%)30,345.34 (99.83%)✅ (view plot)12,101.00 (+0.05%)12,210.71 (99.10%)✅ (view plot)17,118.00 (+0.00%)17,280.58 (99.06%)✅ (view plot)59.00 (+0.37%)64.70 (91.19%)🚨 (view plot | view alert)368.00 (+1.13%)367.19 (100.22%)
serialize_deserialize_handle_submit✅ (view plot)126,372.00 (-0.03%)127,033.21 (99.48%)✅ (view plot)73,224.00 (-0.04%)73,621.57 (99.46%)✅ (view plot)104,947.00 (-0.04%)105,513.88 (99.46%)✅ (view plot)120.00 (-0.42%)131.31 (91.38%)✅ (view plot)595.00 (+0.03%)599.21 (99.30%)
serialize_deserialize_handle_subscribe✅ (view plot)27,457.00 (+0.01%)27,601.67 (99.48%)✅ (view plot)9,643.00 (+0.12%)9,742.12 (98.98%)✅ (view plot)13,642.00 (+0.14%)13,775.98 (99.03%)✅ (view plot)61.00 (-7.40%)73.85 (82.60%)✅ (view plot)386.00 (+0.06%)388.55 (99.34%)
serialize_deserialize_submit✅ (view plot)114,999.00 (-0.07%)115,655.20 (99.43%)✅ (view plot)68,001.00 (-0.08%)68,404.14 (99.41%)✅ (view plot)97,559.00 (-0.09%)98,152.61 (99.40%)✅ (view plot)65.00 (-6.39%)75.30 (86.32%)✅ (view plot)489.00 (+0.18%)492.39 (99.31%)
serialize_deserialize_subscribe✅ (view plot)22,888.00 (+0.06%)23,112.00 (99.03%)✅ (view plot)8,195.00 (+0.11%)8,297.86 (98.76%)✅ (view plot)11,543.00 (+0.12%)11,683.32 (98.80%)✅ (view plot)36.00 (-8.63%)44.09 (81.65%)✅ (view plot)319.00 (+0.15%)321.50 (99.22%)
serialize_submit✅ (view plot)99,792.00 (-0.10%)100,471.79 (99.32%)✅ (view plot)61,483.00 (-0.05%)61,829.06 (99.44%)✅ (view plot)88,207.00 (-0.05%)88,691.57 (99.45%)✅ (view plot)49.00 (-12.04%)62.30 (78.65%)✅ (view plot)324.00 (-0.21%)329.20 (98.42%)
serialize_subscribe✅ (view plot)11,294.00 (-0.29%)11,607.24 (97.30%)✅ (view plot)4,188.00 (+0.27%)4,287.12 (97.69%)✅ (view plot)5,829.00 (+0.29%)5,959.20 (97.82%)✅ (view plot)15.00 (-8.33%)18.98 (79.05%)✅ (view plot)154.00 (-0.78%)159.77 (96.39%)

Bencher - Continuous Benchmarking
View Public Perf Page
Docs | Repo | Chat | Help

Copy link
Contributor

🐰Bencher

ReportWed, July 17, 2024 at 15:01:59 UTC
ProjectStratum v2 (SRI)
Branchadd-mg-safety-check
Testbedsv2

🚨 2 ALERTS: Threshold Boundary Limits exceeded!
BenchmarkMeasure (units)ViewValueLower BoundaryUpper Boundary
client_sv2_open_channelLatency (nanoseconds (ns))🚨 (view plot | view alert)176.63 (+6.30%)174.25 (101.37%)
client_sv2_setup_connection_serialize_deserializeLatency (nanoseconds (ns))🚨 (view plot | view alert)1,063.20 (+9.28%)1,045.62 (101.68%)

Click to view all benchmark results
BenchmarkLatencyLatency Results
nanoseconds (ns) | (Δ%)
Latency Upper Boundary
nanoseconds (ns) | (%)
client_sv2_handle_message_common✅ (view plot)44.70 (+0.30%)45.25 (98.78%)
client_sv2_handle_message_mining✅ (view plot)72.55 (-0.39%)80.35 (90.29%)
client_sv2_mining_message_submit_standard✅ (view plot)14.65 (-0.00%)14.69 (99.73%)
client_sv2_mining_message_submit_standard_serialize✅ (view plot)275.03 (+3.90%)284.66 (96.62%)
client_sv2_mining_message_submit_standard_serialize_deserialize✅ (view plot)584.29 (-1.66%)627.78 (93.07%)
client_sv2_open_channel🚨 (view plot | view alert)176.63 (+6.30%)174.25 (101.37%)
client_sv2_open_channel_serialize✅ (view plot)274.77 (-2.90%)293.44 (93.64%)
client_sv2_open_channel_serialize_deserialize✅ (view plot)383.47 (+1.32%)424.04 (90.43%)
client_sv2_setup_connection✅ (view plot)161.64 (-1.50%)174.87 (92.44%)
client_sv2_setup_connection_serialize✅ (view plot)444.25 (-6.23%)507.12 (87.60%)
client_sv2_setup_connection_serialize_deserialize🚨 (view plot | view alert)1,063.20 (+9.28%)1,045.62 (101.68%)

Bencher - Continuous Benchmarking
View Public Perf Page
Docs | Repo | Chat | Help

Copy link
Contributor

🐰Bencher

ReportWed, July 17, 2024 at 15:02:00 UTC
ProjectStratum v2 (SRI)
Branch1060/merge
Testbedsv1
Click to view all benchmark results
BenchmarkLatencyLatency Results
nanoseconds (ns) | (Δ%)
Latency Upper Boundary
nanoseconds (ns) | (%)
client-submit-serialize✅ (view plot)6,413.00 (-7.41%)7,359.12 (87.14%)
client-submit-serialize-deserialize✅ (view plot)7,499.70 (-4.47%)8,326.79 (90.07%)
client-submit-serialize-deserialize-handle/client-submit-serialize-deserialize-handle✅ (view plot)8,074.70 (-4.07%)8,838.32 (91.36%)
client-sv1-authorize-serialize-deserialize-handle/client-sv1-authorize-serialize-deserialize-handle✅ (view plot)908.71 (+1.10%)927.18 (98.01%)
client-sv1-authorize-serialize-deserialize/client-sv1-authorize-serialize-deserialize✅ (view plot)693.20 (-0.53%)717.83 (96.57%)
client-sv1-authorize-serialize/client-sv1-authorize-serialize✅ (view plot)249.06 (+0.36%)255.23 (97.58%)
client-sv1-get-authorize/client-sv1-get-authorize✅ (view plot)157.75 (+0.37%)162.47 (97.09%)
client-sv1-get-submit✅ (view plot)6,210.00 (-7.20%)7,149.56 (86.86%)
client-sv1-get-subscribe/client-sv1-get-subscribe✅ (view plot)278.76 (+0.05%)291.26 (95.71%)
client-sv1-subscribe-serialize-deserialize-handle/client-sv1-subscribe-serialize-deserialize-handle✅ (view plot)768.53 (+2.81%)777.56 (98.84%)
client-sv1-subscribe-serialize-deserialize/client-sv1-subscribe-serialize-deserialize✅ (view plot)609.65 (-0.74%)637.59 (95.62%)
client-sv1-subscribe-serialize/client-sv1-subscribe-serialize✅ (view plot)207.87 (+0.54%)220.07 (94.46%)

Bencher - Continuous Benchmarking
View Public Perf Page
Docs | Repo | Chat | Help

@plebhash plebhash merged commit 235993d into stratum-mining:dev Jul 17, 2024
31 checks passed
@plebhash plebhash deleted the add-mg-safety-check branch July 17, 2024 15:08
@plebhash
Copy link
Collaborator Author

it turns out this PR was not enough

a failing MG Test job only resulted in skipping the mg-aggregate-results job, which we wanted to use for branch protection

so this PR was followed by #1064, which finally achieved the desired goal

@plebhash plebhash mentioned this pull request Aug 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants