diff mbox series

Test failures on Fedora/RISC-V

Message ID 20180302172425.GB32231@redhat.com
State Rejected
Headers show
Series Test failures on Fedora/RISC-V | expand

Commit Message

Richard W.M. Jones March 2, 2018, 5:24 p.m. UTC
336 tests succeeded	2 tests failed
  Tests failed: m_uninit r_32to64bit_meta 

The failing log files are attached.  Is there anything further I can
do to investigate these?

As mentioned in my previous email we have disk images available if you
want to set up a RISC-V development environment:

  https://fedorapeople.org/groups/risc-v/disk-images/

Rich.

Comments

Lukas Czerner March 12, 2018, 2:09 p.m. UTC | #1
On Fri, Mar 02, 2018 at 05:24:25PM +0000, Richard W.M. Jones wrote:
> 
>   336 tests succeeded	2 tests failed
>   Tests failed: m_uninit r_32to64bit_meta 
> 
> The failing log files are attached.  Is there anything further I can
> do to investigate these?
> 
> As mentioned in my previous email we have disk images available if you
> want to set up a RISC-V development environment:
> 
>   https://fedorapeople.org/groups/risc-v/disk-images/
> 
> Rich.

Hi,

I've just tested it and I do not see this problem at all. Maybe you're
missing some tools or it's some kind of configuration issue ? It's
certailny weird that you have 0 reserved blocks in both cases.

Anyway for me two tests failed

d_xattr_sorting
f_create_symlinks

and that's just because there is no perl in the environment. With that
in place the test suite passed no problem.

Are you still seeing this with the latest e2fsprogs ?

-Lukas

> 
> -- 
> Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
> Read my programming and virtualization blog: http://rwmj.wordpress.com
> virt-p2v converts physical machines to virtual machines.  Boot with a
> live CD or over the network (PXE) and turn machines into KVM guests.
> http://libguestfs.org/virt-v2v

