-
Notifications
You must be signed in to change notification settings - Fork 319
Mark AppSecActivationSmokeTest as flaky in oracle8 #10037
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
Mark AppSecActivationSmokeTest as flaky in oracle8 #10037
Conversation
utils/test-utils/src/main/groovy/datadog/trace/test/util/Predicates.java
Outdated
Show resolved
Hide resolved
AlexeyKuznetsov-DD
left a comment
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.
LGTM in general, left minor comment.
Maybe we do not need this new class and can use methods from JavaVirtualMachine ?
|
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 60 metrics, 5 unstable metrics. Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.57.0-SNAPSHOT~f7601e7c51, baseline=1.57.0-SNAPSHOT~2229c621bd
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.095 s) : 0, 1094610
Total [baseline] (10.998 s) : 0, 10997530
Agent [candidate] (1.086 s) : 0, 1085868
Total [candidate] (10.874 s) : 0, 10874237
section appsec
Agent [baseline] (1.267 s) : 0, 1266890
Total [baseline] (11.116 s) : 0, 11115799
Agent [candidate] (1.265 s) : 0, 1264885
Total [candidate] (11.113 s) : 0, 11112924
section iast
Agent [baseline] (1.227 s) : 0, 1226612
Total [baseline] (11.213 s) : 0, 11213050
Agent [candidate] (1.227 s) : 0, 1227230
Total [candidate] (11.251 s) : 0, 11250561
section profiling
Agent [baseline] (1.208 s) : 0, 1207921
Total [baseline] (11.016 s) : 0, 11016461
Agent [candidate] (1.207 s) : 0, 1206524
Total [candidate] (11.023 s) : 0, 11023414
gantt
title petclinic - break down per module: candidate=1.57.0-SNAPSHOT~f7601e7c51, baseline=1.57.0-SNAPSHOT~2229c621bd
dateFormat X
axisFormat %s
section tracing
crashtracking [baseline] (1.224 ms) : 0, 1224
crashtracking [candidate] (1.199 ms) : 0, 1199
BytebuddyAgent [baseline] (657.996 ms) : 0, 657996
BytebuddyAgent [candidate] (650.588 ms) : 0, 650588
GlobalTracer [baseline] (284.108 ms) : 0, 284108
GlobalTracer [candidate] (283.688 ms) : 0, 283688
AppSec [baseline] (32.849 ms) : 0, 32849
AppSec [candidate] (32.822 ms) : 0, 32822
Debugger [baseline] (68.216 ms) : 0, 68216
Debugger [candidate] (68.502 ms) : 0, 68502
Remote Config [baseline] (662.902 µs) : 0, 663
Remote Config [candidate] (642.17 µs) : 0, 642
Telemetry [baseline] (9.823 ms) : 0, 9823
Telemetry [candidate] (9.037 ms) : 0, 9037
Flare Poller [baseline] (3.807 ms) : 0, 3807
Flare Poller [candidate] (3.829 ms) : 0, 3829
section appsec
crashtracking [baseline] (1.201 ms) : 0, 1201
crashtracking [candidate] (1.198 ms) : 0, 1198
BytebuddyAgent [baseline] (690.572 ms) : 0, 690572
BytebuddyAgent [candidate] (688.749 ms) : 0, 688749
GlobalTracer [baseline] (259.933 ms) : 0, 259933
GlobalTracer [candidate] (259.581 ms) : 0, 259581
AppSec [baseline] (174.26 ms) : 0, 174260
AppSec [candidate] (175.185 ms) : 0, 175185
Debugger [baseline] (67.036 ms) : 0, 67036
Debugger [candidate] (66.307 ms) : 0, 66307
Remote Config [baseline] (703.412 µs) : 0, 703
Remote Config [candidate] (702.788 µs) : 0, 703
Telemetry [baseline] (9.149 ms) : 0, 9149
Telemetry [candidate] (9.144 ms) : 0, 9144
Flare Poller [baseline] (3.894 ms) : 0, 3894
Flare Poller [candidate] (3.978 ms) : 0, 3978
IAST [baseline] (24.549 ms) : 0, 24549
IAST [candidate] (24.502 ms) : 0, 24502
section iast
crashtracking [baseline] (1.205 ms) : 0, 1205
crashtracking [candidate] (1.195 ms) : 0, 1195
BytebuddyAgent [baseline] (791.699 ms) : 0, 791699
BytebuddyAgent [candidate] (792.914 ms) : 0, 792914
GlobalTracer [baseline] (256.361 ms) : 0, 256361
GlobalTracer [candidate] (255.892 ms) : 0, 255892
AppSec [baseline] (35.471 ms) : 0, 35471
AppSec [candidate] (35.881 ms) : 0, 35881
Debugger [baseline] (66.527 ms) : 0, 66527
Debugger [candidate] (66.112 ms) : 0, 66112
Remote Config [baseline] (565.64 µs) : 0, 566
Remote Config [candidate] (593.288 µs) : 0, 593
Telemetry [baseline] (8.525 ms) : 0, 8525
Telemetry [candidate] (8.487 ms) : 0, 8487
Flare Poller [baseline] (3.505 ms) : 0, 3505
Flare Poller [candidate] (3.481 ms) : 0, 3481
IAST [baseline] (27.302 ms) : 0, 27302
IAST [candidate] (27.203 ms) : 0, 27203
section profiling
crashtracking [baseline] (1.187 ms) : 0, 1187
crashtracking [candidate] (1.193 ms) : 0, 1193
BytebuddyAgent [baseline] (702.706 ms) : 0, 702706
BytebuddyAgent [candidate] (703.692 ms) : 0, 703692
GlobalTracer [baseline] (221.056 ms) : 0, 221056
GlobalTracer [candidate] (221.441 ms) : 0, 221441
AppSec [baseline] (32.244 ms) : 0, 32244
AppSec [candidate] (32.215 ms) : 0, 32215
Debugger [baseline] (69.15 ms) : 0, 69150
Debugger [candidate] (67.704 ms) : 0, 67704
Remote Config [baseline] (610.267 µs) : 0, 610
Remote Config [candidate] (629.231 µs) : 0, 629
Telemetry [baseline] (9.008 ms) : 0, 9008
Telemetry [candidate] (9.043 ms) : 0, 9043
Flare Poller [baseline] (3.806 ms) : 0, 3806
Flare Poller [candidate] (3.804 ms) : 0, 3804
ProfilingAgent [baseline] (98.46 ms) : 0, 98460
ProfilingAgent [candidate] (97.131 ms) : 0, 97131
Profiling [baseline] (99.038 ms) : 0, 99038
Profiling [candidate] (97.699 ms) : 0, 97699
Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.57.0-SNAPSHOT~f7601e7c51, baseline=1.57.0-SNAPSHOT~2229c621bd
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.085 s) : 0, 1085299
Total [baseline] (8.756 s) : 0, 8755813
Agent [candidate] (1.091 s) : 0, 1091206
Total [candidate] (8.773 s) : 0, 8773174
section iast
Agent [baseline] (1.224 s) : 0, 1224449
Total [baseline] (9.472 s) : 0, 9471803
Agent [candidate] (1.233 s) : 0, 1232623
Total [candidate] (9.538 s) : 0, 9537930
gantt
title insecure-bank - break down per module: candidate=1.57.0-SNAPSHOT~f7601e7c51, baseline=1.57.0-SNAPSHOT~2229c621bd
dateFormat X
axisFormat %s
section tracing
crashtracking [baseline] (1.216 ms) : 0, 1216
crashtracking [candidate] (1.196 ms) : 0, 1196
BytebuddyAgent [baseline] (653.131 ms) : 0, 653131
BytebuddyAgent [candidate] (655.272 ms) : 0, 655272
GlobalTracer [baseline] (281.974 ms) : 0, 281974
GlobalTracer [candidate] (284.606 ms) : 0, 284606
AppSec [baseline] (32.352 ms) : 0, 32352
AppSec [candidate] (32.729 ms) : 0, 32729
Debugger [baseline] (67.354 ms) : 0, 67354
Debugger [candidate] (68.008 ms) : 0, 68008
Remote Config [baseline] (650.521 µs) : 0, 651
Remote Config [candidate] (655.233 µs) : 0, 655
Telemetry [baseline] (9.094 ms) : 0, 9094
Telemetry [candidate] (9.119 ms) : 0, 9119
Flare Poller [baseline] (3.769 ms) : 0, 3769
Flare Poller [candidate] (3.812 ms) : 0, 3812
section iast
crashtracking [baseline] (1.199 ms) : 0, 1199
crashtracking [candidate] (1.192 ms) : 0, 1192
BytebuddyAgent [baseline] (792.848 ms) : 0, 792848
BytebuddyAgent [candidate] (797.469 ms) : 0, 797469
GlobalTracer [baseline] (255.634 ms) : 0, 255634
GlobalTracer [candidate] (257.601 ms) : 0, 257601
AppSec [baseline] (35.625 ms) : 0, 35625
AppSec [candidate] (35.732 ms) : 0, 35732
Debugger [baseline] (64.353 ms) : 0, 64353
Debugger [candidate] (65.215 ms) : 0, 65215
Remote Config [baseline] (566.617 µs) : 0, 567
Remote Config [candidate] (569.215 µs) : 0, 569
Telemetry [baseline] (8.451 ms) : 0, 8451
Telemetry [candidate] (8.459 ms) : 0, 8459
Flare Poller [baseline] (3.457 ms) : 0, 3457
Flare Poller [candidate] (3.503 ms) : 0, 3503
IAST [baseline] (26.841 ms) : 0, 26841
IAST [candidate] (27.287 ms) : 0, 27287
LoadParameters
See matching parameters
SummaryFound 0 performance improvements and 4 performance regressions! Performance is the same for 14 metrics, 18 unstable metrics.
Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.57.0-SNAPSHOT~f7601e7c51, baseline=1.57.0-SNAPSHOT~2229c621bd
dateFormat X
axisFormat %s
section baseline
no_agent (1.221 ms) : 1209, 1233
. : milestone, 1221,
iast (3.293 ms) : 3248, 3339
. : milestone, 3293,
iast_FULL (5.671 ms) : 5614, 5729
. : milestone, 5671,
iast_GLOBAL (3.506 ms) : 3450, 3563
. : milestone, 3506,
profiling (1.967 ms) : 1950, 1984
. : milestone, 1967,
tracing (1.816 ms) : 1800, 1832
. : milestone, 1816,
section candidate
no_agent (1.218 ms) : 1206, 1230
. : milestone, 1218,
iast (3.27 ms) : 3229, 3311
. : milestone, 3270,
iast_FULL (6.113 ms) : 6050, 6175
. : milestone, 6113,
iast_GLOBAL (3.663 ms) : 3608, 3717
. : milestone, 3663,
profiling (2.056 ms) : 2038, 2073
. : milestone, 2056,
tracing (1.807 ms) : 1792, 1822
. : milestone, 1807,
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.57.0-SNAPSHOT~f7601e7c51, baseline=1.57.0-SNAPSHOT~2229c621bd
dateFormat X
axisFormat %s
section baseline
no_agent (17.245 ms) : 17073, 17416
. : milestone, 17245,
appsec (19.891 ms) : 19687, 20095
. : milestone, 19891,
code_origins (17.663 ms) : 17490, 17837
. : milestone, 17663,
iast (17.887 ms) : 17705, 18068
. : milestone, 17887,
profiling (19.644 ms) : 19446, 19842
. : milestone, 19644,
tracing (17.743 ms) : 17565, 17920
. : milestone, 17743,
section candidate
no_agent (18.146 ms) : 17957, 18335
. : milestone, 18146,
appsec (19.539 ms) : 19338, 19740
. : milestone, 19539,
code_origins (19.769 ms) : 19572, 19965
. : milestone, 19769,
iast (17.726 ms) : 17548, 17903
. : milestone, 17726,
profiling (19.736 ms) : 19536, 19937
. : milestone, 19736,
tracing (17.807 ms) : 17628, 17986
. : milestone, 17807,
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 biojavagantt
title biojava - execution time [CI 0.99] : candidate=1.57.0-SNAPSHOT~f7601e7c51, baseline=1.57.0-SNAPSHOT~2229c621bd
dateFormat X
axisFormat %s
section baseline
no_agent (15.581 s) : 15581000, 15581000
. : milestone, 15581000,
appsec (14.562 s) : 14562000, 14562000
. : milestone, 14562000,
iast (18.809 s) : 18809000, 18809000
. : milestone, 18809000,
iast_GLOBAL (18.303 s) : 18303000, 18303000
. : milestone, 18303000,
profiling (14.672 s) : 14672000, 14672000
. : milestone, 14672000,
tracing (14.625 s) : 14625000, 14625000
. : milestone, 14625000,
section candidate
no_agent (15.571 s) : 15571000, 15571000
. : milestone, 15571000,
appsec (14.499 s) : 14499000, 14499000
. : milestone, 14499000,
iast (18.247 s) : 18247000, 18247000
. : milestone, 18247000,
iast_GLOBAL (18.099 s) : 18099000, 18099000
. : milestone, 18099000,
profiling (15.15 s) : 15150000, 15150000
. : milestone, 15150000,
tracing (14.9 s) : 14900000, 14900000
. : milestone, 14900000,
Execution time for tomcatgantt
title tomcat - execution time [CI 0.99] : candidate=1.57.0-SNAPSHOT~f7601e7c51, baseline=1.57.0-SNAPSHOT~2229c621bd
dateFormat X
axisFormat %s
section baseline
no_agent (1.479 ms) : 1467, 1490
. : milestone, 1479,
appsec (3.677 ms) : 3461, 3893
. : milestone, 3677,
iast (2.23 ms) : 2165, 2295
. : milestone, 2230,
iast_GLOBAL (2.272 ms) : 2207, 2338
. : milestone, 2272,
profiling (2.067 ms) : 2015, 2120
. : milestone, 2067,
tracing (2.057 ms) : 2006, 2108
. : milestone, 2057,
section candidate
no_agent (1.48 ms) : 1468, 1491
. : milestone, 1480,
appsec (3.679 ms) : 3462, 3897
. : milestone, 3679,
iast (2.23 ms) : 2164, 2295
. : milestone, 2230,
iast_GLOBAL (2.275 ms) : 2209, 2340
. : milestone, 2275,
profiling (2.09 ms) : 2035, 2144
. : milestone, 2090,
tracing (2.05 ms) : 1999, 2102
. : milestone, 2050,
|
Not sure that if my understanding correct, but I can see in our code base code in groovy like this: Does it make sense? Or it is because |
Just checked, this should work: |
utils/test-utils/src/main/groovy/datadog/trace/test/util/Predicates.java
Outdated
Show resolved
Hide resolved
929aaf3 to
c34ff34
Compare
That's what I mentioned before, @Flaky(
condition = __spock_feature_2_0_closure2.class,
value = "Telemetry product change event flakes in oracle8"
)Which is no longer a PS: IgnoreIf works as it's groovy and receives a closure @Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.METHOD})
@ExtensionAnnotation(IgnoreIfExtension.class)
@Repeatable(Container.class)
public @interface IgnoreIf {
Class<? extends Closure> value();
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.METHOD})
public @interface Container {
IgnoreIf[] value();
}
} |
PerfectSlayer
left a comment
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.
Left a minor request before merging.
Looking good otherwise 👍
components/environment/src/main/java/datadog/environment/JavaVirtualMachine.java
Show resolved
Hide resolved
|
Looks like my github tag as accidentally been added into the PR description, could it be corrected please? 🙂 |
|
Sorry, this was a misspelled Java annotation (they start with an |
…ivation-flaky-oracle8
…ivation-flaky-oracle8
What Does This Do
Marks the
AppSecActivationSmokeTestas flaky in oracle8Added support for using closures in
@Flakyannotations, alongside Predicate implementations, to simplify flaky-test filtering.Motivation
Additional Notes
Contributor Checklist
type:and (comp:orinst:) labels in addition to any useful labelsclose,fixor any linking keywords when referencing an issue.Use
solvesinstead, and assign the PR milestone to the issueJira ticket: [PROJ-IDENT]