Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jvg8n-0001cO-TA for pljava-dev@arkaria.postgresql.org; Wed, 15 Jul 2020 12:04:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jvg8m-0002Xg-S4 for pljava-dev@arkaria.postgresql.org; Wed, 15 Jul 2020 12:04:00 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jvg8m-0002XX-N6 for pljava-dev@lists.postgresql.org; Wed, 15 Jul 2020 12:04:00 +0000 Received: from anastigmatix.net ([68.171.219.55]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jvg8k-000286-Jo for pljava-dev@lists.postgresql.org; Wed, 15 Jul 2020 12:03:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=anastigmatix.net; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:Cc:References:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=uxKzxV7835JlqXL75eQkZ1qvcPFyWAxfciR93QIJGU4=; b=rQfFUVmtaj1MHvsT6dTxmFKPBZ j6U3e5fokJcu4N08MEn82pYuczN9GazFfWGgPyx+HH+L/cmltYi9Fkud+nN2ROi0bLSCRF9YBhnff cqdENFGwU99RMGO3hwN3YZO1LqLTpcCSM7rjBItAL7pKnOXis/r6tan56D5x4t8ZcoAo/l4qG5i/U mmMtEjV+O21rZxbstXMvgZNaKi0WvrsqyKiShaY+4Ng2cy+6zzgDXMpjbhAOIoUfjahMTBXKc3rwM CxF1fMJQfCCPxGghrgQqNsYG0EKj7qvSW3VLPEBrW3KRVkTbaMGe+5TN1w2Nj8+NYbxmr0yK7EgXy 5BDjurpA==; Received: from [184.19.31.139] (port=37940) by bay.acenet.us with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1jvg8j-00BU07-79; Wed, 15 Jul 2020 08:03:57 -0400 Subject: Re: Just one Travis Mac OS build failed To: Kartik Ohri References: <5F0734AD.7060001@anastigmatix.net> <5F077926.2050806@anastigmatix.net> <5F07C2D5.5050904@anastigmatix.net> <5F0D35BA.30904@anastigmatix.net> <5F0E3972.5070609@anastigmatix.net> <5F0E3B91.8080307@anastigmatix.net> <5F0EE9D4.2070500@anastigmatix.net> Cc: pljava-dev@lists.postgresql.org From: Chapman Flack Message-ID: <5F0EF0AC.8090208@anastigmatix.net> Date: Wed, 15 Jul 2020 08:03:56 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-OutGoing-Spam-Status: No, score=-95.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bay.acenet.us X-AntiAbuse: Original Domain - lists.postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - anastigmatix.net X-Get-Message-Sender-Via: bay.acenet.us: authenticated_id: chap@anastigmatix.net X-Authenticated-Sender: bay.acenet.us: chap@anastigmatix.net X-Source: X-Source-Args: X-Source-Dir: X-From-Rewrite: unmodified, already matched List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 07/15/20 07:57, Kartik Ohri wrote: >> >> Does Travis have any third status for a build, between 'succeeded' and >> 'failed', like 'skipped'? >> > It is not possible to mark skipped. It is possible to mark succeeded but I > think that will be more dangerous than the red. I had a thought that we > could have a serverless function in the cloud somewhere. We can try to > detect if the failure is due to download error in macports and send a > signal to the function. Then the job is terminated immediately. The > function then triggers this failed job by submitting an API call. Since, > the issue vanishes on retrying, doing such retries for at most a 2-3 times > would work. What do you think? That sounds rather elaborate. Maybe it would be enough to simply check for the prerequisites early, and just fail the job with a very short log file that says MACPORTS FAILED TO DOWNLOAD - RE-RUN JOB. There would still be red on the dashboard but it would be easy to see why. Regards, -Chap