> Creating filesystem with 131072 1k blocks and 32768 inodes
> Superblock backups stored on blocks: 
> 	8193, 24577, 40961, 57345, 73729
> 
> Allocating group tables:      done                            
> Writing inode tables:      done                            
> Writing superblocks and filesystem accounting information:      done
> 
> Filesystem features: ext_attr resize_inode dir_index filetype sparse_super uninit_bg
> Pass 1: Checking inodes, blocks, and sizes
> Pass 2: Checking directory structure
> Pass 3: Checking directory connectivity
> Pass 4: Checking reference counts
> Pass 5: Checking group summary information
> test_filesys: 11/32768 files (0.0% non-contiguous), 5691/131072 blocks
> Exit status is 0
> Filesystem volume name:   <none>
> Last mounted on:          <not available>
> Filesystem magic number:  0xEF53
> Filesystem revision #:    1 (dynamic)
> Filesystem features:      ext_attr resize_inode dir_index filetype sparse_super uninit_bg
> Default mount options:    (none)
> Filesystem state:         clean
> Errors behavior:          Continue
> Filesystem OS type:       Linux
> Inode count:              32768
> Block count:              131072
> Reserved block count:     0
> Free blocks:              125381
> Free inodes:              32757
> First block:              1
> Block size:               1024
> Fragment size:            1024
> Reserved GDT blocks:      256
> Blocks per group:         8192
> Fragments per group:      8192
> Inodes per group:         2048
> Inode blocks per group:   256
> Mount count:              0
> Check interval:           15552000 (6 months)
> Reserved blocks uid:      0
> Reserved blocks gid:      0
> First inode:              11
> Inode size:	          128
> Default directory hash:   half_md4
> 
> 
> Group 0: (Blocks 1-8192) [ITABLE_ZEROED]
>   Primary superblock at 1, Group descriptors at 2-2
>   Reserved GDT blocks at 3-258
>   Block bitmap at 259 (+258), Inode bitmap at 260 (+259)
>   Inode table at 261-516 (+260)
>   7662 free blocks, 2037 free inodes, 2 directories, 2037 unused inodes
>   Free blocks: 531-8192
>   Free inodes: 12-2048
> Group 1: (Blocks 8193-16384) [INODE_UNINIT, BLOCK_UNINIT, ITABLE_ZEROED]
>   Backup superblock at 8193, Group descriptors at 8194-8194
>   Reserved GDT blocks at 8195-8450
>   Block bitmap at 8451 (+258), Inode bitmap at 8452 (+259)
>   Inode table at 8453-8708 (+260)
>   7676 free blocks, 2048 free inodes, 0 directories, 2048 unused inodes
>   Free blocks: 8709-16384
>   Free inodes: 2049-4096
> Group 2: (Blocks 16385-24576) [INODE_UNINIT, BLOCK_UNINIT, ITABLE_ZEROED]
>   Block bitmap at 16385 (+0), Inode bitmap at 16386 (+1)
>   Inode table at 16387-16642 (+2)
>   7934 free blocks, 2048 free inodes, 0 directories, 2048 unused inodes
>   Free blocks: 16643-24576
>   Free inodes: 4097-6144
> Group 3: (Blocks 24577-32768) [INODE_UNINIT, BLOCK_UNINIT, ITABLE_ZEROED]
>   Backup superblock at 24577, Group descriptors at 24578-24578
>   Reserved GDT blocks at 24579-24834
>   Block bitmap at 24835 (+258), Inode bitmap at 24836 (+259)
>   Inode table at 24837-25092 (+260)
>   7676 free blocks, 2048 free inodes, 0 directories, 2048 unused inodes
>   Free blocks: 25093-32768
>   Free inodes: 6145-8192
> Group 4: (Blocks 32769-40960) [INODE_UNINIT, BLOCK_UNINIT, ITABLE_ZEROED]
>   Block bitmap at 32769 (+0), Inode bitmap at 32770 (+1)
>   Inode table at 32771-33026 (+2)
>   7934 free blocks, 2048 free inodes, 0 directories, 2048 unused inodes
>   Free blocks: 33027-40960
>   Free inodes: 8193-10240
> Group 5: (Blocks 40961-49152) [INODE_UNINIT, BLOCK_UNINIT, ITABLE_ZEROED]
>   Backup superblock at 40961, Group descriptors at 40962-40962
>   Reserved GDT blocks at 40963-41218
>   Block bitmap at 41219 (+258), Inode bitmap at 41220 (+259)
>   Inode table at 41221-41476 (+260)
>   7676 free blocks, 2048 free inodes, 0 directories, 2048 unused inodes
>   Free blocks: 41477-49152
>   Free inodes: 10241-12288
> Group 6: (Blocks 49153-57344) [INODE_UNINIT, BLOCK_UNINIT, ITABLE_ZEROED]
>   Block bitmap at 49153 (+0), Inode bitmap at 49154 (+1)
>   Inode table at 49155-49410 (+2)
>   7934 free blocks, 2048 free inodes, 0 directories, 2048 unused inodes
>   Free blocks: 49411-57344
>   Free inodes: 12289-14336
> Group 7: (Blocks 57345-65536) [INODE_UNINIT, BLOCK_UNINIT, ITABLE_ZEROED]
>   Backup superblock at 57345, Group descriptors at 57346-57346
>   Reserved GDT blocks at 57347-57602
>   Block bitmap at 57603 (+258), Inode bitmap at 57604 (+259)
>   Inode table at 57605-57860 (+260)
>   7676 free blocks, 2048 free inodes, 0 directories, 2048 unused inodes
>   Free blocks: 57861-65536
>   Free inodes: 14337-16384
> Group 8: (Blocks 65537-73728) [INODE_UNINIT, BLOCK_UNINIT, ITABLE_ZEROED]
>   Block bitmap at 65537 (+0), Inode bitmap at 65538 (+1)
>   Inode table at 65539-65794 (+2)
>   7934 free blocks, 2048 free inodes, 0 directories, 2048 unused inodes
>   Free blocks: 65795-73728
>   Free inodes: 16385-18432
> Group 9: (Blocks 73729-81920) [INODE_UNINIT, BLOCK_UNINIT, ITABLE_ZEROED]
>   Backup superblock at 73729, Group descriptors at 73730-73730
>   Reserved GDT blocks at 73731-73986
>   Block bitmap at 73987 (+258), Inode bitmap at 73988 (+259)
>   Inode table at 73989-74244 (+260)
>   7676 free blocks, 2048 free inodes, 0 directories, 2048 unused inodes
>   Free blocks: 74245-81920
>   Free inodes: 18433-20480
> Group 10: (Blocks 81921-90112) [INODE_UNINIT, BLOCK_UNINIT, ITABLE_ZEROED]
>   Block bitmap at 81921 (+0), Inode bitmap at 81922 (+1)
>   Inode table at 81923-82178 (+2)
>   7934 free blocks, 2048 free inodes, 0 directories, 2048 unused inodes
>   Free blocks: 82179-90112
>   Free inodes: 20481-22528
> Group 11: (Blocks 90113-98304) [INODE_UNINIT, BLOCK_UNINIT, ITABLE_ZEROED]
>   Block bitmap at 90113 (+0), Inode bitmap at 90114 (+1)
>   Inode table at 90115-90370 (+2)
>   7934 free blocks, 2048 free inodes, 0 directories, 2048 unused inodes
>   Free blocks: 90371-98304
>   Free inodes: 22529-24576
> Group 12: (Blocks 98305-106496) [INODE_UNINIT, BLOCK_UNINIT, ITABLE_ZEROED]
>   Block bitmap at 98305 (+0), Inode bitmap at 98306 (+1)
>   Inode table at 98307-98562 (+2)
>   7934 free blocks, 2048 free inodes, 0 directories, 2048 unused inodes
>   Free blocks: 98563-106496
>   Free inodes: 24577-26624
> Group 13: (Blocks 106497-114688) [INODE_UNINIT, BLOCK_UNINIT, ITABLE_ZEROED]
>   Block bitmap at 106497 (+0), Inode bitmap at 106498 (+1)
>   Inode table at 106499-106754 (+2)
>   7934 free blocks, 2048 free inodes, 0 directories, 2048 unused inodes
>   Free blocks: 106755-114688
>   Free inodes: 26625-28672
> Group 14: (Blocks 114689-122880) [INODE_UNINIT, BLOCK_UNINIT, ITABLE_ZEROED]
>   Block bitmap at 114689 (+0), Inode bitmap at 114690 (+1)
>   Inode table at 114691-114946 (+2)
>   7934 free blocks, 2048 free inodes, 0 directories, 2048 unused inodes
>   Free blocks: 114947-122880
>   Free inodes: 28673-30720
> Group 15: (Blocks 122881-131071) [INODE_UNINIT, ITABLE_ZEROED]
>   Block bitmap at 122881 (+0), Inode bitmap at 122882 (+1)
>   Inode table at 122883-123138 (+2)
>   7933 free blocks, 2048 free inodes, 0 directories, 2048 unused inodes
>   Free blocks: 123139-131071
>   Free inodes: 30721-32768

