This is an automated email from the ASF dual-hosted git repository.

tvb pushed a commit to branch tlater/buildbox-run-userchroot
in repository https://gitbox.apache.org/repos/asf/buildstream.git

commit 6e417fa512b0766ed28b1c8c20957a5a0d5f32aa
Author: Jürg Billeter <[email protected]>
AuthorDate: Tue Nov 26 11:51:43 2019 +0100

    tests/integration/filter.py: xfail for buildbox-run-userchroot
    
    The root directory is not allowed to be writable by userchroot.
    
        + sh -e -c touch /foo
        touch: /foo: Permission denied
---
 tests/integration/filter.py | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/tests/integration/filter.py b/tests/integration/filter.py
index 2fca895..12061fe 100644
--- a/tests/integration/filter.py
+++ b/tests/integration/filter.py
@@ -7,7 +7,7 @@ import pytest
 
 from buildstream.testing import cli  # pylint: disable=unused-import
 from buildstream.testing.integration import assert_contains
-from buildstream.testing._utils.site import HAVE_SANDBOX
+from buildstream.testing._utils.site import HAVE_SANDBOX, BUILDBOX_RUN
 
 
 pytestmark = pytest.mark.integration
@@ -18,6 +18,10 @@ DATA_DIR = 
os.path.join(os.path.dirname(os.path.realpath(__file__)), "project")
 
 @pytest.mark.datafiles(os.path.join(DATA_DIR))
 @pytest.mark.skipif(not HAVE_SANDBOX, reason="Only available with a 
functioning sandbox")
[email protected](
+    HAVE_SANDBOX == "buildbox-run" and BUILDBOX_RUN == 
"buildbox-run-userchroot",
+    reason="Root directory not writable with userchroot",
+)
 def test_filter_pass_integration(datafiles, cli):
     project = str(datafiles)
 

Reply via email to