-
Notifications
You must be signed in to change notification settings - Fork 292
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
Fix message for snapshots with evaluation errors #7653
Conversation
Debugger benchmarksParameters
See matching parameters
SummaryFound 0 performance improvements and 5 performance regressions! Performance is the same for 1 metrics, 9 unstable metrics.
See unchanged results
Request duration reports for reportsgantt
title reports - request duration [CI 0.99] : candidate=None, baseline=None
dateFormat X
axisFormat %s
section baseline
noprobe (299.973 µs) : 265, 335
. : milestone, 300,
basic (299.357 µs) : 290, 308
. : milestone, 299,
loop (10.272 ms) : 10230, 10315
. : milestone, 10272,
section candidate
noprobe (326.469 µs) : 243, 410
. : milestone, 326,
basic (317.142 µs) : 280, 354
. : milestone, 317,
loop (10.946 ms) : 10875, 11017
. : milestone, 10946,
|
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 1 performance regressions! Performance is the same for 47 metrics, 15 unstable metrics.
Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.40.0-SNAPSHOT~0820c433b5, baseline=1.40.0-SNAPSHOT~5ca0c5bab6
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.069 s) : 0, 1069353
Total [baseline] (8.545 s) : 0, 8545273
Agent [candidate] (1.066 s) : 0, 1066291
Total [candidate] (8.544 s) : 0, 8544403
section iast
Agent [baseline] (1.204 s) : 0, 1204313
Total [baseline] (9.071 s) : 0, 9070558
Agent [candidate] (1.192 s) : 0, 1191962
Total [candidate] (9.007 s) : 0, 9006789
section iast_HARDCODED_SECRET_DISABLED
Agent [baseline] (1.202 s) : 0, 1201813
Total [baseline] (9.01 s) : 0, 9009532
Agent [candidate] (1.194 s) : 0, 1194458
Total [candidate] (8.993 s) : 0, 8992798
section iast_TELEMETRY_OFF
Agent [baseline] (1.19 s) : 0, 1189764
Total [baseline] (8.992 s) : 0, 8992463
Agent [candidate] (1.2 s) : 0, 1199605
Total [candidate] (9.028 s) : 0, 9028317
gantt
title insecure-bank - break down per module: candidate=1.40.0-SNAPSHOT~0820c433b5, baseline=1.40.0-SNAPSHOT~5ca0c5bab6
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (682.247 ms) : 0, 682247
BytebuddyAgent [candidate] (680.175 ms) : 0, 680175
GlobalTracer [baseline] (311.147 ms) : 0, 311147
GlobalTracer [candidate] (310.278 ms) : 0, 310278
AppSec [baseline] (53.867 ms) : 0, 53867
AppSec [candidate] (53.789 ms) : 0, 53789
Remote Config [baseline] (684.429 µs) : 0, 684
Remote Config [candidate] (667.371 µs) : 0, 667
Telemetry [baseline] (7.671 ms) : 0, 7671
Telemetry [candidate] (7.639 ms) : 0, 7639
section iast
BytebuddyAgent [baseline] (800.286 ms) : 0, 800286
BytebuddyAgent [candidate] (792.317 ms) : 0, 792317
GlobalTracer [baseline] (302.692 ms) : 0, 302692
GlobalTracer [candidate] (298.913 ms) : 0, 298913
AppSec [baseline] (56.385 ms) : 0, 56385
AppSec [candidate] (52.761 ms) : 0, 52761
IAST [baseline] (23.244 ms) : 0, 23244
IAST [candidate] (26.204 ms) : 0, 26204
Remote Config [baseline] (621.148 µs) : 0, 621
Remote Config [candidate] (603.626 µs) : 0, 604
Telemetry [baseline] (7.176 ms) : 0, 7176
Telemetry [candidate] (7.359 ms) : 0, 7359
section iast_HARDCODED_SECRET_DISABLED
BytebuddyAgent [baseline] (799.72 ms) : 0, 799720
BytebuddyAgent [candidate] (794.201 ms) : 0, 794201
GlobalTracer [baseline] (301.326 ms) : 0, 301326
GlobalTracer [candidate] (299.566 ms) : 0, 299566
AppSec [baseline] (56.15 ms) : 0, 56150
AppSec [candidate] (55.339 ms) : 0, 55339
IAST [baseline] (22.177 ms) : 0, 22177
IAST [candidate] (23.558 ms) : 0, 23558
Remote Config [baseline] (629.832 µs) : 0, 630
Remote Config [candidate] (595.663 µs) : 0, 596
Telemetry [baseline] (7.923 ms) : 0, 7923
Telemetry [candidate] (7.419 ms) : 0, 7419
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (790.484 ms) : 0, 790484
BytebuddyAgent [candidate] (796.569 ms) : 0, 796569
GlobalTracer [baseline] (299.254 ms) : 0, 299254
GlobalTracer [candidate] (302.08 ms) : 0, 302080
AppSec [baseline] (54.679 ms) : 0, 54679
AppSec [candidate] (55.631 ms) : 0, 55631
IAST [baseline] (23.226 ms) : 0, 23226
IAST [candidate] (23.482 ms) : 0, 23482
Remote Config [baseline] (1.424 ms) : 0, 1424
Remote Config [candidate] (630.002 µs) : 0, 630
Telemetry [baseline] (6.945 ms) : 0, 6945
Telemetry [candidate] (7.33 ms) : 0, 7330
Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.40.0-SNAPSHOT~0820c433b5, baseline=1.40.0-SNAPSHOT~5ca0c5bab6
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.069 s) : 0, 1068758
Total [baseline] (10.44 s) : 0, 10439556
Agent [candidate] (1.065 s) : 0, 1065029
Total [candidate] (10.359 s) : 0, 10358621
section appsec
Agent [baseline] (1.206 s) : 0, 1205833
Total [baseline] (10.63 s) : 0, 10629567
Agent [candidate] (1.205 s) : 0, 1205171
Total [candidate] (10.635 s) : 0, 10635369
section iast
Agent [baseline] (1.201 s) : 0, 1200904
Total [baseline] (10.791 s) : 0, 10791207
Agent [candidate] (1.197 s) : 0, 1196785
Total [candidate] (10.8 s) : 0, 10799799
section profiling
Agent [baseline] (1.266 s) : 0, 1266473
Total [baseline] (10.593 s) : 0, 10592919
Agent [candidate] (1.267 s) : 0, 1267136
Total [candidate] (10.621 s) : 0, 10621479
gantt
title petclinic - break down per module: candidate=1.40.0-SNAPSHOT~0820c433b5, baseline=1.40.0-SNAPSHOT~5ca0c5bab6
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (682.303 ms) : 0, 682303
BytebuddyAgent [candidate] (679.287 ms) : 0, 679287
GlobalTracer [baseline] (310.616 ms) : 0, 310616
GlobalTracer [candidate] (310.161 ms) : 0, 310161
AppSec [baseline] (53.851 ms) : 0, 53851
AppSec [candidate] (53.649 ms) : 0, 53649
Remote Config [baseline] (663.612 µs) : 0, 664
Remote Config [candidate] (667.19 µs) : 0, 667
Telemetry [baseline] (7.63 ms) : 0, 7630
Telemetry [candidate] (7.584 ms) : 0, 7584
section appsec
BytebuddyAgent [baseline] (704.849 ms) : 0, 704849
BytebuddyAgent [candidate] (704.301 ms) : 0, 704301
GlobalTracer [baseline] (304.738 ms) : 0, 304738
GlobalTracer [candidate] (304.427 ms) : 0, 304427
AppSec [baseline] (164.114 ms) : 0, 164114
AppSec [candidate] (163.881 ms) : 0, 163881
IAST [baseline] (19.185 ms) : 0, 19185
IAST [candidate] (19.94 ms) : 0, 19940
Remote Config [baseline] (645.621 µs) : 0, 646
Remote Config [candidate] (644.921 µs) : 0, 645
Telemetry [baseline] (8.154 ms) : 0, 8154
Telemetry [candidate] (8.203 ms) : 0, 8203
section iast
BytebuddyAgent [baseline] (799.261 ms) : 0, 799261
BytebuddyAgent [candidate] (795.917 ms) : 0, 795917
GlobalTracer [baseline] (301.008 ms) : 0, 301008
GlobalTracer [candidate] (300.232 ms) : 0, 300232
AppSec [baseline] (55.112 ms) : 0, 55112
AppSec [candidate] (54.989 ms) : 0, 54989
IAST [baseline] (23.188 ms) : 0, 23188
IAST [candidate] (23.775 ms) : 0, 23775
Remote Config [baseline] (640.802 µs) : 0, 641
Remote Config [candidate] (628.875 µs) : 0, 629
Telemetry [baseline] (7.827 ms) : 0, 7827
Telemetry [candidate] (7.433 ms) : 0, 7433
section profiling
BytebuddyAgent [baseline] (673.659 ms) : 0, 673659
BytebuddyAgent [candidate] (674.125 ms) : 0, 674125
GlobalTracer [baseline] (394.642 ms) : 0, 394642
GlobalTracer [candidate] (396.603 ms) : 0, 396603
AppSec [baseline] (54.864 ms) : 0, 54864
AppSec [candidate] (54.305 ms) : 0, 54305
Remote Config [baseline] (652.878 µs) : 0, 653
Remote Config [candidate] (652.276 µs) : 0, 652
Telemetry [baseline] (7.503 ms) : 0, 7503
Telemetry [candidate] (7.416 ms) : 0, 7416
ProfilingAgent [baseline] (96.53 ms) : 0, 96530
ProfilingAgent [candidate] (95.833 ms) : 0, 95833
Profiling [baseline] (96.553 ms) : 0, 96553
Profiling [candidate] (95.857 ms) : 0, 95857
LoadParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 12 metrics, 16 unstable metrics. Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.40.0-SNAPSHOT~0820c433b5, baseline=1.40.0-SNAPSHOT~5ca0c5bab6
dateFormat X
axisFormat %s
section baseline
no_agent (1.342 ms) : 1323, 1362
. : milestone, 1342,
appsec (1.725 ms) : 1701, 1749
. : milestone, 1725,
appsec_no_iast (1.706 ms) : 1681, 1731
. : milestone, 1706,
iast (1.477 ms) : 1455, 1499
. : milestone, 1477,
profiling (1.515 ms) : 1489, 1541
. : milestone, 1515,
tracing (1.439 ms) : 1415, 1463
. : milestone, 1439,
section candidate
no_agent (1.344 ms) : 1325, 1364
. : milestone, 1344,
appsec (1.724 ms) : 1700, 1747
. : milestone, 1724,
appsec_no_iast (1.726 ms) : 1702, 1749
. : milestone, 1726,
iast (1.472 ms) : 1449, 1494
. : milestone, 1472,
profiling (1.491 ms) : 1466, 1517
. : milestone, 1491,
tracing (1.478 ms) : 1452, 1503
. : milestone, 1478,
Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.40.0-SNAPSHOT~0820c433b5, baseline=1.40.0-SNAPSHOT~5ca0c5bab6
dateFormat X
axisFormat %s
section baseline
no_agent (369.801 µs) : 350, 390
. : milestone, 370,
iast (484.694 µs) : 463, 506
. : milestone, 485,
iast_FULL (555.428 µs) : 534, 577
. : milestone, 555,
iast_GLOBAL (503.414 µs) : 482, 525
. : milestone, 503,
iast_HARDCODED_SECRET_DISABLED (478.483 µs) : 457, 500
. : milestone, 478,
iast_INACTIVE (444.653 µs) : 424, 465
. : milestone, 445,
iast_TELEMETRY_OFF (470.91 µs) : 449, 493
. : milestone, 471,
tracing (443.967 µs) : 424, 464
. : milestone, 444,
section candidate
no_agent (370.347 µs) : 350, 391
. : milestone, 370,
iast (488.044 µs) : 466, 510
. : milestone, 488,
iast_FULL (549.706 µs) : 529, 571
. : milestone, 550,
iast_GLOBAL (511.152 µs) : 488, 534
. : milestone, 511,
iast_HARDCODED_SECRET_DISABLED (480.994 µs) : 460, 502
. : milestone, 481,
iast_INACTIVE (443.526 µs) : 423, 464
. : milestone, 444,
iast_TELEMETRY_OFF (472.832 µs) : 450, 496
. : milestone, 473,
tracing (441.183 µs) : 421, 462
. : milestone, 441,
DacapoParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 12 metrics, 0 unstable metrics. Execution time for biojavagantt
title biojava - execution time [CI 0.99] : candidate=1.40.0-SNAPSHOT~0820c433b5, baseline=1.40.0-SNAPSHOT~5ca0c5bab6
dateFormat X
axisFormat %s
section baseline
no_agent (14.759 s) : 14759000, 14759000
. : milestone, 14759000,
appsec (15.316 s) : 15316000, 15316000
. : milestone, 15316000,
iast (18.796 s) : 18796000, 18796000
. : milestone, 18796000,
iast_GLOBAL (18.162 s) : 18162000, 18162000
. : milestone, 18162000,
profiling (15.365 s) : 15365000, 15365000
. : milestone, 15365000,
tracing (15.403 s) : 15403000, 15403000
. : milestone, 15403000,
section candidate
no_agent (15.403 s) : 15403000, 15403000
. : milestone, 15403000,
appsec (15.385 s) : 15385000, 15385000
. : milestone, 15385000,
iast (19.051 s) : 19051000, 19051000
. : milestone, 19051000,
iast_GLOBAL (18.195 s) : 18195000, 18195000
. : milestone, 18195000,
profiling (15.427 s) : 15427000, 15427000
. : milestone, 15427000,
tracing (15.332 s) : 15332000, 15332000
. : milestone, 15332000,
Execution time for tomcatgantt
title tomcat - execution time [CI 0.99] : candidate=1.40.0-SNAPSHOT~0820c433b5, baseline=1.40.0-SNAPSHOT~5ca0c5bab6
dateFormat X
axisFormat %s
section baseline
no_agent (1.472 ms) : 1461, 1484
. : milestone, 1472,
appsec (2.322 ms) : 2280, 2363
. : milestone, 2322,
iast (2.064 ms) : 2013, 2115
. : milestone, 2064,
iast_GLOBAL (2.097 ms) : 2046, 2148
. : milestone, 2097,
profiling (1.951 ms) : 1909, 1993
. : milestone, 1951,
tracing (1.906 ms) : 1867, 1945
. : milestone, 1906,
section candidate
no_agent (1.462 ms) : 1451, 1473
. : milestone, 1462,
appsec (2.337 ms) : 2295, 2379
. : milestone, 2337,
iast (2.062 ms) : 2010, 2113
. : milestone, 2062,
iast_GLOBAL (2.11 ms) : 2058, 2162
. : milestone, 2110,
profiling (1.946 ms) : 1903, 1988
. : milestone, 1946,
tracing (1.912 ms) : 1873, 1952
. : milestone, 1912,
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there is a bug here... please check that setEntry/setExit works
CapturedContext context, Snapshot snapshot, LogStatus status) { | ||
if (context.getCapturedThrowable() != null) { | ||
// report also uncaught exception | ||
snapshot.setEntry(context); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we always call snapshot.setEntry here... I think this is a bug?
Do we have a test to check this ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch, fixed
shouldCommit = true; | ||
} | ||
return shouldCommit; | ||
} | ||
|
||
private static void fillEvaluationErrors( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggest rename to popuplateSnapshotFromContextAndErrors
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
renamed, but shorter
set the message in snapshot with the content of the first evaluation errors
deb74f3
to
0820c43
Compare
set the message in snapshot with the content of the first evaluation errors
What Does This Do
set the message in snapshot with the content of the first evaluation errors
Motivation
Additional Notes
Contributor Checklist
type:
and (comp:
orinst:
) labels in addition to any usefull labelsclose
,fix
or any linking keywords when referencing an issue.Use
solves
instead, and assign the PR milestone to the issueJira ticket: DEBUG-2704