bazelbuild / sandboxfs

A virtual file system for sandboxing
Apache License 2.0
372 stars 39 forks source link

rules_nodejs tests failing #74

Open Globegitter opened 5 years ago

Globegitter commented 5 years ago

Clone https://github.com/bazelbuild/rules_nodejs and run bazel test --experimental_use_sandboxfs //... on latest master (I ran on commit 4d0d9ab457fc9eddc30571ac26aa1479f2afa57a) and you will see all tests failing with:

src/main/tools/linux-sandbox-pid1.cc:198: "mount(/home/markus/.cache/bazel/_bazel_markus/b5e90fb44c2dddce81f37d15a927885e/sandbox/linux-sandbox/84/execroot/build_bazel_rules_nodejs/_tmp/ac725c8d6b5fe71de53c076523af737f, /home/markus/.cache/bazel/_bazel_markus/b5e90fb44c2dddce81f37d15a927885e/sandbox/linux-sandbox/84/execroot/build_bazel_rules_nodejs/_tmp/ac725c8d6b5fe71de53c076523af737f, nullptr, MS_BIND | MS_REC, nullptr)": No such file or directory

I am running on Linux elementary os 5 (Ubuntu 18.04) and bazel 0.23.0rc3. This might very well be an issue with rules_nodejs and not sandboxfs but it is strange that the error comes directly from linux-sandbox-pid1.cc. If you prefer I am also happy to open up an issue on rules_nodejs. Just let me know.

kornholi commented 5 years ago

https://github.com/bazelbuild/bazel/issues/7470