Source: libhtmlcleaner-java
Version: 2.21-2
Severity: serious

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/libhtmlcleaner-java.html

...
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.htmlcleaner.UtilsTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.136 s 
- in org.htmlcleaner.UtilsTest
[INFO] Running org.htmlcleaner.DomSerializerTest
[WARNING] Tests run: 5, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.231 
s - in org.htmlcleaner.DomSerializerTest
[INFO] Running org.htmlcleaner.ScriptTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022 s 
- in org.htmlcleaner.ScriptTest
[INFO] Running org.htmlcleaner.NamespacesTest
[INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.088 s 
- in org.htmlcleaner.NamespacesTest
[INFO] Running org.htmlcleaner.TagBalancingTest
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.292 s 
- in org.htmlcleaner.TagBalancingTest
[INFO] Running org.htmlcleaner.VisitorTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s 
- in org.htmlcleaner.VisitorTest
[INFO] Running org.htmlcleaner.XmlDeclarationsTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 s 
- in org.htmlcleaner.XmlDeclarationsTest
[INFO] Running org.htmlcleaner.JDomSerializerTest
[INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.053 s 
- in org.htmlcleaner.JDomSerializerTest
[INFO] Running org.htmlcleaner.RandomCloseTagTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in 
org.htmlcleaner.RandomCloseTagTest
[INFO] Running org.htmlcleaner.BadTerminationTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in 
org.htmlcleaner.BadTerminationTest
[INFO] Running org.htmlcleaner.TagManipulationTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s 
- in org.htmlcleaner.TagManipulationTest
[INFO] Running org.htmlcleaner.SpecialEntitiesTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s 
- in org.htmlcleaner.SpecialEntitiesTest
[INFO] Running org.htmlcleaner.EntityDeserializationTest
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 s 
- in org.htmlcleaner.EntityDeserializationTest
[INFO] Running org.htmlcleaner.SVGTest
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 s 
- in org.htmlcleaner.SVGTest
[INFO] Running org.htmlcleaner.HtmlCleanerTest
[ERROR] Tests run: 56, Failures: 0, Errors: 1, Skipped: 4, Time elapsed: 0.493 
s <<< FAILURE! - in org.htmlcleaner.HtmlCleanerTest
[ERROR] attributeNames(org.htmlcleaner.HtmlCleanerTest)  Time elapsed: 0.193 s  
<<< ERROR!
java.lang.StringIndexOutOfBoundsException: begin 117, end -1, length 161
        at 
org.htmlcleaner.HtmlCleanerTest.attributeNames(HtmlCleanerTest.java:61)

[INFO] Running org.htmlcleaner.ClosedTagReopenTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s 
- in org.htmlcleaner.ClosedTagReopenTest
[INFO] Running org.htmlcleaner.BrowserCompactXmlSerializerTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s 
- in org.htmlcleaner.BrowserCompactXmlSerializerTest
[INFO] Running org.htmlcleaner.TransformationTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s 
- in org.htmlcleaner.TransformationTest
[INFO] Running org.htmlcleaner.ConstructorTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in 
org.htmlcleaner.ConstructorTest
[INFO] Running org.htmlcleaner.ThreadSafetyTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.276 s 
- in org.htmlcleaner.ThreadSafetyTest
[INFO] Running org.htmlcleaner.PropertiesTest
[INFO] Tests run: 27, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.093 s 
- in org.htmlcleaner.PropertiesTest
[INFO] Running org.htmlcleaner.TagCopyingAndLimitingTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 s 
- in org.htmlcleaner.TagCopyingAndLimitingTest
[INFO] Running org.htmlcleaner.CDATATest
[INFO] Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.07 s 
- in org.htmlcleaner.CDATATest
[INFO] Running org.htmlcleaner.XPatherTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.404 s 
- in org.htmlcleaner.XPatherTest
[INFO] Running org.htmlcleaner.RandomPageTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s 
- in org.htmlcleaner.RandomPageTest
[INFO] Running org.htmlcleaner.DocTypesTest
[INFO] Tests run: 40, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 s 
- in org.htmlcleaner.DocTypesTest
[INFO] Running org.htmlcleaner.CollapseHtmlTest
[INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s 
- in org.htmlcleaner.CollapseHtmlTest
[INFO] Running org.htmlcleaner.SerializationTest
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s 
- in org.htmlcleaner.SerializationTest
[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Errors: 
[ERROR]   
HtmlCleanerTest.attributeNames:61->AbstractHtmlCleanerTest.assertCleanedDom:102 
? StringIndexOutOfBounds
[INFO] 
[ERROR] Tests run: 241, Failures: 0, Errors: 1, Skipped: 5
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.458 s
[INFO] Finished at: 2019-05-20T04:31:45-12:00
[INFO] Final Memory: 18M/60M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.20.1:test (default-test) on 
project htmlcleaner: There are test failures.
[ERROR] 
[ERROR] Please refer to 
/build/1st/libhtmlcleaner-java-2.21/target/surefire-reports for the individual 
test results.
[ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump, 
[date].dumpstream and [date]-jvmRun[N].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
dh_auto_test: /usr/lib/jvm/default-java/bin/java -noverify -cp 
/usr/share/maven/boot/plexus-classworlds-2.x.jar -Dmaven.home=/usr/share/maven 
-Dmaven.multiModuleProjectDirectory=/build/1st/libhtmlcleaner-java-2.21 
-Dclassworlds.conf=/etc/maven/m2-debian.conf 
org.codehaus.plexus.classworlds.launcher.Launcher 
-s/etc/maven/settings-debian.xml 
-Ddebian.dir=/build/1st/libhtmlcleaner-java-2.21/debian 
-Dmaven.repo.local=/build/1st/libhtmlcleaner-java-2.21/debian/maven-repo 
--batch-mode test returned exit code 1
make: *** [debian/rules:9: build] Error 1

Reply via email to