Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1245695

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

From Yue Gui <yuemeng.gui@gmail.com>
Newsgroups linux.debian.bugs.dist
Subject Bug#1105140: [Pkg-matrix-maintainers] Bug#1105140: matrix-synapse:FTBFS:build failed(WorkerLockTest Timeout on riscv64)
Date 2025-05-12 14:30 +0200
Message-ID <KLAsa-2ABg-1@gated-at.bofh.it> (permalink)
References <KLuZr-2x2V-5@gated-at.bofh.it> <KLAsa-2ABg-3@gated-at.bofh.it> <KLuZr-2x2V-5@gated-at.bofh.it> <KLAsa-2ABg-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Looks good to me.

Antonio Russo <aerusso@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
>

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#1105140: [Pkg-matrix-maintainers] Bug#1105140: matrix-synapse:FTBFS:build failed(WorkerLockTest Timeout on riscv64) Yue Gui <yuemeng.gui@gmail.com> - 2025-05-12 14:30 +0200

csiph-web