Bug 1101112 - t1700-probe-fs.sh fails on s390(x)
t1700-probe-fs.sh fails on s390(x)
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: parted (Show other bugs)
rawhide
s390x Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Brian Lane
Fedora Extras Quality Assurance
:
Depends On: 1101228
Blocks: ZedoraTracker
  Show dependency treegraph
 
Reported: 2014-05-26 03:42 EDT by Dan Horák
Modified: 2014-05-27 12:21 EDT (History)
2 users (show)

See Also:
Fixed In Version: parted-3.1-25.fc21
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2014-05-27 12:21:20 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Dan Horák 2014-05-26 03:42:52 EDT
build of parted-3.1-19.fc21 (and newer) on s390(x) fails with

FAIL: t1700-probe-fs
====================
++ initial_cwd_=/builddir/build/BUILD/parted-3.1/tests
++ fail=0
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /builddir/build/BUILD/parted-3.1/tests gt-t1700-probe-fs.sh.XXXX
+++ case $# in
+++ destdir_=/builddir/build/BUILD/parted-3.1/tests
+++ template_=gt-t1700-probe-fs.sh.XXXX
+++ MAX_TRIES_=4
+++ case $destdir_ in
+++ case $template_ in
++++ unset TMPDIR
+++ d=/builddir/build/BUILD/parted-3.1/tests/gt-t1700-probe-fs.sh.QKhO
+++ case $d in
+++ test -d /builddir/build/BUILD/parted-3.1/tests/gt-t1700-probe-fs.sh.QKhO
++++ ls -dgo /builddir/build/BUILD/parted-3.1/tests/gt-t1700-probe-fs.sh.QKhO
++++ tr S -
+++ perms='drwx------. 2 4096 May 26 06:14 /builddir/build/BUILD/parted-3.1/tests/gt-t1700-probe-fs.sh.QKhO'
+++ case $perms in
+++ test 0 = 0
+++ echo /builddir/build/BUILD/parted-3.1/tests/gt-t1700-probe-fs.sh.QKhO
+++ return
++ test_dir_=/builddir/build/BUILD/parted-3.1/tests/gt-t1700-probe-fs.sh.QKhO
++ cd /builddir/build/BUILD/parted-3.1/tests/gt-t1700-probe-fs.sh.QKhO
++ gl_init_sh_nl_='
'
++ IFS=' 	
'
++ for sig_ in 1 2 3 13 15
+++ expr 1 + 128
++ eval 'trap '\''Exit 129'\'' 1'
+++ trap 'Exit 129' 1
++ for sig_ in 1 2 3 13 15
+++ expr 2 + 128
++ eval 'trap '\''Exit 130'\'' 2'
+++ trap 'Exit 130' 2
++ for sig_ in 1 2 3 13 15
+++ expr 3 + 128
++ eval 'trap '\''Exit 131'\'' 3'
+++ trap 'Exit 131' 3
++ for sig_ in 1 2 3 13 15
+++ expr 13 + 128
++ eval 'trap '\''Exit 141'\'' 13'
+++ trap 'Exit 141' 13
++ for sig_ in 1 2 3 13 15
+++ expr 15 + 128
++ eval 'trap '\''Exit 143'\'' 15'
+++ trap 'Exit 143' 15
++ trap remove_tmp_ 0
+ path_prepend_ ../parted
+ test 1 '!=' 0
+ path_dir_=../parted
+ case $path_dir_ in
++ cd /builddir/build/BUILD/parted-3.1/tests/../parted
++ echo /builddir/build/BUILD/parted-3.1/parted
+ abs_path_dir_=/builddir/build/BUILD/parted-3.1/parted
+ case $abs_path_dir_ in
+ PATH=/builddir/build/BUILD/parted-3.1/parted:/builddir/build/BUILD/parted-3.1/parted:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin
+ create_exe_shims_ /builddir/build/BUILD/parted-3.1/parted
+ case $EXEEXT in
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ require_512_byte_sector_size_
+ test 512 = 512
+ dev=loop-file
+ ss=512
+ for type in ext2 ext3 ext4 btrfs xfs nilfs2
+ case $type in
+ n_sectors=8000
+ force=-F
+ dd if=/dev/zero of=loop-file bs=512 count=8000
8000+0 records in
8000+0 records out
4096000 bytes (4.1 MB) copied, 0.0115674 s, 354 MB/s
+ mkfs.ext2 -F loop-file
mke2fs 1.42.9 (28-Dec-2013)
Discarding device blocks: 1024/4000         done                            
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
Stride=0 blocks, Stripe width=0 blocks
1000 inodes, 4000 blocks
200 blocks (5.00%) reserved for the super user
First data block=1
Maximum filesystem blocks=4194304
1 block group
8192 blocks per group, 8192 fragments per group
1000 inodes per group
Allocating group tables: 0/1   done                            
Writing inode tables: 0/1   done                            
Writing superblocks and filesystem accounting information: 0/1   done
+ parted -m -s loop-file u s print
+ grep '^1:.*:ext2::;$' out
1:0s:7999s:8000s:ext2::;
+ for type in ext2 ext3 ext4 btrfs xfs nilfs2
+ case $type in
+ n_sectors=8000
+ force=-F
+ dd if=/dev/zero of=loop-file bs=512 count=8000
8000+0 records in
8000+0 records out
4096000 bytes (4.1 MB) copied, 0.0122003 s, 336 MB/s
+ mkfs.ext3 -F loop-file
mke2fs 1.42.9 (28-Dec-2013)
Discarding device blocks: 1024/4000         done                            
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
Stride=0 blocks, Stripe width=0 blocks
1000 inodes, 4000 blocks
200 blocks (5.00%) reserved for the super user
First data block=1
Maximum filesystem blocks=4194304
1 block group
8192 blocks per group, 8192 fragments per group
1000 inodes per group
Allocating group tables: 0/1   done                            
Writing inode tables: 0/1   done                            
Creating journal (1024 blocks): done
Writing superblocks and filesystem accounting information: 0/1   done
+ parted -m -s loop-file u s print
+ grep '^1:.*:ext3::;$' out
1:0s:7999s:8000s:ext3::;
+ for type in ext2 ext3 ext4 btrfs xfs nilfs2
+ case $type in
+ n_sectors=8000
+ force=-F
+ dd if=/dev/zero of=loop-file bs=512 count=8000
8000+0 records in
8000+0 records out
4096000 bytes (4.1 MB) copied, 0.0113595 s, 361 MB/s
+ mkfs.ext4 -F loop-file
mke2fs 1.42.9 (28-Dec-2013)
Discarding device blocks: 1024/4000         done                            
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
Stride=0 blocks, Stripe width=0 blocks
1000 inodes, 4000 blocks
200 blocks (5.00%) reserved for the super user
First data block=1
Maximum filesystem blocks=4194304
1 block group
8192 blocks per group, 8192 fragments per group
1000 inodes per group
Allocating group tables: 0/1   done                            
Writing inode tables: 0/1   done                            
Creating journal (1024 blocks): done
Writing superblocks and filesystem accounting information: 0/1   done
+ parted -m -s loop-file u s print
+ grep '^1:.*:ext4::;$' out
1:0s:7999s:8000s:ext4::;
+ for type in ext2 ext3 ext4 btrfs xfs nilfs2
+ warn_ ': no btrfs support'
+ case $IFS in
+ printf '%s\n' ': no btrfs support'
: no btrfs support
+ test 9 = 2
+ printf '%s\n' ': no btrfs support'
+ sed 1q
+ continue
+ for type in ext2 ext3 ext4 btrfs xfs nilfs2
+ case $type in
+ n_sectors=263168
+ force=
+ dd if=/dev/zero of=loop-file bs=512 count=263168
263168+0 records in
263168+0 records out
134742016 bytes (135 MB) copied, 1.1601 s, 116 MB/s
+ mkfs.xfs loop-file
mkfs.xfs: pwrite64 failed: Invalid argument
meta-data=loop-file              isize=256    agcount=4, agsize=8224 blks
         =                       sectsz=512   attr=2, projid32bit=1
         =                       crc=0
data     =                       bsize=4096   blocks=32896, imaxpct=25
         =                       sunit=0      swidth=0 blks
naming   =version 2              bsize=4096   ascii-ci=0 ftype=0
log      =internal log           bsize=4096   blocks=4265, version=2
         =                       sectsz=512   sunit=0 blks, lazy-count=1
realtime =none                   extsz=4096   blocks=0, rtextents=0
+ warn_ : mkfs.xfs failed
+ case $IFS in
+ printf '%s\n' ': mkfs.xfs failed'
: mkfs.xfs failed
+ test 9 = 2
+ printf '%s\n' ': mkfs.xfs failed'
+ sed 1q
+ fail=1
+ continue
+ for type in ext2 ext3 ext4 btrfs xfs nilfs2
+ warn_ ': no nilfs2 support'
+ case $IFS in
+ printf '%s\n' ': no nilfs2 support'
: no nilfs2 support
+ test 9 = 2
+ printf '%s\n' ': no nilfs2 support'
+ sed 1q
+ continue
+ for feature in uninit_bg flex_bg
+ dd if=/dev/zero of=loop-file bs=1024 count=4096
4096+0 records in
4096+0 records out
4194304 bytes (4.2 MB) copied, 0.00791513 s, 530 MB/s
+ mkfs.ext3 -F loop-file
mke2fs 1.42.9 (28-Dec-2013)
+ tune2fs -O uninit_bg loop-file
tune2fs 1.42.9 (28-Dec-2013)
+ parted -m -s loop-file u s print
+ grep '^1:.*:ext4::;$' out
1:0s:8191s:8192s:ext4::;
+ for feature in uninit_bg flex_bg
+ dd if=/dev/zero of=loop-file bs=1024 count=4096
4096+0 records in
4096+0 records out
4194304 bytes (4.2 MB) copied, 0.00755019 s, 556 MB/s
+ mkfs.ext3 -F loop-file
mke2fs 1.42.9 (28-Dec-2013)
+ tune2fs -O flex_bg loop-file
tune2fs 1.42.9 (28-Dec-2013)
+ parted -m -s loop-file u s print
+ grep '^1:.*:ext4::;$' out
1:0s:8191s:8192s:ext4::;
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ cleanup_fn_
+ :
+ cleanup_final_
+ scsi_debug_cleanup_
+ test -n ''
+ rm -fr /builddir/build/BUILD/parted-3.1/tests/scsi_debug.lock
+ cd /builddir/build/BUILD/parted-3.1/tests
+ chmod -R u+rwx /builddir/build/BUILD/parted-3.1/tests/gt-t1700-probe-fs.sh.QKhO
+ rm -rf /builddir/build/BUILD/parted-3.1/tests/gt-t1700-probe-fs.sh.QKhO
+ exit 1


for full logs please see http://s390.koji.fedoraproject.org/koji/taskinfo?taskID=1414562

Version-Release number of selected component (if applicable):
parted-3.1-19.fc21
Comment 1 Dan Horák 2014-05-26 03:44:38 EDT
I'm looking whether this is a builder setup issue. The last successful build (parted-3.1-16.fc21) was done on RHEL-6 host, now we are running Fedora 20 on the builders.
Comment 2 Dan Horák 2014-05-26 08:34:46 EDT
sounds as an issue with sparse files in mkfs.xfs on s390(x), which is reported separately in bug #1101228

Note You need to log in before you can comment on or make changes to this bug.