From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: New python build system merged Date: Wed, 30 Nov 2016 05:41:18 -0500 Message-ID: <20161130104117.GA25579@jasmine> References: <58383346.5090608@crazy-compilers.com> <20161126044853.GB15256@jasmine> <583BF716.2060009@crazy-compilers.com> <87d1hfd8p8.fsf@gnu.org> <583D503D.6050209@crazy-compilers.com> <87k2bm745d.fsf@gnu.org> <583DC457.6060200@crazy-compilers.com> <20161129211200.GA17078@jasmine> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57660) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cC2Kb-0008TO-JO for guix-devel@gnu.org; Wed, 30 Nov 2016 05:41:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cC2KW-0007YX-NW for guix-devel@gnu.org; Wed, 30 Nov 2016 05:41:41 -0500 Content-Disposition: inline In-Reply-To: <20161129211200.GA17078@jasmine> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Hartmut Goebel Cc: guix-devel 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 = @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