[ARVADOS] updated: 1.3.0-1104-gd6f2d8862

Git user git at public.curoverse.com
Thu Jun 20 19:36:02 UTC 2019


Summary of changes:
 build/run-tests.sh                     | 2 ++
 services/fuse/arvados_fuse/__init__.py | 4 ++--
 services/fuse/setup.py                 | 2 +-
 services/fuse/tests/test_mount_type.py | 3 ++-
 4 files changed, 7 insertions(+), 4 deletions(-)

       via  d6f2d88621fb4f70674e669fe92df23f3e866dc4 (commit)
      from  8a9d909c5a407a9aedcdc333ec4cfa3f1762b3c3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit d6f2d88621fb4f70674e669fe92df23f3e866dc4
Author: Eric Biagiotti <ebiagiotti at veritasgenetics.com>
Date:   Thu Jun 20 15:35:25 2019 -0400

    14865: Fixes test mount type test
    
    Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti <ebiagiotti at veritasgenetics.com>

diff --git a/build/run-tests.sh b/build/run-tests.sh
index fa0d8ca7f..43c576948 100755
--- a/build/run-tests.sh
+++ b/build/run-tests.sh
@@ -91,6 +91,7 @@ services/arv-git-httpd
 services/crunchstat
 services/dockercleaner
 services/fuse
+services/fuse:py3
 services/health
 services/keep-web
 services/keepproxy
@@ -991,6 +992,7 @@ pythonstuff=(
     sdk/cwl:py3
     services/dockercleaner:py3
     services/fuse
+    services/fuse:py3
     services/nodemanager
     tools/crunchstat-summary
     tools/crunchstat-summary:py3
diff --git a/services/fuse/arvados_fuse/__init__.py b/services/fuse/arvados_fuse/__init__.py
index f944a9197..76bba952a 100644
--- a/services/fuse/arvados_fuse/__init__.py
+++ b/services/fuse/arvados_fuse/__init__.py
@@ -53,12 +53,12 @@ from __future__ import absolute_import
 from __future__ import division
 from future.utils import viewitems
 from future.utils import native
+from future.utils import listvalues
 from future import standard_library
 standard_library.install_aliases()
 from builtins import next
 from builtins import str
 from builtins import object
-from builtins import dict
 import os
 import sys
 import llfuse
@@ -213,7 +213,7 @@ class InodeCache(object):
 
     def cap_cache(self):
         if self._total > self.cap:
-            for ent in self._entries.values():
+            for ent in listvalues(self._entries):
                 if self._total < self.cap or len(self._entries) < self.min_entries:
                     break
                 self._remove(ent, True)
diff --git a/services/fuse/setup.py b/services/fuse/setup.py
index 28f0c5417..765cd9425 100644
--- a/services/fuse/setup.py
+++ b/services/fuse/setup.py
@@ -39,7 +39,7 @@ setup(name='arvados_fuse',
       ],
       install_requires=[
         'arvados-python-client >= 0.1.20151118035730',
-        'llfuse >= 1.3.6',
+        'llfuse >=1.2, <=1.3.6',
         'python-daemon',
         'ciso8601 >= 2.0.0',
         'setuptools',
diff --git a/services/fuse/tests/test_mount_type.py b/services/fuse/tests/test_mount_type.py
index 79f2f3210..833fdb382 100644
--- a/services/fuse/tests/test_mount_type.py
+++ b/services/fuse/tests/test_mount_type.py
@@ -2,6 +2,7 @@
 #
 # SPDX-License-Identifier: AGPL-3.0
 
+from future.utils import tobytes
 import logging
 import subprocess
 
@@ -21,7 +22,7 @@ class MountTypeTest(IntegrationTest):
             toks[4]
             for toks in [
                 line.split(' ')
-                for line in subprocess.check_output("mount").split("\n")
+                for line in subprocess.check_output(tobytes("mount")).split("\n")
             ]
             if len(toks) > 4 and toks[2] == mnt
         ])

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list