From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id QJNuIgYw0WKKBAAAbAwnHQ (envelope-from ) for ; Fri, 15 Jul 2022 11:14:46 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id QGEpIQYw0WLAdwAAG6o9tA (envelope-from ) for ; Fri, 15 Jul 2022 11:14:46 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 361D146FE3 for ; Fri, 15 Jul 2022 11:14:46 +0200 (CEST) Received: from localhost ([::1]:47978 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oCHPI-0005F2-TB for larch@yhetil.org; Fri, 15 Jul 2022 05:14:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46860) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oCHIu-0007XJ-MU for guix-patches@gnu.org; Fri, 15 Jul 2022 05:08:11 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41614) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oCHIp-0007VB-N8 for guix-patches@gnu.org; Fri, 15 Jul 2022 05:08:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oCHIo-0007zH-IO for guix-patches@gnu.org; Fri, 15 Jul 2022 05:08:02 -0400 Subject: bug#56563: [PATCH v2] gnu: tests: Fix guix-data-service test. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Fri, 15 Jul 2022 09:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 56563 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Timotej Lazar Cc: 56563-done@debbugs.gnu.org Mail-Followup-To: 56563@debbugs.gnu.org, mail@cbaines.net, timotej.lazar@araneo.si Received: via spool by 56563-done@debbugs.gnu.org id=D56563.165787606430674 (code D ref 56563); Fri, 15 Jul 2022 09:08:02 +0000 Received: (at 56563-done) by debbugs.gnu.org; 15 Jul 2022 09:07:44 +0000 Received: from localhost ([127.0.0.1]:39371 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCHIW-0007yf-8F for submit@debbugs.gnu.org; Fri, 15 Jul 2022 05:07:44 -0400 Received: from mira.cbaines.net ([212.71.252.8]:41380) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCHIU-0007yW-EZ for 56563-done@debbugs.gnu.org; Fri, 15 Jul 2022 05:07:42 -0400 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:54d1:d5d4:280e:f699]) by mira.cbaines.net (Postfix) with ESMTPSA id 8992C27BBE9; Fri, 15 Jul 2022 10:07:41 +0100 (BST) Received: from felis (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id e6f5c150; Fri, 15 Jul 2022 09:07:41 +0000 (UTC) References: <20220714192137.23039-1-timotej.lazar@araneo.si> <20220715055604.4803-1-timotej.lazar@araneo.si> User-agent: mu4e 1.6.10; emacs 28.1 From: Christopher Baines Date: Fri, 15 Jul 2022 10:06:20 +0100 In-reply-to: <20220715055604.4803-1-timotej.lazar@araneo.si> Message-ID: <87y1wug2w5.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1657876486; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-to:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=ZOF3K9xrxoCMbCX8MJ+xYce6w827hvyV/6GFXo7nG48=; b=GuQQpl1U1vpktNsz8LqNyuwSVtj+tjjrFyNzdDkVioDbkWBXGqrUCjNq1cTVxSokWCAIiu dD+QewK1e20K6K8pLHrjFXACkzZV24OUkc+/50HpZv1sTSACWRe+mZkx06ySFTxAJvtUON FhJ9pudruOAHYgFYMkyQCGVWyHMB+iwDqzG0DFsZRQzgR9GmSSjufPTf09cQz3W+n3pW5h 1dHisTpc2Iq6LOJSamxtQzFC5bfZeko4kPTxbtjbjX/ZrySHiN5YwSr3NN8ZhPTgOW8RQ5 lTJWiWq4NyUvd4logLR3D1k03kQ5SXQNcE2VRFqmC1zCgZiEft4Z5bV+jtJ0kg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657876486; a=rsa-sha256; cv=none; b=pvMOODk1HW2Xz5QlrRi/mRRxOUSh699gU3Y9nRfrndGw2L++CxEPJyCDqk1yVbom2fdZHs cnqnUlg+JTG2bvwHcB2S3f1U1R27b8nmjfMTyBCe0VgtGluuocSiQ/t3dOheN37pDkgraL WIzp4Sgpzg58xqpHcnhXVpKSGMZnG3V9Rbq3tjZrHKQVBTULS2i44bGY3pHZ41XsJHvmpT /dZnC4/C/fN9XOoXnm+qW3z+IIxYnjs4h+d8c4DD2KWS1sSFnbeUGUsmderbImi8mpXYJJ naM9l7fPRKQqRmeJigiJ1b1XKcagkGfFklzzSbW49Qh7bZnx7VD82gmh/IkWMg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.55 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 361D146FE3 X-Spam-Score: -3.55 X-Migadu-Scanner: scn1.migadu.com X-TUID: 1Xzda4MPWdWW --=-=-= Content-Type: text/plain Timotej Lazar writes: > Since revision 32, guix-data-service starts immediately but returns an HTTP > error code until initialization is complete. Adjust the test accordingly, and > remove the increased startup time limit. > > * gnu/services/guix.scm (guix-data-service): Use default #:pid-file-timeout. > * gnu/tests/guix.scm (guix-data-service): Retry the http-get test several > times to give the service time to initialize. > --- > gnu/services/guix.scm | 2 -- > gnu/tests/guix.scm | 19 +++++++++++++------ > 2 files changed, 13 insertions(+), 8 deletions(-) > Thanks Timotej, I've pushed this as a15b769c2f81034884ef0ae7fa8c1cea8df45c56. I've also updated the data service so that it responds with a 503 for the healthcheck when starting up, rather than a 500, as that's a bit nicer. Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmLRLltfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XdPbw/9HDnl6wkmN67NnYGgsWeSMwEXr2V1AQgV /7c8HAQ0G6eVs+nzaxystgOXcTApVdeEAgshSil4v2bnaqHezA8U4Nd9gL+hZYFO /DeNsuO0X3G9HOf7dJQzJlcb6thCSfssdPbm5lVnVZYfN7xPd7y2/RA9CndS38p3 RrDfcPZdwWLhRjxrosrRab+9cAZVN1ir5qR3fcmSBi9VhB1C4WxASa3SB7ak+d7N IiZhYqrpMNJL5c53Lel9Rtp8m9ykTZTRe4Tmz6E22LvgDO73lEWJL6qCnoNY/BSs t0702lvhvWeU8pMqNrFwb6z32ZY6dtftBLcPo9gFWMsOOrjiEbO5Ym+utnAzGWtO v7Yz5+MTuiBYaW2CiRhnITuxaBfPtqYpyu4oFvSfPLh8Hf5ICxZwOY933+RWpwrO 7pDUH0UlLGiMudJIZdF9q+wQ4ZPUBWWp0SJ4ofCTOhzxV9nyL9eQClsDsPJ2zeVS hPGS1FpG6yUf43wAhEJrsAmC3dY2qR+ZIsKdNSK24HPphZ2b1xXEszFWpo+MD047 jZYasYHiyNRwiyItD37S9e8VBjzpzihxkGg7L7/2yt6/zQTuQfWr8y/AX+LgAvTI ClbEUIU4jymgYLsQ+ZXL6VW8GkVP3fnL69vc2szrxjkRgr6kCbcpmdF74izBBKQ9 ll5Y/fxLjeM= =RAim -----END PGP SIGNATURE----- --=-=-=--