Skip to content

Use Agent 7.64.3 in kitchen tests and explicitly cast to Integer#865

Merged
tbavelier merged 1 commit intomainfrom
tbavelier/fix-kitchen-tests
Sep 5, 2025
Merged

Use Agent 7.64.3 in kitchen tests and explicitly cast to Integer#865
tbavelier merged 1 commit intomainfrom
tbavelier/fix-kitchen-tests

Conversation

@tbavelier
Copy link
Member

What does this PR do?

  • Uses 7.64.3 pinned version for Agent kitchen tests
  • Explicitly cast to Integer for version comparison

Motivation

  • Newer Agent versions have modified postint commands, preventing the service to "start" in our fake Linux VMs (containers) making the test fail
  • Casting is necessary for Puppet 8 to avoid eval error:
       Error: Evaluation Error: The string '64' was automatically coerced to the numerical value 64 (file: /tmp/kitchen/modules/datadog_agent/manifests/redhat.pp, line: 22, column: 75) on node 8fa627f1eb0f.ec2.internal

Additional Notes

Describe your test plan

@tbavelier tbavelier requested a review from a team as a code owner September 2, 2025 07:54
@tbavelier tbavelier merged commit 4ca062b into main Sep 5, 2025
13 checks passed
@tbavelier tbavelier deleted the tbavelier/fix-kitchen-tests branch September 5, 2025 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants