execute 0 out of 12 tests: 12 were skipped
no test was done. i just followed the following commands, git clone --recursive https://github.com/tensorflow/models.git (ok) cd models/syntaxnet/tensorflow ./configure (press n to tensorflow using gpu) bazel test syntaxnet/... util/utf8/... (nothing happened)
why? thanks
did you cd ..?
of course....
I managed to build the project on following virtual environment:
- Ubuntu 16.04
- gcc, g++ 4.8.5
- Python 4.7.11
- 8GB RAM (I saw failures with 2GB)
The failure I saw before using 8GB of memory: C++ compilation of rule '@tf//tensorflow/core/kernels:cast_op' failed: gcc failed: error executing command /usr/bin/gcc ... gcc: internal compiler error: Killed (program cc1plus)
silimar problem:
./configure (press n to use CPU mode) bazel test syntaxnet/... util/utf8/...
After a long-time compilation, got 0 out of 12 skipped.
yeah allocating 8 gb of ram seems to work for me
i get the same problem
.gcc: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See file:///usr/share/doc/gcc-4.8/README.Bugs for instructions. INFO: Elapsed time: 1679.148s, Critical Path: 1648.18s //syntaxnet:arc_standard_transitions_test NO STATUS //syntaxnet:beam_reader_ops_test NO STATUS //syntaxnet:graph_builder_test NO STATUS //syntaxnet:lexicon_builder_test NO STATUS //syntaxnet:parser_features_test NO STATUS //syntaxnet:parser_trainer_test NO STATUS //syntaxnet:reader_ops_test NO STATUS //syntaxnet:sentence_features_test NO STATUS //syntaxnet:shared_store_test NO STATUS //syntaxnet:tagger_transitions_test NO STATUS //syntaxnet:text_formats_test NO STATUS //util/utf8:unicodetext_unittest NO STATUS
Executed 0 out of 12 tests: 12 were skipped.
how can i solve it
Could "internal compiler error: Killed (program cc1plus)" still be a memory problem? I've seen this error go away in one case by increasing swap space.
I have the same error, I get external/tf/tensorflow/core/platform/file_system.h:189:11: error: overriding 'virtual tensorflow::ReadOnlyMemoryRegion::~ReadOnlyMemoryRegion() noexcept (true)' cc1plus: warning: unrecognized command line option "-Wno-free-nonheap-object" [enabled by default]
And "Executed 0 out of 12 tests: 12 were skipped."
I'm experiencing a similar problem (Executed 0 out of 12 tests: 12 were skipped). Having a look at the log file, my guess is that the issue is caused by the C++ compiler. Any suggestion on the recommended version of the C++ compiler? I'm using 4.6.4.
4.9.x
@veggiedefender Thanks, using a more recent version of the C++ compiler solves part of the issues. Now it executes all the tests. However, 6 fail locally (see below). Having a look at the log files the common pattern is the error message "undefined symbol: clock_gettime".
INFO: Elapsed time: 744.500s, Critical Path: 729.55s //syntaxnet:arc_standard_transitions_test PASSED in 0.0s //syntaxnet:parser_features_test PASSED in 0.0s //syntaxnet:sentence_features_test PASSED in 0.0s //syntaxnet:shared_store_test PASSED in 0.0s //syntaxnet:tagger_transitions_test PASSED in 0.0s //util/utf8:unicodetext_unittest PASSED in 0.0s //syntaxnet:beam_reader_ops_test FAILED in 0.1s ~/.cache/bazel/_bazel_lavelli/2579437c6dfd1fd91ec5f476674f68d0/syntaxnet/bazel-out/local-opt/testlogs/syntaxnet/beam_reader_ops_test/test.log //syntaxnet:graph_builder_test FAILED in 0.1s ~/.cache/bazel/_bazel_lavelli/2579437c6dfd1fd91ec5f476674f68d0/syntaxnet/bazel-out/local-opt/testlogs/syntaxnet/graph_builder_test/test.log //syntaxnet:lexicon_builder_test FAILED in 0.1s ~/.cache/bazel/_bazel_lavelli/2579437c6dfd1fd91ec5f476674f68d0/syntaxnet/bazel-out/local-opt/testlogs/syntaxnet/lexicon_builder_test/test.log //syntaxnet:parser_trainer_test FAILED in 0.1s ~/.cache/bazel/_bazel_lavelli/2579437c6dfd1fd91ec5f476674f68d0/syntaxnet/bazel-out/local-opt/testlogs/syntaxnet/parser_trainer_test/test.log //syntaxnet:reader_ops_test FAILED in 0.1s ~/.cache/bazel/_bazel_lavelli/2579437c6dfd1fd91ec5f476674f68d0/syntaxnet/bazel-out/local-opt/testlogs/syntaxnet/reader_ops_test/test.log //syntaxnet:text_formats_test FAILED in 0.1s ~/.cache/bazel/_bazel_lavelli/2579437c6dfd1fd91ec5f476674f68d0/syntaxnet/bazel-out/local-opt/testlogs/syntaxnet/text_formats_test/test.log
Executed 12 out of 12 tests: 6 tests pass and 6 fail locally. There were tests whose specified size is too big. Use the --test_verbose_timeout_warnings command line option to see which ones these are.
Hi, I have updated my gcc version to 6.1 and now I have the same problem that @lavelli. Searching on google I found that a fix it's updating glibc to version 2.17 or higher.
I have tried it, because I have the 2.15 but when I try to update it with "apt-get install libc6", I get the message that I have the lastest version but when I do 'ldd --version" I still have 2.15
How can I update it? Thanks
@calberti: Do you know what the issue is here?
I have solved the problem!! I updated ubuntu from 12.04 to 14.04. Opened a terminal and type "ldd --version". You must see something like that:
ldd (Ubuntu EGLIBC 2.19-0ubuntu6.9) 2.19
You need have a version > 2.15 and only it's possible in a ubuntu version > 12.04.
Regards!
Closing this issues since it seems resolved but feel free to reopen.