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

Add OTel Agent e2e pipeline tests #29091

Merged
merged 58 commits into from
Oct 4, 2024
Merged
Show file tree
Hide file tree
Changes from 56 commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
9d091f3
New tests
liustanley Sep 5, 2024
f9ad75e
Logs fix
liustanley Sep 5, 2024
3dd909c
Revert
liustanley Sep 5, 2024
3d9bba6
Move
liustanley Sep 5, 2024
6488a48
Add test back
liustanley Sep 5, 2024
2477d1f
Merge branch 'main' into stanley.liu/otel-e2e-pipelines
liustanley Sep 10, 2024
1ef009d
Refactor test structure
liustanley Sep 10, 2024
af8fd85
Fix tabs
liustanley Sep 10, 2024
e907b76
Fix lint
liustanley Sep 10, 2024
7304255
Clean up code
liustanley Sep 10, 2024
393ca55
Add prometheus test
liustanley Sep 10, 2024
9e8cf2e
Fix package comment
liustanley Sep 10, 2024
1a0cc2a
Fix config
liustanley Sep 10, 2024
6cdef1b
Fix helm values
liustanley Sep 11, 2024
1245477
Move batch
liustanley Sep 12, 2024
727cfe8
Merge branch 'main' into stanley.liu/otel-e2e-pipelines
liustanley Sep 18, 2024
cfc84e7
Add temp tests
liustanley Sep 18, 2024
c559ae6
Fix config
liustanley Sep 18, 2024
8ff38a1
Remove resources
liustanley Sep 20, 2024
b4dd2f0
test
liustanley Sep 23, 2024
0e4ad1f
logs
liustanley Sep 24, 2024
bb09c03
tagger logs
liustanley Sep 24, 2024
44d704a
tagger logs
liustanley Sep 24, 2024
ac65eaa
use remote tagger
liustanley Sep 24, 2024
e3f7615
Merge branch 'main' into stanley.liu/otel-e2e-pipelines
liustanley Sep 24, 2024
7d148c8
Add calendar app
liustanley Sep 24, 2024
6f28048
Fix lint
liustanley Sep 24, 2024
b2aace1
Merge branch 'main' into stanley.liu/otel-e2e-pipelines
liustanley Sep 25, 2024
3f91a00
Add EKS test
liustanley Sep 26, 2024
742a3fd
Remove Skip
liustanley Sep 26, 2024
b948349
Add eks test fix
liustanley Sep 26, 2024
995a422
Merge branch 'main' into stanley.liu/otel-e2e-pipelines
liustanley Sep 26, 2024
6bccac1
test
liustanley Sep 26, 2024
24483a8
lint
liustanley Sep 27, 2024
9189d44
update tests
liustanley Sep 27, 2024
d7bd67f
Merge branch 'main' into stanley.liu/otel-e2e-pipelines
liustanley Oct 1, 2024
af4189c
Update calendar app names
liustanley Oct 1, 2024
017d07a
Clean up tests
liustanley Oct 2, 2024
af5dae7
go mod tidy
liustanley Oct 2, 2024
b6e70c5
Fix tests
liustanley Oct 2, 2024
fbee8cc
go mod tidy
liustanley Oct 2, 2024
1037dfb
Fix test
liustanley Oct 2, 2024
3c50783
Fix logs test
liustanley Oct 2, 2024
a02cc80
Revert testing changes
liustanley Oct 2, 2024
1e7c20c
Fix change
liustanley Oct 2, 2024
97a394b
Merge branch 'main' into stanley.liu/otel-e2e-pipelines
liustanley Oct 2, 2024
0363861
Fix tests
liustanley Oct 3, 2024
2e9dd0c
Increase timeout
liustanley Oct 3, 2024
3935bb1
Clean up tests
liustanley Oct 3, 2024
bb62841
Address feedback
liustanley Oct 3, 2024
d3caac9
Merge branch 'main' into stanley.liu/otel-e2e-pipelines
liustanley Oct 3, 2024
268135d
Address feedback
liustanley Oct 3, 2024
559aec1
Merge branch 'main' into stanley.liu/otel-e2e-pipelines
liustanley Oct 3, 2024
9342465
inv tidy
liustanley Oct 3, 2024
04656d3
Update version
liustanley Oct 3, 2024
455ea29
Merge branch 'main' into stanley.liu/otel-e2e-pipelines
liustanley Oct 4, 2024
3a2093e
Merge branch 'main' into stanley.liu/otel-e2e-pipelines
liustanley Oct 4, 2024
d183c15
Mark as flaky
liustanley Oct 4, 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
83 changes: 71 additions & 12 deletions test/new-e2e/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,47 @@ toolchain go1.22.6
// TODO: Implement hard check in CI

