From: Oliver Sang <oliver.sang@intel.com>
To: Dave Chinner <david@fromorbit.com>
Cc: "Darrick J. Wong" <djwong@kernel.org>,
Dave Chinner <dchinner@redhat.com>,
LKML <linux-kernel@vger.kernel.org>,
linux-xfs@vger.kernel.org, lkp@lists.01.org, lkp@intel.com
Subject: Re: [xfs] 47a6df7cd3: Assertion_failed
Date: Thu, 14 Jul 2022 10:33:46 +0800 [thread overview]
Message-ID: <Ys+AiruchaUl697w@xsang-OptiPlex-9020> (raw)
In-Reply-To: <20220714012421.GO3861211@dread.disaster.area>
Hi, Dave,
On Thu, Jul 14, 2022 at 11:24:21AM +1000, Dave Chinner wrote:
> On Wed, Jul 13, 2022 at 02:25:25PM +0800, Oliver Sang wrote:
> > hi Dave,
> >
> > On Wed, Jul 13, 2022 at 07:47:45AM +1000, Dave Chinner wrote:
> > > >
> > > > If you fix the issue, kindly add following tag
> > > > Reported-by: kernel test robot <oliver.sang@intel.com>
> > > >
> > > >
> > > > [ 94.271323][ T9089] XFS (sda5): Mounting V5 Filesystem
> > > > [ 94.369992][ T9089] XFS (sda5): Ending clean mount
> > > > [ 94.376046][ T9089] xfs filesystem being mounted at /fs/scratch supports timestamps until 2038 (0x7fffffff)
> > > > [ 112.154792][ T311] xfs/076 IPMI BMC is not supported on this machine, skip bmc-watchdog setup!
> > > > [ 112.154805][ T311]
> > > > [ 161.426026][T29384] XFS: Assertion failed: xfs_is_shutdown(mp) || list_empty(&tp->t_dfops), file: fs/xfs/xfs_trans.c, line: 951
> > > > [ 161.437713][T29384] ------------[ cut here ]------------
> > > > [ 161.443155][T29384] kernel BUG at fs/xfs/xfs_message.c:110!
> > > > [ 161.448854][T29384] invalid opcode: 0000 [#1] SMP KASAN PTI
> > > > [ 161.454536][T29384] CPU: 1 PID: 29384 Comm: touch Not tainted 5.16.0-rc5-00001-g47a6df7cd317 #1
> > >
> > > 5.16-rc5? Seems like a really old kernel to be testing....
> > >
> > > Does this reproduce on a current 5.19-rc6 kernel?
> >
> > yes, it's still reproducible. however, it's actually random on both 47a6df7cd3
> > and 5.19-rc6, as below.
> > it's clean on 40 runs of v5.16-rc5,
> > on 47a6df7cd3, it's reproduced 9 times out of 40 runs,
>
> Of course, 47a6df7cd3 introduced the ASSERT that is firing. You'll
> never see the failure on kernels before this, even if the issue is
> occurring. It also points out this isn't a new issue, it's been
> around since before we added detection of it.
understood. for such kind of ASSERT (or WARNING, etc.) we normally reported
on the commit we could bisected out (like this 47a6df7cd3 :) ) just for
information since it could help people in the area to notice there is maybe
something wrong around.
it's kind of hard for us to backport the commit to old commits then each step
of bisection to figure out when the issue really starts to happen, (but hope
we can do this one day :) )
>
> > on v5.19-rc6, it's reprodced 7 times out of 20 runs.
>
> Hmmm. I've just run 50 iterations here on my 5.19-rc6 based VMs
> and I haven't seen a single failure. So it's not failing regularly
> here which means it is influenced by environmental factors.
>
> How big are the disks you are testing with?
for this xfstests/4HDD-xfs-xfs-group-07 test, we used 4 HDD, each with the size
of 300G.
but I noticed the ASSERT always happen after xfs/076, which seems only use two
of them (below sda2, sda5)
[ 92.590707][ T1440] run fstests xfs/076 at 2022-07-13 01:44:34
[ 93.231849][ T8987] XFS (sda2): Mounting V5 Filesystem
[ 93.267497][ T8987] XFS (sda2): Ending clean mount
[ 93.274183][ T8987] xfs filesystem being mounted at /fs/sda2 supports timestamps until 2038 (0x7fffffff)
[ 95.221223][ T9080] XFS (sda5): Mounting V5 Filesystem
[ 95.384072][ T9080] XFS (sda5): Ending clean mount
[ 95.409130][ T9080] xfs filesystem being mounted at /fs/scratch supports timestamps until 2038 (0x7fffffff)
[ 95.425082][ T9089] XFS (sda5): Unmounting Filesystem
[ 95.752530][ T9111] XFS (sda5): Mounting V5 Filesystem
[ 95.827062][ T9111] XFS (sda5): Ending clean mount
[ 95.833635][ T9111] xfs filesystem being mounted at /fs/scratch supports timestamps until 2038 (0x7fffffff)
[ 113.521272][ T306] xfs/076 IPMI BMC is not supported on this machine, skip bmc-watchdog setup!
[ 113.521286][ T306]
[ 162.318194][T29029] XFS: Assertion failed: xfs_is_shutdown(mp) || list_empty(&tp->t_dfops), file: fs/xfs/xfs_trans.c, line: 993
[ 162.330026][T29029] ------------[ cut here ]------------
...
root@lkp-ivb-d04 ~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 1.8T 0 disk
|-sda1 8:1 0 400G 0 part
|-sda2 8:2 0 300G 0 part <----------
|-sda3 8:3 0 300G 0 part
|-sda4 8:4 0 300G 0 part
`-sda5 8:5 0 300G 0 part <----------
sdb 8:16 0 223.6G 0 disk
`-sdb1 8:17 0 223.6G 0 part
root@lkp-ivb-d04 ~# lsblk -f
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
sda
|-sda1 btrfs 1c70720c-3bc1-4cda-b623-7eeebdf0eace
|-sda2 xfs f03ce528-b832-4844-8a14-65977d07ecf2 <--------
|-sda3
|-sda4
`-sda5 xfs e95d9e0e-46a3-4fe6-8b4c-19bc1e2b2dfe <--------
sdb
`-sdb1 ocfs2 0.90 single_run a218e812-7152-4a71-a666-2379ff94dd40
>
> Cheers,
>
> Dave.
> --
> Dave Chinner
> david@fromorbit.com
prev parent reply other threads:[~2022-07-14 2:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-12 7:20 [xfs] 47a6df7cd3: Assertion_failed kernel test robot
2022-07-12 21:47 ` Dave Chinner
2022-07-13 6:25 ` Oliver Sang
2022-07-14 1:24 ` Dave Chinner
2022-07-14 2:33 ` Oliver Sang [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=Ys+AiruchaUl697w@xsang-OptiPlex-9020 \
--to=oliver.sang@intel.com \
--cc=david@fromorbit.com \
--cc=dchinner@redhat.com \
--cc=djwong@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-xfs@vger.kernel.org \
--cc=lkp@intel.com \
--cc=lkp@lists.01.org \
/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