Update Spock to 2.4-M6.#9326
Conversation
|
Code coverage: total 57.30%, patch 100.00% (view details) This comment will be updated automatically if new data arrives.🔗 Commit SHA: d748a1c | Docs | Was this helpful? Give us feedback! |
|
Code coverage: total 24.95%, patch 100.00% (view details) This comment will be updated automatically if new data arrives.🔗 Commit SHA: 7316968 | Docs | Was this helpful? Give us feedback! |
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 47 metrics, 12 unstable metrics. Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.53.0-SNAPSHOT~d748a1c4b9, baseline=1.53.0-SNAPSHOT~893780c76b
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.051 s) : 0, 1050593
Total [baseline] (10.698 s) : 0, 10698375
Agent [candidate] (1.046 s) : 0, 1045938
Total [candidate] (10.691 s) : 0, 10690628
section appsec
Agent [baseline] (1.227 s) : 0, 1226947
Total [baseline] (10.766 s) : 0, 10766128
Agent [candidate] (1.228 s) : 0, 1228256
Total [candidate] (10.777 s) : 0, 10776691
section iast
Agent [baseline] (1.192 s) : 0, 1192365
Total [baseline] (10.982 s) : 0, 10981659
Agent [candidate] (1.185 s) : 0, 1185156
Total [candidate] (11.02 s) : 0, 11019562
section profiling
Agent [baseline] (1.19 s) : 0, 1190418
Total [baseline] (10.861 s) : 0, 10861045
Agent [candidate] (1.192 s) : 0, 1192066
Total [candidate] (10.801 s) : 0, 10801392
gantt
title petclinic - break down per module: candidate=1.53.0-SNAPSHOT~d748a1c4b9, baseline=1.53.0-SNAPSHOT~893780c76b
dateFormat X
axisFormat %s
section tracing
crashtracking [baseline] (1.431 ms) : 0, 1431
crashtracking [candidate] (1.424 ms) : 0, 1424
BytebuddyAgent [baseline] (735.908 ms) : 0, 735908
BytebuddyAgent [candidate] (732.066 ms) : 0, 732066
GlobalTracer [baseline] (243.003 ms) : 0, 243003
GlobalTracer [candidate] (241.59 ms) : 0, 241590
AppSec [baseline] (30.277 ms) : 0, 30277
AppSec [candidate] (29.932 ms) : 0, 29932
Debugger [baseline] (6.043 ms) : 0, 6043
Debugger [candidate] (5.965 ms) : 0, 5965
Remote Config [baseline] (662.7 µs) : 0, 663
Remote Config [candidate] (648.515 µs) : 0, 649
Telemetry [baseline] (12.204 ms) : 0, 12204
Telemetry [candidate] (13.35 ms) : 0, 13350
section appsec
crashtracking [baseline] (1.435 ms) : 0, 1435
crashtracking [candidate] (1.433 ms) : 0, 1433
BytebuddyAgent [baseline] (758.835 ms) : 0, 758835
BytebuddyAgent [candidate] (759.441 ms) : 0, 759441
GlobalTracer [baseline] (235.73 ms) : 0, 235730
GlobalTracer [candidate] (236.288 ms) : 0, 236288
AppSec [baseline] (169.173 ms) : 0, 169173
AppSec [candidate] (169.869 ms) : 0, 169869
Debugger [baseline] (7.917 ms) : 0, 7917
Debugger [candidate] (6.558 ms) : 0, 6558
Remote Config [baseline] (611.502 µs) : 0, 612
Remote Config [candidate] (622.078 µs) : 0, 622
Telemetry [baseline] (8.356 ms) : 0, 8356
Telemetry [candidate] (9.185 ms) : 0, 9185
IAST [baseline] (23.781 ms) : 0, 23781
IAST [candidate] (23.751 ms) : 0, 23751
section iast
crashtracking [baseline] (1.448 ms) : 0, 1448
crashtracking [candidate] (1.442 ms) : 0, 1442
BytebuddyAgent [baseline] (862.049 ms) : 0, 862049
BytebuddyAgent [candidate] (856.159 ms) : 0, 856159
GlobalTracer [baseline] (234.767 ms) : 0, 234767
GlobalTracer [candidate] (233.355 ms) : 0, 233355
AppSec [baseline] (29.285 ms) : 0, 29285
AppSec [candidate] (26.973 ms) : 0, 26973
Debugger [baseline] (6.567 ms) : 0, 6567
Debugger [candidate] (6.611 ms) : 0, 6611
Remote Config [baseline] (601.176 µs) : 0, 601
Remote Config [candidate] (587.266 µs) : 0, 587
Telemetry [baseline] (8.395 ms) : 0, 8395
Telemetry [candidate] (8.402 ms) : 0, 8402
IAST [baseline] (27.927 ms) : 0, 27927
IAST [candidate] (30.524 ms) : 0, 30524
section profiling
crashtracking [baseline] (1.401 ms) : 0, 1401
crashtracking [candidate] (1.392 ms) : 0, 1392
BytebuddyAgent [baseline] (758.334 ms) : 0, 758334
BytebuddyAgent [candidate] (759.944 ms) : 0, 759944
GlobalTracer [baseline] (221.368 ms) : 0, 221368
GlobalTracer [candidate] (221.068 ms) : 0, 221068
AppSec [baseline] (29.782 ms) : 0, 29782
AppSec [candidate] (29.815 ms) : 0, 29815
Debugger [baseline] (6.214 ms) : 0, 6214
Debugger [candidate] (6.288 ms) : 0, 6288
Remote Config [baseline] (682.571 µs) : 0, 683
Remote Config [candidate] (693.567 µs) : 0, 694
Telemetry [baseline] (15.893 ms) : 0, 15893
Telemetry [candidate] (15.797 ms) : 0, 15797
ProfilingAgent [baseline] (107.317 ms) : 0, 107317
ProfilingAgent [candidate] (107.687 ms) : 0, 107687
Profiling [baseline] (107.956 ms) : 0, 107956
Profiling [candidate] (108.312 ms) : 0, 108312
Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.53.0-SNAPSHOT~d748a1c4b9, baseline=1.53.0-SNAPSHOT~893780c76b
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.055 s) : 0, 1054701
Total [baseline] (8.578 s) : 0, 8577856
Agent [candidate] (1.048 s) : 0, 1047678
Total [candidate] (8.574 s) : 0, 8573997
section iast
Agent [baseline] (1.179 s) : 0, 1179051
Total [baseline] (9.345 s) : 0, 9345159
Agent [candidate] (1.177 s) : 0, 1177426
Total [candidate] (9.292 s) : 0, 9292185
gantt
title insecure-bank - break down per module: candidate=1.53.0-SNAPSHOT~d748a1c4b9, baseline=1.53.0-SNAPSHOT~893780c76b
dateFormat X
axisFormat %s
section tracing
crashtracking [baseline] (1.437 ms) : 0, 1437
crashtracking [candidate] (1.419 ms) : 0, 1419
BytebuddyAgent [baseline] (737.004 ms) : 0, 737004
BytebuddyAgent [candidate] (732.853 ms) : 0, 732853
GlobalTracer [baseline] (243.693 ms) : 0, 243693
GlobalTracer [candidate] (241.717 ms) : 0, 241717
AppSec [baseline] (30.489 ms) : 0, 30489
AppSec [candidate] (30.019 ms) : 0, 30019
Debugger [baseline] (6.099 ms) : 0, 6099
Debugger [candidate] (6.011 ms) : 0, 6011
Remote Config [baseline] (661.144 µs) : 0, 661
Remote Config [candidate] (649.585 µs) : 0, 650
Telemetry [baseline] (14.309 ms) : 0, 14309
Telemetry [candidate] (14.074 ms) : 0, 14074
section iast
crashtracking [baseline] (1.435 ms) : 0, 1435
crashtracking [candidate] (1.426 ms) : 0, 1426
BytebuddyAgent [baseline] (851.52 ms) : 0, 851520
BytebuddyAgent [candidate] (850.132 ms) : 0, 850132
GlobalTracer [baseline] (233.854 ms) : 0, 233854
GlobalTracer [candidate] (232.825 ms) : 0, 232825
AppSec [baseline] (28.21 ms) : 0, 28210
AppSec [candidate] (28.044 ms) : 0, 28044
Debugger [baseline] (6.633 ms) : 0, 6633
Debugger [candidate] (5.794 ms) : 0, 5794
Remote Config [baseline] (568.505 µs) : 0, 569
Remote Config [candidate] (580.379 µs) : 0, 580
Telemetry [baseline] (8.244 ms) : 0, 8244
Telemetry [candidate] (8.358 ms) : 0, 8358
IAST [baseline] (27.578 ms) : 0, 27578
IAST [candidate] (29.268 ms) : 0, 29268
LoadParameters
See matching parameters
SummaryFound 0 performance improvements and 3 performance regressions! Performance is the same for 9 metrics, 12 unstable metrics.
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.53.0-SNAPSHOT~d748a1c4b9, baseline=1.53.0-SNAPSHOT~893780c76b
dateFormat X
axisFormat %s
section baseline
no_agent (35.935 ms) : 35653, 36217
. : milestone, 35935,
appsec (46.268 ms) : 45858, 46679
. : milestone, 46268,
code_origins (45.688 ms) : 45275, 46101
. : milestone, 45688,
iast (45.649 ms) : 45244, 46054
. : milestone, 45649,
profiling (48.932 ms) : 48506, 49357
. : milestone, 48932,
tracing (45.475 ms) : 45086, 45864
. : milestone, 45475,
section candidate
no_agent (36.829 ms) : 36533, 37126
. : milestone, 36829,
appsec (48.67 ms) : 48239, 49100
. : milestone, 48670,
code_origins (44.91 ms) : 44510, 45309
. : milestone, 44910,
iast (45.197 ms) : 44803, 45591
. : milestone, 45197,
profiling (50.28 ms) : 49798, 50763
. : milestone, 50280,
tracing (44.502 ms) : 44132, 44871
. : milestone, 44502,
Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.53.0-SNAPSHOT~d748a1c4b9, baseline=1.53.0-SNAPSHOT~893780c76b
dateFormat X
axisFormat %s
section baseline
no_agent (4.309 ms) : 4260, 4358
. : milestone, 4309,
iast (9.503 ms) : 9349, 9656
. : milestone, 9503,
iast_FULL (13.911 ms) : 13635, 14188
. : milestone, 13911,
iast_GLOBAL (9.833 ms) : 9651, 10015
. : milestone, 9833,
profiling (8.872 ms) : 8728, 9017
. : milestone, 8872,
tracing (7.248 ms) : 7148, 7349
. : milestone, 7248,
section candidate
no_agent (4.317 ms) : 4262, 4373
. : milestone, 4317,
iast (9.438 ms) : 9270, 9605
. : milestone, 9438,
iast_FULL (13.65 ms) : 13378, 13922
. : milestone, 13650,
iast_GLOBAL (10.671 ms) : 10481, 10862
. : milestone, 10671,
profiling (8.9 ms) : 8750, 9049
. : milestone, 8900,
tracing (7.625 ms) : 7513, 7737
. : milestone, 7625,
DacapoParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 11 metrics, 1 unstable metrics. Execution time for tomcatgantt
title tomcat - execution time [CI 0.99] : candidate=1.53.0-SNAPSHOT~d748a1c4b9, baseline=1.53.0-SNAPSHOT~893780c76b
dateFormat X
axisFormat %s
section baseline
no_agent (1.479 ms) : 1467, 1490
. : milestone, 1479,
appsec (3.641 ms) : 3425, 3858
. : milestone, 3641,
iast (2.199 ms) : 2137, 2261
. : milestone, 2199,
iast_GLOBAL (2.25 ms) : 2187, 2313
. : milestone, 2250,
profiling (2.045 ms) : 1995, 2096
. : milestone, 2045,
tracing (2.017 ms) : 1969, 2066
. : milestone, 2017,
section candidate
no_agent (1.483 ms) : 1471, 1494
. : milestone, 1483,
appsec (3.672 ms) : 3454, 3890
. : milestone, 3672,
iast (2.204 ms) : 2142, 2267
. : milestone, 2204,
iast_GLOBAL (2.251 ms) : 2188, 2315
. : milestone, 2251,
profiling (2.042 ms) : 1992, 2092
. : milestone, 2042,
tracing (2.018 ms) : 1970, 2067
. : milestone, 2018,
Execution time for biojavagantt
title biojava - execution time [CI 0.99] : candidate=1.53.0-SNAPSHOT~d748a1c4b9, baseline=1.53.0-SNAPSHOT~893780c76b
dateFormat X
axisFormat %s
section baseline
no_agent (15.317 s) : 15317000, 15317000
. : milestone, 15317000,
appsec (15.047 s) : 15047000, 15047000
. : milestone, 15047000,
iast (18.468 s) : 18468000, 18468000
. : milestone, 18468000,
iast_GLOBAL (18.229 s) : 18229000, 18229000
. : milestone, 18229000,
profiling (15.232 s) : 15232000, 15232000
. : milestone, 15232000,
tracing (14.806 s) : 14806000, 14806000
. : milestone, 14806000,
section candidate
no_agent (15.671 s) : 15671000, 15671000
. : milestone, 15671000,
appsec (14.998 s) : 14998000, 14998000
. : milestone, 14998000,
iast (18.391 s) : 18391000, 18391000
. : milestone, 18391000,
iast_GLOBAL (18.312 s) : 18312000, 18312000
. : milestone, 18312000,
profiling (14.966 s) : 14966000, 14966000
. : milestone, 14966000,
tracing (15.062 s) : 15062000, 15062000
. : milestone, 15062000,
|
PerfectSlayer
left a comment
There was a problem hiding this comment.
Thanks for the fix. Left a minor comment about version catalog
| cafe-crypto = ["cafe-crypto-curve25519", "cafe-crypto-ed25519"] | ||
| # Testing | ||
| spock = ["spock-core", "spock-junit4", "objenesis"] | ||
| spock24 = ["spock24-core", "spock24-junit4", "objenesis34"] |
There was a problem hiding this comment.
❔ question: Why do we end up with different versions of the same library within the catalog?
Can we limit the catalog to the "core" / "platform" libraries and move module specific or transitional changes (like the partial migration of Spock to a non stable version) into their build config only?
I really would like to keep the default catalog to the minimal set of libraries that contributors can safely rely on and start building onto.
There was a problem hiding this comment.
We can start a small RFC on this.
That would be a good improvement
There was a problem hiding this comment.
@PerfectSlayer Yes, there 2 versions of same lib, but I hope it is temporary. My ultimate goal is to migrate whole project to the latest Spock, but this would require more work. With this change I'm trying to proof that update to latest Spock will help us to fix freezes on CI.
PerfectSlayer
left a comment
There was a problem hiding this comment.
Should be good to unblock the CI, thanks! 🤝
We will need to come up with a plan to either migrate such kind of tests to JUnit or find a way to have a stable and fixed Spock library.
What Does This Do
Update module
java-concurrent-21to use Spock 2.4 to mitigate issue with hanging test on GitLab.Spock 2.4 contains fix for possible deadlock, when blocking in mock response generators.
See: Spock release notes
Motivation
Green CI
Additional Notes
This change addresses test hangs observed in this module, which appear to be similar to issues seen in several other modules. If this fix proves effective in resolving the freezing behavior on GitLab, we will apply similar updates to the remaining affected modules.
NOTE, that we are not upgrading the entire project to Spock 2.4 at this time. Initial attempts to do so resulted in widespread test failures without clear root causes. A full upgrade will require further investigation and will be handled separately.