DeploymentValidation [90m/var/vcap/data/compile/smoke_test/smoke_test/deployment_validation/deployment_validation_test.go:25[0m [91m[1mreceives metrics scraped from metric endpoints [It][0m [90m/var/vcap/data/compile/smoke_test/smoke_test/deployment_validation/deployment_validation_test.go:48[0m [91mMonitor could not detect metrics emitted from the registered endpoint. Expected <int>: 0 to be > <int>: 0[0m
Metric Registrar smoke test in TAS v2.12 and above checks the behavior of both insecure and secure endpoint. With insecure endpoint, the worker scrapes metrics at public route, which works well with both NSX-T and none-NSX-T environment. With secure endpoint, the worker scrapes Diego cell external port directly, with NSX-T enabled, no DNAT rules are configured on Diego cell, thus the scrape won't be able to reach app container.
This issue has been raised to product team and requires a fix in TAS as well as NCP tile. The following product versions are required in order to support Metric Registrar with Secure endpoint enabled.
TAS Version fix | NCP Version fix |
2.13.14 and above | 4.1.1 |
3.0.4 and above | 4.1.1 |
4.0.0 and above | 4.1.1 |
To workaround this without upgrade you can disable the metric registrar smoke test.