replace (
github.com/DataDog/datadog-agent/comp/api/api/def => ../../comp/api/api/def
github.com/DataDog/datadog-agent/comp/api/def => ../../comp/api/def
github.com/DataDog/datadog-agent/comp/core/flare/builder => ../../comp/core/flare/builder
github.com/DataDog/datadog-agent/comp/core/flare/types => ../../comp/core/flare/types
github.com/DataDog/datadog-agent/comp/core/secrets => ../../comp/core/secrets
github.com/DataDog/datadog-agent/comp/core/tagger/types => ../../comp/core/tagger/types
github.com/DataDog/datadog-agent/comp/core/tagger/utils => ../../comp/core/tagger/utils
github.com/DataDog/datadog-agent/comp/core/telemetry => ../../comp/core/telemetry
github.com/DataDog/datadog-agent/comp/def => ../../comp/def
github.com/DataDog/datadog-agent/comp/netflow/payload => ../../comp/netflow/payload
github.com/DataDog/datadog-agent/pkg/collector/check/defaults => ../../pkg/collector/check/defaults
github.com/DataDog/datadog-agent/pkg/config/env => ../../pkg/config/env
github.com/DataDog/datadog-agent/pkg/config/model => ../../pkg/config/model
github.com/DataDog/datadog-agent/pkg/config/nodetreemodel => ../../pkg/config/nodetreemodel
github.com/DataDog/datadog-agent/pkg/config/setup => ../../pkg/config/setup
github.com/DataDog/datadog-agent/pkg/config/teeconfig => ../../pkg/config/teeconfig
github.com/DataDog/datadog-agent/pkg/proto => ../../pkg/proto
github.com/DataDog/datadog-agent/pkg/trace => ../../pkg/trace
github.com/DataDog/datadog-agent/pkg/util/executable => ../../pkg/util/executable
github.com/DataDog/datadog-agent/pkg/util/filesystem => ../../pkg/util/filesystem
github.com/DataDog/datadog-agent/pkg/util/fxutil => ../../pkg/util/fxutil
github.com/DataDog/datadog-agent/pkg/util/hostname/validate => ../../pkg/util/hostname/validate
github.com/DataDog/datadog-agent/pkg/util/log => ../../pkg/util/log
github.com/DataDog/datadog-agent/pkg/util/optional => ../../pkg/util/optional
github.com/DataDog/datadog-agent/pkg/util/pointer => ../../pkg/util/pointer
github.com/DataDog/datadog-agent/pkg/util/scrubber => ../../pkg/util/scrubber
github.com/DataDog/datadog-agent/pkg/util/system => ../../pkg/util/system
github.com/DataDog/datadog-agent/pkg/util/system/socket => ../../pkg/util/system/socket
github.com/DataDog/datadog-agent/pkg/util/tagger => ../../pkg/util/tagger
github.com/DataDog/datadog-agent/pkg/util/testutil => ../../pkg/util/testutil
github.com/DataDog/datadog-agent/pkg/util/winutil => ../../pkg/util/winutil
github.com/DataDog/datadog-agent/pkg/version => ../../pkg/version
github.com/DataDog/datadog-agent/test/fakeintake => ../fakeintake
)

