From: Leo Famulari <leo@famulari.name>
To: Hartmut Goebel <h.goebel@crazy-compilers.com>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: New python build system merged
Date: Wed, 30 Nov 2016 05:41:18 -0500 [thread overview]
Message-ID: <20161130104117.GA25579@jasmine> (raw)
In-Reply-To: <20161129211200.GA17078@jasmine>
On Tue, Nov 29, 2016 at 04:12:00PM -0500, Leo Famulari wrote:
> There is still at least one new failure, borg.
Most of the test failures can be fixed by using the
(add-installed-pythonpath) procedure to ensure that the installed borg
can be found by the test suite.
But there are still 4 failures involving FUSE. They all fail as shown
below.
Is it expected for the build environment to have FUSE? They were skipped
with the old Python build system [0], so I've disabled them in
1d60f7c2b38733b031519a48771c44d20acb785d for
the time being.
[0] https://hydra.gnu.org/build/1648289/log#line-544
=================================== FAILURES ===================================
__________________________ ArchiverTestCase.test_fuse __________________________
self = <borg.testsuite.archiver.ArchiverTestCase testMethod=test_fuse>
@unittest.skipUnless(has_llfuse, 'llfuse not installed')
def test_fuse(self):
def has_noatime(some_file):
atime_before = os.stat(some_file).st_atime_ns
try:
os.close(os.open(some_file, flags_noatime))
except PermissionError:
return False
else:
atime_after = os.stat(some_file).st_atime_ns
noatime_used = flags_noatime != flags_normal
return noatime_used and atime_before == atime_after
self.cmd('init', self.repository_location)
self.create_test_files()
have_noatime = has_noatime('input/file1')
self.cmd('create', self.repository_location + '::archive', 'input')
self.cmd('create', self.repository_location + '::archive2', 'input')
if has_lchflags:
# remove the file we did not backup, so input and mount become equal
os.remove(os.path.join('input', 'flagfile'))
mountpoint = os.path.join(self.tmpdir, 'mountpoint')
# mount the whole repository, archive contents shall show up in archivename subdirs of mountpoint:
> with self.fuse_mount(self.repository_location, mountpoint):
borg/testsuite/archiver.py:1042:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/gnu/store/alk9r3rir93pjmv8im20f8xrvv90219z-python-3.5.2/lib/python3.5/contextlib.py:59: in __enter__
return next(self.gen)
borg/testsuite/__init__.py:110: in fuse_mount
self.cmd(*args, fork=True)
borg/testsuite/archiver.py:235: in cmd
self.assert_equal(ret, exit_code)
E AssertionError: 2 != 0
----------------------------- Captured stdout call -----------------------------
fuse: device not found, try 'modprobe fuse' first
next prev parent reply other threads:[~2016-11-30 10:41 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-25 12:49 Please set up hdyra-job for python-branch Hartmut Goebel
2016-11-26 4:48 ` Leo Famulari
2016-11-28 9:21 ` Hartmut Goebel
2016-11-28 13:40 ` Ludovic Courtès
2016-11-29 9:54 ` Hartmut Goebel
2016-11-29 14:27 ` Ludovic Courtès
2016-11-29 18:09 ` New python build system merged Hartmut Goebel
2016-11-29 21:12 ` Leo Famulari
2016-11-30 8:20 ` Danny Milosavljevic
2016-11-30 15:02 ` Hartmut Goebel
2016-11-30 16:59 ` Leo Famulari
2016-11-30 17:26 ` Leo Famulari
2016-11-30 17:30 ` Leo Famulari
2016-12-01 14:10 ` Ludovic Courtès
2016-11-30 17:30 ` Hartmut Goebel
2016-11-30 20:41 ` Leo Famulari
2016-12-01 14:13 ` Hydra replacement and all that Ludovic Courtès
2016-11-30 10:41 ` Leo Famulari [this message]
2016-11-29 23:46 ` New python build system merged ng0
2016-11-30 12:47 ` Ludovic Courtès
2016-11-30 13:58 ` ng0
2016-11-30 12:40 ` Ludovic Courtès
2016-12-05 19:30 ` Leo Famulari
2016-12-06 9:22 ` 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=20161130104117.GA25579@jasmine \
--to=leo@famulari.name \
--cc=guix-devel@gnu.org \
--cc=h.goebel@crazy-compilers.com \
/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).