[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New python build system merged
From: |
Leo Famulari |
Subject: |
Re: New python build system merged |
Date: |
Wed, 30 Nov 2016 05:41:18 -0500 |
User-agent: |
Mutt/1.7.1 (2016-10-04) |
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
- Re: Please set up hdyra-job for python-branch, (continued)
- Re: Please set up hdyra-job for python-branch, Ludovic Courtès, 2016/11/29
- New python build system merged, Hartmut Goebel, 2016/11/29
- Re: New python build system merged, Leo Famulari, 2016/11/29
- Re: New python build system merged, Danny Milosavljevic, 2016/11/30
- Re: New python build system merged, Hartmut Goebel, 2016/11/30
- Re: New python build system merged, Leo Famulari, 2016/11/30
- Re: New python build system merged, Leo Famulari, 2016/11/30
- Re: New python build system merged, Leo Famulari, 2016/11/30
- Re: New python build system merged, Hartmut Goebel, 2016/11/30
- Re: New python build system merged, Leo Famulari, 2016/11/30
- Re: New python build system merged,
Leo Famulari <=
- Re: New python build system merged, ng0, 2016/11/29
- Re: New python build system merged, Ludovic Courtès, 2016/11/30
- Re: New python build system merged, ng0, 2016/11/30
- Re: New python build system merged, Ludovic Courtès, 2016/11/30