Closed kibanamachine closed 2 weeks ago
Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services)
We've had this error on APM tests in the past. @cauemarcondes do you remember if we implemented a fix for that?
Before the problem was on Synthtrace. But @neptunian fixed it here.
This is the cause of the problem:
info Saving page source to: /opt/buildkite-agent/builds/bk-agent-prod-gcp-1723151641798118823/elastic/kibana-on-merge/kibana/x-pack/test/functional/failure_debug/html/InfraOps App Metrics UI Hosts View With data before all hook for should be acces-463b133e34fd84cf41f307b940e4c2113ccc4fa613d5e04687471d9a9fd31a52.html
[00:14:11] └- ✖ fail: InfraOps App Metrics UI Hosts View #With data "before all" hook for "should be accessible from the Inventory page"
[00:14:11] │ Error: Failed to fetch latest APM package version, received HTTP 500 and message: '503 Service Temporarily Unavailable' error response frompackage registry at https://epr.elastic.co/package/apm/8.16.0-SNAPSHOT/
https://epr.elastic.co/package/apm/8.16.0-SNAPSHOT does exist.
The problem happens on this before function https://github.com/elastic/kibana/blob/main/x-pack/test/functional/apps/infra/hosts_view.ts#L224-L228
@crespocarlos APM does this a bit different https://github.com/elastic/kibana/blob/main/x-pack/plugins/observability_solution/apm/ftr_e2e/setup_cypress_node_events.ts#L28 than infra.
There are some tests in APM using the same synthtrace Kibana client https://github.com/elastic/kibana/blob/main/x-pack/test/apm_api_integration/tests/diagnostics/index_pattern_settings.ts#L49. I wonder if they also failed.
This test has the same problem as APM tests when trying to install apm package
This PR hopefully will fix this issue
A test failed on a tracked branch
First failure: kibana-on-merge - main