[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hail-devel
Subject:    Re: tabled (CLD) failing on i386
From:       Pete Zaitcev <zaitcev () redhat ! com>
Date:       2010-02-15 18:04:26
Message-ID: 20100215110426.6f32d051 () redhat ! com
[Download RAW message or body]

On Mon, 15 Feb 2010 04:12:19 -0500
Jeff Garzik <jeff@garzik.org> wrote:

> x86-64 ok, i686 fail:
> http://koji.fedoraproject.org/koji/taskinfo?taskID=1986987
> 
> x86-64 fail, i686 ok:
> http://koji.fedoraproject.org/koji/taskinfo?taskID=1987025

I would try something like this for a start:

diff --git a/test/wait-for-listen.c b/test/wait-for-listen.c
index c1946c4..a5f1a52 100644
--- a/test/wait-for-listen.c
+++ b/test/wait-for-listen.c
@@ -133,9 +133,12 @@ int main()
  		 * Vote in DB4 replication takes about 12-13s.
 		 * In addition we may have retries when tabled polls for
 		 * Chunk daemons to come up. On busy boxes we may miss 20s.
+		 * So, 25s should be plenty, and we used that for a while,
+		 * but sometimes a daemon can fail establishing a session
+		 * with CLD and a retry takes a minute.
 		 */
-		if (time(NULL) >= start_time + 25) {
-			fprintf(stderr, "server is not up after 25 s\n");
+		if (time(NULL) >= start_time + 100) {
+			fprintf(stderr, "server is not up after 100 s\n");
 			exit(1);
 		}
 
@@ -159,6 +162,8 @@ int main()
 
 		sleep(2);
 	}
+
+	printf("tabled went up after %ld s\n", (long)time(NULL) - start_time);
 	return 0;
 }
 

-- Pete
--
To unsubscribe from this list: send the line "unsubscribe hail-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic