Skip to content

Intermittent reporting failure with "Worker error" #52350

@LeeDr

Description

@LeeDr

Kibana version: 7.6.0

Elasticsearch version: 7.6.0

Server OS version: Ubuntu 16

Browser version: n/a

Browser OS version: n/a

Original install method (e.g. download page, yum, from source, etc.): tar.gz from unified snapshot build

Describe the bug: A test which creates a watch to email a sample data dashboard is sometimes failing with the output below.

Steps to reproduce:

  1. Install es and kibana tar.gz on Ubuntu 16 with trial license
  2. install eCommerce sample data
  3. create a watch that emails a PDF or PNG of the eCommerce dashboard (or I think if you restart es while the report is generating that may also cause it to abort)

Expected behavior: Reports should complete

Screenshots (if relevant):

Errors in browser console (if relevant):

Provide logs and/or server output (if relevant):

{"type":"error","@timestamp":"2019-12-05T14:31:33Z","tags":["reporting","PNG","execute","k3stf9zd033j8f5fe5b2nax9","error"],"pid":4015,"level":"error","error":{"message":"Request to [http://0.0.0.0:5601/elasticsearch/kibana_sample_data_ecommerce/_search?rest_total_hits_as_int=true&ignore_unavailable=true&ignore_throttled=true&preference=1575556290839&timeout=30000ms] failed! [net::ERR_ABORTED]","name":"Error","stack":"Error: Request to [http://0.0.0.0:5601/elasticsearch/kibana_sample_data_ecommerce/_search?rest_total_hits_as_int=true&ignore_unavailable=true&ignore_throttled=true&preference=1575556290839&timeout=30000ms] failed! [net::ERR_ABORTED]\n    at MergeMapSubscriber.Rx.fromEvent.pipe.req [as project] (/home/vagrant/kibana/x-pack/legacy/plugins/reporting/server/browsers/chromium/driver_factory/index.js:195:30)\n    at MergeMapSubscriber._tryNext (/home/vagrant/kibana/node_modules/rxjs/internal/operators/mergeMap.js:69:27)\n    at MergeMapSubscriber._next (/home/vagrant/kibana/node_modules/rxjs/internal/operators/mergeMap.js:59:18)\n    at MergeMapSubscriber.Subscriber.next (/home/vagrant/kibana/node_modules/rxjs/internal/Subscriber.js:66:18)\n    at Page.handler (/home/vagrant/kibana/node_modules/rxjs/internal/observable/fromEvent.js:22:28)\n    at Page.emit (events.js:189:13)\n    at NetworkManager.Page.networkManager.on.event (/home/vagrant/kibana/node_modules/puppeteer-core/lib/Page.js:112:74)\n    at NetworkManager.emit (events.js:189:13)\n    at NetworkManager._onLoadingFailed (/home/vagrant/kibana/node_modules/puppeteer-core/lib/NetworkManager.js:315:10)\n    at CDPSession.emit (events.js:189:13)\n    at CDPSession._onMessage (/home/vagrant/kibana/node_modules/puppeteer-core/lib/Connection.js:200:12)\n    at Connection._onMessage (/home/vagrant/kibana/node_modules/puppeteer-core/lib/Connection.js:112:17)\n    at PipeTransport._dispatch (/home/vagrant/kibana/node_modules/puppeteer-core/lib/PipeTransport.js:67:24)\n    at Socket.PipeTransport._eventListeners.helper.addEventListener.buffer (/home/vagrant/kibana/node_modules/puppeteer-core/lib/PipeTransport.js:30:64)\n    at Socket.emit (events.js:189:13)\n    at addChunk (_stream_readable.js:284:12)\n    at readableAddChunk (_stream_readable.js:265:11)\n    at Socket.Readable.push (_stream_readable.js:220:10)\n    at Pipe.onStreamRead [as onread] (internal/stream_base_commons.js:94:17)"},"message":"Request to [http://0.0.0.0:5601/elasticsearch/kibana_sample_data_ecommerce/_search?rest_total_hits_as_int=true&ignore_unavailable=true&ignore_throttled=true&preference=1575556290839&timeout=30000ms] failed! [net::ERR_ABORTED]"}
{"type":"log","@timestamp":"2019-12-05T14:31:33Z","tags":["reporting","browser-driver","debug"],"pid":4015,"message":"The browser process observer has unsubscribed. Closing the browser..."}
{"type":"log","@timestamp":"2019-12-05T14:31:33Z","tags":["reporting","browser-driver","debug"],"pid":4015,"message":"deleting chromium user data directory at [/tmp/chromium-fgGtgr]"}
{"type":"log","@timestamp":"2019-12-05T14:31:33Z","tags":["reporting","esqueue","queue-worker","error"],"pid":4015,"message":"k3st7jw0033j8f5fe54bkt7t - Failure occurred on job k3stf9zd033j8f5fe5b2nax9: Error: Request to [http://0.0.0.0:5601/elasticsearch/kibana_sample_data_ecommerce/_search?rest_total_hits_as_int=true&ignore_unavailable=true&ignore_throttled=true&preference=1575556290839&timeout=30000ms] failed! [net::ERR_ABORTED]\n    at MergeMapSubscriber.Rx.fromEvent.pipe.req [as project] (/home/vagrant/kibana/x-pack/legacy/plugins/reporting/server/browsers/chromium/driver_factory/index.js:195:30)\n    at MergeMapSubscriber._tryNext (/home/vagrant/kibana/node_modules/rxjs/internal/operators/mergeMap.js:69:27)\n    at MergeMapSubscriber._next (/home/vagrant/kibana/node_modules/rxjs/internal/operators/mergeMap.js:59:18)\n    at MergeMapSubscriber.Subscriber.next (/home/vagrant/kibana/node_modules/rxjs/internal/Subscriber.js:66:18)\n    at Page.handler (/home/vagrant/kibana/node_modules/rxjs/internal/observable/fromEvent.js:22:28)\n    at Page.emit (events.js:189:13)\n    at NetworkManager.Page.networkManager.on.ev...ana/node_modules/puppeteer-core/lib/Page.js:112:74)\n    at NetworkManager.emit (events.js:189:13)\n    at NetworkManager._onLoadingFailed (/home/vagrant/kibana/node_modules/puppeteer-core/lib/NetworkManager.js:315:10)\n    at CDPSession.emit (events.js:189:13)\n    at CDPSession._onMessage (/home/vagrant/kibana/node_modules/puppeteer-core/lib/Connection.js:200:12)\n    at Connection._onMessage (/home/vagrant/kibana/node_modules/puppeteer-core/lib/Connection.js:112:17)\n    at PipeTransport._dispatch (/home/vagrant/kibana/node_modules/puppeteer-core/lib/PipeTransport.js:67:24)\n    at Socket.PipeTransport._eventListeners.helper.addEventListener.buffer (/home/vagrant/kibana/node_modules/puppeteer-core/lib/PipeTransport.js:30:64)\n    at Socket.emit (events.js:189:13)\n    at addChunk (_stream_readable.js:284:12)\n    at readableAddChunk (_stream_readable.js:265:11)\n    at Socket.Readable.push (_stream_readable.js:220:10)\n    at Pipe.onStreamRead [as onread] (internal/stream_base_commons.js:94:17)"}
{"type":"log","@timestamp":"2019-12-05T14:31:33Z","tags":["reporting","esqueue","queue-worker","error"],"pid":4015,"message":"A partial version of the entire error message was logged. The entire error message length is: 2022 characters."}
{"type":"log","@timestamp":"2019-12-05T14:31:33Z","tags":["reporting","queue-worker","debug"],"pid":4015,"message":"Worker error: (k3stf9zd033j8f5fe5b2nax9)"}
{"type":"log","@timestamp":"2019-12-05T14:31:33Z","tags":["reporting","esqueue","queue-worker","warning"],"pid":4015,"message":"k3st7jw0033j8f5fe54bkt7t - Failing job k3stf9zd033j8f5fe5b2nax9"}
{"type":"log","@timestamp":"2019-12-05T14:31:33Z","tags":["reporting","browser-driver","error"],"pid":4015,"message":"error deleting user data directory at [/tmp/chromium-fgGtgr]: [Error: Cannot delete files/directories outside the current working directory. Can be overridden with the `force` option.]"}

Any additional context:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugFixes for quality problems that affect the customer experienceregressionzDeprecated Feature:ReportingUse Reporting:Screenshot, Reporting:CSV, or Reporting:Framework instead

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions