apache / hop

Hop Orchestration Platform
https://hop.apache.org/
Apache License 2.0
983 stars 352 forks source link

[Bug]: error during build - Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M5:test (default-test) on project hop-core: There are test failures. #3640

Open jefersonnavarro opened 9 months ago

jefersonnavarro commented 9 months ago

Apache Hop version?

2.8.0

Java version?

openjdk version "21" 2023-09-19

Operating system

Windows

What happened?

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M5:test (default-test) on project hop-core: There are test failures. [ERROR] [ERROR] Please refer to /home/jefersonn/source_code/hop/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


Test set: org.apache.hop.core.xml.XmlHandlerUnitTest

Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.045 s <<< FAILURE! - in org.apache.hop.core.xml.XmlHandlerUnitTest org.apache.hop.core.xml.XmlHandlerUnitTest.addTagValueBinary Time elapsed: 0.002 s <<< FAILURE! org.junit.ComparisonFailure: expected:<...ytedata>H4sIAAAAAAAA[AA]tJLS5RcEksSQQAL4PL8Q...> but was:<...ytedata>H4sIAAAAAAAA[/w]tJLS5RcEksSQQAL4PL8Q...> at org.apache.hop.core.xml.XmlHandlerUnitTest.addTagValueBinary(XmlHandlerUnitTest.java:218)

Issue Priority

Priority: 0

Issue Component

Component: Other

hansva commented 9 months ago

This will be caused by the java version. Try building with java 11