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

[CECO-1153] APM e2e test #1549

Merged
merged 13 commits into from
Jan 10, 2025
Merged

Conversation

tbavelier
Copy link
Member

@tbavelier tbavelier commented Dec 5, 2024

What does this PR do?

Introduces an APM e2e test in two parts:

  • Ensuring traces are received locally (at the Agent level) for all 3 services, using all 3 methods (TCP on hostPort, Agent service and UDP using socket)
  • Ensuring traces are sent to the API

Minimum Agent Versions

Are there minimum versions of the Datadog Agent and/or Cluster Agent required?

  • Agent: vX.Y.Z
  • Cluster Agent: vX.Y.Z

Describe your test plan

Write there any instructions and details you may have to test your PR.

Checklist

  • PR has at least one valid label: bug, enhancement, refactoring, documentation, tooling, and/or dependencies
  • PR has a milestone or the qa/skip-qa label

Sorry, something went wrong.

@tbavelier tbavelier added this to the v1.12.0 milestone Dec 5, 2024
@tbavelier tbavelier requested a review from a team as a code owner December 5, 2024 09:43
@codecov-commenter
Copy link

codecov-commenter commented Dec 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 48.94%. Comparing base (8ad0c66) to head (c3c50d1).

Additional details and impacted files

Impacted file tree graph

@@                   Coverage Diff                    @@
##           fanny/refactor-kind-e2e    #1549   +/-   ##
========================================================
  Coverage                    48.94%   48.94%           
========================================================
  Files                          227      227           
  Lines                        20636    20636           
========================================================
  Hits                         10101    10101           
  Misses                       10010    10010           
  Partials                       525      525           
Flag Coverage Δ
unittests 48.94% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8ad0c66...c3c50d1. Read the comment docs.

@tbavelier tbavelier requested a review from a team as a code owner January 8, 2025 11:38
@tbavelier tbavelier removed this from the v1.12.0 milestone Jan 8, 2025
@tbavelier tbavelier changed the base branch from main to fanny/refactor-kind-e2e January 8, 2025 11:50
Comment on lines +20 to +21
"github.com/DataDog/datadog-agent/test/new-e2e/pkg/provisioners"

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is due to my IDE setting, is no-op and this kind_test.go will be removed eventually post refactor

Copy link
Contributor

@fanny-jiang fanny-jiang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

@fanny-jiang fanny-jiang merged commit 4f6af20 into fanny/refactor-kind-e2e Jan 10, 2025
20 checks passed
@fanny-jiang fanny-jiang deleted the tbavelier/ceco-1153 branch January 10, 2025 16:37
fanny-jiang added a commit that referenced this pull request Jan 31, 2025
* add localkind provisioner

* refactor logs test

* add back old provisioner

* reorganize tests

* bump deps and cleanup

* sync go version

* update licenses, bump crypto version

* bump test-infra-defs, fixes for CI

* move vars

* sync go version

* Add AWS kind E2E provisioner (#1593)

* bump go deps and small fixes

* add new kind provisioners (aws and local) and update generic k8s e2e tests

* rename files, use new-e2e dev module

* sync go version

* update licenses

* allow golang version failure

* fix stack name

* fixes for CI

* Update bundle and manager config from v1.11 (#1599)

* fix flakes

* fix flakes

---------

Co-authored-by: Timothée Bavelier <97530782+tbavelier@users.noreply.github.com>

* fix var

* Add make command to run a specific e2e test (#1547)

* make command for a specific e2e test

* update command to use env var

* updated e2e specific test

* remove parentheses from test headers

* update e2e-tests

* nit

* [CECO-1153] APM e2e test (#1549)

* comment lots of stuff to simplify dev

* apm e2e test and un-comment for dev

* rebase on latest fanny

* apm e2e test refactor

* fix apm refactor

* remove pre-refactor apm test

* remove apm pre refactor util func

* remove nginx cleanup since it's for pre refactor test

* fix apm e2e refactor: avoid race + remove socket from volume def

* verify k8s version before checking local service traces

---------

Co-authored-by: Fanny Jiang <fanny.jiang@datadoghq.com>

* bump e2e deps

* update go.work.sum

* Bump datadog-agent dependencies (#1647)

* Bump datadog-agent dependencies

* update-golang

* licenses, go.mod

* update-golang

* run update-golang in build

* build fixes after update, bump golang to 1.23.5

* build fix

* update ddrestiry golang url

* fix e2e go.mod

* fix eds ambiguous version

* update-golang

* fix licenses

---------

Co-authored-by: Fanny Jiang <fanny.jiang@datadoghq.com>

---------

Co-authored-by: Timothée Bavelier <97530782+tbavelier@users.noreply.github.com>
Co-authored-by: Sarah Wang <sarah.wang@datadoghq.com>
Co-authored-by: levan-m <116471169+levan-m@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants