尼克迈尔 2022 年 10 月 29 日 我在 Windows 下从源代码构建时遇到问题。我可以在 Linux 下的同一次提交中毫无问题地构建。 D:\source\Universal-G-Code-Sender>java -version openjdk version "13.0.1" 2019-10-15 OpenJDK Runtime Environment AdoptOpenJDK (build 13.0.1+9) OpenJDK 64-Bit Server VM AdoptOpenJDK (build 13.0.1+9, mixed mode, sharing) D:\source\Universal-G-Code-Sender>mvn -version Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63) Maven home: d:\Tools\apache-maven-3.8.6 Java version: 13.0.1, vendor: AdoptOpenJDK, runtime: d:\Tools\jdk-13.0.1.9-hotspot Default locale: en_US, platform encoding: Cp1252 OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" D:\source\Universal-G-Code-Sender>mvn install ... [INFO] [INFO] Results: [INFO] [ERROR] Errors: [ERROR] GrblControllerTest.beginStreamingShouldQueueTheCommandsInTheStream:1617 » IO C... [ERROR] FixturesTest.testArcFixtures:46->runAllFixturesInPath:99->runFixture:133->checkOrInitializeFixture:153->checkFixture:166 » UncheckedIO [ERROR] FixturesTest.testArcFixturesCoarse:57->runAllFixturesInPath:99->runFixture:133->checkOrInitializeFixture:153->checkFixture:166 » UncheckedIO [ERROR] FixturesTest.testArcWithMeshLevelerFixtures:67->runAllFixturesInPath:99->runFixture:133->checkOrInitializeFixture:153->checkFixture:166 » UncheckedIO [ERROR] FixturesTest.testRunFromFixtures:85->runAllFixturesInPath:99->runFixture:133->checkOrInitializeFixture:153->checkFixture:166 » UncheckedIO [INFO] [ERROR] Tests run: 456, Failures: 0, Errors: 5, Skipped: 2 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for ugs-parent 2.0-SNAPSHOT: [INFO] [INFO] ugs-parent ......................................... SUCCESS [ 0.384 s] [INFO] ugs-core ........................................... FAILURE [ 21.745 s] [INFO] ugs-pendant ........................................ SKIPPED [INFO] ugs-cli ............................................ SKIPPED [INFO] ugs-classic ........................................ SKIPPED [INFO] ugs-platform-parent ................................ SKIPPED [INFO] ugs-platform-branding .............................. SKIPPED [INFO] ugs-platform-ugslib ................................ SKIPPED [INFO] ugs-platform-ugscore ............................... SKIPPED [INFO] ugs-platform-visualizer ............................ SKIPPED [INFO] ugs-platform-plugin-workflow ....................... SKIPPED [INFO] ugs-platform-gcode-editor .......................... SKIPPED [INFO] ugs-platform-surfacescanner ........................ SKIPPED [INFO] ProbeModule ........................................ SKIPPED [INFO] DowelModule ........................................ SKIPPED [INFO] GcodeTools ......................................... SKIPPED [INFO] ugs-platform-plugin-jog ............................ SKIPPED [INFO] ugs-platform-plugin-setup-wizard ................... SKIPPED [INFO] ugs-platform-welcome-page .......................... SKIPPED [INFO] ugs-platform-plugin-joystick ....................... SKIPPED [INFO] ugs-platform-plugin-cloud-storage .................. SKIPPED [INFO] ugs-platform-plugin-toolbox ........................ SKIPPED [INFO] ugs-platform-plugin-dro ............................ SKIPPED [INFO] ugs-platform-plugin-designer ....................... SKIPPED [INFO] ugs-platform-plugin-filebrowser .................... SKIPPED [INFO] ugs-platform-app ................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 22.631 s [INFO] Finished at: 2022-10-28T13:01:24-06:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M5:test (default-test) on project ugs-core: There are test failures. [ERROR] [ERROR] Please refer to D:\source\Universal-G-Code-Sender\ugs-core\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 :ugs-core surefire-reports.zip 1个您必须先登录才能投票 回复:0 个建议答案 免费注册 在 GitHub 上加入此对话。已有帐户? 登录评论 类别 🙏 帮助 标签 还没有 1名参加者 喜欢 (0)
2022 年 10 月 29 日
我在 Windows 下从源代码构建时遇到问题。我可以在 Linux 下的同一次提交中毫无问题地构建。
surefire-reports.zip