> --- m_uninit/expect.1	2018-03-02 13:46:34.364000000 +0000
> +++ m_uninit.1.log	2018-03-02 16:40:03.116000000 +0000
> @@ -25,7 +25,7 @@
>  Filesystem OS type:       Linux
>  Inode count:              32768
>  Block count:              131072
> -Reserved block count:     6553
> +Reserved block count:     0
>  Free blocks:              125381
>  Free inodes:              32757
>  First block:              1

> --- r_32to64bit_meta/expect	2018-03-02 13:46:34.488000000 +0000
> +++ r_32to64bit_meta.log	2018-03-02 16:40:35.396000000 +0000
> @@ -34,7 +34,7 @@
>  @@ -10,11 +10,12 @@
>   Inode count:              65536
>   Block count:              524288
> - Reserved block count:     26214
> + Reserved block count:     0
>  -Free blocks:              858
>  +Free blocks:              852
>   Free inodes:              65046

> resize2fs test
> Creating filesystem with 524288 1k blocks and 65536 inodes
> Superblock backups stored on blocks: 
> 	8193, 24577, 40961, 57345, 73729, 204801, 221185, 401409
> 
> Allocating group tables:      done                            
> Writing inode tables:      done                            
> Creating journal (16384 blocks): done
> Creating 479 huge file(s) with 1024 blocks each: done
> Writing superblocks and filesystem accounting information:      done
> 
> Pass 1: Checking inodes, blocks, and sizes
> Pass 2: Checking directory structure
> Pass 3: Checking directory connectivity
> Pass 4: Checking reference counts
> Pass 5: Checking group summary information
> 
> Exit status is 0
> resize2fs test.img -b
> Converting the filesystem to 64-bit.
> The filesystem on test.img is now 524288 (1k) blocks long.
> 
> Exit status is 0
> Change in FS metadata:
> @@ -2,7 +2,7 @@
>  Last mounted on:          <not available>
>  Filesystem magic number:  0xEF53
>  Filesystem revision #:    1 (dynamic)
> -Filesystem features:      has_journal ext_attr dir_index filetype meta_bg extent flex_bg sparse_super large_file huge_file uninit_bg dir_nlink extra_isize
> +Filesystem features:      has_journal ext_attr dir_index filetype meta_bg extent 64bit flex_bg sparse_super large_file huge_file uninit_bg dir_nlink extra_isize
>  Default mount options:    user_xattr acl
>  Filesystem state:         clean
>  Errors behavior:          Continue
> @@ -10,11 +10,12 @@
>  Inode count:              65536
>  Block count:              524288
>  Reserved block count:     0
> -Free blocks:              858
> +Free blocks:              852
>  Free inodes:              65046
>  First block:              1
>  Block size:               1024
>  Fragment size:            1024
> +Group descriptor size:    64
>  Blocks per group:         8192
>  Fragments per group:      8192
>  Inodes per group:         1024
> @@ -54,9 +55,9 @@
>  12:98305:-1:-1:15:31:3107
>  13:106497:-1:-1:16:32:3363
>  14:114689:-1:-1:17:33:3619
> -15:122881:-1:-1:18:34:3875
> -16:131073:-1:-1:131073:131089:131105
> -17:139265:-1:-1:131074:131090:131361
> +15:122881:-1:122881:18:34:3875
> +16:131073:-1:131073:135201:131089:131105
> +17:139265:-1:139265:131074:131090:131361
>  18:147457:-1:-1:131075:131091:131617
>  19:155649:-1:-1:131076:131092:131873
>  20:163841:-1:-1:131077:131093:132129
> @@ -86,9 +87,9 @@
>  44:360449:-1:-1:262158:262174:265250
>  45:368641:-1:-1:262159:262175:265506
>  46:376833:-1:-1:262160:262176:265762
> -47:385025:-1:-1:262161:262177:266018
> -48:393217:-1:-1:393217:393233:393249
> -49:401409:401409:-1:393218:393234:393505
> +47:385025:-1:385025:262161:262177:266018
> +48:393217:-1:393217:397345:393233:393249
> +49:401409:401409:401410:393218:393234:393505
>  50:409601:-1:-1:393219:393235:393761
>  51:417793:-1:-1:393220:393236:394017
>  52:425985:-1:-1:393221:393237:394273
> Pass 1: Checking inodes, blocks, and sizes
> Pass 2: Checking directory structure
> Pass 3: Checking directory connectivity
> Pass 4: Checking reference counts
> Pass 5: Checking group summary information
> 
> Exit status is 0
Richard W.M. Jones March 12, 2018, 3:52 p.m. UTC | #2
On Mon, Mar 12, 2018 at 03:09:13PM +0100, Lukas Czerner wrote:
> On Fri, Mar 02, 2018 at 05:24:25PM +0000, Richard W.M. Jones wrote:
> > 
> >   336 tests succeeded	2 tests failed
> >   Tests failed: m_uninit r_32to64bit_meta 
> > 
> > The failing log files are attached.  Is there anything further I can
> > do to investigate these?
> > 
> > As mentioned in my previous email we have disk images available if you
> > want to set up a RISC-V development environment:
> > 
> >   https://fedorapeople.org/groups/risc-v/disk-images/
> > 
> > Rich.
> 
> Hi,
> 
> I've just tested it and I do not see this problem at all. Maybe you're
> missing some tools or it's some kind of configuration issue ? It's
> certailny weird that you have 0 reserved blocks in both cases.
> 
> Anyway for me two tests failed
> 
> d_xattr_sorting
> f_create_symlinks
> 
> and that's just because there is no perl in the environment. With that
> in place the test suite passed no problem.

