Fix folder permission interaction with Gitlab and gradle#6939
Merged
randomanderson merged 1 commit intomasterfrom Apr 24, 2024
Merged
Fix folder permission interaction with Gitlab and gradle#6939randomanderson merged 1 commit intomasterfrom
randomanderson merged 1 commit intomasterfrom
Conversation
print script perms -a workaround chmod not working try sudo churn some copy trickery Use move instead of copy
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 50 metrics, 13 unstable metrics. Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.34.0-SNAPSHOT~ee14ceb163, baseline=1.34.0-SNAPSHOT~f34dfb52a1
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.081 s) : 0, 1080894
Total [baseline] (8.547 s) : 0, 8546870
Agent [candidate] (1.08 s) : 0, 1080270
Total [candidate] (8.575 s) : 0, 8574916
section iast
Agent [baseline] (1.207 s) : 0, 1206944
Total [baseline] (8.992 s) : 0, 8992316
Agent [candidate] (1.207 s) : 0, 1207359
Total [candidate] (9.03 s) : 0, 9030284
section iast_HARDCODED_SECRET_DISABLED
Agent [baseline] (1.204 s) : 0, 1203825
Total [baseline] (8.959 s) : 0, 8958988
Agent [candidate] (1.208 s) : 0, 1208089
Total [candidate] (8.996 s) : 0, 8995844
section iast_TELEMETRY_OFF
Agent [baseline] (1.203 s) : 0, 1203112
Total [baseline] (9.005 s) : 0, 9005231
Agent [candidate] (1.194 s) : 0, 1193663
Total [candidate] (8.971 s) : 0, 8970817
gantt
title insecure-bank - break down per module: candidate=1.34.0-SNAPSHOT~ee14ceb163, baseline=1.34.0-SNAPSHOT~f34dfb52a1
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (677.494 ms) : 0, 677494
BytebuddyAgent [candidate] (676.837 ms) : 0, 676837
GlobalTracer [baseline] (310.993 ms) : 0, 310993
GlobalTracer [candidate] (311.062 ms) : 0, 311062
AppSec [baseline] (49.729 ms) : 0, 49729
AppSec [candidate] (49.541 ms) : 0, 49541
Remote Config [baseline] (649.906 µs) : 0, 650
Remote Config [candidate] (665.765 µs) : 0, 666
Telemetry [baseline] (7.512 ms) : 0, 7512
Telemetry [candidate] (7.615 ms) : 0, 7615
section iast
BytebuddyAgent [baseline] (799.93 ms) : 0, 799930
BytebuddyAgent [candidate] (800.527 ms) : 0, 800527
GlobalTracer [baseline] (289.657 ms) : 0, 289657
GlobalTracer [candidate] (289.53 ms) : 0, 289530
AppSec [baseline] (52.002 ms) : 0, 52002
AppSec [candidate] (50.332 ms) : 0, 50332
IAST [baseline] (22.616 ms) : 0, 22616
IAST [candidate] (24.269 ms) : 0, 24269
Remote Config [baseline] (575.707 µs) : 0, 576
Remote Config [candidate] (577.862 µs) : 0, 578
Telemetry [baseline] (7.442 ms) : 0, 7442
Telemetry [candidate] (7.452 ms) : 0, 7452
section iast_HARDCODED_SECRET_DISABLED
BytebuddyAgent [baseline] (798.36 ms) : 0, 798360
BytebuddyAgent [candidate] (801.463 ms) : 0, 801463
GlobalTracer [baseline] (288.961 ms) : 0, 288961
GlobalTracer [candidate] (290.038 ms) : 0, 290038
AppSec [baseline] (51.098 ms) : 0, 51098
AppSec [candidate] (51.074 ms) : 0, 51074
IAST [baseline] (23.859 ms) : 0, 23859
IAST [candidate] (22.774 ms) : 0, 22774
Remote Config [baseline] (561.529 µs) : 0, 562
Remote Config [candidate] (578.865 µs) : 0, 579
Telemetry [baseline] (6.53 ms) : 0, 6530
Telemetry [candidate] (7.46 ms) : 0, 7460
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (797.157 ms) : 0, 797157
BytebuddyAgent [candidate] (789.86 ms) : 0, 789860
GlobalTracer [baseline] (289.617 ms) : 0, 289617
GlobalTracer [candidate] (287.669 ms) : 0, 287669
AppSec [baseline] (49.399 ms) : 0, 49399
AppSec [candidate] (47.302 ms) : 0, 47302
IAST [baseline] (24.477 ms) : 0, 24477
IAST [candidate] (25.932 ms) : 0, 25932
Remote Config [baseline] (570.18 µs) : 0, 570
Remote Config [candidate] (576.366 µs) : 0, 576
Telemetry [baseline] (7.285 ms) : 0, 7285
Telemetry [candidate] (7.996 ms) : 0, 7996
Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.34.0-SNAPSHOT~ee14ceb163, baseline=1.34.0-SNAPSHOT~f34dfb52a1
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.083 s) : 0, 1083320
Total [baseline] (10.433 s) : 0, 10432552
Agent [candidate] (1.09 s) : 0, 1090471
Total [candidate] (10.425 s) : 0, 10424929
section appsec
Agent [baseline] (1.189 s) : 0, 1188906
Total [baseline] (10.436 s) : 0, 10435967
Agent [candidate] (1.196 s) : 0, 1196029
Total [candidate] (10.537 s) : 0, 10536614
section iast
Agent [baseline] (1.198 s) : 0, 1198310
Total [baseline] (10.637 s) : 0, 10636936
Agent [candidate] (1.198 s) : 0, 1198369
Total [candidate] (10.66 s) : 0, 10659546
section profiling
Agent [baseline] (1.282 s) : 0, 1282407
Total [baseline] (10.629 s) : 0, 10628699
Agent [candidate] (1.266 s) : 0, 1266048
Total [candidate] (10.621 s) : 0, 10620592
gantt
title petclinic - break down per module: candidate=1.34.0-SNAPSHOT~ee14ceb163, baseline=1.34.0-SNAPSHOT~f34dfb52a1
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (678.868 ms) : 0, 678868
BytebuddyAgent [candidate] (683.205 ms) : 0, 683205
GlobalTracer [baseline] (311.883 ms) : 0, 311883
GlobalTracer [candidate] (313.821 ms) : 0, 313821
AppSec [baseline] (49.592 ms) : 0, 49592
AppSec [candidate] (50.227 ms) : 0, 50227
Remote Config [baseline] (668.29 µs) : 0, 668
Remote Config [candidate] (665.82 µs) : 0, 666
Telemetry [baseline] (7.632 ms) : 0, 7632
Telemetry [candidate] (7.661 ms) : 0, 7661
section appsec
BytebuddyAgent [baseline] (695.802 ms) : 0, 695802
BytebuddyAgent [candidate] (699.526 ms) : 0, 699526
GlobalTracer [baseline] (290.943 ms) : 0, 290943
GlobalTracer [candidate] (293.1 ms) : 0, 293100
AppSec [baseline] (149.402 ms) : 0, 149402
AppSec [candidate] (149.806 ms) : 0, 149806
IAST [baseline] (19.218 ms) : 0, 19218
IAST [candidate] (19.583 ms) : 0, 19583
Remote Config [baseline] (614.158 µs) : 0, 614
Remote Config [candidate] (623.855 µs) : 0, 624
Telemetry [baseline] (8.196 ms) : 0, 8196
Telemetry [candidate] (8.57 ms) : 0, 8570
section iast
BytebuddyAgent [baseline] (794.027 ms) : 0, 794027
BytebuddyAgent [candidate] (794.226 ms) : 0, 794226
GlobalTracer [baseline] (287.556 ms) : 0, 287556
GlobalTracer [candidate] (287.703 ms) : 0, 287703
AppSec [baseline] (48.75 ms) : 0, 48750
AppSec [candidate] (50.116 ms) : 0, 50116
IAST [baseline] (24.154 ms) : 0, 24154
IAST [candidate] (23.353 ms) : 0, 23353
Remote Config [baseline] (569.563 µs) : 0, 570
Remote Config [candidate] (571.416 µs) : 0, 571
Telemetry [baseline] (8.86 ms) : 0, 8860
Telemetry [candidate] (8.077 ms) : 0, 8077
section profiling
BytebuddyAgent [baseline] (685.613 ms) : 0, 685613
BytebuddyAgent [candidate] (676.893 ms) : 0, 676893
GlobalTracer [baseline] (383.767 ms) : 0, 383767
GlobalTracer [candidate] (379.335 ms) : 0, 379335
AppSec [baseline] (50.771 ms) : 0, 50771
AppSec [candidate] (49.86 ms) : 0, 49860
Remote Config [baseline] (724.736 µs) : 0, 725
Remote Config [candidate] (713.147 µs) : 0, 713
Telemetry [baseline] (7.561 ms) : 0, 7561
Telemetry [candidate] (7.508 ms) : 0, 7508
ProfilingAgent [baseline] (96.982 ms) : 0, 96982
ProfilingAgent [candidate] (95.494 ms) : 0, 95494
Profiling [baseline] (97.006 ms) : 0, 97006
Profiling [candidate] (95.518 ms) : 0, 95518
LoadParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 13 metrics, 15 unstable metrics. Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.34.0-SNAPSHOT~ee14ceb163, baseline=1.34.0-SNAPSHOT~f34dfb52a1
dateFormat X
axisFormat %s
section baseline
no_agent (1.354 ms) : 1334, 1374
. : milestone, 1354,
appsec (1.738 ms) : 1714, 1763
. : milestone, 1738,
appsec_no_iast (1.716 ms) : 1691, 1741
. : milestone, 1716,
iast (1.491 ms) : 1469, 1514
. : milestone, 1491,
profiling (1.512 ms) : 1487, 1536
. : milestone, 1512,
tracing (1.492 ms) : 1468, 1517
. : milestone, 1492,
section candidate
no_agent (1.364 ms) : 1345, 1383
. : milestone, 1364,
appsec (1.718 ms) : 1693, 1742
. : milestone, 1718,
appsec_no_iast (1.721 ms) : 1697, 1746
. : milestone, 1721,
iast (1.491 ms) : 1468, 1514
. : milestone, 1491,
profiling (1.563 ms) : 1538, 1588
. : milestone, 1563,
tracing (1.482 ms) : 1458, 1506
. : milestone, 1482,
Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.34.0-SNAPSHOT~ee14ceb163, baseline=1.34.0-SNAPSHOT~f34dfb52a1
dateFormat X
axisFormat %s
section baseline
no_agent (370.909 µs) : 351, 391
. : milestone, 371,
iast (482.887 µs) : 461, 505
. : milestone, 483,
iast_FULL (541.814 µs) : 521, 563
. : milestone, 542,
iast_GLOBAL (506.378 µs) : 484, 529
. : milestone, 506,
iast_HARDCODED_SECRET_DISABLED (479.794 µs) : 458, 502
. : milestone, 480,
iast_INACTIVE (451.947 µs) : 431, 473
. : milestone, 452,
iast_TELEMETRY_OFF (487.29 µs) : 465, 509
. : milestone, 487,
tracing (445.479 µs) : 425, 466
. : milestone, 445,
section candidate
no_agent (371.805 µs) : 352, 391
. : milestone, 372,
iast (479.594 µs) : 458, 501
. : milestone, 480,
iast_FULL (548.585 µs) : 527, 571
. : milestone, 549,
iast_GLOBAL (504.47 µs) : 482, 526
. : milestone, 504,
iast_HARDCODED_SECRET_DISABLED (478.437 µs) : 458, 499
. : milestone, 478,
iast_INACTIVE (457.602 µs) : 437, 479
. : milestone, 458,
iast_TELEMETRY_OFF (477.388 µs) : 456, 499
. : milestone, 477,
tracing (449.573 µs) : 429, 470
. : milestone, 450,
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 tomcatgantt
title tomcat - execution time [CI 0.99] : candidate=1.34.0-SNAPSHOT~ee14ceb163, baseline=1.34.0-SNAPSHOT~f34dfb52a1
dateFormat X
axisFormat %s
section baseline
no_agent (1.46 ms) : 1448, 1471
. : milestone, 1460,
appsec (2.183 ms) : 2149, 2216
. : milestone, 2183,
iast (1.867 ms) : 1832, 1902
. : milestone, 1867,
iast_GLOBAL (1.912 ms) : 1876, 1947
. : milestone, 1912,
profiling (1.844 ms) : 1812, 1877
. : milestone, 1844,
tracing (1.818 ms) : 1786, 1849
. : milestone, 1818,
section candidate
no_agent (1.458 ms) : 1447, 1469
. : milestone, 1458,
appsec (2.169 ms) : 2136, 2202
. : milestone, 2169,
iast (1.867 ms) : 1833, 1902
. : milestone, 1867,
iast_GLOBAL (1.902 ms) : 1868, 1937
. : milestone, 1902,
profiling (1.836 ms) : 1804, 1869
. : milestone, 1836,
tracing (1.817 ms) : 1785, 1848
. : milestone, 1817,
Execution time for biojavagantt
title biojava - execution time [CI 0.99] : candidate=1.34.0-SNAPSHOT~ee14ceb163, baseline=1.34.0-SNAPSHOT~f34dfb52a1
dateFormat X
axisFormat %s
section baseline
no_agent (15.175 s) : 15175000, 15175000
. : milestone, 15175000,
appsec (14.87 s) : 14870000, 14870000
. : milestone, 14870000,
iast (18.697 s) : 18697000, 18697000
. : milestone, 18697000,
iast_GLOBAL (17.999 s) : 17999000, 17999000
. : milestone, 17999000,
profiling (15.083 s) : 15083000, 15083000
. : milestone, 15083000,
tracing (14.965 s) : 14965000, 14965000
. : milestone, 14965000,
section candidate
no_agent (15.422 s) : 15422000, 15422000
. : milestone, 15422000,
appsec (15.222 s) : 15222000, 15222000
. : milestone, 15222000,
iast (18.742 s) : 18742000, 18742000
. : milestone, 18742000,
iast_GLOBAL (17.835 s) : 17835000, 17835000
. : milestone, 17835000,
profiling (15.077 s) : 15077000, 15077000
. : milestone, 15077000,
tracing (15.228 s) : 15228000, 15228000
. : milestone, 15228000,
|
PerfectSlayer
approved these changes
Apr 24, 2024
Contributor
PerfectSlayer
left a comment
There was a problem hiding this comment.
Thanks for documenting the workaround in the issue 🙏
We will stick with it until we find a better solution (if ever).
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.
What Does This Do
#6931 inadvertently broke Gitlab builds because of the interactions between the Gitlab cache and gradle:
.gradlefolder. See here.gradleis owned by rootThis PR adds a workaround by copying moving back the cache folder so that it is owned by the gitlab runner user.
Related Gradle issues:
gradle/gradle#14200
gradle/gradle#8673