Project

General

Profile

Actions

Bug #13733

closed

On small hardware, datasource test timeout

Added by François ARMAND about 6 years ago. Updated almost 5 years ago.

Status:
Released
Priority:
N/A
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:

Description

On a small machine, we get a timeout like:;

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running com.normation.plugins.datasources.api.RestDataSourceTest
error while interpreting an action org.specs2.control.UserException: cannot create an instance for class com.normation.plugins.datasources.api.RestDataSourceTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.184 sec - in com.normation.plugins.datasources.api.RestDataSourceTest
Running com.normation.plugins.datasources.UpdateHttpDatasetTest
[2018-10-25 14:13:11] ERROR datasources - Error when fetching data from data source 'test-my-datasource' (test-lot-of-nodes-GET) for all nodes <- Futures timed out after [30 seconds]
[2018-10-25 14:13:11] ERROR com.normation.plugins.datasources.UpdateHttpDatasetTest - I wasn't expecting the failure: Futures timed out after [30 seconds]
java.util.concurrent.TimeoutException: Futures timed out after [30 seconds]
    at scala.concurrent.impl.Promise$DefaultPromise.ready(Promise.scala:255)
    at scala.concurrent.impl.Promise$DefaultPromise.result(Promise.scala:259)
....
[2018-10-25 14:13:41] ERROR datasources - Error when fetching data from data source 'test-my-datasource' (test-lot-of-nodes-POST) for all nodes <- Futures timed out after [30 seconds]
[2018-10-25 14:13:41] ERROR com.normation.plugins.datasources.UpdateHttpDatasetTest - I wasn't expecting the failure: Futures timed out after [30 seconds]
java.util.concurrent.TimeoutException: Futures timed out after [30 seconds]
    at scala.concurrent.impl.Promise$DefaultPromise.ready(Promise.scala:255)
...

Either we need to make less nodes (perhaps 100 is suffuciant), or give more time to finish.

Actions #1

Updated by François ARMAND about 6 years ago

  • Description updated (diff)
Actions #2

Updated by François ARMAND about 6 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from François ARMAND to Nicolas CHARLES
  • Pull Request set to https://github.com/Normation/rudder-plugins/pull/136
Actions #3

Updated by François ARMAND about 6 years ago

  • Status changed from Pending technical review to Pending release
Actions #4

Updated by Vincent MEMBRÉ almost 5 years ago

  • Status changed from Pending release to Released
Actions

Also available in: Atom PDF