On Sat, Apr 23, 2022 at 01:19:53AM +0000, builder--- via Elfutils-devel wrote:
> A new failure has been detected on builder elfutils-debian-ppc64 while 
> building elfutils.
> 
> Full details are available at:
>     https://builder.sourceware.org/buildbot/#builders/63/builds/4
> 
> Build state: failed test (failure)
> Revision: 7b046b7c060acc32c00748ee66ac350f77bc6571
> Worker: debian-ppc64
> Build Reason: (unknown)
> Blamelist: наб via Elfutils-devel <elfutils-devel@sourceware.org>
> 
> Steps:
> [...]
> - 7: make check ( failure )
>     Logs:
>         - stdio: 
> https://builder.sourceware.org/buildbot/#builders/63/builds/4/steps/7/logs/stdio
>         - test-suite.log: 
> https://builder.sourceware.org/buildbot/#builders/63/builds/4/steps/7/logs/test-suite_log

Gah. It is run-debuginfod-webapi-concurrency.sh again with
error_count{libmicrohttpd="Server reached connection limit.
Closing inbound connection.\n"} 9

I guess 100 parallel lookups really is too much. I am going to lower
it to 64.

Cheers,

Mark
>From 318807e7f968fd70b80408e3df029c04365c47d8 Mon Sep 17 00:00:00 2001
From: Mark Wielaard <m...@klomp.org>
Date: Sat, 23 Apr 2022 03:20:17 +0200
Subject: [PATCH] tests: Lower parallel lookups in
 run-debuginfod-webapi-concurrency.sh

With 100 parallel lookups we sometimes see:
Server reached connection limit. Closing inbound connection.

Lower parallel lookups to 64

Signed-off-by: Mark Wielaard <m...@klomp.org>
---
 tests/ChangeLog                            | 4 ++++
 tests/run-debuginfod-webapi-concurrency.sh | 7 ++++---
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/tests/ChangeLog b/tests/ChangeLog
index c734b260..2286f53f 100644
--- a/tests/ChangeLog
+++ b/tests/ChangeLog
@@ -1,3 +1,7 @@
+2022-04-23  Mark Wielaard  <m...@klomp.org>
+
+	* run-debuginfod-webapi-concurrency.sh: Lower parallel lookups.
+
 2022-03-01  Di Chen <dic...@redhat.com>
 
 	* alldts.c (dtflags): Put DT_NULL last.
diff --git a/tests/run-debuginfod-webapi-concurrency.sh b/tests/run-debuginfod-webapi-concurrency.sh
index 402a6307..4928f6d0 100755
--- a/tests/run-debuginfod-webapi-concurrency.sh
+++ b/tests/run-debuginfod-webapi-concurrency.sh
@@ -47,12 +47,13 @@ do
     wait_ready $PORT1 'thread_busy{role="scan"}' 0
 
     # Do a bunch of lookups in parallel
-    for jobs in `seq 100`; do
+    lookup_nr=64
+    for jobs in `seq $lookup_nr`; do
         curl -s http://localhost:$PORT1/buildid/cee13b2ea505a7f37bd20d271c6bc7e5f8d2dfcb/debuginfo > /dev/null &
     done
 
-    # all 100 curls should succeed
-    wait_ready $PORT1 'http_responses_transfer_bytes_count{code="200",type="debuginfo"}' 100
+    # all curls should succeed
+    wait_ready $PORT1 'http_responses_transfer_bytes_count{code="200",type="debuginfo"}' $lookup_nr
     
     (sleep 5;
      curl -s http://localhost:$PORT1/metrics | egrep 'error|responses';
-- 
2.30.2

Reply via email to