elastic / elastic/beats

[Heartbeat] Improve the error message for synthetics browser monitor timeout

Open
#40,385 3 comments 0 reactions 0 assignees View on GitHub
Heartbeat Team:obs-ds-hosted-services
Dominant language
Go
Stars
12.7k
Forks
5k
Avg merge
2d 2h
Merged PRs (30d)
364

Description

**Describe the enhancement:**

When the browser monitor script gets timeout or run indefinitely, Once the monitor timeout is done (max 15 minutes), the synthetics browser monitor Node.js process gets killed which results in generic error message like
```
journey did not finish executing, 1 steps ran (attempt: 2): error executing step: command '/tmp/elastic-synthetics-unzip-1555474065/node_modules/.bin/elastic-synthetics /tmp/elastic-synthetics-unzip-1555474065 --playwright-options { REDACTED } --screenshots off --params { REDACTED } --outfd 3' did not exit before extended timeout: 15m30s
```

**Describe a specific use case for the enhancement or feature:**

Improve the error message here suggesting the users to either fix the script or split the tests in to smaller tests.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.