newe2e

package module
v0.75.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

README

E2E Tests

This folder contains tests and utilities to write and run agent end to end tests based on test-infra-definitions.

Documentation

For comprehensive information about running E2E tests, see the Running E2E tests tutorial in the dev docs.

API Reference

Go package documentation is available at https://pkg.go.dev/github.com/DataDog/datadog-agent/test/new-e2e@main/pkg/utils/e2e

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
scenarios
system-probe command
Package main is the entrypoint for the system-probe e2e testing scenario
Package main is the entrypoint for the system-probe e2e testing scenario
Package systemprobe is sets up the remote testing environment for system-probe using the Kernel Matrix Testing framework
Package systemprobe is sets up the remote testing environment for system-probe using the Kernel Matrix Testing framework
connector command
Package main implements the SSH connector between gitlab runners, metal instances, and micro VMs
Package main implements the SSH connector between gitlab runners, metal instances, and micro VMs
connector/metric
Package metric is responsible for emitting metrics to Datadog
Package metric is responsible for emitting metrics to Datadog
connector/sshtools
Package sshtools allows execution of SSH commands easily
Package sshtools allows execution of SSH commands easily
test-json-review command
Package main is the test-json-review tool which reports all failed tests from the test JSON output
Package main is the test-json-review tool which reports all failed tests from the test JSON output
test-runner command
Package main is the test-runner tool which runs the system-probe tests
Package main is the test-runner tool which runs the system-probe tests
vm-metrics command
Package systemprobe is sets up the remote testing environment for system-probe using the Kernel Matrix Testing framework
Package systemprobe is sets up the remote testing environment for system-probe using the Kernel Matrix Testing framework
tests
agent-configuration/config-refresh
Package configrefresh contains e2e tests for the config refresh feature.
Package configrefresh contains e2e tests for the config refresh feature.
agent-configuration/secretsutils
Package secretsutils contains utilities to manage secrets for e2e tests.
Package secretsutils contains utilities to manage secrets for e2e tests.
agent-log-pipelines/kindfilelogging
Package kindfilelogging spins up the same pulumi environment as the awskubernetes package but includes a logger container as well
Package kindfilelogging spins up the same pulumi environment as the awskubernetes package but includes a logger container as well
agent-log-pipelines/utils
Package utils provides shared common functions so different E2E tests suites can use them.
Package utils provides shared common functions so different E2E tests suites can use them.
agent-metric-pipelines/jmxfetch
Package jmxfetch contains e2e tests for the JMXFetch.
Package jmxfetch contains e2e tests for the JMXFetch.
agent-platform/common
Package common contains basic test operation for agent-platform tests
Package common contains basic test operation for agent-platform tests
agent-platform/common/bound-port
Package boundport provides utilies for getting bound port information
Package boundport provides utilies for getting bound port information
agent-platform/common/file-manager
Package filemanager implement interfaces to run install-script tests
Package filemanager implement interfaces to run install-script tests
agent-platform/common/helper
Package helper implement interfaces to get some information that can be OS specific
Package helper implement interfaces to get some information that can be OS specific
agent-platform/common/pkg-manager
Package pkgmanager contains pkgmanager implementations
Package pkgmanager contains pkgmanager implementations
agent-platform/common/process
Package process provides utilities for testing processes
Package process provides utilities for testing processes
agent-platform/common/svc-manager
Package svcmanager contains svcmanager implementations
Package svcmanager contains svcmanager implementations
agent-platform/install
Package install create function to install the agent
Package install create function to install the agent
agent-platform/install/installparams
Package installparams implements function parameters for agent install functions
Package installparams implements function parameters for agent install functions
agent-platform/platforms
Package platforms exposes variable with content of platfoms.json file
Package platforms exposes variable with content of platfoms.json file
agent-runtimes/auth_artifact
Package auth contains tests to check reliabity of agent authentication artifacts creation flow.
Package auth contains tests to check reliabity of agent authentication artifacts creation flow.
agent-runtimes/checks/shared-library
Package sharedlibrary contains tests for the shared library checks
Package sharedlibrary contains tests for the shared library checks
agent-runtimes/ipc
Package ipc contains e2e tests for check security aroung IPC communications.
Package ipc contains e2e tests for check security aroung IPC communications.
agent-subcommands/config
Package config contains helpers and e2e tests for config subcommand
Package config contains helpers and e2e tests for config subcommand
apm
Package apm for all apm new E2E tests
Package apm for all apm new E2E tests
containers
Package containers for all containers new E2E tests
Package containers for all containers new E2E tests
cws
cws/api
Package api provides test helpers to interact with the Datadog API
Package api provides test helpers to interact with the Datadog API
cws/config
Package config provides config helpers
Package config provides config helpers
fips-compliance
Package fipscompliance contains tests for the FIPS Agent runtime behavior
Package fipscompliance contains tests for the FIPS Agent runtime behavior
fleet/agent
Package agent contains a wrapper around the agent commands for use in tests.
Package agent contains a wrapper around the agent commands for use in tests.
fleet/backend
Package backend contains a fake fleet backend for use in tests.
Package backend contains a fake fleet backend for use in tests.
fleet/host
Package host contains host-level test helpers for fleet tests.
Package host contains host-level test helpers for fleet tests.
fleet/suite
Package suite contains a base suite for fleet tests
Package suite contains a base suite for fleet tests
gpu
installer/host
Package host provides a way to interact with an e2e remote host and capture its state.
Package host provides a way to interact with an e2e remote host and capture its state.
installer/unix
Package installer contains tests for the datadog installer
Package installer contains tests for the datadog installer
installer/windows
Package installer contains code for the E2E tests for the Datadog installer/Fleet Automation/Remote Upgrades on Windows.
Package installer contains code for the E2E tests for the Datadog installer/Fleet Automation/Remote Upgrades on Windows.
installer/windows/consts
Package consts list the common packages paths used in the Datadog Installer tests.
Package consts list the common packages paths used in the Datadog Installer tests.
installer/windows/remote-host-assertions
Package assertions provide custom assertions for Windows tests
Package assertions provide custom assertions for Windows tests
installer/windows/suite-assertions
Package suiteasserts extends require.Assertions with custom assertions
Package suiteasserts extends require.Assertions with custom assertions
installer/windows/suites/apm-inject-package
Package injecttests contains the E2E tests for the APM Inject package.
Package injecttests contains the E2E tests for the APM Inject package.
installer/windows/suites/apm-library-dotnet-package
Package dotnettests contains the E2E tests for the .NET APM Library package.
Package dotnettests contains the E2E tests for the .NET APM Library package.
npm
Package npm for all NPM new E2E tests
Package npm for all NPM new E2E tests
orchestrator
Package orchestrator holds all E2E tests for the various orchestrator checks
Package orchestrator holds all E2E tests for the various orchestrator checks
otel/utils
Package utils contains util functions for OTel e2e tests
Package utils contains util functions for OTel e2e tests
process
Package process contains end-to-end tests for the general functionality of the process agent.
Package process contains end-to-end tests for the general functionality of the process agent.
remote-config
Package remoteconfig contains tests for the remote config components of the agent
Package remoteconfig contains tests for the remote config components of the agent
ssi
Package ssi provides end to end tests for Single Step Instrumentation.
Package ssi provides end to end tests for Single Step Instrumentation.
windows
Package windows contains the code to run the e2e tests on Windows
Package windows contains the code to run the e2e tests on Windows
windows/command
Package command provides Windows command helpers
Package command provides Windows command helpers
windows/common
Package common contains helpers for Windows E2E tests
Package common contains helpers for Windows E2E tests
windows/common/agent
Package agent includes helpers related to the Datadog Agent on Windows
Package agent includes helpers related to the Datadog Agent on Windows
windows/common/agent/installers/v2
Package installers processes the installers_v2.json file
Package installers processes the installers_v2.json file
windows/common/pipeline
Package pipeline provides helper functions for working with the Gitlab pipeline
Package pipeline provides helper functions for working with the Gitlab pipeline
windows/common/powershell
Package powershell provides
Package powershell provides
windows/components/certificatehost
Package certificatehost contains code to setup a Windows host for remote certificate testing
Package certificatehost contains code to setup a Windows host for remote certificate testing
windows/components/defender
Package defender contains code to control the behavior of Windows defender in the E2E tests
Package defender contains code to control the behavior of Windows defender in the E2E tests
windows/components/fipsmode
Package fipsmode contains code to control the behavior of Windows FIPS mode in the E2E tests
Package fipsmode contains code to control the behavior of Windows FIPS mode in the E2E tests
windows/components/testsigning
Package testsigning contains code to control the behavior of Windows test signing in the E2E tests
Package testsigning contains code to control the behavior of Windows test signing in the E2E tests
windows/install-test
Package installtest contains e2e tests for the Windows agent installer
Package installtest contains e2e tests for the Windows agent installer
windows/install-test/service-test
Package servicetest provides tests for the services installed by the Windows Agent
Package servicetest provides tests for the services installed by the Windows Agent

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL