Hi!

这是说单元测试有失败的 case,可以往上翻一翻找到具体是哪个 case 报给社区。

不过如果单纯只是为了编译,可以在 mvn 命令后添加 -DskipTests
选项来跳过测试。所有模块的测试总时长很长的(小时级别),如果只是编译的话只要十几分钟就编译好了。

Michael Ran <greemqq...@163.com> 于2021年12月29日周三 14:16写道:

> dear all :
>             有朋友遇到过编译flink 1.15 master  出现这个异常吗?
>
>
>
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M5:test (default-test)
> on project flink-runtime: There are test failures.
> [ERROR]
> [ERROR] Please refer to
> /Users/qqr/work/git/fork/flink/flink-runtime/target/surefire-reports for
> the individual test results.
> [ERROR] Please refer to dump files (if any exist) [date].dump,
> [date]-jvmRun[N].dump and [date].dumpstream.
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [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 <args> -rf :flink-runtime
>
>

回复