Bug #10341
closedRunning datasources test fails on some machine
Added by François ARMAND over 7 years ago. Updated about 6 years ago.
Description
Someone tried to run datasource plugin tests and they failed with errors like:
282/datasource/delay/node930 ; Error when getting data from datasource 'test-my-datasource' for node node59.localhost (node59): Error when fetching data from http://localhost:8282/datasource/delay/node59 ; Connection reset by peer java.net.SocketException: Connection reset by peer at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:589) at sun.net.NetworkClient.doConnect(NetworkClient.java:175) at sun.net.www.http.HttpClient.openServer(HttpClient.java:432) at sun.net.www.http.HttpClient.openServer(HttpClient.java:527) at sun.net.www.http.HttpClient.<init>(HttpClient.java:211) at sun.net.www.http.HttpClient.New(HttpClient.java:308) at sun.net.www.http.HttpClient.New(HttpClient.java:326) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1169) at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1105) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:999) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:933) at scalaj.http.DefaultConnectFunc$.apply(Http.scala:471) at scalaj.http.DefaultConnectFunc$.apply(Http.scala:469) at scalaj.http.HttpRequest.doConnection(Http.scala:355) at scalaj.http.HttpRequest.exec(Http.scala:335) at scalaj.http.HttpRequest.asString(Http.scala:455) at com.normation.rudder.datasources.QueryHttp$.$anonfun$QUERY$1(UpdateHttpDataset.scala:167)
It very much looks like:
http://stackoverflow.com/questions/22724334/connection-reset-by-peer-and-too-many-open-files-exceptions-wile-trying-to-s
So it may be OSX specific, and trying that may help:
sudo sysctl -w kern.maxfiles=1000200 sudo sysctl -w kern.maxfilesperproc=1000100 sudo ulimit -n 1000000
And add:
limit maxfiles 1000100 2000200
to /etc/launchd.conf and
And add:
kern.maxfiles=2000400 kern.maxfilesperproc=1000200
to /etc/sysctl.conf and restarting the computer,
And launch tests with the following command:
$ MAVEN_OPTS="-XX:-MaxFDLimit" mvn test
Full stack in comment.
Updated by François ARMAND over 7 years ago
Full errors:
Running com.normation.rudder.datasources.UpdateHttpDatasetTest [2017-02-24 15:23:19] ERROR datasources - Error when fetching data from data source 'test-lot-of-nodes-GET' (test-my-datasource) for all nodes <- Error when getting data from datasource 'test-my-datasource' for node node307.localhost (node307): Error when fetching data from http://localhost:8282/datasource/delay/node307 ; Error when getting data from datasource 'test-my-datasource' for node node73.localhost (node73): Error when fetching data from http://localhost:8282/datasource/delay/node73 ; Error when getting data from datasource 'test-my-datasource' for node node860.localhost (node860): Error when fetching data from http://localhost:8282/datasource/delay/node860 ; Error when getting data from datasource 'test-my-datasource' for node node43.localhost (node43): Error when fetching data from http://localhost:8282/datasource/delay/node43 ; Error when getting data from datasource 'test-my-datasource' for node node982.localhost (node982): Error when fetching data from http://localhost:8282/datasource/delay/node982 ; Error when getting data from datasource 'test-my-datasource' for node node459.localhost (node459): Error when fetching data from http://localhost:8282/datasource/delay/node459 ; Error when getting data from datasource 'test-my-datasource' for node node206.localhost (node206): Error when fetching data from http://localhost:8282/datasource/delay/node206 ; Error when getting data from datasource 'test-my-datasource' for node node930.localhost (node930): Error when fetching data from http://localhost:8282/datasource/delay/node930 ; Error when getting data from datasource 'test-my-datasource' for node node59.localhost (node59): Error when fetching data from http://localhost:8282/datasource/delay/node59 ; Connection reset by peer [2017-02-24 15:23:19] ERROR com.normation.rudder.datasources.UpdateHttpDatasetTest - I wasn't expecting the failure: Error when getting data from datasource 'test-my-datasource' for node node307.localhost (node307): Error when fetching data from http://localhost:8282/datasource/delay/node307 ; Error when getting data from datasource 'test-my-datasource' for node node73.localhost (node73): Error when fetching data from http://localhost:8282/datasource/delay/node73 ; Error when getting data from datasource 'test-my-datasource' for node node860.localhost (node860): Error when fetching data from http://localhost:8282/datasource/delay/node860 ; Error when getting data from datasource 'test-my-datasource' for node node43.localhost (node43): Error when fetching data from http://localhost:8282/datasource/delay/node43 ; Error when getting data from datasource 'test-my-datasource' for node node982.localhost (node982): Error when fetching data from http://localhost:8282/datasource/delay/node982 ; Error when getting data from datasource 'test-my-datasource' for node node459.localhost (node459): Error when fetching data from http://localhost:8282/datasource/delay/node459 ; Error when getting data from datasource 'test-my-datasource' for node node206.localhost (node206): Error when fetching data from http://localhost:8282/datasource/delay/node206 ; Error when getting data from datasource 'test-my-datasource' for node node930.localhost (node930): Error when fetching data from http://localhost:8282/datasource/delay/node930 ; Error when getting data from datasource 'test-my-datasource' for node node59.localhost (node59): Error when fetching data from http://localhost:8282/datasource/delay/node59 ; Connection reset by peer java.net.SocketException: Connection reset by peer at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:589) at sun.net.NetworkClient.doConnect(NetworkClient.java:175) at sun.net.www.http.HttpClient.openServer(HttpClient.java:432) at sun.net.www.http.HttpClient.openServer(HttpClient.java:527) at sun.net.www.http.HttpClient.<init>(HttpClient.java:211) at sun.net.www.http.HttpClient.New(HttpClient.java:308) at sun.net.www.http.HttpClient.New(HttpClient.java:326) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1169) at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1105) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:999) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:933) at scalaj.http.DefaultConnectFunc$.apply(Http.scala:471) at scalaj.http.DefaultConnectFunc$.apply(Http.scala:469) at scalaj.http.HttpRequest.doConnection(Http.scala:355) at scalaj.http.HttpRequest.exec(Http.scala:335) at scalaj.http.HttpRequest.asString(Http.scala:455) at com.normation.rudder.datasources.QueryHttp$.$anonfun$QUERY$1(UpdateHttpDataset.scala:167) at net.liftweb.common.Tryo.tryo(Tryo.scala:22) at net.liftweb.common.Tryo.tryo$(Tryo.scala:20) at net.liftweb.util.Helpers$.tryo(Helpers.scala:34) at net.liftweb.common.Tryo.tryo(Tryo.scala:60) at net.liftweb.common.Tryo.tryo$(Tryo.scala:60) at net.liftweb.util.Helpers$.tryo(Helpers.scala:34) at com.normation.rudder.datasources.QueryHttp$.QUERY(UpdateHttpDataset.scala:167) at com.normation.rudder.datasources.GetDataset.$anonfun$getNode$16(UpdateHttpDataset.scala:115) at net.liftweb.common.Full.flatMap(Box.scala:808) at com.normation.rudder.datasources.GetDataset.$anonfun$getNode$14(UpdateHttpDataset.scala:113) at net.liftweb.common.Full.flatMap(Box.scala:808) at com.normation.rudder.datasources.GetDataset.$anonfun$getNode$13(UpdateHttpDataset.scala:112) at net.liftweb.common.Full.flatMap(Box.scala:808) at com.normation.rudder.datasources.GetDataset.$anonfun$getNode$11(UpdateHttpDataset.scala:111) at net.liftweb.common.Full.flatMap(Box.scala:808) at com.normation.rudder.datasources.GetDataset.$anonfun$getNode$9(UpdateHttpDataset.scala:110) at net.liftweb.common.Full.flatMap(Box.scala:808) at com.normation.rudder.datasources.GetDataset.getNode(UpdateHttpDataset.scala:108) at com.normation.rudder.datasources.HttpQueryDataSourceService.$anonfun$buildOneNodeTask$2(DataSourceService.scala:180) at net.liftweb.common.Full.flatMap(Box.scala:808) at com.normation.rudder.datasources.HttpQueryDataSourceService.$anonfun$buildOneNodeTask$1(DataSourceService.scala:177) at monix.eval.Coeval$Always.runAttempt(Coeval.scala:603) at monix.eval.Task$.monix$eval$Task$$runLoop(Task.scala:1363) at monix.eval.Task$.monix$eval$Task$$internalRestartTrampolineLoop(Task.scala:1426) at monix.eval.Task$.monix$eval$Task$$$anonfun$startTrampolineAsync$1(Task.scala:1317) at monix.eval.Task$$anonfun$monix$eval$Task$$startTrampolineAsync$1.run(Task.scala:1314) at monix.execution.schedulers.TrampolineExecutionContext.monix$execution$schedulers$TrampolineExecutionContext$$localRunLoop(TrampolineExecutionContext.scala:107) at monix.execution.schedulers.TrampolineExecutionContext.startLoopOptimal(TrampolineExecutionContext.scala:91) at monix.execution.schedulers.TrampolineExecutionContext.execute(TrampolineExecutionContext.scala:76) at monix.execution.schedulers.BatchingScheduler.execute(BatchingScheduler.scala:50) at monix.execution.schedulers.BatchingScheduler.execute$(BatchingScheduler.scala:47) at monix.execution.schedulers.AsyncScheduler.execute(AsyncScheduler.scala:29) at monix.execution.schedulers.StartAsyncBatchRunnable.run(StartAsyncBatchRunnable.scala:46) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) [2017-02-24 15:23:24] ERROR datasources - Error when fetching data from data source 'test-lot-of-nodes-POST' (test-my-datasource) for all nodes <- Error when getting data from datasource 'test-my-datasource' for node node606.localhost (node606): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node362.localhost (node362): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node368.localhost (node368): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node279.localhost (node279): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node206.localhost (node206): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node156.localhost (node156): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node193.localhost (node193): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node537.localhost (node537): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node848.localhost (node848): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node798.localhost (node798): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node695.localhost (node695): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node31.localhost (node31): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node52.localhost (node52): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node181.localhost (node181): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node687.localhost (node687): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node823.localhost (node823): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node833.localhost (node833): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node664.localhost (node664): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node270.localhost (node270): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node397.localhost (node397): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node84.localhost (node84): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node945.localhost (node945): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node316.localhost (node316): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node598.localhost (node598): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node167.localhost (node167): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node831.localhost (node831): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node757.localhost (node757): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node58.localhost (node58): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node415.localhost (node415): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node930.localhost (node930): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node210.localhost (node210): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node319.localhost (node319): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node100.localhost (node100): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node749.localhost (node749): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node287.localhost (node287): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node714.localhost (node714): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node524.localhost (node524): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node43.localhost (node43): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node473.localhost (node473): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node186.localhost (node186): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node748.localhost (node748): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node982.localhost (node982): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node882.localhost (node882): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node234.localhost (node234): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node940.localhost (node940): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node63.localhost (node63): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node812.localhost (node812): Error when fetching data from http://localhost:8282/datasource/delay ; Connection reset [2017-02-24 15:23:24] ERROR com.normation.rudder.datasources.UpdateHttpDatasetTest - I wasn't expecting the failure: Error when getting data from datasource 'test-my-datasource' for node node606.localhost (node606): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node362.localhost (node362): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node368.localhost (node368): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node279.localhost (node279): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node206.localhost (node206): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node156.localhost (node156): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node193.localhost (node193): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node537.localhost (node537): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node848.localhost (node848): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node798.localhost (node798): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node695.localhost (node695): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node31.localhost (node31): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node52.localhost (node52): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node181.localhost (node181): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node687.localhost (node687): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node823.localhost (node823): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node833.localhost (node833): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node664.localhost (node664): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node270.localhost (node270): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node397.localhost (node397): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node84.localhost (node84): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node945.localhost (node945): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node316.localhost (node316): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node598.localhost (node598): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node167.localhost (node167): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node831.localhost (node831): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node757.localhost (node757): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node58.localhost (node58): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node415.localhost (node415): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node930.localhost (node930): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node210.localhost (node210): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node319.localhost (node319): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node100.localhost (node100): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node749.localhost (node749): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node287.localhost (node287): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node714.localhost (node714): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node524.localhost (node524): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node43.localhost (node43): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node473.localhost (node473): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node186.localhost (node186): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node748.localhost (node748): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node982.localhost (node982): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node882.localhost (node882): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node234.localhost (node234): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node940.localhost (node940): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node63.localhost (node63): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node812.localhost (node812): Error when fetching data from http://localhost:8282/datasource/delay ; Connection reset java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:209) at java.net.SocketInputStream.read(SocketInputStream.java:141) at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) at java.io.BufferedInputStream.read1(BufferedInputStream.java:286) at java.io.BufferedInputStream.read(BufferedInputStream.java:345) at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:704) at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:647) at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:675) at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1536) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441) at scalaj.http.HttpRequest.doConnection(Http.scala:357) at scalaj.http.HttpRequest.exec(Http.scala:335) at scalaj.http.HttpRequest.asString(Http.scala:455) at com.normation.rudder.datasources.QueryHttp$.$anonfun$QUERY$1(UpdateHttpDataset.scala:167) at net.liftweb.common.Tryo.tryo(Tryo.scala:22) at net.liftweb.common.Tryo.tryo$(Tryo.scala:20) at net.liftweb.util.Helpers$.tryo(Helpers.scala:34) at net.liftweb.common.Tryo.tryo(Tryo.scala:60) at net.liftweb.common.Tryo.tryo$(Tryo.scala:60) at net.liftweb.util.Helpers$.tryo(Helpers.scala:34) at com.normation.rudder.datasources.QueryHttp$.QUERY(UpdateHttpDataset.scala:167) at com.normation.rudder.datasources.GetDataset.$anonfun$getNode$16(UpdateHttpDataset.scala:115) at net.liftweb.common.Full.flatMap(Box.scala:808) at com.normation.rudder.datasources.GetDataset.$anonfun$getNode$14(UpdateHttpDataset.scala:113) at net.liftweb.common.Full.flatMap(Box.scala:808) at com.normation.rudder.datasources.GetDataset.$anonfun$getNode$13(UpdateHttpDataset.scala:112) at net.liftweb.common.Full.flatMap(Box.scala:808) at com.normation.rudder.datasources.GetDataset.$anonfun$getNode$11(UpdateHttpDataset.scala:111) at net.liftweb.common.Full.flatMap(Box.scala:808) at com.normation.rudder.datasources.GetDataset.$anonfun$getNode$9(UpdateHttpDataset.scala:110) at net.liftweb.common.Full.flatMap(Box.scala:808) at com.normation.rudder.datasources.GetDataset.getNode(UpdateHttpDataset.scala:108) at com.normation.rudder.datasources.HttpQueryDataSourceService.$anonfun$buildOneNodeTask$2(DataSourceService.scala:180) at net.liftweb.common.Full.flatMap(Box.scala:808) at com.normation.rudder.datasources.HttpQueryDataSourceService.$anonfun$buildOneNodeTask$1(DataSourceService.scala:177) at monix.eval.Coeval$Always.runAttempt(Coeval.scala:603) at monix.eval.Task$.monix$eval$Task$$runLoop(Task.scala:1363) at monix.eval.Task$.monix$eval$Task$$internalRestartTrampolineLoop(Task.scala:1426) at monix.eval.Task$.monix$eval$Task$$$anonfun$startTrampolineAsync$1(Task.scala:1317) at monix.eval.Task$$anonfun$monix$eval$Task$$startTrampolineAsync$1.run(Task.scala:1314) at monix.execution.schedulers.TrampolineExecutionContext.monix$execution$schedulers$TrampolineExecutionContext$$localRunLoop(TrampolineExecutionContext.scala:107) at monix.execution.schedulers.TrampolineExecutionContext.startLoopOptimal(TrampolineExecutionContext.scala:91) at monix.execution.schedulers.TrampolineExecutionContext.execute(TrampolineExecutionContext.scala:76) at monix.execution.schedulers.BatchingScheduler.execute(BatchingScheduler.scala:50) at monix.execution.schedulers.BatchingScheduler.execute$(BatchingScheduler.scala:47) at monix.execution.schedulers.AsyncScheduler.execute(AsyncScheduler.scala:29) at monix.execution.schedulers.StartAsyncBatchRunnable.run(StartAsyncBatchRunnable.scala:46) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Tests run: 9, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 12.427 sec <<< FAILURE! querying a lot of nodes should::work even if nodes don't reply at same speed with GET(com.normation.rudder.datasources.UpdateHttpDatasetTest) Time elapsed: 0.045 sec <<< FAILURE! java.lang.Exception: I wasn't expecting the failure: Error when getting data from datasource 'test-my-datasource' for node node307.localhost (node307): Error when fetching data from http://localhost:8282/datasource/delay/node307 ; Error when getting data from datasource 'test-my-datasource' for node node73.localhost (node73): Error when fetching data from http://localhost:8282/datasource/delay/node73 ; Error when getting data from datasource 'test-my-datasource' for node node860.localhost (node860): Error when fetching data from http://localhost:8282/datasource/delay/node860 ; Error when getting data from datasource 'test-my-datasource' for node node43.localhost (node43): Error when fetching data from http://localhost:8282/datasource/delay/node43 ; Error when getting data from datasource 'test-my-datasource' for node node982.localhost (node982): Error when fetching data from http://localhost:8282/datasource/delay/node982 ; Error when getting data from datasource 'test-my-datasource' for node node459.localhost (node459): Error when fetching data from http://localhost:8282/datasource/delay/node459 ; Error when getting data from datasource 'test-my-datasource' for node node206.localhost (node206): Error when fetching data from http://localhost:8282/datasource/delay/node206 ; Error when getting data from datasource 'test-my-datasource' for node node930.localhost (node930): Error when fetching data from http://localhost:8282/datasource/delay/node930 ; Error when getting data from datasource 'test-my-datasource' for node node59.localhost (node59): Error when fetching data from http://localhost:8282/datasource/delay/node59 ; Connection reset by peer at com.normation.BoxSpecMatcher$BoxMustEquals.matchRes(BoxSpecMatcher.scala:76) at com.normation.BoxSpecMatcher$BoxMustEquals.mustFullEq(BoxSpecMatcher.scala:81) at com.normation.rudder.datasources.UpdateHttpDatasetTest.$anonfun$new$27(UpdateHttpDatasetTest.scala:419) at com.normation.rudder.datasources.UpdateHttpDatasetTest.$anonfun$new$26(UpdateHttpDatasetTest.scala:420) at com.normation.rudder.datasources.UpdateHttpDatasetTest.$anonfun$new$25(UpdateHttpDatasetTest.scala:421) at com.normation.rudder.datasources.UpdateHttpDatasetTest.$anonfun$new$24(UpdateHttpDatasetTest.scala:421) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) querying a lot of nodes should::work even if nodes don't reply at same speed with POST(com.normation.rudder.datasources.UpdateHttpDatasetTest) Time elapsed: 0.014 sec <<< FAILURE! java.lang.Exception: I wasn't expecting the failure: Error when getting data from datasource 'test-my-datasource' for node node606.localhost (node606): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node362.localhost (node362): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node368.localhost (node368): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node279.localhost (node279): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node206.localhost (node206): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node156.localhost (node156): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node193.localhost (node193): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node537.localhost (node537): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node848.localhost (node848): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node798.localhost (node798): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node695.localhost (node695): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node31.localhost (node31): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node52.localhost (node52): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node181.localhost (node181): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node687.localhost (node687): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node823.localhost (node823): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node833.localhost (node833): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node664.localhost (node664): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node270.localhost (node270): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node397.localhost (node397): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node84.localhost (node84): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node945.localhost (node945): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node316.localhost (node316): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node598.localhost (node598): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node167.localhost (node167): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node831.localhost (node831): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node757.localhost (node757): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node58.localhost (node58): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node415.localhost (node415): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node930.localhost (node930): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node210.localhost (node210): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node319.localhost (node319): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node100.localhost (node100): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node749.localhost (node749): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node287.localhost (node287): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node714.localhost (node714): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node524.localhost (node524): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node43.localhost (node43): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node473.localhost (node473): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node186.localhost (node186): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node748.localhost (node748): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node982.localhost (node982): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node882.localhost (node882): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node234.localhost (node234): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node940.localhost (node940): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node63.localhost (node63): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node812.localhost (node812): Error when fetching data from http://localhost:8282/datasource/delay ; Connection reset at com.normation.BoxSpecMatcher$BoxMustEquals.matchRes(BoxSpecMatcher.scala:76) at com.normation.BoxSpecMatcher$BoxMustEquals.mustFullEq(BoxSpecMatcher.scala:81) at com.normation.rudder.datasources.UpdateHttpDatasetTest.$anonfun$new$41(UpdateHttpDatasetTest.scala:441) at com.normation.rudder.datasources.UpdateHttpDatasetTest.$anonfun$new$40(UpdateHttpDatasetTest.scala:442) at com.normation.rudder.datasources.UpdateHttpDatasetTest.$anonfun$new$39(UpdateHttpDatasetTest.scala:443) at com.normation.rudder.datasources.UpdateHttpDatasetTest.$anonfun$new$38(UpdateHttpDatasetTest.scala:443) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) querying a lot of nodes should::work for odd node even if even nodes fail(com.normation.rudder.datasources.UpdateHttpDatasetTest) Time elapsed: 0.015 sec <<< FAILURE! java.lang.Exception: Map(NodeId(node689) -> 1, NodeId(node527) -> 1, NodeId(node391) -> 1, NodeId(node45) -> 1, NodeId(node63) -> 1, NodeId(node601) -> 1, NodeId(node429) -> 1, NodeId(node799) -> 1, NodeId(node807) -> 1, NodeId(node117) -> 1, NodeId(node959) -> 1, NodeId(node181) -> 1, NodeId(node335) -> 1, NodeId(node923) -> 1, NodeId(node55) -> 1, NodeId(node585) -> 1, NodeId(node777) -> 1, NodeId(node461) -> 1, NodeId(node191) -> 1, NodeId(node59) -> 1, NodeId(node255) -> 1, NodeId(node39) -> 1, NodeId(node871) -> 1, NodeId(node883) -> 1, NodeId(node385) -> 1, NodeId(node317) -> 1, NodeId(node225) -> 1, NodeId(node473) -> 1, NodeId(node513) -> 1, NodeId(node155) -> 1, NodeId(node695) -> 1, NodeId(node965) -> 1, NodeId(node173) -> 1, NodeId(node875) -> 1, NodeId(node797) -> 1, NodeId(node903) -> 1, NodeId(node865) -> 1, NodeId(node109) -> 1, NodeId(node609) -> 1, NodeId(node327) -> 1, NodeId(node529) -> 1, NodeId(node985) -> 1, NodeId(node949) -> 1, NodeId(node149) -> 1, NodeId(node471) -> 1, NodeId(node597) -> 1, NodeId(node489) -> 1, NodeId(node43) -> 1, NodeId(node673) -> 1, NodeId(node615) -> 1, NodeId(node977) -> 1, NodeId(node919) -> 1, NodeId(node553) -> 1, NodeId(node613) -> 1, NodeId(node517) -> 1, NodeId(node577) -> 1, NodeId(node353) -> 1, NodeId(node393) -> 1, NodeId(node511) -> 1, NodeId(node263) -> 1, NodeId(node987) -> 1, NodeId(node693) -> 1, NodeId(node891) -> 1, NodeId(node925) -> 1, NodeId(node755) -> 1, NodeId(node899) -> 1, NodeId(node35) -> 1, NodeId(node915) -> 1, NodeId(node469) -> 1, NodeId(node779) -> 1, NodeId(node283) -> 1, NodeId(node847) -> 1, NodeId(node973) -> 1, NodeId(node11) -> 1, NodeId(node267) -> 1, NodeId(node717) -> 1, NodeId(node781) -> 1, NodeId(node857) -> 1, NodeId(node619) -> 1, NodeId(node467) -> 1, NodeId(node563) -> 1, NodeId(node451) -> 1, NodeId(node441) -> 1, NodeId(node955) -> 1, NodeId(node379) -> 1, NodeId(node657) -> 1, NodeId(node995) -> 1, NodeId(node627) -> 1, NodeId(node713) -> 1, NodeId(node315) -> 1, NodeId(node377) -> 1, NodeId(node731) -> 1, NodeId(node411) -> 1, NodeId(node151) -> 1, NodeId(node501) -> 1, NodeId(node895) -> 1, NodeId(node933) -> 1, NodeId(node557) -> 1, NodeId(node525) -> 1, NodeId(node415) -> 1, NodeId(node345) -> 1, NodeId(node817) -> 1, NodeId(node763) -> 1, NodeId(node91) -> 1, NodeId(node823) -> 1, NodeId(node435) -> 1, NodeId(node167) -> 1, NodeId(node459) -> 1, NodeId(node179) -> 1, NodeId(node745) -> 1, NodeId(node397) -> 1, NodeId(node663) -> 1, NodeId(node811) -> 1, NodeId(node253) -> 1, NodeId(node605) -> 1, NodeId(node75) -> 1, NodeId(node757) -> 1, NodeId(node833) -> 1, NodeId(node81) -> 1, NodeId(node275) -> 1, NodeId(node1) -> 1, NodeId(node697) -> 1, NodeId(node5) -> 1, NodeId(node115) -> 1, NodeId(node679) -> 1, NodeId(node455) -> 1, NodeId(node769) -> 1, NodeId(node31) -> 1, NodeId(node373) -> 1, NodeId(node499) -> 1, NodeId(node211) -> 1, NodeId(node687) -> 1, NodeId(node103) -> 1, NodeId(node395) -> 1, NodeId(node537) -> 1, NodeId(node747) -> 1, NodeId(node649) -> 1, NodeId(node565) -> 1, NodeId(node251) -> 1, NodeId(node193) -> 1, NodeId(node961) -> 1, NodeId(node279) -> 1, NodeId(node603) -> 1, NodeId(node73) -> 1, NodeId(node307) -> 1, NodeId(node127) -> 1, NodeId(node813) -> 1, NodeId(node643) -> 1, NodeId(node819) -> 1, NodeId(node7) -> 1, NodeId(node723) -> 1, NodeId(node523) -> 1, NodeId(node907) -> 1, NodeId(node381) -> 1, NodeId(node431) -> 1, NodeId(node705) -> 1, NodeId(node789) -> 1, NodeId(node761) -> 1, NodeId(node21) -> 1, NodeId(node163) -> 1, NodeId(node555) -> 1, NodeId(node97) -> 1, NodeId(node733) -> 1, NodeId(node161) -> 1, NodeId(node935) -> 1, NodeId(node447) -> 1, NodeId(node581) -> 1, NodeId(node921) -> 1, NodeId(node77) -> 1, NodeId(node487) -> 1, NodeId(node739) -> 1, NodeId(node153) -> 1, NodeId(node61) -> 1, NodeId(node355) -> 1, NodeId(node967) -> 1, NodeId(node247) -> 1, NodeId(node775) -> 1, NodeId(node339) -> 1, NodeId(node617) -> 1, NodeId(node913) -> 1, NodeId(node953) -> 1, NodeId(node829) -> 1, NodeId(node569) -> 1, NodeId(node889) -> 1, NodeId(node287) -> 1, NodeId(node365) -> 1, NodeId(node221) -> 1, NodeId(node423) -> 1, NodeId(node67) -> 1, NodeId(node213) -> 1, NodeId(node313) -> 1, NodeId(node507) -> 1, NodeId(node539) -> 1, NodeId(node195) -> 1, NodeId(node105) -> 1, NodeId(node295) -> 1, NodeId(node725) -> 1, NodeId(node321) -> 1, NodeId(node993) -> 1, NodeId(node655) -> 1, NodeId(node375) -> 1, NodeId(node145) -> 1, NodeId(node667) -> 1, NodeId(node873) -> 1, NodeId(node187) -> 1, NodeId(node235) -> 1, NodeId(node125) -> 1, NodeId(node29) -> 1, NodeId(node219) -> 1, NodeId(node979) -> 1, NodeId(node661) -> 1, NodeId(node497) -> 1, NodeId(node449) -> 1, NodeId(node121) -> 1, NodeId(node911) -> 1, NodeId(node95) -> 1, NodeId(node595) -> 1, NodeId(node389) -> 1, NodeId(node243) -> 1, NodeId(node337) -> 1, NodeId(node233) -> 1, NodeId(node787) -> 1, NodeId(node631) -> 1, NodeId(node41) -> 1, NodeId(node329) -> 1, NodeId(node135) -> 1, NodeId(node981) -> 1, NodeId(node341) -> 1, NodeId(node623) -> 1, NodeId(node453) -> 1, NodeId(node765) -> 1, NodeId(node943) -> 1, NodeId(node551) -> 1, NodeId(node641) -> 1, NodeId(node645) -> 1, NodeId(node633) -> 1, NodeId(node851) -> 1, NodeId(node927) -> 1, NodeId(node369) -> 1, NodeId(node297) -> 1, NodeId(node33) -> 1, NodeId(node975) -> 1, NodeId(node637) -> 1, NodeId(node199) -> 1, NodeId(node303) -> 1, NodeId(node457) -> 1, NodeId(node217) -> 1, NodeId(node407) -> 1, NodeId(node867) -> 1, NodeId(node171) -> 1, NodeId(node759) -> 1, NodeId(node791) -> 1, NodeId(node855) -> 1, NodeId(node905) -> 1, NodeId(node503) -> 1, NodeId(node701) -> 1, NodeId(node515) -> 1, NodeId(node593) -> 1, NodeId(node845) -> 1, NodeId(node575) -> 1, NodeId(node583) -> 1, NodeId(node23) -> 1, NodeId(node573) -> 1, NodeId(node65) -> 1, NodeId(node107) -> 1, NodeId(node671) -> 1, NodeId(node215) -> 1, NodeId(node203) -> 1, NodeId(node323) -> 1, NodeId(node997) -> 1, NodeId(node541) -> 1, NodeId(node405) -> 1, NodeId(node13) -> 1, NodeId(node137) -> 1, NodeId(node371) -> 1, NodeId(node869) -> 1, NodeId(node589) -> 1, NodeId(node853) -> 1, NodeId(node753) -> 1, NodeId(node741) -> 1, NodeId(node669) -> 1, NodeId(node983) -> 1, NodeId(node825) -> 1, NodeId(node301) -> 1, NodeId(node839) -> 1, NodeId(node751) -> 1, NodeId(node969) -> 1, NodeId(node83) -> 1, NodeId(node709) -> 1, NodeId(node831) -> 1, NodeId(node783) -> 1, NodeId(node945) -> 1, NodeId(node805) -> 1, NodeId(node265) -> 1, NodeId(node319) -> 1, NodeId(node177) -> 1, NodeId(node917) -> 1, NodeId(node785) -> 1, NodeId(node443) -> 1, NodeId(node261) -> 1, NodeId(node937) -> 1, NodeId(node931) -> 1, NodeId(node347) -> 1, NodeId(root) -> 1, NodeId(node463) -> 1, NodeId(node749) -> 1, NodeId(node101) -> 1, NodeId(node885) -> 1, NodeId(node591) -> 1, NodeId(node37) -> 1, NodeId(node239) -> 1, NodeId(node677) -> 1, NodeId(node721) -> 1, NodeId(node543) -> 1, NodeId(node281) -> 1, NodeId(node881) -> 1, NodeId(node271) -> 1, NodeId(node963) -> 1, NodeId(node561) -> 1, NodeId(node737) -> 1, NodeId(node331) -> 1, NodeId(node861) -> 1, NodeId(node367) -> 1, NodeId(node57) -> 1, NodeId(node409) -> 1, NodeId(node169) -> 1, NodeId(node133) -> 1, NodeId(node625) -> 1, NodeId(node53) -> 1, NodeId(node291) -> 1, NodeId(node991) -> 1, NodeId(node123) -> 1, NodeId(node277) -> 1, NodeId(node245) -> 1, NodeId(node665) -> 1, NodeId(node99) -> 1, NodeId(node227) -> 1, NodeId(node901) -> 1, NodeId(node629) -> 1, NodeId(node495) -> 1, NodeId(node533) -> 1, NodeId(node493) -> 1, NodeId(node417) -> 1, NodeId(node795) -> 1, NodeId(node531) -> 1, NodeId(node989) -> 1, NodeId(node849) -> 1, NodeId(node71) -> 1, NodeId(node209) -> 1, NodeId(node241) -> 1, NodeId(node675) -> 1, NodeId(node699) -> 1, NodeId(node801) -> 1, NodeId(node293) -> 1, NodeId(node951) -> 1, NodeId(node47) -> 1, NodeId(node425) -> 1, NodeId(node559) -> 1, NodeId(node957) -> 1, NodeId(node519) -> 1, NodeId(node223) -> 1, NodeId(node521) -> 1, NodeId(node711) -> 1, NodeId(node859) -> 1, NodeId(node141) -> 1, NodeId(node743) -> 1, NodeId(node189) -> 1, NodeId(node821) -> 1, NodeId(node547) -> 1, NodeId(node691) -> 1, NodeId(node357) -> 1, NodeId(node259) -> 1, NodeId(node509) -> 1, NodeId(node771) -> 1, NodeId(node611) -> 1, NodeId(node685) -> 1, NodeId(node481) -> 1, NodeId(node403) -> 1, NodeId(node439) -> 1, NodeId(node475) -> 1, NodeId(node113) -> 1, NodeId(node999) -> 1, NodeId(node659) -> 1, NodeId(node479) -> 1, NodeId(node143) -> 1, NodeId(node69) -> 1, NodeId(node607) -> 1, NodeId(node939) -> 1, NodeId(node89) -> 1, NodeId(node535) -> 1, NodeId(node719) -> 1, NodeId(node305) -> 1, NodeId(node333) -> 1, NodeId(node129) -> 1, NodeId(node289) -> 1, NodeId(node491) -> 1, NodeId(node257) -> 1, NodeId(node285) -> 1, NodeId(node437) -> 1, NodeId(node879) -> 1, NodeId(node79) -> 1, NodeId(node249) -> 1, NodeId(node653) -> 1, NodeId(node567) -> 1, NodeId(node49) -> 1, NodeId(node485) -> 1, NodeId(node483) -> 1, NodeId(node85) -> 1, NodeId(node237) -> 1, NodeId(node587) -> 1, NodeId(node3) -> 1, NodeId(node549) -> 1, NodeId(node309) -> 1, NodeId(node19) -> 1, NodeId(node325) -> 1, NodeId(node207) -> 1, NodeId(node477) -> 1, NodeId(node835) -> 1, NodeId(node651) -> 1, NodeId(node147) -> 1, NodeId(node897) -> 1, NodeId(node359) -> 1, NodeId(node929) -> 1, NodeId(node843) -> 1, NodeId(node185) -> 1, NodeId(node17) -> 1, NodeId(node87) -> 1, NodeId(node715) -> 1, NodeId(node445) -> 1, NodeId(node893) -> 1, NodeId(node131) -> 1, NodeId(node139) -> 1, NodeId(node433) -> 1, NodeId(node111) -> 1, NodeId(node947) -> 1, NodeId(node183) -> 1, NodeId(node767) -> 1, NodeId(node803) -> 1, NodeId(node909) -> 1, NodeId(node863) -> 1, NodeId(node599) -> 1, NodeId(node735) -> 1, NodeId(node703) -> 1, NodeId(node383) -> 1, NodeId(node343) -> 1, NodeId(node51) -> 1, NodeId(node639) -> 1, NodeId(node93) -> 1, NodeId(node971) -> 1, NodeId(node793) -> 1, NodeId(node727) -> 1, NodeId(node427) -> 1, NodeId(node877) -> 1, NodeId(node349) -> 1, NodeId(node571) -> 1, NodeId(node465) -> 1, NodeId(node887) -> 1, NodeId(node201) -> 1, NodeId(node419) -> 1, NodeId(node9) -> 1, NodeId(node683) -> 1, NodeId(node299) -> 1, NodeId(node579) -> 1, NodeId(node231) -> 1, NodeId(node25) -> 1, NodeId(node707) -> 1, NodeId(node941) -> 1, NodeId(node27) -> 1, NodeId(node157) -> 1) doesn't have the pairs '(NodeId(node421),1), (NodeId(node773),1), (NodeId(node197),1), (NodeId(node413),1), (NodeId(node647),1), (NodeId(node175),1), (NodeId(node387),1), (NodeId(node545),1), (NodeId(node205),1), (NodeId(node165),1), (NodeId(node119),1), (NodeId(node681),1), (NodeId(node809),1), (NodeId(node635),1), (NodeId(node311),1), (NodeId(node841),1), (NodeId(node15),1), (NodeId(node621),1), (NodeId(node229),1), (NodeId(node361),1), (NodeId(node399),1), (NodeId(node363),1), (NodeId(node401),1), (NodeId(node837),1), (NodeId(node269),1), (NodeId(node273),1), (NodeId(node159),1), (NodeId(node351),1), (NodeId(node729),1), (NodeId(node505),1), (NodeId(node827),1), (NodeId(node815),1)' at com.normation.rudder.datasources.UpdateHttpDatasetTest.$anonfun$new$55(UpdateHttpDatasetTest.scala:470) at com.normation.rudder.datasources.UpdateHttpDatasetTest.$anonfun$new$52(UpdateHttpDatasetTest.scala:470) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) Running com.normation.rudder.web.rest.RestDataSourceTest Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.836 sec Results : Failed tests: querying a lot of nodes should::work even if nodes don't reply at same speed with GET(com.normation.rudder.datasources.UpdateHttpDatasetTest): I wasn't expecting the failure: Error when getting data from datasource 'test-my-datasource' for node node307.localhost (node307): Error when fetching data from http://localhost:8282/datasource/delay/node307 ; Error when getting data from datasource 'test-my-datasource' for node node73.localhost (node73): Error when fetching data from http://localhost:8282/datasource/delay/node73 ; Error when getting data from datasource 'test-my-datasource' for node node860.localhost (node860): Error when fetching data from http://localhost:8282/datasource/delay/node860 ; Error when getting data from datasource 'test-my-datasource' for node node43.localhost (node43): Error when fetching data from http://localhost:8282/datasource/delay/node43 ; Error when getting data from datasource 'test-my-datasource' for node node982.localhost (node982): Error when fetching data from http://localhost:8282/datasource/delay/node982 ; Error when getting data from datasource 'test-my-datasource' for node node459.localhost (node459): Error when fetching data from http://localhost:8282/datasource/delay/node459 ; Error when getting data from datasource 'test-my-datasource' for node node206.localhost (node206): Error when fetching data from http://localhost:8282/datasource/delay/node206 ; Error when getting data from datasource 'test-my-datasource' for node node930.localhost (node930): Error when fetching data from http://localhost:8282/datasource/delay/node930 ; Error when getting data from datasource 'test-my-datasource' for node node59.localhost (node59): Error when fetching data from http://localhost:8282/datasource/delay/node59 ; Connection reset by peer querying a lot of nodes should::work even if nodes don't reply at same speed with POST(com.normation.rudder.datasources.UpdateHttpDatasetTest): I wasn't expecting the failure: Error when getting data from datasource 'test-my-datasource' for node node606.localhost (node606): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node362.localhost (node362): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node368.localhost (node368): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node279.localhost (node279): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node206.localhost (node206): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node156.localhost (node156): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node193.localhost (node193): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node537.localhost (node537): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node848.localhost (node848): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node798.localhost (node798): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node695.localhost (node695): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node31.localhost (node31): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node52.localhost (node52): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node181.localhost (node181): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node687.localhost (node687): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node823.localhost (node823): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node833.localhost (node833): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node664.localhost (node664): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node270.localhost (node270): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node397.localhost (node397): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node84.localhost (node84): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node945.localhost (node945): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node316.localhost (node316): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node598.localhost (node598): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node167.localhost (node167): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node831.localhost (node831): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node757.localhost (node757): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node58.localhost (node58): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node415.localhost (node415): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node930.localhost (node930): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node210.localhost (node210): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node319.localhost (node319): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node100.localhost (node100): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node749.localhost (node749): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node287.localhost (node287): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node714.localhost (node714): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node524.localhost (node524): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node43.localhost (node43): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node473.localhost (node473): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node186.localhost (node186): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node748.localhost (node748): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node982.localhost (node982): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node882.localhost (node882): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node234.localhost (node234): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node940.localhost (node940): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node63.localhost (node63): Error when fetching data from http://localhost:8282/datasource/delay ; Error when getting data from datasource 'test-my-datasource' for node node812.localhost (node812): Error when fetching data from http://localhost:8282/datasource/delay ; Connection reset querying a lot of nodes should::work for odd node even if even nodes fail(com.normation.rudder.datasources.UpdateHttpDatasetTest): Map(NodeId(node689) -> 1, NodeId(node527) -> 1, NodeId(node391) -> 1, NodeId(node45) -> 1, NodeId(node63) -> 1, NodeId(node601) -> 1, NodeId(node429) -> 1, NodeId(node799) -> 1, NodeId(node807) -> 1, NodeId(node117) -> 1, NodeId(node959) -> 1, NodeId(node181) -> 1, NodeId(node335) -> 1, NodeId(node923) -> 1, NodeId(node55) -> 1, NodeId(node585) -> 1, NodeId(node777) -> 1, NodeId(node461) -> 1, NodeId(node191) -> 1, NodeId(node59) -> 1, NodeId(node255) -> 1, NodeId(node39) -> 1, NodeId(node871) -> 1, NodeId(node883) -> 1, NodeId(node385) -> 1, NodeId(node317) -> 1, NodeId(node225) -> 1, NodeId(node473) -> 1, NodeId(node513) -> 1, NodeId(node155) -> 1, NodeId(node695) -> 1, NodeId(node965) -> 1, NodeId(node173) -> 1, NodeId(node875) -> 1, NodeId(node797) -> 1, NodeId(node903) -> 1, NodeId(node865) -> 1, NodeId(node109) -> 1, NodeId(node609) -> 1, NodeId(node327) -> 1, NodeId(node529) -> 1, NodeId(node985) -> 1, NodeId(node949) -> 1, NodeId(node149) -> 1, NodeId(node471) -> 1, NodeId(node597) -> 1, NodeId(node489) -> 1, NodeId(node43) -> 1, NodeId(node673) -> 1, NodeId(node615) -> 1, NodeId(node977) -> 1, NodeId(node919) -> 1, NodeId(node553) -> 1, NodeId(node613) -> 1, NodeId(node517) -> 1, NodeId(node577) -> 1, NodeId(node353) -> 1, NodeId(node393) -> 1, NodeId(node511) -> 1, NodeId(node263) -> 1, NodeId(node987) -> 1, NodeId(node693) -> 1, NodeId(node891) -> 1, NodeId(node925) -> 1, NodeId(node755) -> 1, NodeId(node899) -> 1, NodeId(node35) -> 1, NodeId(node915) -> 1, NodeId(node469) -> 1, NodeId(node779) -> 1, NodeId(node283) -> 1, NodeId(node847) -> 1, NodeId(node973) -> 1, NodeId(node11) -> 1, NodeId(node267) -> 1, NodeId(node717) -> 1, NodeId(node781) -> 1, NodeId(node857) -> 1, NodeId(node619) -> 1, NodeId(node467) -> 1, NodeId(node563) -> 1, NodeId(node451) -> 1, NodeId(node441) -> 1, NodeId(node955) -> 1, NodeId(node379) -> 1, NodeId(node657) -> 1, NodeId(node995) -> 1, NodeId(node627) -> 1, NodeId(node713) -> 1, NodeId(node315) -> 1, NodeId(node377) -> 1, NodeId(node731) -> 1, NodeId(node411) -> 1, NodeId(node151) -> 1, NodeId(node501) -> 1, NodeId(node895) -> 1, NodeId(node933) -> 1, NodeId(node557) -> 1, NodeId(node525) -> 1, NodeId(node415) -> 1, NodeId(node345) -> 1, NodeId(node817) -> 1, NodeId(node763) -> 1, NodeId(node91) -> 1, NodeId(node823) -> 1, NodeId(node435) -> 1, NodeId(node167) -> 1, NodeId(node459) -> 1, NodeId(node179) -> 1, NodeId(node745) -> 1, NodeId(node397) -> 1, NodeId(node663) -> 1, NodeId(node811) -> 1, NodeId(node253) -> 1, NodeId(node605) -> 1, NodeId(node75) -> 1, NodeId(node757) -> 1, NodeId(node833) -> 1, NodeId(node81) -> 1, NodeId(node275) -> 1, NodeId(node1) -> 1, NodeId(node697) -> 1, NodeId(node5) -> 1, NodeId(node115) -> 1, NodeId(node679) -> 1, NodeId(node455) -> 1, NodeId(node769) -> 1, NodeId(node31) -> 1, NodeId(node373) -> 1, NodeId(node499) -> 1, NodeId(node211) -> 1, NodeId(node687) -> 1, NodeId(node103) -> 1, NodeId(node395) -> 1, NodeId(node537) -> 1, NodeId(node747) -> 1, NodeId(node649) -> 1, NodeId(node565) -> 1, NodeId(node251) -> 1, NodeId(node193) -> 1, NodeId(node961) -> 1, NodeId(node279) -> 1, NodeId(node603) -> 1, NodeId(node73) -> 1, NodeId(node307) -> 1, NodeId(node127) -> 1, NodeId(node813) -> 1, NodeId(node643) -> 1, NodeId(node819) -> 1, NodeId(node7) -> 1, NodeId(node723) -> 1, NodeId(node523) -> 1, NodeId(node907) -> 1, NodeId(node381) -> 1, NodeId(node431) -> 1, NodeId(node705) -> 1, NodeId(node789) -> 1, NodeId(node761) -> 1, NodeId(node21) -> 1, NodeId(node163) -> 1, NodeId(node555) -> 1, NodeId(node97) -> 1, NodeId(node733) -> 1, NodeId(node161) -> 1, NodeId(node935) -> 1, NodeId(node447) -> 1, NodeId(node581) -> 1, NodeId(node921) -> 1, NodeId(node77) -> 1, NodeId(node487) -> 1, NodeId(node739) -> 1, NodeId(node153) -> 1, NodeId(node61) -> 1, NodeId(node355) -> 1, NodeId(node967) -> 1, NodeId(node247) -> 1, NodeId(node775) -> 1, NodeId(node339) -> 1, NodeId(node617) -> 1, NodeId(node913) -> 1, NodeId(node953) -> 1, NodeId(node829) -> 1, NodeId(node569) -> 1, NodeId(node889) -> 1, NodeId(node287) -> 1, NodeId(node365) -> 1, NodeId(node221) -> 1, NodeId(node423) -> 1, NodeId(node67) -> 1, NodeId(node213) -> 1, NodeId(node313) -> 1, NodeId(node507) -> 1, NodeId(node539) -> 1, NodeId(node195) -> 1, NodeId(node105) -> 1, NodeId(node295) -> 1, NodeId(node725) -> 1, NodeId(node321) -> 1, NodeId(node993) -> 1, NodeId(node655) -> 1, NodeId(node375) -> 1, NodeId(node145) -> 1, NodeId(node667) -> 1, NodeId(node873) -> 1, NodeId(node187) -> 1, NodeId(node235) -> 1, NodeId(node125) -> 1, NodeId(node29) -> 1, NodeId(node219) -> 1, NodeId(node979) -> 1, NodeId(node661) -> 1, NodeId(node497) -> 1, NodeId(node449) -> 1, NodeId(node121) -> 1, NodeId(node911) -> 1, NodeId(node95) -> 1, NodeId(node595) -> 1, NodeId(node389) -> 1, NodeId(node243) -> 1, NodeId(node337) -> 1, NodeId(node233) -> 1, NodeId(node787) -> 1, NodeId(node631) -> 1, NodeId(node41) -> 1, NodeId(node329) -> 1, NodeId(node135) -> 1, NodeId(node981) -> 1, NodeId(node341) -> 1, NodeId(node623) -> 1, NodeId(node453) -> 1, NodeId(node765) -> 1, NodeId(node943) -> 1, NodeId(node551) -> 1, NodeId(node641) -> 1, NodeId(node645) -> 1, NodeId(node633) -> 1, NodeId(node851) -> 1, NodeId(node927) -> 1, NodeId(node369) -> 1, NodeId(node297) -> 1, NodeId(node33) -> 1, NodeId(node975) -> 1, NodeId(node637) -> 1, NodeId(node199) -> 1, NodeId(node303) -> 1, NodeId(node457) -> 1, NodeId(node217) -> 1, NodeId(node407) -> 1, NodeId(node867) -> 1, NodeId(node171) -> 1, NodeId(node759) -> 1, NodeId(node791) -> 1, NodeId(node855) -> 1, NodeId(node905) -> 1, NodeId(node503) -> 1, NodeId(node701) -> 1, NodeId(node515) -> 1, NodeId(node593) -> 1, NodeId(node845) -> 1, NodeId(node575) -> 1, NodeId(node583) -> 1, NodeId(node23) -> 1, NodeId(node573) -> 1, NodeId(node65) -> 1, NodeId(node107) -> 1, NodeId(node671) -> 1, NodeId(node215) -> 1, NodeId(node203) -> 1, NodeId(node323) -> 1, NodeId(node997) -> 1, NodeId(node541) -> 1, NodeId(node405) -> 1, NodeId(node13) -> 1, NodeId(node137) -> 1, NodeId(node371) -> 1, NodeId(node869) -> 1, NodeId(node589) -> 1, NodeId(node853) -> 1, NodeId(node753) -> 1, NodeId(node741) -> 1, NodeId(node669) -> 1, NodeId(node983) -> 1, NodeId(node825) -> 1, NodeId(node301) -> 1, NodeId(node839) -> 1, NodeId(node751) -> 1, NodeId(node969) -> 1, NodeId(node83) -> 1, NodeId(node709) -> 1, NodeId(node831) -> 1, NodeId(node783) -> 1, NodeId(node945) -> 1, NodeId(node805) -> 1, NodeId(node265) -> 1, NodeId(node319) -> 1, NodeId(node177) -> 1, NodeId(node917) -> 1, NodeId(node785) -> 1, NodeId(node443) -> 1, NodeId(node261) -> 1, NodeId(node937) -> 1, NodeId(node931) -> 1, NodeId(node347) -> 1, NodeId(root) -> 1, NodeId(node463) -> 1, NodeId(node749) -> 1, NodeId(node101) -> 1, NodeId(node885) -> 1, NodeId(node591) -> 1, NodeId(node37) -> 1, NodeId(node239) -> 1, NodeId(node677) -> 1, NodeId(node721) -> 1, NodeId(node543) -> 1, NodeId(node281) -> 1, NodeId(node881) -> 1, NodeId(node271) -> 1, NodeId(node963) -> 1, NodeId(node561) -> 1, NodeId(node737) -> 1, NodeId(node331) -> 1, NodeId(node861) -> 1, NodeId(node367) -> 1, NodeId(node57) -> 1, NodeId(node409) -> 1, NodeId(node169) -> 1, NodeId(node133) -> 1, NodeId(node625) -> 1, NodeId(node53) -> 1, NodeId(node291) -> 1, NodeId(node991) -> 1, NodeId(node123) -> 1, NodeId(node277) -> 1, NodeId(node245) -> 1, NodeId(node665) -> 1, NodeId(node99) -> 1, NodeId(node227) -> 1, NodeId(node901) -> 1, NodeId(node629) -> 1, NodeId(node495) -> 1, NodeId(node533) -> 1, NodeId(node493) -> 1, NodeId(node417) -> 1, NodeId(node795) -> 1, NodeId(node531) -> 1, NodeId(node989) -> 1, NodeId(node849) -> 1, NodeId(node71) -> 1, NodeId(node209) -> 1, NodeId(node241) -> 1, NodeId(node675) -> 1, NodeId(node699) -> 1, NodeId(node801) -> 1, NodeId(node293) -> 1, NodeId(node951) -> 1, NodeId(node47) -> 1, NodeId(node425) -> 1, NodeId(node559) -> 1, NodeId(node957) -> 1, NodeId(node519) -> 1, NodeId(node223) -> 1, NodeId(node521) -> 1, NodeId(node711) -> 1, NodeId(node859) -> 1, NodeId(node141) -> 1, NodeId(node743) -> 1, NodeId(node189) -> 1, NodeId(node821) -> 1, NodeId(node547) -> 1, NodeId(node691) -> 1, NodeId(node357) -> 1, NodeId(node259) -> 1, NodeId(node509) -> 1, NodeId(node771) -> 1, NodeId(node611) -> 1, NodeId(node685) -> 1, NodeId(node481) -> 1, NodeId(node403) -> 1, NodeId(node439) -> 1, NodeId(node475) -> 1, NodeId(node113) -> 1, NodeId(node999) -> 1, NodeId(node659) -> 1, NodeId(node479) -> 1, NodeId(node143) -> 1, NodeId(node69) -> 1, NodeId(node607) -> 1, NodeId(node939) -> 1, NodeId(node89) -> 1, NodeId(node535) -> 1, NodeId(node719) -> 1, NodeId(node305) -> 1, NodeId(node333) -> 1, NodeId(node129) -> 1, NodeId(node289) -> 1, NodeId(node491) -> 1, NodeId(node257) -> 1, NodeId(node285) -> 1, NodeId(node437) -> 1, NodeId(node879) -> 1, NodeId(node79) -> 1, NodeId(node249) -> 1, NodeId(node653) -> 1, NodeId(node567) -> 1, NodeId(node49) -> 1, NodeId(node485) -> 1, NodeId(node483) -> 1, NodeId(node85) -> 1, NodeId(node237) -> 1, NodeId(node587) -> 1, NodeId(node3) -> 1, NodeId(node549) -> 1, NodeId(node309) -> 1, NodeId(node19) -> 1, NodeId(node325) -> 1, NodeId(node207) -> 1, NodeId(node477) -> 1, NodeId(node835) -> 1, NodeId(node651) -> 1, NodeId(node147) -> 1, NodeId(node897) -> 1, NodeId(node359) -> 1, NodeId(node929) -> 1, NodeId(node843) -> 1, NodeId(node185) -> 1, NodeId(node17) -> 1, NodeId(node87) -> 1, NodeId(node715) -> 1, NodeId(node445) -> 1, NodeId(node893) -> 1, NodeId(node131) -> 1, NodeId(node139) -> 1, NodeId(node433) -> 1, NodeId(node111) -> 1, NodeId(node947) -> 1, NodeId(node183) -> 1, NodeId(node767) -> 1, NodeId(node803) -> 1, NodeId(node909) -> 1, NodeId(node863) -> 1, NodeId(node599) -> 1, NodeId(node735) -> 1, NodeId(node703) -> 1, NodeId(node383) -> 1, NodeId(node343) -> 1, NodeId(node51) -> 1, NodeId(node639) -> 1, NodeId(node93) -> 1, NodeId(node971) -> 1, NodeId(node793) -> 1, NodeId(node727) -> 1, NodeId(node427) -> 1, NodeId(node877) -> 1, NodeId(node349) -> 1, NodeId(node571) -> 1, NodeId(node465) -> 1, NodeId(node887) -> 1, NodeId(node201) -> 1, NodeId(node419) -> 1, NodeId(node9) -> 1, NodeId(node683) -> 1, NodeId(node299) -> 1, NodeId(node579) -> 1, NodeId(node231) -> 1, NodeId(node25) -> 1, NodeId(node707) -> 1, NodeId(node941) -> 1, NodeId(node27) -> 1, NodeId(node157) -> 1) doesn't have the pairs '(NodeId(node421),1), (NodeId(node773),1), (NodeId(node197),1), (NodeId(node413),1), (NodeId(node647),1), (NodeId(node175),1), (NodeId(node387),1), (NodeId(node545),1), (NodeId(node205),1), (NodeId(node165),1), (NodeId(node119),1), (NodeId(node681),1), (NodeId(node809),1), (NodeId(node635),1), (NodeId(node311),1), (NodeId(node841),1), (NodeId(node15),1), (NodeId(node621),1), (NodeId(node229),1), (NodeId(node361),1), (NodeId(node399),1), (NodeId(node363),1), (NodeId(node401),1), (NodeId(node837),1), (NodeId(node269),1), (NodeId(node273),1), (NodeId(node159),1), (NodeId(node351),1), (NodeId(node729),1), (NodeId(node505),1), (NodeId(node827),1), (NodeId(node815),1)' Tests run: 29, Failures: 3, Errors: 0, Skipped: 0
Updated by François ARMAND over 7 years ago
- Related to Bug #10348: Datasource test server port is not random added
Updated by François ARMAND over 7 years ago
- Status changed from New to In progress
- Assignee set to François ARMAND
Updated by François ARMAND over 7 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from François ARMAND to Vincent MEMBRÉ
- Pull Request set to https://github.com/Normation/rudder-plugin-datasources/pull/10
Updated by François ARMAND over 7 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset commit:rudder-plugin-datasources|1d5a913fa553a522e714d6c22f4b33c31b6cd29d.
Updated by François ARMAND over 7 years ago
The fixes implements a semaphore to limit the number of max concurrent requests to a fixed bound (50 - it seems to be a fair, rather well supported without to much impact on performance).
The test on OSX are confirmed to work on 1cpu-4core machine.
Updated by Benoît PECCATTE over 7 years ago
- Status changed from Pending release to Released
- Priority set to 0
This bug has been fixed in Rudder 4.1.0 which was released today.
- 4.1.0: Announce Changelog
- Download: https://www.rudder-project.org/site/get-rudder/downloads/
Updated by Vincent MEMBRÉ over 6 years ago
- Project changed from Rudder to 54
- Category deleted (
71) - Target version changed from 4.1.0 to 426
Updated by Vincent MEMBRÉ about 6 years ago
- Project changed from 54 to Datasources
- Target version changed from 426 to 4.1-1.0