[Pkg-matrix-maintainers] Bug#1105140: Bug#1105140: matrix-synapse:FTBFS:build failed(WorkerLockTest Timeout on riscv64)

Yue Gui yuemeng.gui at gmail.com
Mon May 12 13:24:38 BST 2025


Looks good to me.

Antonio Russo <aerusso at aerusso.net>于2025年5月12日 周一20:10写道:

> On 2025-05-12 00:27, Yue Gui wrote:
> >
> > My solution to this issue:
> > The `test_lock_contention` test, which simulates high lock contention, is
> > timing out on RISC-V systems likely due to inherent performance
> differences
> > of the architecture compared to more established platforms like x86_64,
> for
> > which the current 5-second timeout is calibrated.
> >
> > To address this without masking potential regressions on other
> > architectures, I propose to conditionally adjust the timeout duration for
> > the RISC-V architecture. This is achieved by detecting the architecture
> > using `platform.machine()` within the test case and applying a more
> lenient
> > timeout (e.g., 15 seconds)  specifically for RISC-V.The debdiff patch is
> in
> > the attachment.I have tested that locally,and it works well.Please let me
> > know whether this solution can be accepted.
> >
> > Gui-Yue
> > Best Regards
> >
>
> Hello Gui-Yue,
>
> Thanks for identifying this and authoring this patch!  Would you be willing
> to submit this to upstream [1]?
>
> Best,
> Antonio Russo
>
> [1] https://github.com/element-hq/synapse
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-matrix-maintainers/attachments/20250512/327448e5/attachment.htm>


More information about the Pkg-matrix-maintainers mailing list