Skip to content

Conversation

@yanhaoluo666
Copy link

@yanhaoluo666 yanhaoluo666 commented Oct 24, 2025

Description of the issue

Integ test started to fail after adding PersistentVolumeClaim metrics(PR), the error is

null_resource.validator (local-exec): 2025/10/23 16:20:25 log validation (/aws/containerinsights/cwagent-eks-integ-6e20591cb222c63d/performance/ip-172-31-63-216.us-west-2.compute.internal) failed: unable to retrieve schema: invalid type provided: PersistentVolume
null_resource.validator (local-exec): 2025/10/23 16:20:25 EKS_GPU_NVIDIA test group failed
null_resource.validator (local-exec):     gpu_test.go:70:
null_resource.validator (local-exec):         	Error Trace:	/home/runner/work/amazon-cloudwatch-agent/amazon-cloudwatch-agent/test/gpu/gpu_test.go:70
null_resource.validator (local-exec):         	Error:      	Not equal:
null_resource.validator (local-exec):         	            	expected: "Successful"
null_resource.validator (local-exec):         	            	actual  : "Failed"

null_resource.validator (local-exec):         	            	Diff:
null_resource.validator (local-exec):         	            	--- Expected
null_resource.validator (local-exec):         	            	+++ Actual
null_resource.validator (local-exec):         	            	@@ -1,2 +1,2 @@
null_resource.validator (local-exec):         	            	-(status.TestStatus) (len=10) "Successful"
null_resource.validator (local-exec):         	            	+(status.TestStatus) (len=6) "Failed"

null_resource.validator (local-exec):         	Test:       	TestGPUSuite/TestAllInSuite
null_resource.validator (local-exec):         	Messages:   	GPU Container Test Suite Failed

Description of changes

Add log schema for PersistentVolumeClaim and PersistentVolume to validate in test/metric_value_benchmark/eks_resources/util.go .

License

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Tests

deployed to personal branch and tested with new changes in https://github.com/aws/amazon-cloudwatch-agent/actions/runs/17095508952/job/48478961695#step:7:2569

@yanhaoluo666 yanhaoluo666 requested a review from a team as a code owner October 24, 2025 11:38
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.

1 participant