Healthwatch TAS exporter smoke test fails on the PAS Exporter Gauge
search cancel

Healthwatch TAS exporter smoke test fails on the PAS Exporter Gauge

book

Article ID: 297936

calendar_today

Updated On:

Products

VMware Tanzu Application Service for VMs

Issue/Introduction

When running the smoke test for the Healthwatch TAS exporter tile, it fails with:
             Unexpected error:  
                 <*http.httpError | 0xc00000ecf0>: {  
                     err: "context deadline exceeded (Client.Timeout or context cancellation while reading body)",  
                     timeout: true,  
                 }  
                 context deadline exceeded (Client.Timeout or context cancellation while reading body)  

It may be that the smoke test also fails on other VMs in the deployment, as the smoke test runs across multiple VMs. However, this has been most observed on the pas-exporter-gauge VM.

Environment

Product Version: 2.1

Resolution

This has been caused by high CPU usage/wait times present on the gauge VM. The smoke test parses quite a few metrics from the deployments in the environment, and higher usage can result in the smoke test hitting the smoke test timeout.

You can verify this is the case by running the top command on the gauge VM, and verifying the values in the %Cpu(s) field. If these values are in the 70+ range, you should scale the VM type up to provide more CPU for the VM.