You can install packages (including Perl) by doing:

  dnf -y install perl

> Are you still seeing this with the latest e2fsprogs ?

I'm running them again now (with perl installed).

Rich.
Richard W.M. Jones March 12, 2018, 5:36 p.m. UTC | #3
After running the tests again, it's all fine:

339 tests succeeded	0 tests failed

Problem solved ..

Rich.
Andreas Dilger March 12, 2018, 6:49 p.m. UTC | #4
On Mar 12, 2018, at 8:09 AM, Lukas Czerner <lczerner@redhat.com> wrote:
> 
> On Fri, Mar 02, 2018 at 05:24:25PM +0000, Richard W.M. Jones wrote:
>> 
>>  336 tests succeeded	2 tests failed
>>  Tests failed: m_uninit r_32to64bit_meta
>> 
>> The failing log files are attached.  Is there anything further I can
>> do to investigate these?
>> 
>> As mentioned in my previous email we have disk images available if you
>> want to set up a RISC-V development environment:
>> 
>>  https://fedorapeople.org/groups/risc-v/disk-images/
>> 
>> Rich.
> 
> Hi,
> 
> I've just tested it and I do not see this problem at all. Maybe you're
> missing some tools or it's some kind of configuration issue ? It's
> certailny weird that you have 0 reserved blocks in both cases.
> 
> Anyway for me two tests failed
> 
> d_xattr_sorting
> f_create_symlinks
> 
> and that's just because there is no perl in the environment. With that
> in place the test suite passed no problem.

