1

我一直在尝试按照 ReadMe.md 中的说明进行操作,并且每次测试都失败了。

从命令行:

 bazel test //magenta/...
 .....
 WARNING: /private/var/tmp/_bazel_KaitlynChait/196a379e499c76d9a4585793a4982323/external/protobuf/WORKSPACE:1: Workspace name in /private/var/tmp/_bazel_KaitlynChait/196a379e499c76d9a4585793a4982323/external/protobuf/WORKSPACE (@__main__) does not match the name given in the repository's definition (@protobuf); this will cause a build error in future versions.
 INFO: Found 30 targets and 5 test targets...
 FAIL: //magenta/lib:melodies_lib_test (see /private/var/tmp/_bazel_KaitlynChait/196a379e499c76d9a4585793a4982323/execroot/magenta/bazel-out/local-opt/testlogs/magenta/lib/melodies_lib_test/test.log).
 FAIL: //magenta/lib:note_sequence_io_test (see /private/var/tmp/_bazel_KaitlynChait/196a379e499c76d9a4585793a4982323/execroot/magenta/bazel-out/local-opt/testlogs/magenta/lib/note_sequence_io_test/test.log).
 FAIL: //magenta/scripts:convert_midi_dir_to_note_sequences_test (see /private/var/tmp/_bazel_KaitlynChait/196a379e499c76d9a4585793a4982323/execroot/magenta/bazel-out/local-opt/testlogs/magenta/scripts/convert_midi_dir_to_note_sequences_test/test.log).
 FAIL: //magenta/lib:midi_io_test (see /private/var/tmp/_bazel_KaitlynChait/196a379e499c76d9a4585793a4982323/execroot/magenta/bazel-out/local-opt/testlogs/magenta/lib/midi_io_test/test.log).
 FAIL: //magenta/lib:sequence_to_melodies_test (see /private/var/tmp/_bazel_KaitlynChait/196a379e499c76d9a4585793a4982323/execroot/magenta/bazel-out/local-opt/testlogs/magenta/lib/sequence_to_melodies_test/test.log).
 INFO: Elapsed time: 57.036s, Critical Path: 38.75s
 //magenta/lib:melodies_lib_test                                          FAILED in 24.3s
   /private/var/tmp/_bazel_KaitlynChait/196a379e499c76d9a4585793a4982323/execroot/magenta/bazel-out/local-opt/testlogs/magenta/lib/melodies_lib_test/test.log
 //magenta/lib:midi_io_test                                               FAILED in 1.2s
   /private/var/tmp/_bazel_KaitlynChait/196a379e499c76d9a4585793a4982323/execroot/magenta/bazel-out/local-opt/testlogs/magenta/lib/midi_io_test/test.log
 //magenta/lib:note_sequence_io_test                                      FAILED in 24.2s
   /private/var/tmp/_bazel_KaitlynChait/196a379e499c76d9a4585793a4982323/execroot/magenta/bazel-out/local-opt/testlogs/magenta/lib/note_sequence_io_test/test.log
 //magenta/lib:sequence_to_melodies_test                                  FAILED in 6.4s
   /private/var/tmp/_bazel_KaitlynChait/196a379e499c76d9a4585793a4982323/execroot/magenta/bazel-out/local-opt/testlogs/magenta/lib/sequence_to_melodies_test/test.log

 //magenta/scripts:convert_midi_dir_to_note_sequences_test                FAILED in 24.2s
   /private/var/tmp/_bazel_KaitlynChait/196a379e499c76d9a4585793a4982323/execroot/magenta/bazel-out/local-opt/testlogs/magenta/scripts/convert_midi_dir_to_note_sequences_test/test.log

 Executed 5 out of 5 tests: 5 fail locally.
4

1 回答 1

0

包括失败消息中列出的一些日志将有助于确定跟踪问题,但这可能与此错误报告有关:https ://github.com/tensorflow/magenta/issues/95

于 2016-07-21T18:07:34.970 回答