require (
github.com/DataDog/agent-payload/v5 v5.0.122
github.com/DataDog/datadog-agent/pkg/util/optional v0.56.0-rc.3
github.com/DataDog/datadog-agent/pkg/util/pointer v0.56.0-rc.3
github.com/DataDog/datadog-agent/pkg/util/scrubber v0.56.0-rc.3
github.com/DataDog/datadog-agent/pkg/util/testutil v0.56.0-rc.3
github.com/DataDog/datadog-agent/pkg/util/optional v0.56.2
github.com/DataDog/datadog-agent/pkg/util/pointer v0.56.2
github.com/DataDog/datadog-agent/pkg/util/scrubber v0.56.2
github.com/DataDog/datadog-agent/pkg/util/testutil v0.56.2
github.com/DataDog/datadog-agent/pkg/version v0.56.0-rc.3
github.com/DataDog/datadog-agent/test/fakeintake v0.56.0-rc.3
github.com/DataDog/datadog-api-client-go v1.16.0
Expand Down Expand Up @@ -57,9 +81,9 @@ require (
github.com/samber/lo v1.47.0
github.com/stretchr/testify v1.9.0
github.com/xeipuuv/gojsonschema v1.2.0
golang.org/x/crypto v0.26.0
golang.org/x/sys v0.24.0
golang.org/x/term v0.23.0
golang.org/x/crypto v0.27.0
golang.org/x/sys v0.25.0
golang.org/x/term v0.24.0
gopkg.in/yaml.v2 v2.4.0
gopkg.in/zorkian/go-datadog-api.v2 v2.30.0
k8s.io/api v0.30.2
Expand Down Expand Up @@ -235,14 +259,14 @@ require (
go.opentelemetry.io/otel/trace v1.28.0 // indirect
go.starlark.net v0.0.0-20230525235612-a134d8f9ddca // indirect
go.uber.org/atomic v1.11.0 // indirect
golang.org/x/exp v0.0.0-20240808152545-0cdaa3abc0fa
golang.org/x/mod v0.20.0 // indirect
golang.org/x/net v0.28.0 // indirect
golang.org/x/exp v0.0.0-20240909161429-701f63a606c0
golang.org/x/mod v0.21.0 // indirect
golang.org/x/net v0.29.0 // indirect
golang.org/x/oauth2 v0.18.0 // indirect
golang.org/x/sync v0.8.0 // indirect
golang.org/x/text v0.17.0
golang.org/x/text v0.18.0
golang.org/x/time v0.6.0 // indirect
golang.org/x/tools v0.24.0 // indirect
golang.org/x/tools v0.25.0 // indirect
google.golang.org/appengine v1.6.8 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240701130421-f6361c86f094 // indirect
google.golang.org/grpc v1.64.0 // indirect
Expand All @@ -265,18 +289,53 @@ require (
)

require (
github.com/DataDog/datadog-agent/comp/core/tagger/types v0.0.0-00010101000000-000000000000
github.com/DataDog/datadog-agent/pkg/trace v0.56.0-rc.3
github.com/DataDog/datadog-go/v5 v5.5.0
github.com/digitalocean/go-libvirt v0.0.0-20240812180835-9c6c0a310c6c
github.com/hairyhenderson/go-codeowners v0.5.0
)

require (
github.com/DataDog/datadog-agent/comp/core/secrets v0.56.2 // indirect
github.com/DataDog/datadog-agent/comp/core/tagger/utils v0.56.2 // indirect
github.com/DataDog/datadog-agent/pkg/collector/check/defaults v0.56.2 // indirect
github.com/DataDog/datadog-agent/pkg/config/env v0.56.2 // indirect
github.com/DataDog/datadog-agent/pkg/config/model v0.56.2 // indirect
github.com/DataDog/datadog-agent/pkg/config/nodetreemodel v0.0.0-00010101000000-000000000000 // indirect
github.com/DataDog/datadog-agent/pkg/config/setup v0.56.2 // indirect
github.com/DataDog/datadog-agent/pkg/config/teeconfig v0.0.0-00010101000000-000000000000 // indirect
github.com/DataDog/datadog-agent/pkg/util/executable v0.56.2 // indirect
github.com/DataDog/datadog-agent/pkg/util/filesystem v0.56.2 // indirect
github.com/DataDog/datadog-agent/pkg/util/hostname/validate v0.56.2 // indirect
github.com/DataDog/datadog-agent/pkg/util/log v0.56.2 // indirect
github.com/DataDog/datadog-agent/pkg/util/system v0.56.2 // indirect
github.com/DataDog/datadog-agent/pkg/util/system/socket v0.56.2 // indirect
github.com/DataDog/datadog-agent/pkg/util/tagger v0.56.2 // indirect
github.com/DataDog/datadog-agent/pkg/util/winutil v0.56.2 // indirect
github.com/DataDog/viper v1.13.5 // indirect
github.com/cihub/seelog v0.0.0-20170130134532-f561c5e57575 // indirect
github.com/go-ole/go-ole v1.2.6 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/hectane/go-acl v0.0.0-20190604041725-da78bae5fc95 // indirect
github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0 // indirect
github.com/lufia/plan9stats v0.0.0-20220913051719-115f729f3c8c // indirect
github.com/magiconair/properties v1.8.1 // indirect
github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826 // indirect
github.com/pelletier/go-toml v1.2.0 // indirect
github.com/power-devops/perfstat v0.0.0-20220216144756-c35f1ee13d7c // indirect
github.com/pulumi/pulumi-azure-native-sdk/authorization/v2 v2.60.0 // indirect
github.com/pulumi/pulumi-azure-native-sdk/compute/v2 v2.56.0 // indirect
github.com/pulumi/pulumi-azure-native-sdk/containerservice/v2 v2.59.0 // indirect
github.com/pulumi/pulumi-azure-native-sdk/network/v2 v2.59.0 // indirect
github.com/pulumi/pulumi-azure-native-sdk/v2 v2.60.0 // indirect
github.com/pulumi/pulumi-gcp/sdk/v6 v6.67.1 // indirect
github.com/pulumi/pulumi-gcp/sdk/v7 v7.38.0 // indirect
github.com/shirou/gopsutil/v3 v3.24.4 // indirect
github.com/shoenig/go-m1cpu v0.1.6 // indirect
github.com/spf13/afero v1.11.0 // indirect
github.com/spf13/jwalterweatherman v1.0.0 // indirect
github.com/tklauser/go-sysconf v0.3.12 // indirect
github.com/tklauser/numcpus v0.6.1 // indirect
github.com/yusufpapurcu/wmi v1.2.4 // indirect
)
Loading
Loading