Bug#678780: unburden-home-dir: FTBFS: tests failed

June 24th, 2012 - 06:00 am ET by Lucas Nussbaum | Report spam
Source: unburden-home-dir
Version: 0.3
Severity: serious
Tags: wheezy sid
User: debian-qa@lists.debian.org
Usertags: qa-ftbfs-20120624 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:

make[1]: Entering directory `/«PKGBUILDDIR»'
checkbashisms Xsession.d/95unburden-home-dir
script Xsession.d/95unburden-home-dir does not appear to have a #! interpreter line;
you may get strange results
perl -c bin/unburden-home-dir
bin/unburden-home-dir syntax OK
prove t/*.t

# Failed test 'Check command STDERR output'
# at t/check-symlinks-in-path.t line 45.
# Looks like you failed 1 test of 16.
t/check-symlinks-in-path.t .
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/16 subtests

# Failed test 'Check command STDERR output'
# at t/check-symlinks-without-trailing-slash.t line 41.
# Looks like you failed 1 test of 11.
t/check-symlinks-without-trailing-slash.t ..
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/11 subtests

# Failed test 'Check command STDERR output (should be empty)'
# at t/create-empty-directories.t line 38.
# Looks like you failed 1 test of 13.
t/create-empty-directories.t ...
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/13 subtests

# Failed test 'Check command STDERR output'
# at t/find-per-user-stuff.t line 46.
# Looks like you failed 1 test of 16.
t/find-per-user-stuff.t
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/16 subtests

# Failed test 'Check command STDERR output (should be empty)'
# at t/moving-to-existing-subdir.t line 44.
# Looks like you failed 1 test of 17.
t/moving-to-existing-subdir.t ..
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/17 subtests

# Failed test 'Check command STDERR output'
# at t/parse-comments-and-blank-lines.t line 45.
# Looks like you failed 1 test of 16.
t/parse-comments-and-blank-lines.t .
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/16 subtests
WARNING: lsof not found, not checking for files in use at bin/unburden-home-dir line 179.
t/replacement-order-dryrun.t ... ok
WARNING: lsof not found, not checking for files in use at bin/unburden-home-dir line 179.
t/replacement-order.t .. ok

# Failed test 'Check command STDERR output'
# at t/skip-non-home.t line 42.

# Failed test 'Check command STDERR output'
# at t/skip-non-home.t line 42.
# Looks like you failed 2 tests of 28.
t/skip-non-home.t ..
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/28 subtests
t/undo-dryrun.t ok

# Failed test 'Check command STDERR output (should be empty)'
# at t/undo.t line 49.
# Looks like you failed 1 test of 13.
t/undo.t ...
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/13 subtests
t/xsession-d.t . ok

Test Summary Report
-
t/check-symlinks-in-path.t (Wstat: 256 Tests: 16 Failed: 1)
Failed test: 11
Non-zero exit status: 1
t/check-symlinks-without-trailing-slash.t (Wstat: 256 Tests: 11 Failed: 1)
Failed test: 8
Non-zero exit status: 1
t/create-empty-directories.t (Wstat: 256 Tests: 13 Failed: 1)
Failed test: 8
Non-zero exit status: 1
t/find-per-user-stuff.t (Wstat: 256 Tests: 16 Failed: 1)
Failed test: 11
Non-zero exit status: 1
t/moving-to-existing-subdir.t (Wstat: 256 Tests: 17 Failed: 1)
Failed test: 10
Non-zero exit status: 1
t/parse-comments-and-blank-lines.t (Wstat: 256 Tests: 16 Failed: 1)
Failed test: 11
Non-zero exit status: 1
t/skip-non-home.t (Wstat: 512 Tests: 28 Failed: 2)
Failed tests: 8, 22
Non-zero exit status: 2
t/undo.t (Wstat: 256 Tests: 13 Failed: 1)
Failed test: 9
Non-zero exit status: 1
Files, Tests4, 9 wallclock secs ( 0.09 usr 0.07 sys + 1.51 cusr 0.50 csys = 2.17 CPU)
Result: FAIL
make[1]: *** [test] Error 1



The full build log is available from:
http://people.debian.org/~lucas/logs/2012/06/24/unburden-home-dir_0.3_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
email Follow the discussionReplies 1 replyReplies Make a reply

Replies

#1 Axel Beckert
June 24th, 2012 - 09:30 am ET | Report spam
Hi,

Lucas Nussbaum wrote:
Source: unburden-home-dir
Version: 0.3


[...]
During a rebuild of all packages in sid, your package failed to build on
amd64.


[...]
> prove t/*.t
>
> # Failed test 'Check command STDERR output'



Thanks for the report. Cause is a missing build-dependency on lsof
which causes unburden-home-dir to issue a warning on STDERR that lsof
is not found and some feature are hence not used -- which is not
expected to happen in the test suite.

Adding a build-dependency on lsof though would cause the package to be
unbuildable on kfreebsd-any due to http://bugs.debian.org/589103 while
still being usable on kfreebsd-any, just not all features -- lsof is
just a Recommends in the binary package

So one solution would be to add a B-D on lsof [!kfreebsd-any] and
disable the test suite on kfreebsd-any until lsof is available on
kfreebsd again.

Another solution would be to change to test suite to work only without
lsof being installed or to make the test suite detect if lsof is
installed or not and behave differently depending on the availability
of lsof.

Regards, Axel
,''`. | Axel Beckert , http://people.debian.org/~abe/
: :' : | Debian Developer, ftp.ch.debian.org Admin
`. `' | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE
`- | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5



To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact

Similar topics