[英]Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project marytts-lang-en: There are test failures
I'm trying to build the maryTTS open Source text-to-speech engine , But i'm getting test-failures please help me out on this error 我正在尝试构建maryTTS开源文本转语音引擎,但是我遇到了测试失败,请帮助我解决此错误
Command i have used to build maryTTS project (Branch 5.x) is
**avinash@lb:~/lb-work/text-to-speach-engine/mary5.x/marytts$ mvn install**
error is pasted below
Tests run: 23, Failures: 1, Errors: 0, Skipped: 22
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] MaryTTS ........................................... SUCCESS [2.755s]
[INFO] marytts-common .................................... SUCCESS [8.488s]
[INFO] marytts-signalproc ................................ SUCCESS [8.237s]
[INFO] marytts-runtime ................................... SUCCESS [18.343s]
[INFO] marytts-lang-de ................................... SUCCESS [2.912s]
[INFO] marytts-lang-en ................................... FAILURE [3.120s]
[INFO] marytts-lang-te ................................... SKIPPED
[INFO] marytts-lang-tr ................................... SKIPPED
[INFO] marytts-lang-ru ................................... SKIPPED
[INFO] marytts-lang-it ................................... SKIPPED
[INFO] marytts-lang-fr ................................... SKIPPED
[INFO] marytts-lang-sv ................................... SKIPPED
[INFO] marytts-lang-lb ................................... SKIPPED
[INFO] marytts-languages ................................. SKIPPED
[INFO] voice-cmu-slt-hsmm ................................ SKIPPED
[INFO] marytts-client .................................... SKIPPED
[INFO] marytts-builder ................................... SKIPPED
[INFO] marytts-redstart .................................. SKIPPED
[INFO] marytts-transcription ............................. SKIPPED
[INFO] marytts-assembly-builder .......................... SKIPPED
[INFO] marytts-assembly-runtime .......................... SKIPPED
[INFO] marytts-assembly .................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 44.511s
[INFO] Finished at: Thu Dec 14 12:00:06 IST 2017
[INFO] Final Memory: 23M/552M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project marytts-lang-en: There are test failures. [错误]无法在项目marytts-lang-en上执行目标org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test(默认测试):存在测试失败。
[ERROR] [ERROR] Please refer to /home/avinash/lb-work/text-to-speach-engine/mary5.x/marytts/marytts-languages/marytts-lang-en/target/surefire-reports for the individual test results. [错误] [错误]请参阅/home/avinash/lb-work/text-to-speach-engine/mary5.x/marytts/marytts-languages/marytts-lang-zh/target/surefire-reports检测结果。 [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [错误]-> [帮助1] [错误] [错误]要查看错误的完整堆栈跟踪,请使用-e开关重新运行Maven。 [ERROR] Re-run Maven using the -X switch to enable full debug logging. [错误]使用-X开关重新运行Maven以启用完整的调试日志记录。 [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :marytts-lang-en [错误] [错误]有关错误和可能的解决方案的更多信息,请阅读以下文章:[错误] [帮助1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [错误] [ [错误]更正问题后,您可以使用命令[错误] mvn -rf:marytts-lang-en恢复构建
can you try doing "clean install" in 'Goals' ? 您可以尝试在“目标”中进行“全新安装”吗? Click on "Skip Tests" checkbox while running it. 在运行时单击“跳过测试”复选框。
I got the solution actually the problem with the branch i'm trying to run . 我得到了解决方案,实际上是我要运行的分支的问题。 Adding new language in MaryTTS is supports only for MaryTTS 5.x branch it doesn't support in master branch 仅在MaryTTS 5.x分支中支持在MaryTTS中添加新语言,而在master分支中则不支持
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.