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 f151ffa69a1e1d0f34f551e763bd07b7264cc2bb
Author: Jürg Billeter <[email protected]>
AuthorDate: Wed Nov 27 11:19:56 2019 +0100

    tests/integration/compose.py: xfail for buildbox-run-userchroot
    
    The root directory is not allowed to be writable by userchroot.
    
        + sh -e -c mkdir -p /tests
        mkdir: can't create directory '/tests': Permission denied
        Command 'mkdir -p /tests' failed with exitcode 1
---
 tests/integration/compose.py | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/tests/integration/compose.py b/tests/integration/compose.py
index 2f38aa6..f08f2e8 100644
--- a/tests/integration/compose.py
+++ b/tests/integration/compose.py
@@ -8,7 +8,7 @@ from buildstream import _yaml
 
 from buildstream.testing import cli_integration as cli  # pylint: 
disable=unused-import
 from buildstream.testing.integration import walk_dir
-from buildstream.testing._utils.site import HAVE_SANDBOX
+from buildstream.testing._utils.site import HAVE_SANDBOX, BUILDBOX_RUN
 
 
 pytestmark = pytest.mark.integration
@@ -133,6 +133,10 @@ def test_compose_include(cli, datafiles, include_domains, 
exclude_domains, expec
 
 @pytest.mark.datafiles(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_compose_run_integration(cli, datafiles):
     project = str(datafiles)
     checkout = os.path.join(cli.directory, "checkout")

Reply via email to