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


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

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

Started byYue Gui <yuemeng.gui@gmail.com>
First post2025-05-12 14:30 +0200
Last post2025-05-12 14:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.debian.bugs.dist

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  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

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

FromYue Gui <yuemeng.gui@gmail.com>
Date2025-05-12 14:30 +0200
SubjectBug#1105140: [Pkg-matrix-maintainers] Bug#1105140: matrix-synapse:FTBFS:build failed(WorkerLockTest Timeout on riscv64)
Message-ID<KLAsa-2ABg-1@gated-at.bofh.it>

[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
>

[toc] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web