ERROR: /models/research/syntaxnet/dragnn/tools/BUILD:147:1: failed to create symbolic link 'dragnn/tools/model_trainer_test': file 'dragnn/tools/model_trainer_test.sh' is not executable #4186
cd /models/research/syntaxnet && bazel build ... --subcommands --explain=/tmp/bazel_build_log.txt --verbose_explanations=True --verbose_failures
What is the top-level directory of the model you are using
/models/research/syntaxnet
Have I written custom code (as opposed to using a stock example script provided in TensorFlow)
Spent past three months migrating step by step Syntaxnet towards Bazel and Tensorflow current releases instead of Bazel 0.5.4 and Tensorflow 1.3 to migrate towards:
Bazel 0.12.0 (initially 0.9.0)
Tensorflow r1.8 (initially r1.6)
Describe the problem
After clearing a lot of obstacles I reach the far end of the build process with much warning but no error up to executing
ERROR: /models/research/syntaxnet/dragnn/tools/BUILD:147:1: failed to create symbolic link 'dragnn/tools/model_trainer_test': file 'dragnn/tools/model_trainer_test.sh' is not executable
Introspecting /models/research/syntaxnet/dragnn/tools/BUILD:147:1 leads to the following function
ERROR: /models/research/syntaxnet/dragnn/tools/BUILD:147:1: failed to create symbolic link 'dragnn/tools/model_trainer_test': file 'dragnn/tools/model_trainer_test.sh' is not executable
OS Platform and Distribution
TensorFlow installed from
TensorFlow version
Bazel version
Exact command to reproduce
cd /models/research/syntaxnet && bazel build ... --subcommands --explain=/tmp/bazel_build_log.txt --verbose_explanations=True --verbose_failures
What is the top-level directory of the model you are using
Have I written custom code (as opposed to using a stock example script provided in TensorFlow)
Spent past three months migrating step by step Syntaxnet towards Bazel and Tensorflow current releases instead of Bazel 0.5.4 and Tensorflow 1.3 to migrate towards:
Describe the problem
After clearing a lot of obstacles I reach the far end of the build process with much warning but no error up to executing
Introspecting /models/research/syntaxnet/dragnn/tools/BUILD:147:1 leads to the following function
After attempting to launch the /bin/bash script within the docker container's console
/models/research/syntaxnet/dragnn/tools# /bin/bash model_train
I get the following error message
Introspecting model_trainer_test.sh I find the following variables declaration
Back to the console trying to output each of the variable's values, for example
echo ${TEST_SRCDIR}
orecho ${DRAGNN_DIR}
for instance results in empty variablesI find other references elsewhere in the code, e.g.
But from the bazel log it seems my build has failed before I could get there.
@bogatyy @nealwu you edited those files, any clue? @terryykoo, any precious insight of yours to impart?
Error logs