Hi Team,
I am able to build commons-compress from source code, but while trying to
run the tests it fails with the following error. Please assist me on how to
fix this

> [INFO] Results:
> [INFO]
> [ERROR] Failures:
> [ERROR]   TarArchiveEntryTest.testLinuxFileInformationFromFile:199
> expected: not equal but was: <0>
> [ERROR]   TarArchiveEntryTest.testLinuxFileInformationFromPath:208
> expected: not equal but was: <0>
> [ERROR] Errors:
> [ERROR]   ListerTest.testMain:47 ? MalformedInput Input length = 1
> [ERROR]
> GzipCompressorOutputStreamTest.testFileNameChinesePercentEncoded:71->testFileName:38
> ? InvalidPath Malformed input or input contains unmappable characters:
> ??????.xml12263541264916463068??????.xml
> [INFO]
> [ERROR] Tests run: 2746, Failures: 2, Errors: 2, Skipped: 27
> [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time:  46.075 s
> [INFO] Finished at: 2024-06-24T12:26:41Z
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:3.2.5:test (default-test) on
> project commons-compress: There are test failures.
>

Source URL:
https://github.com/apache/commons-compress/archive/refs/tags/rel/commons-compress-1.26.0.zip
BUILD COMMAND: mvn clean install -DskipTests
TEST COMMAND: mvn test
JAVA Version: 17.0.8
MAVEN Version: 3.9.4

Regards,
Sumera

Reply via email to