I didn't notice this before, but it seems like kind of a hassle to install
perl just for two tests.  Patch forthcoming.

Cheers, Andreas

> Are you still seeing this with the latest e2fsprogs ?
> 
> -Lukas
> 
>> 
>> --
>> Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
>> Read my programming and virtualization blog: http://rwmj.wordpress.com
>> virt-p2v converts physical machines to virtual machines.  Boot with a
>> live CD or over the network (PXE) and turn machines into KVM guests.
>> http://libguestfs.org/virt-v2v
> 
>> Creating filesystem with 131072 1k blocks and 32768 inodes
>> Superblock backups stored on blocks:
>> 	8193, 24577, 40961, 57345, 73729
>> 
>> Allocating group tables:      done
>> Writing inode tables:      done
>> Writing superblocks and filesystem accounting information:      done
>> 
>> Filesystem features: ext_attr resize_inode dir_index filetype sparse_super uninit_bg
>> Pass 1: Checking inodes, blocks, and sizes
>> Pass 2: Checking directory structure
>> Pass 3: Checking directory connectivity
>> Pass 4: Checking reference counts
>> Pass 5: Checking group summary information
>> test_filesys: 11/32768 files (0.0% non-contiguous), 5691/131072 blocks
>> Exit status is 0
>> Filesystem volume name:   <none>
>> Last mounted on:          <not available>
>> Filesystem magic number:  0xEF53
>> Filesystem revision #:    1 (dynamic)
>> Filesystem features:      ext_attr resize_inode dir_index filetype sparse_super uninit_bg
>> Default mount options:    (none)
>> Filesystem state:         clean
>> Errors behavior:          Continue
>> Filesystem OS type:       Linux
>> Inode count:              32768
>> Block count:              131072
>> Reserved block count:     0
>> Free blocks:              125381
>> Free inodes:              32757
>> First block:              1
>> Block size:               1024
>> Fragment size:            1024
>> Reserved GDT blocks:      256
>> Blocks per group:         8192
>> Fragments per group:      8192
>> Inodes per group:         2048
>> Inode blocks per group:   256
>> Mount count:              0
>> Check interval:           15552000 (6 months)
>> Reserved blocks uid:      0
>> Reserved blocks gid:      0
>> First inode:              11
>> Inode size:	          128
>> Default directory hash:   half_md4
>> 
>> 
>> Group 0: (Blocks 1-8192) [ITABLE_ZEROED]
>>  Primary superblock at 1, Group descriptors at 2-2
>>  Reserved GDT blocks at 3-258
>>  Block bitmap at 259 (+258), Inode bitmap at 260 (+259)
>>  Inode table at 261-516 (+260)
>>  7662 free blocks, 2037 free inodes, 2 directories, 2037 unused inodes
>>  Free blocks: 531-8192
>>  Free inodes: 12-2048
>> Group 1: (Blocks 8193-16384) [INODE_UNINIT, BLOCK_UNINIT, ITABLE_ZEROED]
>>  Backup superblock at 8193, Group descriptors at 8194-8194
>>  Reserved GDT blocks at 8195-8450
>>  Block bitmap at 8451 (+258), Inode bitmap at 8452 (+259)
>>  Inode table at 8453-8708 (+260)
>>  7676 free blocks, 2048 free inodes, 0 directories, 2048 unused inodes
>>  Free blocks: 8709-16384
>>  Free inodes: 2049-4096
>> Group 2: (Blocks 16385-24576) [INODE_UNINIT, BLOCK_UNINIT, ITABLE_ZEROED]
>>  Block bitmap at 16385 (+0), Inode bitmap at 16386 (+1)
>>  Inode table at 16387-16642 (+2)
>>  7934 free blocks, 2048 free inodes, 0 directories, 2048 unused inodes
>>  Free blocks: 16643-24576
>>  Free inodes: 4097-6144
>> Group 3: (Blocks 24577-32768) [INODE_UNINIT, BLOCK_UNINIT, ITABLE_ZEROED]
>>  Backup superblock at 24577, Group descriptors at 24578-24578
>>  Reserved GDT blocks at 24579-24834
>>  Block bitmap at 24835 (+258), Inode bitmap at 24836 (+259)
>>  Inode table at 24837-25092 (+260)
>>  7676 free blocks, 2048 free inodes, 0 directories, 2048 unused inodes
>>  Free blocks: 25093-32768
>>  Free inodes: 6145-8192
>> Group 4: (Blocks 32769-40960) [INODE_UNINIT, BLOCK_UNINIT, ITABLE_ZEROED]
>>  Block bitmap at 32769 (+0), Inode bitmap at 32770 (+1)
>>  Inode table at 32771-33026 (+2)
>>  7934 free blocks, 2048 free inodes, 0 directories, 2048 unused inodes
>>  Free blocks: 33027-40960
>>  Free inodes: 8193-10240
>> Group 5: (Blocks 40961-49152) [INODE_UNINIT, BLOCK_UNINIT, ITABLE_ZEROED]
>>  Backup superblock at 40961, Group descriptors at 40962-40962
>>  Reserved GDT blocks at 40963-41218
>>  Block bitmap at 41219 (+258), Inode bitmap at 41220 (+259)
>>  Inode table at 41221-41476 (+260)
>>  7676 free blocks, 2048 free inodes, 0 directories, 2048 unused inodes
>>  Free blocks: 41477-49152
>>  Free inodes: 10241-12288
>> Group 6: (Blocks 49153-57344) [INODE_UNINIT, BLOCK_UNINIT, ITABLE_ZEROED]
>>  Block bitmap at 49153 (+0), Inode bitmap at 49154 (+1)
>>  Inode table at 49155-49410 (+2)
>>  7934 free blocks, 2048 free inodes, 0 directories, 2048 unused inodes
>>  Free blocks: 49411-57344
>>  Free inodes: 12289-14336
>> Group 7: (Blocks 57345-65536) [INODE_UNINIT, BLOCK_UNINIT, ITABLE_ZEROED]
>>  Backup superblock at 57345, Group descriptors at 57346-57346
>>  Reserved GDT blocks at 57347-57602
>>  Block bitmap at 57603 (+258), Inode bitmap at 57604 (+259)
>>  Inode table at 57605-57860 (+260)
>>  7676 free blocks, 2048 free inodes, 0 directories, 2048 unused inodes
>>  Free blocks: 57861-65536
>>  Free inodes: 14337-16384
>> Group 8: (Blocks 65537-73728) [INODE_UNINIT, BLOCK_UNINIT, ITABLE_ZEROED]
>>  Block bitmap at 65537 (+0), Inode bitmap at 65538 (+1)
>>  Inode table at 65539-65794 (+2)
>>  7934 free blocks, 2048 free inodes, 0 directories, 2048 unused inodes
>>  Free blocks: 65795-73728
>>  Free inodes: 16385-18432
>> Group 9: (Blocks 73729-81920) [INODE_UNINIT, BLOCK_UNINIT, ITABLE_ZEROED]
>>  Backup superblock at 73729, Group descriptors at 73730-73730
>>  Reserved GDT blocks at 73731-73986
>>  Block bitmap at 73987 (+258), Inode bitmap at 73988 (+259)
>>  Inode table at 73989-74244 (+260)
>>  7676 free blocks, 2048 free inodes, 0 directories, 2048 unused inodes
>>  Free blocks: 74245-81920
>>  Free inodes: 18433-20480
>> Group 10: (Blocks 81921-90112) [INODE_UNINIT, BLOCK_UNINIT, ITABLE_ZEROED]
>>  Block bitmap at 81921 (+0), Inode bitmap at 81922 (+1)
>>  Inode table at 81923-82178 (+2)
>>  7934 free blocks, 2048 free inodes, 0 directories, 2048 unused inodes
>>  Free blocks: 82179-90112
>>  Free inodes: 20481-22528
>> Group 11: (Blocks 90113-98304) [INODE_UNINIT, BLOCK_UNINIT, ITABLE_ZEROED]
>>  Block bitmap at 90113 (+0), Inode bitmap at 90114 (+1)
>>  Inode table at 90115-90370 (+2)
>>  7934 free blocks, 2048 free inodes, 0 directories, 2048 unused inodes
>>  Free blocks: 90371-98304
>>  Free inodes: 22529-24576
>> Group 12: (Blocks 98305-106496) [INODE_UNINIT, BLOCK_UNINIT, ITABLE_ZEROED]
>>  Block bitmap at 98305 (+0), Inode bitmap at 98306 (+1)
>>  Inode table at 98307-98562 (+2)
>>  7934 free blocks, 2048 free inodes, 0 directories, 2048 unused inodes
>>  Free blocks: 98563-106496
>>  Free inodes: 24577-26624
>> Group 13: (Blocks 106497-114688) [INODE_UNINIT, BLOCK_UNINIT, ITABLE_ZEROED]
>>  Block bitmap at 106497 (+0), Inode bitmap at 106498 (+1)
>>  Inode table at 106499-106754 (+2)
>>  7934 free blocks, 2048 free inodes, 0 directories, 2048 unused inodes
>>  Free blocks: 106755-114688
>>  Free inodes: 26625-28672
>> Group 14: (Blocks 114689-122880) [INODE_UNINIT, BLOCK_UNINIT, ITABLE_ZEROED]
>>  Block bitmap at 114689 (+0), Inode bitmap at 114690 (+1)
>>  Inode table at 114691-114946 (+2)
>>  7934 free blocks, 2048 free inodes, 0 directories, 2048 unused inodes
>>  Free blocks: 114947-122880
>>  Free inodes: 28673-30720
>> Group 15: (Blocks 122881-131071) [INODE_UNINIT, ITABLE_ZEROED]
>>  Block bitmap at 122881 (+0), Inode bitmap at 122882 (+1)
>>  Inode table at 122883-123138 (+2)
>>  7933 free blocks, 2048 free inodes, 0 directories, 2048 unused inodes
>>  Free blocks: 123139-131071
>>  Free inodes: 30721-32768
> 
>> --- m_uninit/expect.1	2018-03-02 13:46:34.364000000 +0000
>> +++ m_uninit.1.log	2018-03-02 16:40:03.116000000 +0000
>> @@ -25,7 +25,7 @@
>> Filesystem OS type:       Linux
>> Inode count:              32768
>> Block count:              131072
>> -Reserved block count:     6553
>> +Reserved block count:     0
>> Free blocks:              125381
>> Free inodes:              32757
>> First block:              1
> 
>> --- r_32to64bit_meta/expect	2018-03-02 13:46:34.488000000 +0000
>> +++ r_32to64bit_meta.log	2018-03-02 16:40:35.396000000 +0000
>> @@ -34,7 +34,7 @@
>> @@ -10,11 +10,12 @@
>>  Inode count:              65536
>>  Block count:              524288
>> - Reserved block count:     26214
>> + Reserved block count:     0
>> -Free blocks:              858
>> +Free blocks:              852
>>  Free inodes:              65046
> 
>> resize2fs test
>> Creating filesystem with 524288 1k blocks and 65536 inodes
>> Superblock backups stored on blocks:
>> 	8193, 24577, 40961, 57345, 73729, 204801, 221185, 401409
>> 
>> Allocating group tables:      done
>> Writing inode tables:      done
>> Creating journal (16384 blocks): done
>> Creating 479 huge file(s) with 1024 blocks each: done
>> Writing superblocks and filesystem accounting information:      done
>> 
>> Pass 1: Checking inodes, blocks, and sizes
>> Pass 2: Checking directory structure
>> Pass 3: Checking directory connectivity
>> Pass 4: Checking reference counts
>> Pass 5: Checking group summary information
>> 
>> Exit status is 0
>> resize2fs test.img -b
>> Converting the filesystem to 64-bit.
>> The filesystem on test.img is now 524288 (1k) blocks long.
>> 
>> Exit status is 0
>> Change in FS metadata:
>> @@ -2,7 +2,7 @@
>> Last mounted on:          <not available>
>> Filesystem magic number:  0xEF53
>> Filesystem revision #:    1 (dynamic)
>> -Filesystem features:      has_journal ext_attr dir_index filetype meta_bg extent flex_bg sparse_super large_file huge_file uninit_bg dir_nlink extra_isize
>> +Filesystem features:      has_journal ext_attr dir_index filetype meta_bg extent 64bit flex_bg sparse_super large_file huge_file uninit_bg dir_nlink extra_isize
>> Default mount options:    user_xattr acl
>> Filesystem state:         clean
>> Errors behavior:          Continue
>> @@ -10,11 +10,12 @@
>> Inode count:              65536
>> Block count:              524288
>> Reserved block count:     0
>> -Free blocks:              858
>> +Free blocks:              852
>> Free inodes:              65046
>> First block:              1
>> Block size:               1024
>> Fragment size:            1024
>> +Group descriptor size:    64
>> Blocks per group:         8192
>> Fragments per group:      8192
>> Inodes per group:         1024
>> @@ -54,9 +55,9 @@
>> 12:98305:-1:-1:15:31:3107
>> 13:106497:-1:-1:16:32:3363
>> 14:114689:-1:-1:17:33:3619
>> -15:122881:-1:-1:18:34:3875
>> -16:131073:-1:-1:131073:131089:131105
>> -17:139265:-1:-1:131074:131090:131361
>> +15:122881:-1:122881:18:34:3875
>> +16:131073:-1:131073:135201:131089:131105
>> +17:139265:-1:139265:131074:131090:131361
>> 18:147457:-1:-1:131075:131091:131617
>> 19:155649:-1:-1:131076:131092:131873
>> 20:163841:-1:-1:131077:131093:132129
>> @@ -86,9 +87,9 @@
>> 44:360449:-1:-1:262158:262174:265250
>> 45:368641:-1:-1:262159:262175:265506
>> 46:376833:-1:-1:262160:262176:265762
>> -47:385025:-1:-1:262161:262177:266018
>> -48:393217:-1:-1:393217:393233:393249
>> -49:401409:401409:-1:393218:393234:393505
>> +47:385025:-1:385025:262161:262177:266018
>> +48:393217:-1:393217:397345:393233:393249
>> +49:401409:401409:401410:393218:393234:393505
>> 50:409601:-1:-1:393219:393235:393761
>> 51:417793:-1:-1:393220:393236:394017
>> 52:425985:-1:-1:393221:393237:394273
>> Pass 1: Checking inodes, blocks, and sizes
>> Pass 2: Checking directory structure
>> Pass 3: Checking directory connectivity
>> Pass 4: Checking reference counts
>> Pass 5: Checking group summary information
>> 
>> Exit status is 0
> 


Cheers, Andreas
Lukas Czerner March 13, 2018, 6:44 a.m. UTC | #5
On Mon, Mar 12, 2018 at 05:36:45PM +0000, Richard W.M. Jones wrote:
> After running the tests again, it's all fine:
> 
> 339 tests succeeded	0 tests failed
> 
> Problem solved ..

\o/

Thanks!
-Lukas

> 
> Rich.
> 
> -- 
> Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
> Read my programming and virtualization blog: http://rwmj.wordpress.com
> libguestfs lets you edit virtual machines.  Supports shell scripting,
> bindings from many languages.  http://libguestfs.org
diff mbox series

Patch

--- m_uninit/expect.1	2018-03-02 13:46:34.364000000 +0000
+++ m_uninit.1.log	2018-03-02 16:40:03.116000000 +0000
@@ -25,7 +25,7 @@ 
 Filesystem OS type:       Linux
 Inode count:              32768
 Block count:              131072
-Reserved block count:     6553
+Reserved block count:     0
 Free blocks:              125381
 Free inodes:              32757
 First block:              1