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

Ruby sns sqs #3090

Draft
wants to merge 304 commits into
base: ruby-rc
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
304 commits
Select commit Hold shift + click to select a range
09240b2
fix dotnet
wconti27 Aug 2, 2024
32939d6
Merge branch 'main' into conti/enable-more-system-tests
wconti27 Aug 12, 2024
3a4851c
Merge branch 'main' into conti/dsm-manual-checkpoint-tests
wconti27 Aug 15, 2024
b1cc4ea
fix lint
wconti27 Aug 15, 2024
fdcd216
Merge branch 'main' into conti/dsm-manual-checkpoint-tests
vandonr Aug 21, 2024
b642c06
Merge branch 'main' into conti/dsm-manual-checkpoint-tests
wconti27 Aug 26, 2024
86d5656
merge
wconti27 Aug 26, 2024
a53d6be
resolve reviewer comments
wconti27 Aug 26, 2024
c09efb9
fix permissions error nodejs
wconti27 Aug 26, 2024
688798d
fix unique id
wconti27 Aug 26, 2024
a4a61ef
fix unique id
wconti27 Aug 27, 2024
a994bc8
Merge branch 'main' into conti/enable-more-system-tests
wconti27 Aug 27, 2024
027f071
fix env
wconti27 Aug 27, 2024
ff52be2
run end to end
wconti27 Aug 27, 2024
be087b5
shorten queue names
wconti27 Aug 27, 2024
83cb86f
fix python buddy build
wconti27 Aug 27, 2024
cd73079
add dotnet sleep for dsm checkpoints to be sent
wconti27 Aug 28, 2024
3156e95
fix unimplemented tests
wconti27 Aug 28, 2024
492981a
fix formatting
wconti27 Aug 28, 2024
d91cf69
fix manifests
wconti27 Aug 28, 2024
934ae35
fix lint
wconti27 Aug 28, 2024
c291feb
delay thread
wconti27 Aug 28, 2024
70a3e10
fix thread sleep
wconti27 Aug 28, 2024
2b41712
Merge branch 'main' into conti/dsm-manual-checkpoint-tests
wconti27 Aug 28, 2024
f7db539
fix dotnet manifest
wconti27 Aug 28, 2024
0886c27
Add config telemetry consistency test and enable it for go (even thou…
mtoffl01 Aug 30, 2024
b61be05
uncomment ci file
wconti27 Sep 3, 2024
3906819
Merge branch 'main' into conti/enable-more-system-tests
wconti27 Sep 3, 2024
0391dda
Merge branch 'cbeauchesne/dotnet-3-2' into conti/enable-more-system-t…
wconti27 Sep 3, 2024
6bf8599
update docs
wconti27 Sep 3, 2024
4e0f707
Merge branch 'main' into conti/enable-more-system-tests
cbeauchesne Sep 4, 2024
70f6ed1
Weblog does not need to get UNIQUE_ID
cbeauchesne Sep 4, 2024
f6cd1db
adding testing for DD_TRACE_ENABLED
mhlidd Sep 4, 2024
7b589af
updating False route for system test
mhlidd Sep 4, 2024
8703657
fixing linting
mhlidd Sep 4, 2024
63deda1
Add telemetry tests for 'consistent configs'
mtoffl01 Sep 4, 2024
c9f6f59
Remove change to golang manifest
mtoffl01 Sep 4, 2024
e002bd2
Add label to language manifests
mtoffl01 Sep 4, 2024
9a7f999
Update test comment for better instructions to pass test
mtoffl01 Sep 4, 2024
9c1c2c6
run formatter
mtoffl01 Sep 4, 2024
ad1696c
Let runner decide the unique AWS ID
cbeauchesne Sep 5, 2024
b3bb9fb
fix unique id
wconti27 Sep 5, 2024
be59622
added default case and updated yml files
mhlidd Sep 5, 2024
84fe24d
format
mtoffl01 Sep 5, 2024
bec09b6
Updated incorrect integrations_enabled env var
mtoffl01 Sep 5, 2024
753de56
changed disabled integration to grpc
mtoffl01 Sep 5, 2024
c635280
updating yml files to match proper testing path
mhlidd Sep 5, 2024
bcaacf1
Updated disabled_integrations test
mtoffl01 Sep 5, 2024
0783d0d
ran formatter
mtoffl01 Sep 5, 2024
b3d0e0e
ensure dotnet waits full 10 seconds for dsm checkpoint flush
wconti27 Sep 5, 2024
938888c
fix dsm endpoint
wconti27 Sep 5, 2024
72a6e30
fix trace_agent_url and disabled_integration test logic
mtoffl01 Sep 6, 2024
267d58c
Fix nits in manfiests
mtoffl01 Sep 6, 2024
d0c859c
fix trace_disabled_integrations test
mtoffl01 Sep 6, 2024
99c86c9
Update tests/parametric/test_telemetry.py
mtoffl01 Sep 9, 2024
e4ab0f8
remove dd_trace_service_mapping
mtoffl01 Sep 9, 2024
e568208
Update tests/parametric/test_telemetry.py
mtoffl01 Sep 9, 2024
f3806ec
Delete tests/test_config_consistency.py
mtoffl01 Sep 9, 2024
6f9d047
Merge branch 'main' into conti/dsm-manual-checkpoint-tests
wconti27 Sep 9, 2024
917e86c
fix dsm node tests
wconti27 Sep 9, 2024
6a5df93
fix format
wconti27 Sep 9, 2024
d4589f5
Add tests for DD_TRACE_HTTP_CLIENT_ERROR_STATUSES config flag
zacharycmontoya Sep 9, 2024
9c20091
fix more tests
wconti27 Sep 10, 2024
22a51d5
Add ruby in run-graphql workflow
vpellan Sep 10, 2024
100a353
Add graphql23 weblogs to ruby graphql weblogs list
vpellan Sep 10, 2024
9495e50
update java
wconti27 Sep 10, 2024
6617642
Merge branch 'main' into conti/dsm-manual-checkpoint-tests
wconti27 Sep 10, 2024
cc32b1e
fix lint
wconti27 Sep 10, 2024
9059b31
Merge branch 'main' into zach.montoya/config-client-error-statuses/ap…
zacharycmontoya Sep 10, 2024
533831b
fix lint
wconti27 Sep 10, 2024
442d3c3
Merge remote-tracking branch 'origin/main' into APMAPI-288/DD_TRACE_E…
mhlidd Sep 10, 2024
cb5b7ea
adding feature tag and renaming classname
mhlidd Sep 10, 2024
27a143d
linting
mhlidd Sep 10, 2024
9aa94d4
disable java test
wconti27 Sep 10, 2024
eec01a2
add docs
wconti27 Sep 10, 2024
7e05fd7
Merge branch 'main' into conti/dsm-manual-checkpoint-tests
wconti27 Sep 10, 2024
d66c0a6
fix lint
wconti27 Sep 10, 2024
eef66b9
fix dsm dotnet and add docs
wconti27 Sep 10, 2024
eb402b3
Merge branch 'main' into conti/enable-more-system-tests
wconti27 Sep 10, 2024
6380611
Add tests for DD_TRACE_LOG_DIRECTORY config flag
zacharycmontoya Sep 10, 2024
0cfc371
[php] Enable Alpine onboarding tests (#3006)
iamluc Sep 11, 2024
d151066
Merge pull request #3004 from DataDog/vpellan/activate-ruby-graphql-w…
vpellan Sep 11, 2024
1ab8e96
Merge branch 'main' into conti/dsm-manual-checkpoint-tests
cbeauchesne Sep 11, 2024
6a592c0
k8s: Enable all python tests (#3014)
robertomonteromiguel Sep 11, 2024
af260ea
Merge branch 'main' into mtoff/telemetry-tests
mtoffl01 Sep 11, 2024
5abb3a1
Fix features annotation
mtoffl01 Sep 11, 2024
5dc1fc2
fix reviewer comments
wconti27 Sep 11, 2024
8cadbd9
Merge branch 'main' into conti/dsm-manual-checkpoint-tests
wconti27 Sep 11, 2024
17df283
Merge branch 'main' into conti/enable-more-system-tests
wconti27 Sep 11, 2024
fca3419
Improve security of postgres init-db.sh permission fix (#3008)
p-datadog Sep 11, 2024
367db43
Spelling & grammar fixes (#3009)
p-datadog Sep 11, 2024
65ce52d
Merge branch 'main' into conti/dsm-manual-checkpoint-tests
wconti27 Sep 11, 2024
995b4f0
Removes system-tests-core form owners of manifests
cbeauchesne Sep 11, 2024
9687a9d
Update utils/_context/containers.py
wconti27 Sep 11, 2024
c617547
Add to dotnet.yml
mtoffl01 Sep 11, 2024
ddb9716
Merge pull request #2976 from DataDog/APMAPI-288/DD_TRACE_ENABLED
dd-mergequeue[bot] Sep 11, 2024
ec6be42
fix python
wconti27 Sep 11, 2024
1db8235
[nodejs] Add and enable rasp sqli tests in nodejs (#2862)
uurien Sep 12, 2024
244bcd2
[ruby] Fix the (unsupported) docker mode
cbeauchesne Sep 12, 2024
1b1dbd7
Better grep nightly log script
cbeauchesne Sep 12, 2024
3970b22
Merge pull request #3019 from DataDog/cbeauchesne/fix-docker-mode
cbeauchesne Sep 12, 2024
ed1c774
Remove extra condition for ruby for GraphQL blocking test
y9v Sep 5, 2024
e6c59bd
Change target version of GraphQL blocking test
y9v Sep 12, 2024
5c44ee3
Fix K8s Lib Injection push FPD (#3020)
robertomonteromiguel Sep 12, 2024
e7f3c36
[ruby] Increment path in ruby "dev" version, and set a prerelease
cbeauchesne Sep 12, 2024
a65dfd1
[python] update manifest for easy wins in iast path parameters (#3015)
christophe-papazian Sep 12, 2024
a68d4ff
fix(onboarding): Make onboarding "dev" tests use staging versions of …
BaptisteFoy Sep 11, 2024
2d9885a
another fix
wconti27 Sep 12, 2024
503918d
Merge branch 'main' into conti/dsm-manual-checkpoint-tests
wconti27 Sep 12, 2024
716d430
fixes
wconti27 Sep 12, 2024
f13b56b
Merge pull request #3022 from DataDog/cbeauchesne/hack-ruby-version
cbeauchesne Sep 12, 2024
6da27a0
Merge pull request #3018 from DataDog/cbeauchesne/removes-core-form-m…
cbeauchesne Sep 12, 2024
c9f8191
Merge pull request #2988 from DataDog/appsec-fix-graphql-test-for-ruby
y9v Sep 12, 2024
4c14fb9
fix lint
wconti27 Sep 12, 2024
ed5f0de
Merge branch 'main' into conti/enable-more-system-tests
wconti27 Sep 12, 2024
10116f2
fix env
wconti27 Sep 12, 2024
60754c3
fix dsm tests
wconti27 Sep 12, 2024
7573cac
Enabled tests for java and improved run documentation
mtoffl01 Sep 12, 2024
2c44eb0
Update parametric test app images with an empty /parametric-tracer-lo…
zacharycmontoya Sep 12, 2024
f274eea
fix(python): flask path tests (#3028)
avara1986 Sep 13, 2024
af9dfe1
add host/container scenarii + grab installer output in /var/log/datadog
BaptisteFoy Sep 13, 2024
d34735c
Merge pull request #3016 from DataDog/baptiste.foy/APMON-1459/dev-equ…
BaptisteFoy Sep 13, 2024
c4f196c
Update manifests/java.yml
wconti27 Sep 13, 2024
2269367
Update manifests/java.yml
wconti27 Sep 13, 2024
ca3a8e4
Docker SSI tests (#2963)
robertomonteromiguel Sep 13, 2024
f0856e8
Merge branch 'main' into conti/enable-more-system-tests
wconti27 Sep 13, 2024
089350a
Update arm runner (#3030)
robertomonteromiguel Sep 13, 2024
4187fc6
K8s Lib Injection V2 autoinject (#3013)
robertomonteromiguel Sep 13, 2024
3435710
Enfore JIRA ticket rule for bug and flaky
cbeauchesne Sep 13, 2024
71949ca
Cleam some declarations
cbeauchesne Sep 13, 2024
3dbcc2e
fix resource deletion
wconti27 Sep 13, 2024
b26b05a
better naming
wconti27 Sep 13, 2024
cddf436
Merge pull request #2763 from DataDog/conti/dsm-manual-checkpoint-tests
wconti27 Sep 13, 2024
97e2d02
Merge branch 'main' into conti/enable-more-system-tests
wconti27 Sep 13, 2024
6922540
Merge pull request #2733 from DataDog/conti/enable-more-system-tests
wconti27 Sep 13, 2024
76ec19a
Temporary skip AWS tests
cbeauchesne Sep 16, 2024
b496a67
Merge pull request #3037 from DataDog/cbeauchesne/tmpfix-aws
cbeauchesne Sep 16, 2024
7dd6a44
new test for RASP + Remote Configuration + action customization (#3025)
christophe-papazian Sep 16, 2024
2f64e5d
SSI : small fixes
cbeauchesne Sep 16, 2024
b25c2fd
Merge pull request #3040 from DataDog/cbeauchesne/small-fix-ssi
cbeauchesne Sep 16, 2024
b589671
Fix lint error
cbeauchesne Sep 16, 2024
4fc0e57
Merge branch 'main' into cbeauchesne/enforce-jira-bug
cbeauchesne Sep 16, 2024
3c46e2f
Test that RASP capabilities are added (#3021)
uurien Sep 16, 2024
44a44ed
[nodejs] Skip failing debugger test
cbeauchesne Sep 16, 2024
31d5fa4
Fix DEBUGGER_METHOD_PROBES_SNAPSHOT
cbeauchesne Sep 16, 2024
c06ab19
Merge pull request #3042 from DataDog/cbeauchesne/skip-fialing-debugg…
cbeauchesne Sep 16, 2024
063fd61
Better deserialization of debugger/agent
cbeauchesne Sep 16, 2024
577cccb
Add few missing bits
cbeauchesne Sep 16, 2024
8e6f946
Merge branch 'main' into cbeauchesne/enforce-jira-bug
cbeauchesne Sep 16, 2024
1299772
Rename script
cbeauchesne Sep 16, 2024
d92a95b
Better CLI for get-github-parameters
cbeauchesne Sep 16, 2024
627a695
Create "essentials" group
cbeauchesne Sep 16, 2024
f887d56
Fix profile scenario
cbeauchesne Sep 16, 2024
6f8f6c7
Add reusable workflow
cbeauchesne Sep 16, 2024
cdb36e2
yet another missing bits
cbeauchesne Sep 16, 2024
20ab2c6
Merge pull request #3046 from DataDog/cbeauchesne/github-parameters
cbeauchesne Sep 16, 2024
b975c28
again a missing bit
cbeauchesne Sep 16, 2024
f0830dc
Merge branch 'main' into mtoff/java-span-events-3
mtoffl01 Sep 16, 2024
07da0ab
Merge pull request #3012 from DataDog/zach.montoya/config-trace-log-d…
zacharycmontoya Sep 16, 2024
d2ff428
adding tests for DD_VERSION, minor fix to python handler
mhlidd Sep 10, 2024
37ea3a0
Rename appsec_disabled -> everything_disabled
cbeauchesne Sep 16, 2024
1ea01f8
linting
mhlidd Sep 10, 2024
2ed0b02
splitting test cases into separate functions
mhlidd Sep 13, 2024
71f4806
linting
mhlidd Sep 13, 2024
3369e26
nit change to assert
mhlidd Sep 13, 2024
618f49b
updating a comment on test_specific_environment
mhlidd Sep 16, 2024
0df3f2a
formatting
mhlidd Sep 16, 2024
3cf0999
adding parametric tests for DD_ENV
mhlidd Sep 12, 2024
f5d0a23
separating specific config tests into separate functions
mhlidd Sep 16, 2024
a5de636
Another spelling fix in debugger tests (#3047)
p-datadog Sep 16, 2024
59e2e8f
git embeddings feature xpassing tests for go and ruby (#2994)
rachelyangdog Sep 16, 2024
bb57b12
hotfix
cbeauchesne Sep 16, 2024
f8fd213
Merge branch 'main' into cbeauchesne/enforce-jira-bug
cbeauchesne Sep 16, 2024
1916e73
[php] Partial revert of #3012
cbeauchesne Sep 16, 2024
6fb4388
Update span search for a more deterministic resource name + tag lookup
zacharycmontoya Sep 16, 2024
a74582a
Merge pull request #3051 from DataDog/cbeauchesne/partial-rv-3012
cbeauchesne Sep 16, 2024
9724445
Merge branch 'main' into cbeauchesne/DEBUG-2864
cbeauchesne Sep 16, 2024
76c0d13
Merge pull request #2979 from DataDog/mtoff/telemetry-tests
mtoffl01 Sep 16, 2024
dc9b01b
Merge branch 'main' into mhlidd/DD_VERSION/APMAPI-347
mhlidd Sep 16, 2024
1b871e9
Merge pull request #3010 from DataDog/mhlidd/DD_VERSION/APMAPI-347
dd-mergequeue[bot] Sep 16, 2024
d47777d
Merge remote-tracking branch 'origin/main' into zach.montoya/config-c…
zacharycmontoya Sep 16, 2024
0a8825c
K8s Profiling (#3036)
robertomonteromiguel Sep 17, 2024
ee7e0ef
Fix compute_impacted_scenarios
cbeauchesne Sep 17, 2024
6583333
Merge branch 'cbeauchesne/DEBUG-2864' of github.com:DataDog/system-te…
cbeauchesne Sep 17, 2024
3c34cc0
Merge branch 'main' into cbeauchesne/rename-scenario
cbeauchesne Sep 17, 2024
8e979da
Merge branch 'main' into cbeauchesne/enforce-jira-bug
cbeauchesne Sep 17, 2024
f2f6fc6
Merge branch 'cbeauchesne/enforce-jira-bug' of github.com:DataDog/sys…
cbeauchesne Sep 17, 2024
39b62c2
Again some missing bits
cbeauchesne Sep 17, 2024
5727633
Merge branch 'main' into mhlidd/DD_ENV-test
cbeauchesne Sep 17, 2024
01330ae
[php] Update tests (#3038)
iamluc Sep 17, 2024
1ce314f
missing bits again and again
cbeauchesne Sep 17, 2024
6cd6df4
Merge pull request #3049 from DataDog/cbeauchesne/rename-scenario
cbeauchesne Sep 17, 2024
723b19a
Merge pull request #3027 from DataDog/mtoff/java-span-events-3
mtoffl01 Sep 17, 2024
7b22ef6
making small fix
mhlidd Sep 17, 2024
2de7f7c
Implement crashtracking with grpc protocol
TonyCTHsu Aug 26, 2024
6b582db
Use a proper Content-Type header in the login events tests (#3052)
manuel-alvarez-alvarez Sep 17, 2024
74307af
[python] Enable Test_AppSecStandalone_UpstreamPropagation for dev only
cbeauchesne Sep 17, 2024
366f8d3
Fix typo in parametric.md
mtoffl01 Sep 17, 2024
b1005cd
Merge pull request #3054 from DataDog/cbeauchesne/Test_AppSecStandalo…
cbeauchesne Sep 17, 2024
22eb6ad
Merge branch 'main' into cbeauchesne/DEBUG-2864
cbeauchesne Sep 17, 2024
ef7b5b9
Merge branch 'main' into cbeauchesne/enforce-jira-bug
cbeauchesne Sep 17, 2024
72c35c0
Replace inline with manifest
TonyCTHsu Sep 17, 2024
54b593f
config consistency: add test for DD_HTTP_CLIENT_TAG_QUERY_STRING (#3026)
mabdinur Sep 17, 2024
c3ff55d
Merge remote-tracking branch 'origin/main' into zach.montoya/config-c…
zacharycmontoya Sep 17, 2024
dea9c4a
[SSI] Do not run if some build step fails
cbeauchesne Sep 17, 2024
43b0bfb
Merge remote-tracking branch 'origin/main' into zach.montoya/config-c…
zacharycmontoya Sep 17, 2024
b98a43f
Merge pull request #3032 from DataDog/mhlidd/DD_ENV-test
mhlidd Sep 17, 2024
faad8ba
Merge pull request #3056 from DataDog/cbeauchesne/better-ssi
cbeauchesne Sep 17, 2024
1e5becc
Merge pull request #3044 from DataDog/cbeauchesne/DEBUG-2864
cbeauchesne Sep 17, 2024
bab182c
Merge branch 'main' into cbeauchesne/enforce-jira-bug
cbeauchesne Sep 17, 2024
3977731
Again a missing bit
cbeauchesne Sep 17, 2024
45f9664
Permit specifying agent base image via command-line option when build…
p-datadog Sep 17, 2024
a01fbf0
adding system tests for DD_SERVICE
mhlidd Sep 11, 2024
0ada1ed
small style change
mhlidd Sep 12, 2024
64da26c
adding comment for default scenario
mhlidd Sep 17, 2024
2fcd4ad
linting
mhlidd Sep 17, 2024
386409c
final linting
mhlidd Sep 17, 2024
6b76258
Merge pull request #3017 from DataDog/mhlidd/DD_SERVICE-test
mhlidd Sep 17, 2024
0c70912
Merge remote-tracking branch 'origin/main' into zach.montoya/config-c…
zacharycmontoya Sep 17, 2024
d6a14eb
Merge pull request #3003 from DataDog/zach.montoya/config-client-erro…
zacharycmontoya Sep 18, 2024
ca2d033
Merge pull request #2920 from DataDog/tonycthsu/ruby-crash-tracking
TonyCTHsu Sep 18, 2024
a2f0e12
Fix mssql flakiness
cbeauchesne Sep 18, 2024
ffc8e4b
Merge pull request #3062 from DataDog/cbeauchesne/fix-mssql
cbeauchesne Sep 18, 2024
21ef026
Merge branch 'main' into cbeauchesne/enforce-jira-bug
cbeauchesne Sep 18, 2024
f948a1a
Lot of missing bits
cbeauchesne Sep 18, 2024
c60bd10
[asm] add tests for session fingerprints (#3005)
manuel-alvarez-alvarez Sep 18, 2024
ecb4cae
Merge pull request #3034 from DataDog/cbeauchesne/enforce-jira-bug
cbeauchesne Sep 18, 2024
39044ff
update readme to add proto steps (#3059)
rachelyangdog Sep 18, 2024
dd32a9b
Merge pull request #3055 from DataDog/mtoffl01-patch-parametric-md
mtoffl01 Sep 18, 2024
53fe59b
Configure Kind in Gitlab to allow kubernetes injection tests to run (…
randomanderson Sep 18, 2024
5e36d1b
APMRP-360 set cold case JIRA for old bug declarations (#3065)
cbeauchesne Sep 18, 2024
36d6d0f
[java] skip failing test for APMAPI-723 (#3066)
cbeauchesne Sep 18, 2024
e132a2e
APMRP-360 flag legacy bug decorators (#3067)
cbeauchesne Sep 18, 2024
9eff48d
[APM] Initial setup for trace stats test (#2712)
ajgajg1134 Sep 19, 2024
17b99b6
[cpp] Fix container logs stdout scrubber (#3070)
cbeauchesne Sep 19, 2024
f8d8360
[python] skip flaky tests (APMAPI-724) (#3071)
cbeauchesne Sep 19, 2024
1006407
[java] Flag bug declaration with ticket APPSEC-54966 (#3072)
cbeauchesne Sep 19, 2024
5ca3d3c
config_consistency: test ClientIPHeader (#3045)
mabdinur Sep 19, 2024
f5e51d2
[parametric] Enable OTEL Env parametric tests for Java (#2793)
zacharycmontoya Sep 19, 2024
95d45ef
wip-sns-sqs-ruby
marcotc Sep 20, 2024
d26d4d8
[java] Add java endpoint for RASP LFI (#2947)
jandro996 Sep 20, 2024
d62f1cd
[dotnet] App-started event is not sent (APMAPI-728) (#3081)
cbeauchesne Sep 20, 2024
3983d6c
Skip test for APMAPI-727, slightly better test logic (#3080)
cbeauchesne Sep 20, 2024
2f631c8
Use mssql/server:2022-latest for MsSql container (#3082)
cbeauchesne Sep 20, 2024
8b69939
Add tickets to bug declarations on java (#3084)
cbeauchesne Sep 20, 2024
99c59f7
Updating Config Consistency Telemetry Test (#3069)
link04 Sep 20, 2024
9857349
Enabling Already Consistent .NET Tests (#3087)
link04 Sep 20, 2024
9039609
APMRP-360 flag cold cases (#3085)
cbeauchesne Sep 20, 2024
9396e35
wip
marcotc Sep 20, 2024
4da7c8f
Merge branch 'main' into ruby-sns-sqs
marcotc Sep 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 13 additions & 10 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
* @DataDog/system-tests-core

/utils/build/docker/cpp/ @DataDog/dd-trace-cpp @DataDog/system-tests-core
/utils/build/docker/dotnet*/ @DataDog/apm-dotnet @DataDog/asm-dotnet @DataDog/system-tests-core
/utils/build/docker/golang*/ @DataDog/apm-go @DataDog/system-tests-core
/utils/build/docker/java*/ @DataDog/apm-java @DataDog/asm-java @DataDog/system-tests-core
Expand All @@ -7,18 +9,19 @@
/utils/build/docker/php*/ @DataDog/apm-php @DataDog/system-tests-core
/utils/build/docker/python*/ @DataDog/apm-python @DataDog/asm-python @DataDog/system-tests-core
/utils/build/docker/ruby*/ @DataDog/ruby-guild @DataDog/asm-ruby @DataDog/system-tests-core
/parametric/ @Kyle-Verhoog @DataDog/system-tests-core @DataDog/apm-sdk-api

/tests/parametric/ @Kyle-Verhoog @DataDog/system-tests-core @DataDog/apm-sdk-api
/tests/otel_tracing_e2e/ @DataDog/opentelemetry @DataDog/system-tests-core
/tests/remote_config/ @DataDog/system-tests-core @DataDog/remote-config @DataDog/system-tests-core
/tests/remote_config/ @DataDog/remote-config @DataDog/system-tests-core
/tests/appsec/ @DataDog/asm-libraries @DataDog/system-tests-core
/tests/debugger/ @DataDog/debugger @DataDog/system-tests-core
/tests/test_telemetry.py @DataDog/libdatadog-telemetry @DataDog/system-tests-core
/manifests/cpp.yml @DataDog/system-tests-core
/manifests/dotnet.yml @DataDog/apm-dotnet @DataDog/asm-dotnet @DataDog/system-tests-core
/manifests/golang.yml @DataDog/dd-trace-go-guild @DataDog/system-tests-core
/manifests/java.yml @DataDog/asm-java @DataDog/apm-java @DataDog/system-tests-core
/manifests/nodejs.yml @DataDog/apm-js @DataDog/asm-js @DataDog/system-tests-core
/manifests/php.yml @DataDog/apm-php @DataDog/asm-php @DataDog/system-tests-core
/manifests/python.yml @DataDog/apm-python @DataDog/asm-python @DataDog/system-tests-core
/manifests/ruby.yml @DataDog/ruby-guild @DataDog/asm-ruby @DataDog/system-tests-core

/manifests/cpp.yml @DataDog/dd-trace-cpp
/manifests/dotnet.yml @DataDog/apm-dotnet @DataDog/asm-dotnet
/manifests/golang.yml @DataDog/dd-trace-go-guild
/manifests/java.yml @DataDog/asm-java @DataDog/apm-java
/manifests/nodejs.yml @DataDog/apm-js @DataDog/asm-js
/manifests/php.yml @DataDog/apm-php @DataDog/asm-php
/manifests/python.yml @DataDog/apm-python @DataDog/asm-python
/manifests/ruby.yml @DataDog/ruby-guild @DataDog/asm-ruby
90 changes: 90 additions & 0 deletions .github/workflows/compute-workflow-parameters.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
name: "Compute workflow, scenarios and weblogs to run"

on:
workflow_call:
inputs:
library:
description: "Library to run"
required: true
type: string
scenarios:
description: "Comma-separated list of scenarios to run"
type: string
default: ""
scenarios_groups:
description: "Comma-separated list of scenarios groups to run"
type: string
default: ""
_experimental_parametric_job_count:
description: "*EXPERIMENTAL* : How many jobs should be used to run PARAMETRIC scenario"
default: 1
required: false
type: number

# Map the workflow outputs to job outputs
outputs:
endtoend_scenarios:
description: ""
value: ${{ jobs.main.outputs.endtoend_scenarios }}
endtoend_weblogs:
description: ""
value: ${{ jobs.main.outputs.endtoend_weblogs }}
graphql_scenarios:
description: ""
value: ${{ jobs.main.outputs.graphql_scenarios }}
graphql_weblogs:
description: ""
value: ${{ jobs.main.outputs.graphql_weblogs }}
libinjection_scenarios:
description: ""
value: ${{ jobs.main.outputs.libinjection_scenarios }}
opentelemetry_scenarios:
description: ""
value: ${{ jobs.main.outputs.opentelemetry_scenarios }}
opentelemetry_weblogs:
description: ""
value: ${{ jobs.main.outputs.opentelemetry_weblogs }}
parametric_scenarios:
description: ""
value: ${{ jobs.main.outputs.parametric_scenarios }}
dockerssi_scenarios:
description: ""
value: ${{ jobs.main.outputs.dockerssi_scenarios }}
dockerssi_weblogs:
description: ""
value: ${{ jobs.main.outputs.dockerssi_weblogs }}
_experimental_parametric_job_matrix:
description: ""
value: ${{ jobs.main.outputs._experimental_parametric_job_matrix }}

jobs:
main:
name: Get parameters
runs-on: ubuntu-latest
outputs:
endtoend_scenarios: ${{ steps.main.outputs.endtoend_scenarios }}
endtoend_weblogs: ${{ steps.main.outputs.endtoend_weblogs }}
graphql_scenarios: ${{ steps.main.outputs.graphql_scenarios }}
graphql_weblogs: ${{ steps.main.outputs.graphql_weblogs }}
libinjection_scenarios: ${{ steps.main.outputs.libinjection_scenarios }}
opentelemetry_scenarios: ${{ steps.main.outputs.opentelemetry_scenarios }}
opentelemetry_weblogs: ${{ steps.main.outputs.opentelemetry_weblogs }}
parametric_scenarios: ${{ steps.main.outputs.parametric_scenarios }}
dockerssi_scenarios: ${{ steps.main.outputs.dockerssi_scenarios }}
dockerssi_weblogs: ${{ steps.main.outputs.dockerssi_weblogs }}
_experimental_parametric_job_matrix: ${{ steps.main.outputs._experimental_parametric_job_matrix }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
repository: 'DataDog/system-tests'
- name: Install runner
uses: ./.github/actions/install_runner
- name: main
id: main
run: |
source venv/bin/activate
python utils/scripts/compute-workflow-parameters.py ${{ inputs.library }} -s "${{ inputs.scenarios }}" -g "${{ inputs.scenarios_groups }}" >> $GITHUB_OUTPUT
env:
PYTHONPATH: "."
_EXPERIMENTAL_PARAMETRIC_JOB_COUNT: ${{ inputs._experimental_parametric_job_count }}
66 changes: 66 additions & 0 deletions .github/workflows/run-docker-ssi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: Docker SSI tests

on:
workflow_call:
inputs:
library:
description: "Library to test"
required: true
type: string
weblogs:
description: "JSON array of weblogs to run"
default: "[]"
required: false
type: string

jobs:
docker-ssi-check-injection:
if: inputs.library == 'java'
strategy:
matrix: ${{ fromJson(inputs.weblogs) }}
fail-fast: false
# the runner depends of the architecture of the image that we want to test
runs-on: ${{ matrix.github_runner }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
repository: 'DataDog/system-tests'
- name: Prepare arm runner
if: ${{ matrix.github_runner == 'arm-4core-linux-ubuntu24.04' }}
# The ARM64 Ubuntu has less things installed by default
# We need docker, and acl allows us to use docker in the same session
run: |
#Black depends on libraries that requires gcc. Gcc not available in arm64 runner
grep -v 'black' requirements.txt > requirements_arm64.txt
mv requirements_arm64.txt requirements.txt
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
sudo usermod -a -G docker $USER
sudo apt install -y acl
sudo setfacl --modify user:runner:rw /var/run/docker.sock
- name: Set up QEMU for docker cross platform setup
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Install runner
id: install_runner
uses: ./.github/actions/install_runner
- name: Run Docker SSI scenario
if: always() && steps.install_runner.outcome == 'success'
run: ./run.sh DOCKER_SSI --ssi-weblog ${{matrix.weblog}} --ssi-library ${{ inputs.library }} --ssi-base-image ${{matrix.base_image}} --ssi-arch ${{matrix.arch}} --ssi-installable-runtime ${{matrix.installable_runtime}}
- name: Compress logs
if: always() && steps.install_runner.outcome == 'success'
run: tar -czvf artifact.tar.gz $(ls | grep logs)
- name: Upload artifact
if: always() && steps.install_runner.outcome == 'success'
uses: actions/upload-artifact@v4
with:
name: logs_docker_ssi_${{ inputs.library }}_${{ matrix.unique_name }}
path: artifact.tar.gz
19 changes: 16 additions & 3 deletions .github/workflows/run-end-to-end.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@ jobs:
run: ./run.sh CROSSED_TRACING_LIBRARIES
env:
DD_API_KEY: ${{ secrets.DD_API_KEY }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }}
AWS_REGION: ${{ secrets.AWS_DEFAULT_REGION }}
- name: Run PROFILING scenario
if: always() && steps.build.outcome == 'success' && contains(inputs.scenarios, '"PROFILING"')
run: ./run.sh PROFILING
Expand All @@ -128,6 +132,10 @@ jobs:
run: ./run.sh INTEGRATIONS
env:
DD_API_KEY: ${{ secrets.DD_API_KEY }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }}
AWS_REGION: ${{ secrets.AWS_DEFAULT_REGION }}
- name: Run APM_TRACING_E2E_OTEL scenario
if: always() && steps.build.outcome == 'success' && contains(inputs.scenarios, '"APM_TRACING_E2E_OTEL"')
run: ./run.sh APM_TRACING_E2E_OTEL
Expand All @@ -150,6 +158,11 @@ jobs:
run: ./run.sh TRACING_CONFIG_NONDEFAULT
env:
DD_API_KEY: ${{ secrets.DD_API_KEY }}
- name: Run TRACING_CONFIG_NONDEFAULT_3 scenario
if: always() && steps.build.outcome == 'success' && contains(inputs.scenarios, '"TRACING_CONFIG_NONDEFAULT_3"')
run: ./run.sh TRACING_CONFIG_NONDEFAULT_3
env:
DD_API_KEY: ${{ secrets.DD_API_KEY }}
- name: Run REMOTE_CONFIG_MOCKED_BACKEND_ASM_FEATURES scenario
if: always() && steps.build.outcome == 'success' && contains(inputs.scenarios, '"REMOTE_CONFIG_MOCKED_BACKEND_ASM_FEATURES"')
run: ./run.sh REMOTE_CONFIG_MOCKED_BACKEND_ASM_FEATURES
Expand Down Expand Up @@ -207,9 +220,9 @@ jobs:
run: ./run.sh APPSEC_BLOCKING
env:
DD_API_KEY: ${{ secrets.DD_API_KEY }}
- name: Run APPSEC_DISABLED scenario
if: always() && steps.build.outcome == 'success' && contains(inputs.scenarios, '"APPSEC_DISABLED"')
run: ./run.sh APPSEC_DISABLED
- name: Run EVERYTHING_DISABLED scenario
if: always() && steps.build.outcome == 'success' && contains(inputs.scenarios, '"EVERYTHING_DISABLED"')
run: ./run.sh EVERYTHING_DISABLED
env:
DD_API_KEY: ${{ secrets.DD_API_KEY }}
- name: Run APPSEC_LOW_WAF_TIMEOUT scenario
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-graphql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ env:

jobs:
graphql:
if: inputs.library == 'golang' || inputs.library == 'nodejs'
if: inputs.library == 'golang' || inputs.library == 'nodejs' || inputs.library == 'ruby'
runs-on:
group: "APM Larger Runners"
strategy:
Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/run-lib-injection.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ jobs:
matrix:
weblog: ${{ fromJson(needs.compute-matrix.outputs.matrix_supported_langs) }}
lib_init_image: ${{ fromJson(needs.compute-matrix.outputs.init_image) }}
cluster_agent_version: ['7.56.2', '7.57.0']
fail-fast: false
env:
TEST_LIBRARY: ${{ inputs.library }}
Expand All @@ -179,6 +180,7 @@ jobs:
SYSTEM_TESTS_REPORT_ENVIRONMENT: dev
SYSTEM_TESTS_REPORT_RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
LIBRARY_INJECTION_TEST_APP_IMAGE: ghcr.io/datadog/system-tests/${{ matrix.weblog }}:${{ inputs.build_lib_injection_app_images != true && 'latest' || github.sha }}
CLUSTER_AGENT_VERSION: ${{ matrix.cluster_agent_version }}
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -207,7 +209,9 @@ jobs:

- name: Build weblog base images (PR)
if: inputs.build_lib_injection_app_images
run: lib-injection/build/build_lib_injection_weblog.sh -w ${{ matrix.weblog }} -l ${{ inputs.library }} --push-tag ${{ env.LIBRARY_INJECTION_TEST_APP_IMAGE }}
run: |
#Build multiplatform
lib-injection/build/build_lib_injection_weblog.sh -w ${{ matrix.weblog }} -l ${{ inputs.library }} --push-tag ${{ env.LIBRARY_INJECTION_TEST_APP_IMAGE }} --docker-platform linux/arm64,linux/amd64

- name: Install runner
uses: ./.github/actions/install_runner
Expand All @@ -216,6 +220,10 @@ jobs:
id: k8s-lib-injection-tests
run: ./run.sh K8S_LIBRARY_INJECTION_BASIC

- name: Kubernetes lib-injection profiling tests
id: k8s-lib-injection-tests-profiling
run: ./run.sh K8S_LIBRARY_INJECTION_PROFILING

- name: Compress logs
id: compress_logs
if: always()
Expand All @@ -225,5 +233,5 @@ jobs:
if: always() && steps.compress_logs.outcome == 'success'
uses: actions/upload-artifact@v4
with:
name: logs_k8s-lib-injection_${{ inputs.library}}_${{matrix.weblog}}_${{ endsWith(matrix.lib_init_image, 'latest_snapshot') == true && 'latest_snapshot' || 'latest'}}
name: logs_k8s-lib-injection_${{ inputs.library}}_${{matrix.weblog}}_${{matrix.cluster_agent_version}}_${{ endsWith(matrix.lib_init_image, 'latest_snapshot') == true && 'dev' || 'prod'}}
path: artifact.tar.gz
45 changes: 16 additions & 29 deletions .github/workflows/system-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,35 +60,12 @@ on:
jobs:
compute_parameters:
name: Get parameters
runs-on: ubuntu-latest
outputs:
endtoend_scenarios: ${{ steps.main.outputs.endtoend_scenarios }}
endtoend_weblogs: ${{ steps.main.outputs.endtoend_weblogs }}
graphql_scenarios: ${{ steps.main.outputs.graphql_scenarios }}
graphql_weblogs: ${{ steps.main.outputs.graphql_weblogs }}
libinjection_scenarios: ${{ steps.main.outputs.libinjection_scenarios }}
opentelemetry_scenarios: ${{ steps.main.outputs.opentelemetry_scenarios }}
opentelemetry_weblogs: ${{ steps.main.outputs.opentelemetry_weblogs }}
parametric_scenarios: ${{ steps.main.outputs.parametric_scenarios }}
_experimental_parametric_job_matrix: ${{ steps.main.outputs._experimental_parametric_job_matrix }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
repository: 'DataDog/system-tests'
- name: Install runner
uses: ./.github/actions/install_runner
- name: main
id: main
run: |
source venv/bin/activate
python utils/scripts/get_github_parameters.py >> $GITHUB_OUTPUT
env:
PYTHONPATH: "."
SCENARIOS: ${{ inputs.scenarios }}
SCENARIOS_GROUPS: ${{ inputs.scenarios_groups }}
LIBRARY: ${{ inputs.library }}
_EXPERIMENTAL_PARAMETRIC_JOB_COUNT: ${{ inputs._experimental_parametric_job_count }}
uses: ./.github/workflows/compute-workflow-parameters.yml
with:
library: ${{ inputs.library }}
scenarios: ${{ inputs.scenarios }}
scenarios_groups: ${{ inputs.scenarios_groups }}
_experimental_parametric_job_count: ${{ inputs._experimental_parametric_job_count }}

parametric:
needs:
Expand Down Expand Up @@ -156,3 +133,13 @@ jobs:
library: ${{ inputs.library }}
weblogs: ${{ needs.compute_parameters.outputs.opentelemetry_weblogs }}
build_proxy_image: ${{ inputs.build_proxy_image }}

docker-ssi:
needs:
- compute_parameters
if: ${{ needs.compute_parameters.outputs.dockerssi_scenarios != '[]' && inputs.binaries_artifact == ''}} #Execute only for latest releases of the ssi
uses: ./.github/workflows/run-docker-ssi.yml
secrets: inherit
with:
library: ${{ inputs.library }}
weblogs: ${{ needs.compute_parameters.outputs.dockerssi_weblogs }}
8 changes: 5 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -242,10 +242,10 @@ onboarding_php:
ONBOARDING_FILTER_WEBLOG: [test-shell-script]
SCENARIO: [INSTALLER_AUTO_INJECTION_BLOCK_LIST]
- ONBOARDING_FILTER_ENV: [dev, prod]
ONBOARDING_FILTER_WEBLOG: [test-app-php-container-83]
SCENARIO: [ CONTAINER_AUTO_INJECTION_INSTALL_SCRIPT]
ONBOARDING_FILTER_WEBLOG: [test-app-php-container-83,test-app-php-container-alpine]
SCENARIO: [CONTAINER_AUTO_INJECTION_INSTALL_SCRIPT]
- ONBOARDING_FILTER_ENV: [dev, prod]
ONBOARDING_FILTER_WEBLOG: [test-app-php,test-app-php-container-83]
ONBOARDING_FILTER_WEBLOG: [test-app-php,test-app-php-container-83,test-app-php-container-alpine]
SCENARIO: [INSTALLER_AUTO_INJECTION]
- ONBOARDING_FILTER_ENV: [dev, prod]
ONBOARDING_FILTER_WEBLOG: [test-app-php]
Expand Down Expand Up @@ -293,6 +293,7 @@ check_merge_labels:
- export DOCKER_LOGIN=$(aws ssm get-parameter --region us-east-1 --name ci.system-tests.docker-login-write --with-decryption --query "Parameter.Value" --out text)
- export DOCKER_LOGIN_PASS=$(aws ssm get-parameter --region us-east-1 --name ci.system-tests.docker-login-pass-write --with-decryption --query "Parameter.Value" --out text)
script:
- echo $GH_TOKEN | docker login ghcr.io -u publisher --password-stdin
- ./utils/scripts/get_pr_merged_labels.sh
rules:
- if: $CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH == "main"
Expand All @@ -308,6 +309,7 @@ generate_system_tests_images:
- export DOCKER_LOGIN=$(aws ssm get-parameter --region us-east-1 --name ci.system-tests.docker-login-write --with-decryption --query "Parameter.Value" --out text)
- export DOCKER_LOGIN_PASS=$(aws ssm get-parameter --region us-east-1 --name ci.system-tests.docker-login-pass-write --with-decryption --query "Parameter.Value" --out text)
script:
- echo $GH_TOKEN | docker login ghcr.io -u publisher --password-stdin
- ./utils/build/build_tracer_buddies.sh --push
- ./utils/build/build_python_base_images.sh --push
- ./lib-injection/build/build_lib_injection_images.sh
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## System tests

Workbench designed to run advanced tests (integration, smoke, functionnal, fuzzing and performance)
Workbench designed to run advanced tests (integration, smoke, functional, fuzzing and performance)

## Requirements

Expand Down
Loading
Loading