The smoke test errand failed while Healthwatch install
search cancel

The smoke test errand failed while Healthwatch install

book

Article ID: 293858

calendar_today

Updated On:

Products

Operations Manager

Issue/Introduction

The Healthwatch smoke test errand failed with below errors while apply changes

Errand 'smoke-test' completed with error (exit code 1)

Instance tsdb/************
Exit Code 1
Stdout Running Suite: Metrics Store SmokeTest Suite
============================================
Random Seed: 1696413619
Will run 2 of 2 specs

Failure [30.001 seconds]
Smoke Test
/tmp/build/c40940d1/tile-src/releases/healthwatch-smoke-test-release/src/smoke-test/smoke_test.go:28
can query for grafana up metric [It]
/tmp/build/c40940d1/tile-src/releases/healthwatch-smoke-test-release/src/smoke-test/smoke_test.go:29

Timed out after 30.000s.
querying for grafana up should be greater than 0
Expected
<float64>: 0
to be >
<int>: 0

/tmp/build/c40940d1/tile-src/releases/healthwatch-smoke-test-release/src/smoke-test/smoke_test.go:38
------------------------------

Summarizing 1 Failure:

[Fail] Smoke Test [It] can query for grafana up metric
/tmp/build/c40940d1/tile-src/releases/healthwatch-smoke-test-release/src/smoke-test/smoke_test.go:38

Ran 2 of 2 Specs in 30.051 seconds
FAIL! -- 1 Passed | 1 Failed | 0 Pending | 0 Skipped
--- FAIL: TestSmokeTest (30.05s)
FAIL

Stderr Error: failed to run job-process: exit status 1 (exit status 1)


Environment

Product Version: 2.10

Resolution

It appears the issue your facing stems from the grafana cert being signed by the opsman root CA and since the opsman root CA isn’t deployed as trusted, some components may not have it in their trust store.
 

The fix is to check the box "Include Tanzu Ops Manager Root CA in Trusted Certs" from bosh tile -> security tab (in OpsMan GUI). Then "save" changes and Apply Changes will be needed in order to establish trust.

Screenshot 2023-10-05 at 11.25.31 AM.png