Skip to contentSkip to conversation

xfstests failures with current kernel/xfsprogs/xfstests

DISCUSSION Christoph Hellwig 4 participants 8 messages Jul 12, 2017 – Jul 14, 2017

lore
Share & tools
lore
#0 lore raw

I see a few failures with a (hopefully) uptodate setup. I'm pretty sure some of them have been around for a while, but I'd like to figure out how to get to a clean slate.

This is a 4k fs on x86-64, with reflink enabled for the test and scratch dev.

generic/204 seems to run out of space:

@@ -1,2 +1,780 @@
QA output created by 204
+./tests/generic/204: line 85: /mnt/scratch/20862: No space left on device +./tests/generic/204: line 86: /mnt/scratch/20862: No space left on device

maybe we need to key this off the device size better? I can look into this.

generic/417 seems to fail to recover things on a r/o to r/w mount.

I thoght Eric had a fix for this, but it seems like it didn't get merge.

xfs/010 seems to have an unhappy extent state:

Phase 4 - check for duplicate blocks...
- setting up duplicate extent list...
+unknown block state, ag 0, block 119
- check for inodes claiming duplicate blocks...
Phase 5 - rebuild AG headers and trees...

Might this be userspace not catching up to the various reflink and co updates?

xfs/170 seems to not get the filestreams behavior it wants.

xfs/293 complains about undcoumented xfs_io commandsa:

+cowextsize not documented in the xfs_io manpage +dedupe not documented in the xfs_io manpage +finsert not documented in the xfs_io manpage +fsmap not documented in the xfs_io manpage +funshare not documented in the xfs_io manpage

#1 lore raw
Quoted 6 lines · Christoph Hellwig

I see a few failures with a (hopefully) uptodate setup. I'm pretty sure some of them have been around for a while, but I'd like to figure out how to get to a clean slate.

This is a 4k fs on x86-64, with reflink enabled for the test and scratch dev.

Have you by any chance noticed test 81 locking up? Every time I run a complete xfstests, it always get stuck on test 81.

I didn't check further to know what was going on tbh, just wanted to know if you have seen this too.

Cheers

Quoted 40 lines

generic/204 seems to run out of space:

@@ -1,2 +1,780 @@
QA output created by 204
+./tests/generic/204: line 85: /mnt/scratch/20862: No space left on device +./tests/generic/204: line 86: /mnt/scratch/20862: No space left on device

maybe we need to key this off the device size better? I can look into this.

generic/417 seems to fail to recover things on a r/o to r/w mount.

I thoght Eric had a fix for this, but it seems like it didn't get merge.

xfs/010 seems to have an unhappy extent state:

Phase 4 - check for duplicate blocks...
- setting up duplicate extent list...
+unknown block state, ag 0, block 119
- check for inodes claiming duplicate blocks...
Phase 5 - rebuild AG headers and trees...

Might this be userspace not catching up to the various reflink and co updates?

xfs/170 seems to not get the filestreams behavior it wants.

xfs/293 complains about undcoumented xfs_io commandsa:

+cowextsize not documented in the xfs_io manpage +dedupe not documented in the xfs_io manpage +finsert not documented in the xfs_io manpage +fsmap not documented in the xfs_io manpage +funshare not documented in the xfs_io manpage

--
To unsubscribe from this list: send the line "unsubscribe linux-xfs" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 1 line
Carlos
#2 lore raw
Quoted 10 lines · Carlos Maiolino
Quoted 6 lines · Christoph Hellwig

I see a few failures with a (hopefully) uptodate setup. I'm pretty sure some of them have been around for a while, but I'd like to figure out how to get to a clean slate.

This is a 4k fs on x86-64, with reflink enabled for the test and scratch dev.

Have you by any chance noticed test 81 locking up? Every time I run a complete xfstests, it always get stuck on test 81.

Which test 81? generic/081, xfs/081? How does it lock up?

The generic one had some issues due to lvm doing stupid things in the past, but I think we managed to paper over that.

#3 lore raw
Quoted 6 lines · Christoph Hellwig
Quoted 5 lines · Carlos Maiolino
Quoted 4 lines · Christoph Hellwig

I see a few failures with a (hopefully) uptodate setup. I'm pretty sure some of them have been around for a while, but I'd like to figure out how to get to a clean slate.

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

This is a 4k fs on x86-64, with reflink enabled for the test and scratch dev.

Have you by any chance noticed test 81 locking up? Every time I run a complete xfstests, it always get stuck on test 81.

Which test 81? generic/081, xfs/081? How does it lock up?

whoops, missed that, generic/081 specifically it always gets stuck in the lvm creation process, but, looks like it's an already know problem. I just wonder why it works for some of us, and don't for another ones. I didn't have time to dig into it tbh.

