FS/XFS testing framework
 help / color / mirror / Atom feed
From: Leah <leah.rumancik@gmail.com>
To: Lang Zorro <zlang@redhat.com>
Cc: "Darrick J. Wong" <djwong@kernel.org>,
	Nirjhar Roy <nirjhar.roy.lists@gmail.com>,
	fstests@vger.kernel.org
Subject: Re: [PATCH] selftest: add a test that flakes
Date: Mon, 12 May 2025 22:01:11 -0700	[thread overview]
Message-ID: <C7DC357D-55CC-4B29-8DF8-DAFC9B205F78@gmail.com> (raw)
In-Reply-To: <20250513034746.omeueunfdx7asgpp@dell-per750-06-vm-08.rhts.eng.pek2.redhat.com>

Great! Thanks everyone!

- leah

> On May 12, 2025, at 8:47 PM, Zorro Lang <zlang@redhat.com> wrote:
> 
> On Mon, May 12, 2025 at 08:19:49AM -0700, Darrick J. Wong wrote:
>>> On Mon, May 12, 2025 at 07:32:15PM +0530, Nirjhar Roy (IBM) wrote:
>>> On Fri, 2025-05-09 at 17:42 -0700, Leah Rumancik wrote:
>>>> Add selftest/007 which should fail about half of the time.
>>> 
>>> I have already posted something similar[1] a couple of months back. It got an approval didn't get
>>> picked up.
>>> [1] https://lore.kernel.org/all/20250113164639.GG1251194@frogsfrogsfrogs/
>> 
>> Aha, I /was/ thinking "Gee , haven't I reviewed this before?"
> 
> Oh, that patchset is marked with RFC, and most of patches aren't acked (except
> the 1/5), so I didn't merge it and wait later updates.
> 
>> 
>> Zorro: any plans to merge
>> https://lore.kernel.org/all/03ba6c154c9e2cf3d68131b3af2ca12b96663d25.1736496620.git.nirjhar.roy.lists@gmail.com/ ?
> 
> Sure, I'll pick up that single patch to merge at first, as it's gotten enough
> acks :)
> 
> Thanks,
> Zorro
> 
>> 
>> --D
>> 
>>> --NR
>>>> 
>>>> Signed-off-by: Leah Rumancik <leah.rumancik@gmail.com>
>>>> ---
>>>> tests/selftest/007     | 14 ++++++++++++++
>>>> tests/selftest/007.out |  3 +++
>>>> 2 files changed, 17 insertions(+)
>>>> create mode 100755 tests/selftest/007
>>>> create mode 100644 tests/selftest/007.out
>>>> 
>>>> diff --git a/tests/selftest/007 b/tests/selftest/007
>>>> new file mode 100755
>>>> index 00000000..0e983b37
>>>> --- /dev/null
>>>> +++ b/tests/selftest/007
>>>> @@ -0,0 +1,14 @@
>>>> +#! /bin/bash
>>>> +# SPDX-License-Identifier: GPL-2.0
>>>> +#
>>>> +# FS QA Test No. 007
>>>> +#
>>>> +# A test that flakes due to occasional output mismatch
>>>> +#
>>>> +. ./common/preamble
>>>> +_begin_fstest selftest
>>>> +
>>>> +echo "I am intentionally flaky"
>>>> +echo $((RANDOM % 2))
>>>> +status=0
>>>> +exit
>>>> diff --git a/tests/selftest/007.out b/tests/selftest/007.out
>>>> new file mode 100644
>>>> index 00000000..0b5e439a
>>>> --- /dev/null
>>>> +++ b/tests/selftest/007.out
>>>> @@ -0,0 +1,3 @@
>>>> +QA output created by 007
>>>> +I am intentionally flaky
>>>> +0
>>> 
>>> 
>> 
> 

      reply	other threads:[~2025-05-13  5:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-10  0:42 [PATCH] selftest: add a test that flakes Leah Rumancik
2025-05-12 14:02 ` Nirjhar Roy (IBM)
2025-05-12 15:19   ` Darrick J. Wong
2025-05-13  3:47     ` Zorro Lang
2025-05-13  5:01       ` Leah [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=C7DC357D-55CC-4B29-8DF8-DAFC9B205F78@gmail.com \
    --to=leah.rumancik@gmail.com \
    --cc=djwong@kernel.org \
    --cc=fstests@vger.kernel.org \
    --cc=nirjhar.roy.lists@gmail.com \
    --cc=zlang@redhat.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