GNU bug report logs - #41090
[core-updates] fakeroot fails its test suite (breaks spacefm)

Previous Next

Package: guix;

Reported by: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Date: Tue, 5 May 2020 00:06:02 UTC

Severity: normal

Done: Marius Bakke <mbakke <at> fastmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 41090 in the body.
You can then email your comments to 41090 AT debbugs.gnu.org in the normal way.

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-guix <at> gnu.org:
bug#41090; Package guix. (Tue, 05 May 2020 00:06:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 05 May 2020 00:06:02 GMT) Full text and rfc822 format available.

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

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: bug-guix <bug-guix <at> gnu.org>
Subject: [core-updates] fakeroot fails its test suite (breaks spacefm)
Date: Mon, 04 May 2020 20:05:49 -0400
Hello,

Testing the core-updates branch, I got this failure from fakeroot:

--8<---------------cut here---------------start------------->8---
make  check-TESTS
make[2]: Entering directory '/tmp/guix-build-fakeroot-1.24.drv-0/fakeroot-1.24/test'
make[3]: Entering directory '/tmp/guix-build-fakeroot-1.24.drv-0/fakeroot-1.24/test'
PASS: t.falsereturn
PASS: t.truereturn
PASS: t.option
PASS: t.echoarg
FAIL: t.mknod
PASS: t.touchinstall
FAIL: t.chmod_dev
PASS: t.no_ld_preload
PASS: t.no_ld_preload_link
FAIL: t.xattr
PASS: t.cp-a
PASS: t.tar
========================================
   fakeroot 1.24: test/test-suite.log
========================================

# TOTAL: 12
# PASS:  9
# SKIP:  0
# XFAIL: 0
# FAIL:  3
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: t.chmod_dev
=================

-rw-r--r-- 1 nixbld nixbld 0 May  5 00:04 t.chmod_dev.dir/hda3
FAIL t.chmod_dev (exit status: 1)

FAIL: t.mknod
=============

-rw-r--r-- 1 nixbld nixbld 0 May  5 00:04 t.mknod.dir/hda3
FAIL t.mknod (exit status: 1)

FAIL: t.xattr
=============

unable to set CAP_SETFCAP effective capability: Operation not permitted
FAIL t.xattr (exit status: 1)

============================================================================
Testsuite summary for fakeroot 1.24
============================================================================
# TOTAL: 12
# PASS:  9
# SKIP:  0
# XFAIL: 0
# FAIL:  3
# XPASS: 0
# ERROR: 0
============================================================================
See test/test-suite.log
Please report to clint <at> debian.org
============================================================================
make[3]: *** [Makefile:549: test-suite.log] Error 1
make[3]: Leaving directory '/tmp/guix-build-fakeroot-1.24.drv-0/fakeroot-1.24/test'
make[2]: *** [Makefile:657: check-TESTS] Error 2
make[2]: Leaving directory '/tmp/guix-build-fakeroot-1.24.drv-0/fakeroot-1.24/test'
make[1]: *** [Makefile:808: check-am] Error 2
make[1]: Leaving directory '/tmp/guix-build-fakeroot-1.24.drv-0/fakeroot-1.24/test'
make: *** [Makefile:688: check-recursive] Error 1

Test suite failed, dumping logs.

--- ./test/test-suite.log ---------------------------------------------------

========================================
   fakeroot 1.24: test/test-suite.log
========================================

# TOTAL: 12
# PASS:  9
# SKIP:  0
# XFAIL: 0
# FAIL:  3
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: t.chmod_dev
=================

-rw-r--r-- 1 nixbld nixbld 0 May  5 00:04 t.chmod_dev.dir/hda3
FAIL t.chmod_dev (exit status: 1)

FAIL: t.mknod
=============

-rw-r--r-- 1 nixbld nixbld 0 May  5 00:04 t.mknod.dir/hda3
FAIL t.mknod (exit status: 1)

FAIL: t.xattr
=============

unable to set CAP_SETFCAP effective capability: Operation not permitted
FAIL t.xattr (exit status: 1)


command "make" "check" "-j" "24" failed with status 2
--8<---------------cut here---------------end--------------->8---

Perhaps caused by running the tests in parallel.

Maxim




Reply sent to Marius Bakke <mbakke <at> fastmail.com>:
You have taken responsibility. (Tue, 05 May 2020 14:38:01 GMT) Full text and rfc822 format available.

Notification sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
bug acknowledged by developer. (Tue, 05 May 2020 14:38:01 GMT) Full text and rfc822 format available.

Message #10 received at 41090-done <at> debbugs.gnu.org (full text, mbox):

From: Marius Bakke <mbakke <at> fastmail.com>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>, 41090-done <at> debbugs.gnu.org
Subject: Re: bug#41090: [core-updates] fakeroot fails its test suite (breaks
 spacefm)
Date: Tue, 05 May 2020 16:36:54 +0200
[Message part 1 (text/plain, inline)]
Maxim Cournoyer <maxim.cournoyer <at> gmail.com> writes:

> Hello,
>
> Testing the core-updates branch, I got this failure from fakeroot:
>
> --8<---------------cut here---------------start------------->8---
> make  check-TESTS
> make[2]: Entering directory '/tmp/guix-build-fakeroot-1.24.drv-0/fakeroot-1.24/test'
> make[3]: Entering directory '/tmp/guix-build-fakeroot-1.24.drv-0/fakeroot-1.24/test'
> PASS: t.falsereturn
> PASS: t.truereturn
> PASS: t.option
> PASS: t.echoarg
> FAIL: t.mknod
> PASS: t.touchinstall
> FAIL: t.chmod_dev
> PASS: t.no_ld_preload
> PASS: t.no_ld_preload_link
> FAIL: t.xattr
> PASS: t.cp-a
> PASS: t.tar
> ========================================
>    fakeroot 1.24: test/test-suite.log
> ========================================
>
> # TOTAL: 12
> # PASS:  9
> # SKIP:  0
> # XFAIL: 0
> # FAIL:  3
> # XPASS: 0
> # ERROR: 0
>
> .. contents:: :depth: 2
>
> FAIL: t.chmod_dev
> =================
>
> -rw-r--r-- 1 nixbld nixbld 0 May  5 00:04 t.chmod_dev.dir/hda3
> FAIL t.chmod_dev (exit status: 1)
>
> FAIL: t.mknod
> =============
>
> -rw-r--r-- 1 nixbld nixbld 0 May  5 00:04 t.mknod.dir/hda3
> FAIL t.mknod (exit status: 1)

These two tests create a block device with 'mknod' inside the fakeroot,
and afterwards verifies with 'ls' that they are in fact block devices.

It turns out that the 'ls' invokation does not work because the newer
'ls' uses statx() which is not supported/caught by fakeroot, and thus it
does not see the fake block device.  So I changed these tests to use
'test -b' as a stopgap measure.

> FAIL: t.xattr
> =============
>
> unable to set CAP_SETFCAP effective capability: Operation not permitted
> FAIL t.xattr (exit status: 1)

This turned out to be a regression in 'libcap', fixed by providing a
newer version.

Fixed in ba151b7e1a9cc0baf932b5c5e0c916e54d2e27f4, thanks!
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 03 Jun 2020 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 338 days ago.

Previous Next


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