cheers

Quoted 7 lines

The generic one had some issues due to lvm doing stupid things in the past, but I think we managed to paper over that.
--
To unsubscribe from this list: send the line "unsubscribe linux-xfs" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 1 line
Carlos
#4 lore raw
In reply to Christoph Hellwig
Quoted 9 lines · Christoph Hellwig

I see a few failures with a (hopefully) uptodate setup. I'm pretty sure some of them have been around for a while, but I'd like to figure out how to get to a clean slate.

This is a 4k fs on x86-64, with reflink enabled for the test and scratch dev.

generic/204 seems to run out of space:

Quoted 7 lines

@@ -1,2 +1,780 @@
QA output created by 204
+./tests/generic/204: line 85: /mnt/scratch/20862: No space left on device +./tests/generic/204: line 86: /mnt/scratch/20862: No space left on device

maybe we need to key this off the device size better? I can look into this.

Sure.

Quoted 3 lines

generic/417 seems to fail to recover things on a r/o to r/w mount.

I thoght Eric had a fix for this, but it seems like it didn't get merge.

He did, but Dave wanted to know more about the side effects of recovering unlinked inodes on the rootfs during the ro->rw mount and the thread died after that.

Quoted 10 lines

xfs/010 seems to have an unhappy extent state:

Phase 4 - check for duplicate blocks...
- setting up duplicate extent list...
+unknown block state, ag 0, block 119
- check for inodes claiming duplicate blocks...
Phase 5 - rebuild AG headers and trees...

Might this be userspace not catching up to the various reflink and co updates?

Hmm, I'll have a look at that.

FWIW I'm half wondering if it's worth it to keep running xfs_check, since it occasionally bombs out with ENOMEM (xfs_repair reports no problems). When I started working on reflink I had to update xfs_db to support v5 at all, which made me wonder if anyone was testing v5.

Quoted 1 line

xfs/170 seems to not get the filestreams behavior it wants.

<nod>

Quoted 7 lines

xfs/293 complains about undcoumented xfs_io commandsa:

+cowextsize not documented in the xfs_io manpage +dedupe not documented in the xfs_io manpage +finsert not documented in the xfs_io manpage +fsmap not documented in the xfs_io manpage +funshare not documented in the xfs_io manpage

Works for me... but then I delibrately bindmount my dev tree's xfs_io.8.gz to the appropriate place in /usr/share/man/ before running xfstests. ;)

--D

Quoted 5 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-xfs" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#5 lore raw
Quoted 7 lines · Darrick J. Wong
Quoted 3 lines

generic/417 seems to fail to recover things on a r/o to r/w mount.

I thoght Eric had a fix for this, but it seems like it didn't get merge.

He did, but Dave wanted to know more about the side effects of recovering unlinked inodes on the rootfs during the ro->rw mount and the thread died after that.

Because I really don't know how to answer that. I didn't see a way to address the vague concerns. I tried to find a way to make a test which does this, but wasn't able to come up with any way to produce the old/lost orphans on a kernel with the fix.

-Eric

#6 lore raw
Quoted 11 lines · Eric Sandeen
Quoted 7 lines · Darrick J. Wong
Quoted 3 lines

generic/417 seems to fail to recover things on a r/o to r/w mount.

I thoght Eric had a fix for this, but it seems like it didn't get merge.

He did, but Dave wanted to know more about the side effects of recovering unlinked inodes on the rootfs during the ro->rw mount and the thread died after that.

Quoted 4 lines

Because I really don't know how to answer that. I didn't see a way to address the vague concerns. I tried to find a way to make a test which does this, but wasn't able to come up with any way to produce the old/lost orphans on a kernel with the fix.

Can you just repost the latest series for another round of review?

#7 lore raw
In reply to Darrick J. Wong
Quoted 9 lines · Darrick J. Wong
Quoted 2 lines

Might this be userspace not catching up to the various reflink and co updates?

Hmm, I'll have a look at that.

FWIW I'm half wondering if it's worth it to keep running xfs_check, since it occasionally bombs out with ENOMEM (xfs_repair reports no problems). When I started working on reflink I had to update xfs_db to support v5 at all, which made me wonder if anyone was testing v5.

Yeah, it might be better to drop it.

Quoted 11 lines
Quoted 7 lines

xfs/293 complains about undcoumented xfs_io commandsa:

+cowextsize not documented in the xfs_io manpage +dedupe not documented in the xfs_io manpage +finsert not documented in the xfs_io manpage +fsmap not documented in the xfs_io manpage +funshare not documented in the xfs_io manpage

Works for me... but then I delibrately bindmount my dev tree's xfs_io.8.gz to the appropriate place in /usr/share/man/ before running xfstests. ;)

I just did a make install of the latest xfsprogs before the run.