Bug 279496

Summary: ports-mgmt/sccache-overlay: increase server start timeout (fixes spurious compile failures)
Product: Ports & Packages Reporter: Alexander Leidinger <netchild>
Component: Individual Port(s)Assignee: FreeBSD Rust Team <rust>
Status: Closed FIXED    
Severity: Affects Many People CC: dsh, mikael
Priority: --- Flags: bugzilla: maintainer-feedback? (rust)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
increase server start timeout mikael: maintainer-approval+

Description Alexander Leidinger freebsd_committer freebsd_triage 2024-06-03 12:46:08 UTC
Created attachment 251190 [details]
increase server start timeout

Poudriere runs often show false build failures. This is because sccache doesn't start in-time (depends on what goes on in the background on the machine, but I've seen this even when there's only half of the CPUs busy).

The attached file for sccache-overlay/files/ fixes this by increasing the start timeout from 10s to 30s.

This makes builds with this overlay more reliable for me.
Comment 1 commit-hook freebsd_committer freebsd_triage 2024-06-07 10:58:07 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=47e7d26def939bee65ef9b4ddb39fdda01fb19e9

commit 47e7d26def939bee65ef9b4ddb39fdda01fb19e9
Author:     Alexander Leidinger <netchild@FreeBSD.org>
AuthorDate: 2024-06-07 10:53:48 +0000
Commit:     Alexander Leidinger <netchild@FreeBSD.org>
CommitDate: 2024-06-07 10:57:25 +0000

    ports-mgmt/sccache-overlay: Increase the timeout for server start

    This does not fix all timeout failures on server start, but
    reduces the amount of failed start attempts during a poudriere run
    a lot.

    I consider this as a workaround, not a real fix.

    PR:             279496
    Approved by:    maintainer

 ports-mgmt/sccache-overlay/Makefile                          |  2 +-
 ports-mgmt/sccache-overlay/files/patch-src_commands.rs (new) | 11 +++++++++++
 2 files changed, 12 insertions(+), 1 deletion(-)