Linux Test Project
 help / color / mirror / Atom feed
From: Petr Vorel <pvorel@suse.cz>
To: Avinesh Kumar <avinesh.kumar@suse.com>
Cc: Wake Liu <wakel@google.com>, ltp@lists.linux.it
Subject: Re: [LTP] [PATCH v6] lib: Use backoff polling to wait for loop device nodes
Date: Wed, 12 Aug 2026 15:19:27 +0200	[thread overview]
Message-ID: <20260812131927.GE1758016@pevik> (raw)
In-Reply-To: <c41e20c9-86c2-43ae-8264-04434ee54f62@suse.com>

Hi all,

> d90d2004657b ("lib: Use backoff polling to wait for loop
>   device nodes")

> This patch introduces a regression in few old API based tests which
> call tst_acquire_device() -> tst_find_free_loopdev()/tst_attach_device()):

>     - linkat02
>     - mknodat02
>     - rename11
>     - renameat01
>     - umount2_01

> these fail with
> tst_kconfig.c:90: TINFO: Parsing kernel config '/proc/config.gz'
> linkat02    1  TBROK  :  tst_sig.c:232: unexpected signal SIGCHLD(17)
> received (pid = 122504).
> linkat02    2  TBROK  :  Remaining cases broken

> which comes from def_handler(int sig) in lib/tst_sig.c

> The old API treats SIGCHLD as fatal, which is now being generated while
> reading the kconfig file. So we need to address this until we convert
> these tests to new API, maybe by intentionally avoiding
> TST_RETRY_FN_EXP_BACKOFF()/tst_multiply_timeout() for now.

Avinesh, thanks for the report.

I vote to revert d90d2004657b until we convert the tests above.
Anybody objects?

If you reply ack, I can revert it later tonight/tomorrow morning (UTC timezone)
and add your ABT to the commit.

Kind regards,
Petr

> Regards,
> Avinesh

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

      reply	other threads:[~2026-08-12 13:19 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-03 15:27 [LTP] [PATCH] lib: Use exponential-backoff polling to wait for loop device nodes Wake Liu via ltp
2026-08-03 16:28 ` [LTP] " linuxtestproject.agent
2026-08-04  1:59 ` [LTP] [PATCH v2] lib: Use backoff " Wake Liu via ltp
2026-08-04  3:58   ` Li Wang
2026-08-04 15:24     ` [LTP] [PATCH v3] " Wake Liu via ltp
2026-08-05  2:24       ` Li Wang
2026-08-05  2:54         ` [LTP] [PATCH v4] " Wake Liu via ltp
2026-08-05  4:09           ` [LTP] " linuxtestproject.agent
2026-08-05  6:53             ` Li Wang
2026-08-05  6:35           ` [LTP] [PATCH v4] " Li Wang
2026-08-05  6:52           ` Andrea Cervesato via ltp
2026-08-05  6:55           ` Andrea Cervesato via ltp
2026-08-05  7:10             ` Li Wang
2026-08-07 10:04               ` [LTP] [PATCH v5] " Wake Liu via ltp
2026-08-07 11:05                 ` [LTP] " linuxtestproject.agent
2026-08-07 23:49                   ` [LTP] [PATCH v6] " Wake Liu via ltp
2026-08-08  1:32                     ` [LTP] " linuxtestproject.agent
2026-08-10  3:55                       ` Li Wang
2026-08-10  4:16                         ` Wake Liu via ltp
2026-08-10  2:58                     ` [LTP] [PATCH v7 0/2] Fix overflow and use backoff polling for loop devices Wake Liu via ltp
2026-08-10  2:58                       ` [LTP] [PATCH v7 1/2] lib: Fix overflow in backoff polling and timeout multiplication Wake Liu via ltp
2026-08-10  3:56                         ` [LTP] " linuxtestproject.agent
2026-08-10  9:17                         ` [LTP] [PATCH v7 1/2] " Andrea Cervesato via ltp
2026-08-10 10:02                         ` Li Wang
2026-08-10  2:58                       ` [LTP] [PATCH v7 2/2] lib: Use backoff polling to wait for loop device nodes Wake Liu via ltp
2026-08-10  9:17                         ` Andrea Cervesato via ltp
2026-08-10 10:10                     ` [LTP] [PATCH v6] " Li Wang
2026-08-10 12:30                       ` Wake Liu via ltp
2026-08-12 11:13                     ` Avinesh Kumar via ltp
2026-08-12 13:19                       ` Petr Vorel [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260812131927.GE1758016@pevik \
    --to=pvorel@suse.cz \
    --cc=avinesh.kumar@suse.com \
    --cc=ltp@lists.linux.it \
    --cc=wakel@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox