GNU bug report logs - #55020
parted 3.5 testsuite fails with musl libc: FAIL t0251-gpt-unicode.sh

Previous Next

Package: parted;

Reported by: Natanael Copa <ncopa <at> alpinelinux.org>

Date: Tue, 19 Apr 2022 10:50:02 UTC

Severity: normal

To reply to this bug, email your comments to 55020 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-parted <at> gnu.org:
bug#55020; Package parted. (Tue, 19 Apr 2022 10:50:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Natanael Copa <ncopa <at> alpinelinux.org>:
New bug report received and forwarded. Copy sent to bug-parted <at> gnu.org. (Tue, 19 Apr 2022 10:50:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Natanael Copa <ncopa <at> alpinelinux.org>
To: bug-parted <at> gnu.org
Subject: parted 3.5 testsuite fails with musl libc: FAIL t0251-gpt-unicode.sh
Date: Tue, 19 Apr 2022 12:48:53 +0200
Hi!

The test suite fails on Alpine Linux edge. I have reproduced it on
x86_64, ppc64le and s390x. I havent tested on aemv7 or aarch64 but I
assume it happens there as well.



...
FAIL: t0251-gpt-unicode
=======================

+ initial_cwd_=/home/ncopa/aports/main/parted/src/parted-3.5/tests
+ fail=0
+ testdir_prefix_
+ printf gt
+ pfx_=gt
+ mktempd_ /home/ncopa/aports/main/parted/src/parted-3.5/tests gt-t0251-gpt-unicode.sh.XXXX
+ destdir_=/home/ncopa/aports/main/parted/src/parted-3.5/tests
+ template_=gt-t0251-gpt-unicode.sh.XXXX
+ MAX_TRIES_=4
+ unset TMPDIR
+ d=/home/ncopa/aports/main/parted/src/parted-3.5/tests/gt-t0251-gpt-unicode.sh.7YFB
+ test -d /home/ncopa/aports/main/parted/src/parted-3.5/tests/gt-t0251-gpt-unicode.sh.7YFB
+ ls -dgo /home/ncopa/aports/main/parted/src/parted-3.5/tests/gt-t0251-gpt-unicode.sh.7YFB
+ tr S -
+ perms='drwx------ 2 4096 Apr 19 10:32 /home/ncopa/aports/main/parted/src/parted-3.5/tests/gt-t0251-gpt-unicode.sh.7YFB'
+ test 0 '=' 0
+ echo /home/ncopa/aports/main/parted/src/parted-3.5/tests/gt-t0251-gpt-unicode.sh.7YFB
+ return
+ test_dir_=/home/ncopa/aports/main/parted/src/parted-3.5/tests/gt-t0251-gpt-unicode.sh.7YFB
+ cd /home/ncopa/aports/main/parted/src/parted-3.5/tests/gt-t0251-gpt-unicode.sh.7YFB
+ gl_init_sh_nl_='
'
+ IFS=' 	
'
+ expr 1 + 128
+ eval 'trap '"'"'Exit 129'"'"' 1'
+ trap 'Exit 129' 1
+ expr 2 + 128
+ eval 'trap '"'"'Exit 130'"'"' 2'
+ trap 'Exit 130' 2
+ expr 3 + 128
+ eval 'trap '"'"'Exit 131'"'"' 3'
+ trap 'Exit 131' 3
+ expr 13 + 128
+ eval 'trap '"'"'Exit 141'"'"' 13'
+ trap 'Exit 141' 13
+ 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
+ abs_path_dir_=/home/ncopa/aports/main/parted/src/parted-3.5/tests/../parted
+ PATH=/home/ncopa/aports/main/parted/src/parted-3.5/tests/../parted:/home/ncopa/aports/main/parted/src/parted-3.5/parted:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ create_exe_shims_ /home/ncopa/aports/main/parted/src/parted-3.5/tests/../parted
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ dev=loop-file
+ truncate -s 10m loop-file
+ locale -a
+ grep en_US.utf8
+ LC_ALL=
+ '[' -z  ]
+ LC_ALL=C.UTF-8
+ export 'LC_ALL=C.UTF-8'
+ printf 'foo\341\264\244'
+ part_name='foo*'
+ parted -s loop-file mklabel gpt mkpart primary ext2 1MiB 2MiB name 1 'foo*'
+ compare /dev/null empty
+ compare_dev_null_ /dev/null empty
+ test 2 '=' 2
+ test x/dev/null '=' x/dev/null
+ test -s empty
+ emit_diff_u_header_ /dev/null empty
+ printf '%s\n' 'diff -u /dev/null empty' '--- /dev/null	1970-01-01' '+++ empty	1970-01-01'
diff -u /dev/null empty
--- /dev/null	1970-01-01
+++ empty	1970-01-01
+ sed s/^/+/ empty
+Warning: failed to translate partition name
+ return 1
+ return 1
+ fail=1
+ dd 'if=loop-file' 'bs=1' 'skip=2104' 'count=10'
+ od -An -tx1
+ echo ' 66 00 6f 00 6f 00 24 1d 00 00'
+ compare exp out
+ compare_dev_null_ exp out
+ test 2 '=' 2
+ test xexp '=' x/dev/null
+ test xout '=' x/dev/null
+ return 2
+ compare_ exp out
+ diff -u exp out
--- exp
+++ out
@@ -1 +1 @@
- 66 00 6f 00 6f 00 24 1d 00 00
+ 66 00 6f 00 6f 00 6d 00 61 00
+ fail=1
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ cleanup_fn_
+ :
+ cleanup_final_
+ scsi_debug_cleanup_
+ test -n 
+ rm -fr /home/ncopa/aports/main/parted/src/parted-3.5/tests/scsi_debug.lock
+ cd /home/ncopa/aports/main/parted/src/parted-3.5/tests
+ chmod -R u+rwx /home/ncopa/aports/main/parted/src/parted-3.5/tests/gt-t0251-gpt-unicode.sh.7YFB
+ rm -rf /home/ncopa/aports/main/parted/src/parted-3.5/tests/gt-t0251-gpt-unicode.sh.7YFB
+ exit 1
FAIL t0251-gpt-unicode.sh (exit status: 1)

...
============================================================================
Testsuite summary for GNU parted 3.5
============================================================================
# TOTAL: 91
# PASS:  43
# SKIP:  47
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
Please report to bug-parted <at> gnu.org
============================================================================






This bug report was last modified 2 years ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.