Util-Linux Archive on lore.kernel.org
 help / color / 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 --]

^ permalink raw reply	[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, back to index

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

Util-Linux Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/util-linux/0 util-linux/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 util-linux util-linux/ https://lore.kernel.org/util-linux \
		util-linux@vger.kernel.org
	public-inbox-index util-linux

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.util-linux


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git