util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Testsuite failures on Linux/sparc64
@ 2019-07-28 19:59 John Paul Adrian Glaubitz
  2019-07-28 20:01 ` John Paul Adrian Glaubitz
  0 siblings, 1 reply; 4+ messages in thread
From: John Paul Adrian Glaubitz @ 2019-07-28 19:59 UTC (permalink / raw)
  To: util-linux

Hello!

The util-linux testsuite from git currently fails on Linux/sparc64 with:

        fdisk: MBR - non-dos mode: [11] 1nd-primary-delete   ... FAILED (fdisk/mbr-nondos-mode-1nd-primary-delete)
        blkid: superblocks probing: [31] fat32_mkdosfs_none_dosfslabel_label1_xp_label2 ... OK
        minix: mkfs fsck                                     ... OK
        fdisk: MBR - dos mode                                ... OK
        blkid: superblocks probing: [32] fat32_mkdosfs_none_xp_label1 ... OK
        blkid: superblocks probing: [33] fat32_mkdosfs_none_xp_label1_dosfslabel_label2 ... OK
        fdisk: MBR - non-dos mode: [12] extended-delete      ... FAILED (fdisk/mbr-nondos-mode-extended-delete)
        blkid: superblocks probing: [34] fat32_xp_label1     ... OK
Value out of range.
        fdisk: MBR - non-dos mode: [13] first-sector-at-end  ... FAILED (fdisk/mbr-nondos-mode-first-sector-at-end)

To reproduce this problem, the easiest way is to request an account for the
gcc compile farm [1] and try to reproduce the issue on the machine gcc202
which is a fast SPARC T5 running Debian unstable.

Thanks,
Adrian

> [1] https://gcc.gnu.org/wiki/CompileFarm

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Testsuite failures on Linux/sparc64
  2019-07-28 19:59 Testsuite failures on Linux/sparc64 John Paul Adrian Glaubitz
@ 2019-07-28 20:01 ` John Paul Adrian Glaubitz
  2019-08-18 12:17   ` Anatoly Pugachev
  0 siblings, 1 reply; 4+ messages in thread
From: John Paul Adrian Glaubitz @ 2019-07-28 20:01 UTC (permalink / raw)
  To: util-linux

On 7/28/19 9:59 PM, John Paul Adrian Glaubitz wrote:
> The util-linux testsuite from git currently fails on Linux/sparc64 with:
> 
>         fdisk: MBR - non-dos mode: [11] 1nd-primary-delete   ... FAILED (fdisk/mbr-nondos-mode-1nd-primary-delete)
>         blkid: superblocks probing: [31] fat32_mkdosfs_none_dosfslabel_label1_xp_label2 ... OK
>         minix: mkfs fsck                                     ... OK
>         fdisk: MBR - dos mode                                ... OK
>         blkid: superblocks probing: [32] fat32_mkdosfs_none_xp_label1 ... OK
>         blkid: superblocks probing: [33] fat32_mkdosfs_none_xp_label1_dosfslabel_label2 ... OK
>         fdisk: MBR - non-dos mode: [12] extended-delete      ... FAILED (fdisk/mbr-nondos-mode-extended-delete)
>         blkid: superblocks probing: [34] fat32_xp_label1     ... OK
> Value out of range.
>         fdisk: MBR - non-dos mode: [13] first-sector-at-end  ... FAILED (fdisk/mbr-nondos-mode-first-sector-at-end)

Full build log available in [1].

Adrian

> [1] https://buildd.debian.org/status/fetch.php?pkg=util-linux&arch=sparc64&ver=2.34-0.1&stamp=1564331209&raw=0

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Testsuite failures on Linux/sparc64
  2019-07-28 20:01 ` John Paul Adrian Glaubitz
@ 2019-08-18 12:17   ` Anatoly Pugachev
  2019-08-19 12:32     ` Karel Zak
  0 siblings, 1 reply; 4+ messages in thread
From: Anatoly Pugachev @ 2019-08-18 12:17 UTC (permalink / raw)
  To: util-linux; +Cc: John Paul Adrian Glaubitz

[-- Attachment #1: Type: text/plain, Size: 1314 bytes --]

On Sun, Jul 28, 2019 at 11:02 PM John Paul Adrian Glaubitz
<glaubitz@physik.fu-berlin.de> wrote:
> On 7/28/19 9:59 PM, John Paul Adrian Glaubitz wrote:
> > The util-linux testsuite from git currently fails on Linux/sparc64 with:
> >
> >         fdisk: MBR - non-dos mode: [11] 1nd-primary-delete   ... FAILED (fdisk/mbr-nondos-mode-1nd-primary-delete)
> >         blkid: superblocks probing: [31] fat32_mkdosfs_none_dosfslabel_label1_xp_label2 ... OK
> >         minix: mkfs fsck                                     ... OK
> >         fdisk: MBR - dos mode                                ... OK
> >         blkid: superblocks probing: [32] fat32_mkdosfs_none_xp_label1 ... OK
> >         blkid: superblocks probing: [33] fat32_mkdosfs_none_xp_label1_dosfslabel_label2 ... OK
> >         fdisk: MBR - non-dos mode: [12] extended-delete      ... FAILED (fdisk/mbr-nondos-mode-extended-delete)
> >         blkid: superblocks probing: [34] fat32_xp_label1     ... OK
> > Value out of range.
> >         fdisk: MBR - non-dos mode: [13] first-sector-at-end  ... FAILED (fdisk/mbr-nondos-mode-first-sector-at-end)

fdisk non-dos mode tests are not suited (written) for sparc, since
default fdisk partition table/mode on sparc is 'sun'.
So disable this test on sparc. Patch attached. Tested locally and on gcc202.
Thanks.

[-- Attachment #2: 0001-tests-Skip-fdisk-mbr-nondos-mode-on-Sparc-as-unsuppo.patch --]
[-- Type: application/octet-stream, Size: 841 bytes --]

From 008ae9631f76509e225b395d56639f0be8a66551 Mon Sep 17 00:00:00 2001
From: Anatoly Pugachev <matorola@gmail.com>
Date: Sun, 18 Aug 2019 15:00:04 +0300
Subject: [PATCH] tests: Skip fdisk/mbr-nondos-mode on Sparc as unsupported.

fdisk non-dos mode tests are not suited (written) for sparc,
since default fdisk partition table on sparc is 'sun'.
So disable this test on sparc.

Signed-off-by: Anatoly Pugachev <matorola@gmail.com>
---
 tests/ts/fdisk/mbr-nondos-mode | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/ts/fdisk/mbr-nondos-mode b/tests/ts/fdisk/mbr-nondos-mode
index d3b35fa39..7696ce957 100755
--- a/tests/ts/fdisk/mbr-nondos-mode
+++ b/tests/ts/fdisk/mbr-nondos-mode
@@ -42,6 +42,7 @@ ARCH=$(uname -m)
 case $ARCH in
 	*sparc* )
 		ARCH_EXT=".sparc"
+		ts_skip "unsupported"
 		;;
 	*)
 		ARCH_EXT=""
-- 
2.23.0.rc1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: Testsuite failures on Linux/sparc64
  2019-08-18 12:17   ` Anatoly Pugachev
@ 2019-08-19 12:32     ` Karel Zak
  0 siblings, 0 replies; 4+ messages in thread
From: Karel Zak @ 2019-08-19 12:32 UTC (permalink / raw)
  To: Anatoly Pugachev; +Cc: util-linux, John Paul Adrian Glaubitz

On Sun, Aug 18, 2019 at 03:17:31PM +0300, Anatoly Pugachev wrote:
> On Sun, Jul 28, 2019 at 11:02 PM John Paul Adrian Glaubitz
> <glaubitz@physik.fu-berlin.de> wrote:
> > On 7/28/19 9:59 PM, John Paul Adrian Glaubitz wrote:
> > > The util-linux testsuite from git currently fails on Linux/sparc64 with:
> > >
> > >         fdisk: MBR - non-dos mode: [11] 1nd-primary-delete   ... FAILED (fdisk/mbr-nondos-mode-1nd-primary-delete)
> > >         blkid: superblocks probing: [31] fat32_mkdosfs_none_dosfslabel_label1_xp_label2 ... OK
> > >         minix: mkfs fsck                                     ... OK
> > >         fdisk: MBR - dos mode                                ... OK
> > >         blkid: superblocks probing: [32] fat32_mkdosfs_none_xp_label1 ... OK
> > >         blkid: superblocks probing: [33] fat32_mkdosfs_none_xp_label1_dosfslabel_label2 ... OK
> > >         fdisk: MBR - non-dos mode: [12] extended-delete      ... FAILED (fdisk/mbr-nondos-mode-extended-delete)
> > >         blkid: superblocks probing: [34] fat32_xp_label1     ... OK
> > > Value out of range.
> > >         fdisk: MBR - non-dos mode: [13] first-sector-at-end  ... FAILED (fdisk/mbr-nondos-mode-first-sector-at-end)
> 
> fdisk non-dos mode tests are not suited (written) for sparc, since
> default fdisk partition table/mode on sparc is 'sun'.
> So disable this test on sparc. Patch attached. Tested locally and on gcc202.

I have applied a little bit different version. It seems we can remove
all the non-MBR stuff from the test. Thanks!

    Karel


-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-08-19 12:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-28 19:59 Testsuite failures on Linux/sparc64 John Paul Adrian Glaubitz
2019-07-28 20:01 ` John Paul Adrian Glaubitz
2019-08-18 12:17   ` Anatoly Pugachev
2019-08-19 12:32     ` Karel Zak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).