Skip to content

[e2e] bump test-infra#23634

Merged
dd-mergequeue[bot] merged 4 commits intomainfrom
pducolin/bump-test-infra-3494b470f180f953c4d5275ad798d5cf4a6af4ba
Mar 15, 2024
Merged

[e2e] bump test-infra#23634
dd-mergequeue[bot] merged 4 commits intomainfrom
pducolin/bump-test-infra-3494b470f180f953c4d5275ad798d5cf4a6af4ba

Conversation

@pducolin
Copy link
Copy Markdown
Collaborator

@pducolin pducolin commented Mar 11, 2024

What does this PR do?

Bump test-infra-definitions in new-e2e module

Changelog: DataDog/test-infra-definitions@6dbc5da...eb67dd1

Motivation

Among the changes there is an improvement in curl error handling that should reduce and give more insights on installer issues we see in e2e tests

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

@pducolin pducolin requested a review from a team as a code owner March 11, 2024 15:30
@pducolin pducolin added changelog/no-changelog No changelog entry needed qa/no-code-change No code change in Agent code requiring validation labels Mar 11, 2024
@pr-commenter
Copy link
Copy Markdown

pr-commenter Bot commented Mar 11, 2024

Bloop Bleep... Dogbot Here

Regression Detector Results

Run ID: 21853bb2-46eb-43d1-8786-eda327b2a5bc
Baseline: 1c2ad36
Comparison: afcbc44

Performance changes are noted in the perf column of each table:

  • ✅ = significantly better comparison variant performance
  • ❌ = significantly worse comparison variant performance
  • ➖ = no significant change in performance

No significant changes in experiment optimization goals

Confidence level: 90.00%
Effect size tolerance: |Δ mean %| ≥ 5.00%

There were no significant changes in experiment optimization goals at this confidence level and effect size tolerance.

Experiments ignored for regressions

Regressions in experiments with settings containing erratic: true are ignored.

perf experiment goal Δ mean % Δ mean % CI
file_to_blackhole % cpu utilization +0.32 [-6.07, +6.70]

Fine details of change detection per experiment

perf experiment goal Δ mean % Δ mean % CI
uds_dogstatsd_to_api_cpu % cpu utilization +2.22 [-0.50, +4.94]
file_to_blackhole % cpu utilization +0.32 [-6.07, +6.70]
basic_py_check % cpu utilization +0.30 [-1.98, +2.58]
process_agent_standard_check_with_stats memory utilization +0.26 [+0.23, +0.29]
tcp_syslog_to_blackhole ingress throughput +0.24 [+0.15, +0.32]
process_agent_standard_check memory utilization +0.13 [+0.10, +0.17]
process_agent_real_time_mode memory utilization +0.04 [+0.01, +0.08]
tcp_dd_logs_filter_exclude ingress throughput +0.02 [-0.00, +0.04]
uds_dogstatsd_to_api ingress throughput -0.00 [-0.20, +0.20]
trace_agent_json ingress throughput -0.00 [-0.03, +0.03]
trace_agent_msgpack ingress throughput -0.01 [-0.02, +0.00]
idle memory utilization -0.12 [-0.16, -0.08]
otel_to_otel_logs ingress throughput -0.26 [-0.71, +0.19]
file_tree memory utilization -0.51 [-0.60, -0.42]
pycheck_1000_100byte_tags % cpu utilization -1.07 [-6.05, +3.92]

Explanation

A regression test is an A/B test of target performance in a repeatable rig, where "performance" is measured as "comparison variant minus baseline variant" for an optimization goal (e.g., ingress throughput). Due to intrinsic variability in measuring that goal, we can only estimate its mean value for each experiment; we report uncertainty in that value as a 90.00% confidence interval denoted "Δ mean % CI".

For each experiment, we decide whether a change in performance is a "regression" -- a change worth investigating further -- if all of the following criteria are true:

  1. Its estimated |Δ mean %| ≥ 5.00%, indicating the change is big enough to merit a closer look.

  2. Its 90.00% confidence interval "Δ mean % CI" does not contain zero, indicating that if our statistical model is accurate, there is at least a 90.00% chance there is a difference in performance between baseline and comparison variants.

  3. Its configuration does not mark it "erratic".

@pducolin pducolin closed this Mar 13, 2024
@pducolin pducolin force-pushed the pducolin/bump-test-infra-3494b470f180f953c4d5275ad798d5cf4a6af4ba branch from be132bc to 1c2ad36 Compare March 13, 2024 09:52
@pducolin pducolin reopened this Mar 13, 2024
@pducolin pducolin requested a review from a team as a code owner March 13, 2024 09:53
@pducolin pducolin requested review from a team as code owners March 14, 2024 13:34
@pducolin
Copy link
Copy Markdown
Collaborator Author

/merge

@dd-devflow
Copy link
Copy Markdown

dd-devflow Bot commented Mar 14, 2024

🚂 MergeQueue

This merge request is not mergeable yet, because of pending checks/missing approvals. It will be added to the queue as soon as checks pass and/or get approvals.
Note: if you pushed new commits since the last approval, you may need additional approval.
You can remove it from the waiting list with /remove command.

Use /merge -c to cancel this operation!

Copy link
Copy Markdown
Contributor

@moth-a moth-a left a comment

Choose a reason for hiding this comment

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

One small, non-blocking request. Otherwise lgtm, thanks for the fixes!!

Comment thread test/new-e2e/tests/remote-config/rc_ssl_config_test.go
@dd-devflow
Copy link
Copy Markdown

dd-devflow Bot commented Mar 15, 2024

⚠️ MergeQueue

This merge request was unqueued

If you need support, contact us on Slack #ci-interfaces!

Copy link
Copy Markdown
Member

@chouetz chouetz left a comment

Choose a reason for hiding this comment

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

Only minor comments, LGTM

Comment thread test/new-e2e/tests/remote-config/utils_test.go
Comment thread test/new-e2e/tests/remote-config/utils_test.go
Comment thread test/new-e2e/tests/remote-config/utils_test.go
// read agent logs
agentLogs, err := readRemoteFile(rh, remoteLogsPath)
if !assert.NoError(c, err) {
return
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I guess assert.NoError will raise a message so no need to create one here, correct?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

It would not: assert does not interrupt the go routine execution. I should use require that calls FailNow, but currently it panics and interrupts the Eventually. This will change as soon as testify merges this PR

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

As a consequence we might have put a log message to understand the error. But it's unlikely to happen so I guess it's fine

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I think we log the error out of the Eventually. All failed assertions messages are saved in the assert.CollectT and logged on Fail

https://github.com/marshall-lee/testify/blob/master/assert/assertions.go#L312-L336

@pducolin
Copy link
Copy Markdown
Collaborator Author

/merge

@dd-devflow
Copy link
Copy Markdown

dd-devflow Bot commented Mar 15, 2024

🚂 MergeQueue

This merge request is not mergeable yet, because of pending checks/missing approvals. It will be added to the queue as soon as checks pass and/or get approvals.
Note: if you pushed new commits since the last approval, you may need additional approval.
You can remove it from the waiting list with /remove command.

Use /merge -c to cancel this operation!

@dd-devflow
Copy link
Copy Markdown

dd-devflow Bot commented Mar 15, 2024

🚂 MergeQueue

Added to the queue.

This build is going to start soon! (estimated merge in less than 26m)

Use /merge -c to cancel this operation!

@dd-mergequeue dd-mergequeue Bot merged commit f7ced25 into main Mar 15, 2024
@dd-mergequeue dd-mergequeue Bot deleted the pducolin/bump-test-infra-3494b470f180f953c4d5275ad798d5cf4a6af4ba branch March 15, 2024 11:32
@github-actions github-actions Bot added this to the 7.53.0 milestone Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/no-changelog No changelog entry needed qa/no-code-change No code change in Agent code requiring validation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants