[SyntaxNet] bazel build failed - 11 tests pass and 6 fail locally.
I'm trying to set up SyntaxNet on Google Cloud Platform (Compute Engine), to no avail. Building with bazel with bazel test syntaxnet/... util/utf8/... returns the following error (after a good hour of running):
//syntaxnet:arc_standard_transitions_test PASSED in 0.0s
//syntaxnet:binary_segment_state_test PASSED in 0.1s
//syntaxnet:binary_segment_transitions_test PASSED in 0.0s
//syntaxnet:char_properties_test PASSED in 0.1s
//syntaxnet:morphology_label_set_test PASSED in 0.0s
//syntaxnet:parser_features_test PASSED in 0.0s
//syntaxnet:segmenter_utils_test PASSED in 0.1s
//syntaxnet:sentence_features_test PASSED in 0.0s
//syntaxnet:shared_store_test PASSED in 0.1s
//syntaxnet:tagger_transitions_test PASSED in 0.1s
//util/utf8:unicodetext_unittest PASSED in 0.1s
//syntaxnet:beam_reader_ops_test FAILED in 1.4s
/home/petterhohle/.cache/bazel/_bazel_petterhohle/3d964a5f8bb9549c0e6640f5af8f5bc0/execroot/syntaxnet/bazel-out/local-opt/testlogs/syntaxnet/beam_reader_ops_test/test.log
//syntaxnet:graph_builder_test FAILED in 1.5s
/home/petterhohle/.cache/bazel/_bazel_petterhohle/3d964a5f8bb9549c0e6640f5af8f5bc0/execroot/syntaxnet/bazel-out/local-opt/testlogs/syntaxnet/graph_builder_test/test.log
//syntaxnet:lexicon_builder_test FAILED in 1.4s
/home/petterhohle/.cache/bazel/_bazel_petterhohle/3d964a5f8bb9549c0e6640f5af8f5bc0/execroot/syntaxnet/bazel-out/local-opt/testlogs/syntaxnet/lexicon_builder_test/test.log
//syntaxnet:parser_trainer_test FAILED in 0.1s
/home/petterhohle/.cache/bazel/_bazel_petterhohle/3d964a5f8bb9549c0e6640f5af8f5bc0/execroot/syntaxnet/bazel-out/local-opt/testlogs/syntaxnet/parser_trainer_test/test.log
//syntaxnet:reader_ops_test FAILED in 2.7s
/home/petterhohle/.cache/bazel/_bazel_petterhohle/3d964a5f8bb9549c0e6640f5af8f5bc0/execroot/syntaxnet/bazel-out/local-opt/testlogs/syntaxnet/reader_ops_test/test.log
//syntaxnet:text_formats_test FAILED in 1.5s
/home/petterhohle/.cache/bazel/_bazel_petterhohle/3d964a5f8bb9549c0e6640f5af8f5bc0/execroot/syntaxnet/bazel-out/local-opt/testlogs/syntaxnet/text_formats_test/test.log
Similar errors in issues #82, #177 and #196. However, in those issues, the error was caused by wrong bazel version (not 0.2.2 - before the release of 0.3.0 and 0.3.1). I am running bazel 0.3.1, as suggested in the installation instructions, so that cannot be the issue here? In all the test.log files the problem seems to be that permission is denied to context.pbtxt, which doesn't make much sense.
Configuration:
- bazel 0.3.1
- python 2.7.9
- protobuf 3.0.0b2
Very simple fix: run as superuser, i.e., sudo bazel test. That should perhaps have been an obvious thing to try when you get a permission denied error. A feeling of shame ensues.
@petterhh i tried and tests are passed. when i run echo 'bob brought the pizza' | syntaxnet/demo.sh it says permission denied . even i tried as superuser. what should i do now?