From: ludo@gnu.org (Ludovic Courtès)
To: Andrew Patterson <ajpatter@uwaterloo.ca>
Cc: 20597@debbugs.gnu.org
Subject: bug#20597: GNU tar fails test suite
Date: Tue, 19 May 2015 17:42:45 +0200 [thread overview]
Message-ID: <871tich8ui.fsf@gnu.org> (raw)
In-Reply-To: <55584206.8020101@uwaterloo.ca> (Andrew Patterson's message of "Sun, 17 May 2015 03:23:50 -0400")
Andrew Patterson <ajpatter@uwaterloo.ca> skribis:
> When trying to build tar using the installation medium, the build fails
> when running the test suite.
I suppose this is Guix 0.8.2 on top of another distribution, right? Did
you install from source or from the binary tarball? Did you enable
substitutes (info "(guix) Substitutes")?
I just rebuilt it on my laptop (on GuixSD) and
/gnu/store/hs7ldmg9ix8irdw5gj4vr55ml8m08723-tar-1.28 (x86_64-linux)
builds fine; same on Hydra.
> ## ---------------------- ##
> ## Detailed failed tests. ##
> ## ---------------------- ##
>
> # -*- compilation -*-
> 161. remfiles08a.at:28: testing remove-files deleting two subdirs in -c/non-incr. mode ...
> ./remfiles08a.at:31:
> mkdir gnu
> (cd gnu
> TEST_TAR_FORMAT=gnu
> export TEST_TAR_FORMAT
> TAR_OPTIONS="-H gnu"
> export TAR_OPTIONS
> rm -rf *
>
> mkdir foo
> mkdir bar
> echo foo/foo_file > foo/foo_file
> echo bar/bar_file > bar/bar_file
> decho A
> tar -cvf foo.tar --remove-files -C foo . -C ../bar .
> decho B
> find .
> )
> --- - 2015-05-17 06:46:28.337894209 +0000
> +++ /tmp/nix-build-tar-1.28.drv-0/tar-1.28/tests/testsuite.dir/at-groups/161/stdout 2015-05-17 06:46:28.329525786 +0000
> @@ -6,4 +6,5 @@
> B
> .
> ./foo.tar
> +./bar
Sounds like ‘bar’ is expected to be removed but is not.
> 161. remfiles08a.at:28: 161. remove-files deleting two subdirs in -c/non-incr. mode (remfiles08a.at:28): FAILED (remfiles08a.at:31)
>
> # -*- compilation -*-
> 163. remfiles08c.at:28: testing remove-files deleting two subdirs in -r mode ...
> ./remfiles08c.at:31:
> mkdir gnu
> (cd gnu
> TEST_TAR_FORMAT=gnu
> export TEST_TAR_FORMAT
> TAR_OPTIONS="-H gnu"
> export TAR_OPTIONS
> rm -rf *
>
>
> test -z "`sort < /dev/null 2>&1`" || exit 77
>
> mkdir foo
> mkdir bar
> echo foo/foo_file > foo/foo_file
> echo bar/bar_file > bar/bar_file
> tar -cf foo.tar -C foo . -C ../bar .
> decho A
> find . | sort
> decho B
> tar -rvf foo.tar --remove-files -C foo . -C ../bar .
> decho C
> find .
> )
> --- - 2015-05-17 06:46:28.468176642 +0000
> +++ /tmp/nix-build-tar-1.28.drv-0/tar-1.28/tests/testsuite.dir/at-groups/163/stdout 2015-05-17 06:46:28.457525791 +0000
> @@ -13,4 +13,5 @@
> C
> .
> ./foo.tar
> +./bar
>
> 163. remfiles08c.at:28: 163. remove-files deleting two subdirs in -r mode (remfiles08c.at:28): FAILED (remfiles08c.at:31)
Same story here.
I don’t fully understand the tests, but they seem to be testing a
deterministic property.
Now, there are several tests creating files/directories call ‘bar’; they
may run in parallel, and it’s not clear to me whether or not they’re
using separate directories.
Does the build succeed if you run it another time with:
guix build tar -K -c 1
Thanks in advance,
Ludo’.
next prev parent reply other threads:[~2015-05-19 15:43 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-17 7:23 bug#20597: GNU tar fails test suite Andrew Patterson
2015-05-19 15:42 ` Ludovic Courtès [this message]
[not found] ` <5561771F.2010203@uwaterloo.ca>
2015-05-24 11:33 ` bug#20597: ‘unlinkat’ bug in Linux 4.0.2 leads to tar test failure Ludovic Courtès
[not found] ` <87617i9plu.fsf_-_@gnu.org>
2015-05-24 11:57 ` Pádraig Brady
[not found] ` <5561BCC4.6040604@draigBrady.com>
2015-05-24 13:53 ` Ludovic Courtès
[not found] ` <874mn26q0s.fsf@gnu.org>
2015-05-24 14:19 ` Pádraig Brady
[not found] ` <5561DDD7.2020107@draigBrady.com>
2015-05-24 14:48 ` Paul Eggert
2015-05-24 21:43 ` Andy Patterson
2015-05-25 12:55 ` Ludovic Courtès
2015-06-15 22:30 ` bug#20597: GNU tar fails test suite Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871tich8ui.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=20597@debbugs.gnu.org \
--cc=ajpatter@uwaterloo.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).