html-report icon indicating copy to clipboard operation
html-report copied to clipboard

Report generation fails for big projects

Open nehashri opened this issue 7 years ago • 4 comments

Report generation fails if there is a huge project due to plugin connection timeout. The current default value for gauge to send a kill message to plugin is 4 secs. For a huge project this timeout is not sufficient to generate reports. Few ways to address this:

  • Stream results to html report (instead of passing the entire execution result)
  • html-report sends back a "keep-alive" ping, asking gauge to extend the timeout.
  • ask user to use a "saner" timeout value per project.

(decreasing order of complexity, also decreasing order of cleanliness (IMO))

nehashri avatar Jul 03 '17 08:07 nehashri

nehashri - what was the resolution with this? My project adds a significant quantity of logging to the results and hence the 4000mS timeout is hit. Reckon your first thought (Streaming) would be the nicest way - although, as you point out, the most complex.

v-mwalk avatar May 18 '18 04:05 v-mwalk

@v-mwalk - some relevant discussions on this issue

We will implement the second approach (sending ping requests) and thus letting the plugin live for longer as opposed to enforcing a hard timeout. Does that sound ok?

sriv avatar Sep 21 '18 01:09 sriv

The fix should be available in nightly >= 2-4-2019

gaugebot[bot] avatar Apr 02 '19 06:04 gaugebot[bot]

The fix should be available in nightly >= 10-4-2019

gaugebot[bot] avatar Apr 10 '19 08:04 gaugebot[bot]