Bug 279496 - ports-mgmt/sccache-overlay: increase server start timeout (fixes spurious compile failures)
Summary: ports-mgmt/sccache-overlay: increase server start timeout (fixes spurious com...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: FreeBSD Rust Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-03 12:46 UTC by Alexander Leidinger
Modified: 2024-06-07 10:58 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (rust)


Attachments
increase server start timeout (395 bytes, patch)
2024-06-03 12:46 UTC, Alexander Leidinger
mikael: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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(-)