STAMP-project / dspot

Automatically detect and generate missing assertions for Junit test cases (also known as test amplification)
https://dspot-demo.stamp-project.eu/
GNU Lesser General Public License v3.0
114 stars 28 forks source link

ClassCastException on xwiki-commons-xml #257

Closed vmassol closed 6 years ago

vmassol commented 6 years ago

Same setup as with #256 but on xwiki-commons-xml.

I got:

vmassol ~/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml (master) $ java -cp /Users/vmassol/dev/dspot/dspot/target/dspot-1.0.1-SNAPSHOT-jar-with-dependencies.jar  fr.inria.stamp.Main --path-to-properties dspot.properties --verbose
2017-12-05 14:55:24,262 INFO fr.inria.diversify.automaticbuilder.AutomaticBuilderFactory - Selected Maven automatic builder.
2017-12-05 14:55:24,276 INFO fr.inria.diversify.automaticbuilder.MavenAutomaticBuilder - run maven dependency:build-classpath -Dmdep.outputFile=target/dspot/classpath
[WARN] Maven will be executed in interactive mode, but no input stream has been configured for this MavenInvoker instance.
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=196m; support was removed in 8.0
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.xwiki.commons:xwiki-commons-xml:jar:9.11-SNAPSHOT
[WARNING] Reporting configuration should be done in <reporting> section, not in maven-site-plugin <configuration> as reportPlugins parameter.
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Building XWiki Commons - XML 9.11-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-dependency-plugin:3.0.2:build-classpath (default-cli) @ xwiki-commons-xml ---
[INFO] Wrote classpath file '/Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/target/dspot/classpath'.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.230 s
[INFO] Finished at: 2017-12-05T14:55:26+01:00
[INFO] Final Memory: 17M/309M
[INFO] ------------------------------------------------------------------------
2017-12-05 14:55:26,689 DEBUG spoon.Launcher - building sources: [/Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/htmlcleaner/XWikiDOMSerializer.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/html/filter/ElementSelector.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/html/filter/AbstractHTMLFilter.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/internal/html/filter/FontFilter.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/Sax2Dom.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/html/HTMLCleanerConfiguration.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/internal/DefaultXMLReaderFactory.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/internal/html/filter/ListItemFilter.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/internal/html/filter/ListFilter.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/XMLUtils.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/internal/html/DefaultHTMLCleanerConfiguration.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/stax/SAXEventWriter.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/EntityResolver.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/internal/html/filter/BodyFilter.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/html/HTMLConstants.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/ExtractHandler.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/internal/html/filter/AttributeFilter.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/internal/html/filter/UniqueIdFilter.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/html/filter/HTMLFilter.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/stax/StAXUtils.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/html/HTMLUtils.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/internal/html/filter/LinkFilter.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/internal/LocalEntityResolver.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/html/HTMLCleaner.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/XMLReaderFactory.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/internal/html/DefaultHTMLCleaner.java]
2017-12-05 14:55:26,750 DEBUG spoon.Launcher - build args: [-encoding, UTF-8, -cp, /Users/vmassol/.m2/repository/org/jdom/jdom/1.1.3/jdom-1.1.3.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-component-api/9.11-SNAPSHOT/xwiki-commons-component-api-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-stability/9.11-SNAPSHOT/xwiki-commons-stability-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-text/9.11-SNAPSHOT/xwiki-commons-text-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25.jar:/Users/vmassol/.m2/repository/javax/inject/javax.inject/1/javax.inject-1.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-context/9.11-SNAPSHOT/xwiki-commons-context-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/org/apache/commons/commons-lang3/3.7/commons-lang3-3.7.jar:/Users/vmassol/.m2/repository/net/sourceforge/htmlcleaner/htmlcleaner/2.16/htmlcleaner-2.16.jar:/Users/vmassol/.m2/repository/org/jdom/jdom2/2.0.6/jdom2-2.0.6.jar:/Users/vmassol/.m2/repository/xerces/xercesImpl/2.11.0/xercesImpl-2.11.0.jar:/Users/vmassol/.m2/repository/xml-apis/xml-apis/1.4.01/xml-apis-1.4.01.jar:/Users/vmassol/.m2/repository/net/java/dev/stax-utils/stax-utils/20070216/stax-utils-20070216.jar:/Users/vmassol/.m2/repository/com/fasterxml/woodstox/woodstox-core/5.0.3/woodstox-core-5.0.3.jar:/Users/vmassol/.m2/repository/org/codehaus/woodstox/stax2-api/3.1.4/stax2-api-3.1.4.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-tool-test-component/9.11-SNAPSHOT/xwiki-commons-tool-test-component-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-tool-test-simple/9.11-SNAPSHOT/xwiki-commons-tool-test-simple-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/junit/junit/4.12/junit-4.12.jar:/Users/vmassol/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:/Users/vmassol/.m2/repository/org/junit/jupiter/junit-jupiter-api/5.0.2/junit-jupiter-api-5.0.2.jar:/Users/vmassol/.m2/repository/org/opentest4j/opentest4j/1.0.0/opentest4j-1.0.0.jar:/Users/vmassol/.m2/repository/org/junit/platform/junit-platform-commons/1.0.2/junit-platform-commons-1.0.2.jar:/Users/vmassol/.m2/repository/org/junit/jupiter/junit-jupiter-engine/5.0.2/junit-jupiter-engine-5.0.2.jar:/Users/vmassol/.m2/repository/org/junit/platform/junit-platform-engine/1.0.2/junit-platform-engine-1.0.2.jar:/Users/vmassol/.m2/repository/org/junit/platform/junit-platform-launcher/1.0.2/junit-platform-launcher-1.0.2.jar:/Users/vmassol/.m2/repository/org/junit/vintage/junit-vintage-engine/4.12.2/junit-vintage-engine-4.12.2.jar:/Users/vmassol/.m2/repository/org/hamcrest/hamcrest-library/1.3/hamcrest-library-1.3.jar:/Users/vmassol/.m2/repository/org/jmock/jmock/2.6.0/jmock-2.6.0.jar:/Users/vmassol/.m2/repository/org/jmock/jmock-junit4/2.6.0/jmock-junit4-2.6.0.jar:/Users/vmassol/.m2/repository/commons-io/commons-io/2.6/commons-io-2.6.jar:/Users/vmassol/.m2/repository/org/mockito/mockito-core/2.12.0/mockito-core-2.12.0.jar:/Users/vmassol/.m2/repository/net/bytebuddy/byte-buddy/1.7.9/byte-buddy-1.7.9.jar:/Users/vmassol/.m2/repository/net/bytebuddy/byte-buddy-agent/1.7.9/byte-buddy-agent-1.7.9.jar:/Users/vmassol/.m2/repository/org/objenesis/objenesis/2.6/objenesis-2.6.jar:/Users/vmassol/.m2/repository/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3.jar:/Users/vmassol/.m2/repository/ch/qos/logback/logback-core/1.2.3/logback-core-1.2.3.jar:/Users/vmassol/.m2/repository/org/slf4j/jcl-over-slf4j/1.7.25/jcl-over-slf4j-1.7.25.jar:/Users/vmassol/.m2/repository/org/slf4j/log4j-over-slf4j/1.7.25/log4j-over-slf4j-1.7.25.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-observation-api/9.11-SNAPSHOT/xwiki-commons-observation-api-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/jmock/jmock/1.2.0/jmock-1.2.0.jar:/Users/vmassol/.m2/repository/jmock/jmock-cglib/1.2.0/jmock-cglib-1.2.0.jar:/Users/vmassol/.m2/repository/cglib/cglib-nodep/2.1_3/cglib-nodep-2.1_3.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-component-default/9.11-SNAPSHOT/xwiki-commons-component-default-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-component-observation/9.11-SNAPSHOT/xwiki-commons-component-observation-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-configuration-api/9.11-SNAPSHOT/xwiki-commons-configuration-api-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/commons-beanutils/commons-beanutils/1.9.3/commons-beanutils-1.9.3.jar:/Users/vmassol/.m2/repository/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.jar:target/dspot/dependencies/:, -1.8, -preserveAllLocals, -noExit, -enableJavadoc, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/htmlcleaner/XWikiDOMSerializer.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/html/filter/ElementSelector.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/html/filter/AbstractHTMLFilter.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/internal/html/filter/FontFilter.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/Sax2Dom.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/html/HTMLCleanerConfiguration.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/internal/DefaultXMLReaderFactory.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/internal/html/filter/ListItemFilter.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/internal/html/filter/ListFilter.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/XMLUtils.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/internal/html/DefaultHTMLCleanerConfiguration.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/stax/SAXEventWriter.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/EntityResolver.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/internal/html/filter/BodyFilter.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/html/HTMLConstants.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/ExtractHandler.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/internal/html/filter/AttributeFilter.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/internal/html/filter/UniqueIdFilter.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/html/filter/HTMLFilter.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/stax/StAXUtils.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/html/HTMLUtils.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/internal/html/filter/LinkFilter.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/internal/LocalEntityResolver.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/html/HTMLCleaner.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/XMLReaderFactory.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/internal/html/DefaultHTMLCleaner.java]
2017-12-05 14:55:27,561 DEBUG spoon.Launcher - built in 871 ms
2017-12-05 14:55:27,561 DEBUG spoon.Launcher - building templates: []
2017-12-05 14:55:27,561 DEBUG spoon.Launcher - built in 0 ms
2017-12-05 14:55:27,572 DEBUG spoon.Launcher - model built in 884
2017-12-05 14:55:27,573 DEBUG spoon.Launcher - compiling sources: [/Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/htmlcleaner/XWikiDOMSerializer.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/EntityResolver.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/ExtractHandler.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/Sax2Dom.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/XMLReaderFactory.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/XMLUtils.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/html/HTMLCleaner.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/html/HTMLCleanerConfiguration.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/html/HTMLConstants.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/html/HTMLUtils.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/html/filter/AbstractHTMLFilter.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/html/filter/ElementSelector.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/html/filter/HTMLFilter.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/internal/DefaultXMLReaderFactory.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/internal/LocalEntityResolver.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/internal/html/DefaultHTMLCleaner.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/internal/html/DefaultHTMLCleanerConfiguration.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/internal/html/filter/AttributeFilter.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/internal/html/filter/BodyFilter.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/internal/html/filter/FontFilter.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/internal/html/filter/LinkFilter.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/internal/html/filter/ListFilter.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/internal/html/filter/ListItemFilter.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/internal/html/filter/UniqueIdFilter.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/stax/SAXEventWriter.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/stax/StAXUtils.java]
2017-12-05 14:55:27,598 DEBUG spoon.Launcher - compile args: [-encoding, UTF-8, -cp, /Users/vmassol/.m2/repository/org/jdom/jdom/1.1.3/jdom-1.1.3.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-component-api/9.11-SNAPSHOT/xwiki-commons-component-api-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-stability/9.11-SNAPSHOT/xwiki-commons-stability-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-text/9.11-SNAPSHOT/xwiki-commons-text-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25.jar:/Users/vmassol/.m2/repository/javax/inject/javax.inject/1/javax.inject-1.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-context/9.11-SNAPSHOT/xwiki-commons-context-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/org/apache/commons/commons-lang3/3.7/commons-lang3-3.7.jar:/Users/vmassol/.m2/repository/net/sourceforge/htmlcleaner/htmlcleaner/2.16/htmlcleaner-2.16.jar:/Users/vmassol/.m2/repository/org/jdom/jdom2/2.0.6/jdom2-2.0.6.jar:/Users/vmassol/.m2/repository/xerces/xercesImpl/2.11.0/xercesImpl-2.11.0.jar:/Users/vmassol/.m2/repository/xml-apis/xml-apis/1.4.01/xml-apis-1.4.01.jar:/Users/vmassol/.m2/repository/net/java/dev/stax-utils/stax-utils/20070216/stax-utils-20070216.jar:/Users/vmassol/.m2/repository/com/fasterxml/woodstox/woodstox-core/5.0.3/woodstox-core-5.0.3.jar:/Users/vmassol/.m2/repository/org/codehaus/woodstox/stax2-api/3.1.4/stax2-api-3.1.4.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-tool-test-component/9.11-SNAPSHOT/xwiki-commons-tool-test-component-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-tool-test-simple/9.11-SNAPSHOT/xwiki-commons-tool-test-simple-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/junit/junit/4.12/junit-4.12.jar:/Users/vmassol/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:/Users/vmassol/.m2/repository/org/junit/jupiter/junit-jupiter-api/5.0.2/junit-jupiter-api-5.0.2.jar:/Users/vmassol/.m2/repository/org/opentest4j/opentest4j/1.0.0/opentest4j-1.0.0.jar:/Users/vmassol/.m2/repository/org/junit/platform/junit-platform-commons/1.0.2/junit-platform-commons-1.0.2.jar:/Users/vmassol/.m2/repository/org/junit/jupiter/junit-jupiter-engine/5.0.2/junit-jupiter-engine-5.0.2.jar:/Users/vmassol/.m2/repository/org/junit/platform/junit-platform-engine/1.0.2/junit-platform-engine-1.0.2.jar:/Users/vmassol/.m2/repository/org/junit/platform/junit-platform-launcher/1.0.2/junit-platform-launcher-1.0.2.jar:/Users/vmassol/.m2/repository/org/junit/vintage/junit-vintage-engine/4.12.2/junit-vintage-engine-4.12.2.jar:/Users/vmassol/.m2/repository/org/hamcrest/hamcrest-library/1.3/hamcrest-library-1.3.jar:/Users/vmassol/.m2/repository/org/jmock/jmock/2.6.0/jmock-2.6.0.jar:/Users/vmassol/.m2/repository/org/jmock/jmock-junit4/2.6.0/jmock-junit4-2.6.0.jar:/Users/vmassol/.m2/repository/commons-io/commons-io/2.6/commons-io-2.6.jar:/Users/vmassol/.m2/repository/org/mockito/mockito-core/2.12.0/mockito-core-2.12.0.jar:/Users/vmassol/.m2/repository/net/bytebuddy/byte-buddy/1.7.9/byte-buddy-1.7.9.jar:/Users/vmassol/.m2/repository/net/bytebuddy/byte-buddy-agent/1.7.9/byte-buddy-agent-1.7.9.jar:/Users/vmassol/.m2/repository/org/objenesis/objenesis/2.6/objenesis-2.6.jar:/Users/vmassol/.m2/repository/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3.jar:/Users/vmassol/.m2/repository/ch/qos/logback/logback-core/1.2.3/logback-core-1.2.3.jar:/Users/vmassol/.m2/repository/org/slf4j/jcl-over-slf4j/1.7.25/jcl-over-slf4j-1.7.25.jar:/Users/vmassol/.m2/repository/org/slf4j/log4j-over-slf4j/1.7.25/log4j-over-slf4j-1.7.25.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-observation-api/9.11-SNAPSHOT/xwiki-commons-observation-api-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/jmock/jmock/1.2.0/jmock-1.2.0.jar:/Users/vmassol/.m2/repository/jmock/jmock-cglib/1.2.0/jmock-cglib-1.2.0.jar:/Users/vmassol/.m2/repository/cglib/cglib-nodep/2.1_3/cglib-nodep-2.1_3.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-component-default/9.11-SNAPSHOT/xwiki-commons-component-default-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-component-observation/9.11-SNAPSHOT/xwiki-commons-component-observation-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-configuration-api/9.11-SNAPSHOT/xwiki-commons-configuration-api-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/commons-beanutils/commons-beanutils/1.9.3/commons-beanutils-1.9.3.jar:/Users/vmassol/.m2/repository/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.jar:target/dspot/dependencies/:, -d, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/../../xwiki-commons-core/xwiki-commons-xml/target/classes, -1.8, -proc:none, -preserveAllLocals, -noExit, -enableJavadoc, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/htmlcleaner/XWikiDOMSerializer.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/html/filter/ElementSelector.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/html/filter/AbstractHTMLFilter.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/internal/html/filter/FontFilter.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/Sax2Dom.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/html/HTMLCleanerConfiguration.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/internal/DefaultXMLReaderFactory.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/internal/html/filter/ListItemFilter.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/internal/html/filter/ListFilter.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/XMLUtils.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/internal/html/DefaultHTMLCleanerConfiguration.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/stax/SAXEventWriter.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/EntityResolver.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/internal/html/filter/BodyFilter.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/html/HTMLConstants.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/ExtractHandler.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/internal/html/filter/AttributeFilter.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/internal/html/filter/UniqueIdFilter.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/html/filter/HTMLFilter.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/stax/StAXUtils.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/html/HTMLUtils.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/internal/html/filter/LinkFilter.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/internal/LocalEntityResolver.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/html/HTMLCleaner.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/XMLReaderFactory.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/internal/html/DefaultHTMLCleaner.java]
2017-12-05 14:55:28,202 DEBUG spoon.Launcher - compiled in 629 ms
2017-12-05 14:55:28,213 DEBUG spoon.Launcher - building sources: [/Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/test/java/org/xwiki/xml/html/HTMLUtilsTest.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/test/java/org/xwiki/xml/stax/StAXUtilsTest.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/test/java/org/xwiki/xml/internal/html/DefaultHTMLCleanerTest.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/test/java/org/xwiki/xml/XMLUtilsTest.java]
2017-12-05 14:55:28,215 DEBUG spoon.Launcher - build args: [-encoding, UTF-8, -cp, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/../../xwiki-commons-core/xwiki-commons-xml/target/classes:/Users/vmassol/.m2/repository/org/jdom/jdom/1.1.3/jdom-1.1.3.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-component-api/9.11-SNAPSHOT/xwiki-commons-component-api-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-stability/9.11-SNAPSHOT/xwiki-commons-stability-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-text/9.11-SNAPSHOT/xwiki-commons-text-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25.jar:/Users/vmassol/.m2/repository/javax/inject/javax.inject/1/javax.inject-1.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-context/9.11-SNAPSHOT/xwiki-commons-context-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/org/apache/commons/commons-lang3/3.7/commons-lang3-3.7.jar:/Users/vmassol/.m2/repository/net/sourceforge/htmlcleaner/htmlcleaner/2.16/htmlcleaner-2.16.jar:/Users/vmassol/.m2/repository/org/jdom/jdom2/2.0.6/jdom2-2.0.6.jar:/Users/vmassol/.m2/repository/xerces/xercesImpl/2.11.0/xercesImpl-2.11.0.jar:/Users/vmassol/.m2/repository/xml-apis/xml-apis/1.4.01/xml-apis-1.4.01.jar:/Users/vmassol/.m2/repository/net/java/dev/stax-utils/stax-utils/20070216/stax-utils-20070216.jar:/Users/vmassol/.m2/repository/com/fasterxml/woodstox/woodstox-core/5.0.3/woodstox-core-5.0.3.jar:/Users/vmassol/.m2/repository/org/codehaus/woodstox/stax2-api/3.1.4/stax2-api-3.1.4.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-tool-test-component/9.11-SNAPSHOT/xwiki-commons-tool-test-component-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-tool-test-simple/9.11-SNAPSHOT/xwiki-commons-tool-test-simple-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/junit/junit/4.12/junit-4.12.jar:/Users/vmassol/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:/Users/vmassol/.m2/repository/org/junit/jupiter/junit-jupiter-api/5.0.2/junit-jupiter-api-5.0.2.jar:/Users/vmassol/.m2/repository/org/opentest4j/opentest4j/1.0.0/opentest4j-1.0.0.jar:/Users/vmassol/.m2/repository/org/junit/platform/junit-platform-commons/1.0.2/junit-platform-commons-1.0.2.jar:/Users/vmassol/.m2/repository/org/junit/jupiter/junit-jupiter-engine/5.0.2/junit-jupiter-engine-5.0.2.jar:/Users/vmassol/.m2/repository/org/junit/platform/junit-platform-engine/1.0.2/junit-platform-engine-1.0.2.jar:/Users/vmassol/.m2/repository/org/junit/platform/junit-platform-launcher/1.0.2/junit-platform-launcher-1.0.2.jar:/Users/vmassol/.m2/repository/org/junit/vintage/junit-vintage-engine/4.12.2/junit-vintage-engine-4.12.2.jar:/Users/vmassol/.m2/repository/org/hamcrest/hamcrest-library/1.3/hamcrest-library-1.3.jar:/Users/vmassol/.m2/repository/org/jmock/jmock/2.6.0/jmock-2.6.0.jar:/Users/vmassol/.m2/repository/org/jmock/jmock-junit4/2.6.0/jmock-junit4-2.6.0.jar:/Users/vmassol/.m2/repository/commons-io/commons-io/2.6/commons-io-2.6.jar:/Users/vmassol/.m2/repository/org/mockito/mockito-core/2.12.0/mockito-core-2.12.0.jar:/Users/vmassol/.m2/repository/net/bytebuddy/byte-buddy/1.7.9/byte-buddy-1.7.9.jar:/Users/vmassol/.m2/repository/net/bytebuddy/byte-buddy-agent/1.7.9/byte-buddy-agent-1.7.9.jar:/Users/vmassol/.m2/repository/org/objenesis/objenesis/2.6/objenesis-2.6.jar:/Users/vmassol/.m2/repository/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3.jar:/Users/vmassol/.m2/repository/ch/qos/logback/logback-core/1.2.3/logback-core-1.2.3.jar:/Users/vmassol/.m2/repository/org/slf4j/jcl-over-slf4j/1.7.25/jcl-over-slf4j-1.7.25.jar:/Users/vmassol/.m2/repository/org/slf4j/log4j-over-slf4j/1.7.25/log4j-over-slf4j-1.7.25.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-observation-api/9.11-SNAPSHOT/xwiki-commons-observation-api-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/jmock/jmock/1.2.0/jmock-1.2.0.jar:/Users/vmassol/.m2/repository/jmock/jmock-cglib/1.2.0/jmock-cglib-1.2.0.jar:/Users/vmassol/.m2/repository/cglib/cglib-nodep/2.1_3/cglib-nodep-2.1_3.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-component-default/9.11-SNAPSHOT/xwiki-commons-component-default-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-component-observation/9.11-SNAPSHOT/xwiki-commons-component-observation-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-configuration-api/9.11-SNAPSHOT/xwiki-commons-configuration-api-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/commons-beanutils/commons-beanutils/1.9.3/commons-beanutils-1.9.3.jar:/Users/vmassol/.m2/repository/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.jar:target/dspot/dependencies/:, -1.8, -preserveAllLocals, -noExit, -enableJavadoc, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/test/java/org/xwiki/xml/html/HTMLUtilsTest.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/test/java/org/xwiki/xml/stax/StAXUtilsTest.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/test/java/org/xwiki/xml/internal/html/DefaultHTMLCleanerTest.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/test/java/org/xwiki/xml/XMLUtilsTest.java]
2017-12-05 14:55:28,334 DEBUG spoon.Launcher - built in 121 ms
2017-12-05 14:55:28,334 DEBUG spoon.Launcher - building templates: []
2017-12-05 14:55:28,334 DEBUG spoon.Launcher - built in 0 ms
2017-12-05 14:55:28,345 DEBUG spoon.Launcher - model built in 132
2017-12-05 14:55:28,345 DEBUG spoon.Launcher - compiling sources: [/Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/test/java/org/xwiki/xml/XMLUtilsTest.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/test/java/org/xwiki/xml/html/HTMLUtilsTest.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/test/java/org/xwiki/xml/internal/html/DefaultHTMLCleanerTest.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/test/java/org/xwiki/xml/stax/StAXUtilsTest.java]
2017-12-05 14:55:28,348 DEBUG spoon.Launcher - compile args: [-encoding, UTF-8, -cp, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/../../xwiki-commons-core/xwiki-commons-xml/target/classes:/Users/vmassol/.m2/repository/org/jdom/jdom/1.1.3/jdom-1.1.3.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-component-api/9.11-SNAPSHOT/xwiki-commons-component-api-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-stability/9.11-SNAPSHOT/xwiki-commons-stability-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-text/9.11-SNAPSHOT/xwiki-commons-text-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25.jar:/Users/vmassol/.m2/repository/javax/inject/javax.inject/1/javax.inject-1.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-context/9.11-SNAPSHOT/xwiki-commons-context-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/org/apache/commons/commons-lang3/3.7/commons-lang3-3.7.jar:/Users/vmassol/.m2/repository/net/sourceforge/htmlcleaner/htmlcleaner/2.16/htmlcleaner-2.16.jar:/Users/vmassol/.m2/repository/org/jdom/jdom2/2.0.6/jdom2-2.0.6.jar:/Users/vmassol/.m2/repository/xerces/xercesImpl/2.11.0/xercesImpl-2.11.0.jar:/Users/vmassol/.m2/repository/xml-apis/xml-apis/1.4.01/xml-apis-1.4.01.jar:/Users/vmassol/.m2/repository/net/java/dev/stax-utils/stax-utils/20070216/stax-utils-20070216.jar:/Users/vmassol/.m2/repository/com/fasterxml/woodstox/woodstox-core/5.0.3/woodstox-core-5.0.3.jar:/Users/vmassol/.m2/repository/org/codehaus/woodstox/stax2-api/3.1.4/stax2-api-3.1.4.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-tool-test-component/9.11-SNAPSHOT/xwiki-commons-tool-test-component-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-tool-test-simple/9.11-SNAPSHOT/xwiki-commons-tool-test-simple-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/junit/junit/4.12/junit-4.12.jar:/Users/vmassol/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:/Users/vmassol/.m2/repository/org/junit/jupiter/junit-jupiter-api/5.0.2/junit-jupiter-api-5.0.2.jar:/Users/vmassol/.m2/repository/org/opentest4j/opentest4j/1.0.0/opentest4j-1.0.0.jar:/Users/vmassol/.m2/repository/org/junit/platform/junit-platform-commons/1.0.2/junit-platform-commons-1.0.2.jar:/Users/vmassol/.m2/repository/org/junit/jupiter/junit-jupiter-engine/5.0.2/junit-jupiter-engine-5.0.2.jar:/Users/vmassol/.m2/repository/org/junit/platform/junit-platform-engine/1.0.2/junit-platform-engine-1.0.2.jar:/Users/vmassol/.m2/repository/org/junit/platform/junit-platform-launcher/1.0.2/junit-platform-launcher-1.0.2.jar:/Users/vmassol/.m2/repository/org/junit/vintage/junit-vintage-engine/4.12.2/junit-vintage-engine-4.12.2.jar:/Users/vmassol/.m2/repository/org/hamcrest/hamcrest-library/1.3/hamcrest-library-1.3.jar:/Users/vmassol/.m2/repository/org/jmock/jmock/2.6.0/jmock-2.6.0.jar:/Users/vmassol/.m2/repository/org/jmock/jmock-junit4/2.6.0/jmock-junit4-2.6.0.jar:/Users/vmassol/.m2/repository/commons-io/commons-io/2.6/commons-io-2.6.jar:/Users/vmassol/.m2/repository/org/mockito/mockito-core/2.12.0/mockito-core-2.12.0.jar:/Users/vmassol/.m2/repository/net/bytebuddy/byte-buddy/1.7.9/byte-buddy-1.7.9.jar:/Users/vmassol/.m2/repository/net/bytebuddy/byte-buddy-agent/1.7.9/byte-buddy-agent-1.7.9.jar:/Users/vmassol/.m2/repository/org/objenesis/objenesis/2.6/objenesis-2.6.jar:/Users/vmassol/.m2/repository/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3.jar:/Users/vmassol/.m2/repository/ch/qos/logback/logback-core/1.2.3/logback-core-1.2.3.jar:/Users/vmassol/.m2/repository/org/slf4j/jcl-over-slf4j/1.7.25/jcl-over-slf4j-1.7.25.jar:/Users/vmassol/.m2/repository/org/slf4j/log4j-over-slf4j/1.7.25/log4j-over-slf4j-1.7.25.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-observation-api/9.11-SNAPSHOT/xwiki-commons-observation-api-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/jmock/jmock/1.2.0/jmock-1.2.0.jar:/Users/vmassol/.m2/repository/jmock/jmock-cglib/1.2.0/jmock-cglib-1.2.0.jar:/Users/vmassol/.m2/repository/cglib/cglib-nodep/2.1_3/cglib-nodep-2.1_3.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-component-default/9.11-SNAPSHOT/xwiki-commons-component-default-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-component-observation/9.11-SNAPSHOT/xwiki-commons-component-observation-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-configuration-api/9.11-SNAPSHOT/xwiki-commons-configuration-api-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/commons-beanutils/commons-beanutils/1.9.3/commons-beanutils-1.9.3.jar:/Users/vmassol/.m2/repository/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.jar:target/dspot/dependencies/:, -d, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/../../xwiki-commons-core/xwiki-commons-xml/target/test-classes, -1.8, -proc:none, -preserveAllLocals, -noExit, -enableJavadoc, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/test/java/org/xwiki/xml/html/HTMLUtilsTest.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/test/java/org/xwiki/xml/stax/StAXUtilsTest.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/test/java/org/xwiki/xml/internal/html/DefaultHTMLCleanerTest.java, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/test/java/org/xwiki/xml/XMLUtilsTest.java]
2017-12-05 14:55:28,499 DEBUG spoon.Launcher - compiled in 153 ms
2017-12-05 14:55:28,808 INFO fr.inria.diversify.automaticbuilder.MavenAutomaticBuilder - run maven  org.pitest:pitest-maven:mutationCoverage -DwithHistory -DtargetClasses=org.xwiki.* -DreportsDirectory=target/pit-reports -DoutputFormats=CSV,HTML -DtimeoutConst=10000 -DjvmArgs=16G -DmutationEngines=gregor -Dmutators=ALL -DadditionalClasspathElements=target/dspot/dependencies/ 
[WARN] Maven will be executed in interactive mode, but no input stream has been configured for this MavenInvoker instance.
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=196m; support was removed in 8.0
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.xwiki.commons:xwiki-commons-xml:jar:9.11-SNAPSHOT
[WARNING] Reporting configuration should be done in <reporting> section, not in maven-site-plugin <configuration> as reportPlugins parameter.
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Building XWiki Commons - XML 9.11-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- pitest-maven:1.2.5:mutationCoverage (default-cli) @ xwiki-commons-xml ---
[INFO] Found plugin : Default csv report plugin
[INFO] Found plugin : Default xml report plugin
[INFO] Found plugin : Default html report plugin
[INFO] Found plugin : Static initializer code detector plugin
[INFO] Found plugin : Static initializer filter plugin
[INFO] Found plugin : Excluded annotations plugin
[INFO] Found plugin : Inlined finally block filter plugin
[INFO] Found plugin : Try with resources filter
[INFO] Found plugin : Implicit null check filter
[INFO] Found plugin : For each loop filter
[INFO] Found plugin : Logging calls filter
[INFO] Found plugin : Infinite for loop filter
[INFO] Found plugin : Long running iterator loop filter
[INFO] Found plugin : For loop counter filter
[INFO] Found plugin : Kotlin junk mutations filter
[INFO] Found plugin : Max mutations per class limit
[INFO] Found plugin : Equals shortcut equivalent mutant filter
[INFO] Found shared classpath plugin : Default mutation engine
[INFO] Adding org.pitest:pitest to SUT classpath
[INFO] Mutating from /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/target/classes
[INFO] Will read and write history at /var/folders/5w/rkylz49927j8_p43xmvrf1xw0000gn/T/org.xwiki.commons.xwiki-commons-xml.9.11-SNAPSHOT_pitest_history.bin
2:55:31 PM PIT >> INFO : Verbose logging is disabled. If you encounter an problem please enable it before reporting an issue.
2:55:31 PM PIT >> INFO : MINION : objc[67438]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/bin/java (0x107da84c0) and /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/lib/libinstrument.dylib (0x107e9
2:55:31 PM PIT >> INFO : MINION : 24e0). One of the two will be used. Which one is undefined.

2:55:31 PM PIT >> INFO : Sending 4 test classes to minion
2:55:31 PM PIT >> INFO : Sent tests to minion
2:55:31 PM PIT >> INFO : MINION : 2:55:31 PM PIT >> INFO : Checking environment

2:55:32 PM PIT >> INFO : MINION : 2:55:32 PM PIT >> INFO : Found  49 tests

2:55:32 PM PIT >> INFO : MINION : 2:55:32 PM PIT >> INFO : Dependency analysis reduced number of potential tests by 0

2:55:32 PM PIT >> INFO : MINION : 2:55:32 PM PIT >> INFO : 49 tests received

2:55:33 PM PIT >> INFO : Calculated coverage in 2 seconds.
2:55:33 PM PIT >> INFO : Created  16 mutation test units
/stderr  : objc[67439]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/bin/java (0x1064b54c0) and /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/lib/libinstrument.dylib (0x1065astderr  : 04e0). One of the two will be used. Which one is undefined.
2:55:37 PM PIT >> WARNING : Minion exited abnormally due to MEMORY_ERROR
2:55:37 PM PIT >> INFO : Completed in 6 second-================================================================================

- Timings
================================================================================
> scan classpath : < 1 second
> coverage and dependency analysis : 2 seconds
> build mutation tests : < 1 second
> run mutation analysis : 3 seconds
--------------------------------------------------------------------------------
> Total  : 6 seconds
--------------------------------------------------------------------------------
================================================================================
- Statistics
================================================================================
>> Generated 1826 mutations Killed 899 (49%)
>> Ran 0 tests (0 tests per mutation)
================================================================================
- Mutators
================================================================================
> org.pitest.mutationtest.engine.gregor.mutators.VoidMethodCallMutator
>> Generated 92 Killed 41 (45%)
> KILLED 41 SURVIVED 6 TIMED_OUT 0 NON_VIABLE 0 
> MEMORY_ERROR 0 NOT_STARTED 0 STARTED 0 RUN_ERROR 0 
> NO_COVERAGE 45 
--------------------------------------------------------------------------------
> org.pitest.mutationtest.engine.gregor.mutators.experimental.SwitchMutator
>> Generated 3 Killed 3 (100%)
> KILLED 3 SURVIVED 0 TIMED_OUT 0 NON_VIABLE 0 
> MEMORY_ERROR 0 NOT_STARTED 0 STARTED 0 RUN_ERROR 0 
> NO_COVERAGE 0 
--------------------------------------------------------------------------------
> org.pitest.mutationtest.engine.gregor.mutators.RemoveConditionalMutator_EQUAL_ELSE
>> Generated 149 Killed 80 (54%)
> KILLED 80 SURVIVED 18 TIMED_OUT 0 NON_VIABLE 0 
> MEMORY_ERROR 0 NOT_STARTED 0 STARTED 0 RUN_ERROR 0 
> NO_COVERAGE 51 
--------------------------------------------------------------------------------
> org.pitest.mutationtest.engine.gregor.mutators.RemoveConditionalMutator_ORDER_IF
>> Generated 34 Killed 18 (53%)
> KILLED 18 SURVIVED 2 TIMED_OUT 0 NON_VIABLE 0 
> MEMORY_ERROR 0 NOT_STARTED 0 STARTED 0 RUN_ERROR 0 
> NO_COVERAGE 14 
--------------------------------------------------------------------------------
> org.pitest.mutationtest.engine.gregor.mutators.MathMutator
>> Generated 24 Killed 3 (13%)
> KILLED 2 SURVIVED 6 TIMED_OUT 1 NON_VIABLE 0 
> MEMORY_ERROR 0 NOT_STARTED 0 STARTED 0 RUN_ERROR 0 
> NO_COVERAGE 15 
--------------------------------------------------------------------------------
> org.pitest.mutationtest.engine.gregor.mutators.experimental.RemoveSwitchMutator_7
>> Generated 1 Killed 0 (0%)
> KILLED 0 SURVIVED 1 TIMED_OUT 0 NON_VIABLE 0 
> MEMORY_ERROR 0 NOT_STARTED 0 STARTED 0 RUN_ERROR 0 
> NO_COVERAGE 0 
--------------------------------------------------------------------------------
> org.pitest.mutationtest.engine.gregor.mutators.experimental.RemoveSwitchMutator_6
>> Generated 1 Killed 0 (0%)
> KILLED 0 SURVIVED 1 TIMED_OUT 0 NON_VIABLE 0 
> MEMORY_ERROR 0 NOT_STARTED 0 STARTED 0 RUN_ERROR 0 
> NO_COVERAGE 0 
--------------------------------------------------------------------------------
> org.pitest.mutationtest.engine.gregor.mutators.ConditionalsBoundaryMutator
>> Generated 34 Killed 17 (50%)
> KILLED 17 SURVIVED 3 TIMED_OUT 0 NON_VIABLE 0 
> MEMORY_ERROR 0 NOT_STARTED 0 STARTED 0 RUN_ERROR 0 
> NO_COVERAGE 14 
--------------------------------------------------------------------------------
> org.pitest.mutationtest.engine.gregor.mutators.IncrementsMutator
>> Generated 15 Killed 9 (60%)
> KILLED 9 SURVIVED 1 TIMED_OUT 0 NON_VIABLE 0 
> MEMORY_ERROR 0 NOT_STARTED 0 STARTED 0 RUN_ERROR 0 
> NO_COVERAGE 5 
--------------------------------------------------------------------------------
> org.pitest.mutationtest.engine.gregor.mutators.experimental.RemoveIncrementsMutator
>> Generated 15 Killed 9 (60%)
> KILLED 2 SURVIVED 1 TIMED_OUT 6 NON_VIABLE 0 
> MEMORY_ERROR 1 NOT_STARTED 0 STARTED 0 RUN_ERROR 0 
> NO_COVERAGE 5 
--------------------------------------------------------------------------------
> org.pitest.mutationtest.engine.gregor.mutators.experimental.RemoveSwitchMutator_9
>> Generated 1 Killed 0 (0%)
> KILLED 0 SURVIVED 1 TIMED_OUT 0 NON_VIABLE 0 
> MEMORY_ERROR 0 NOT_STARTED 0 STARTED 0 RUN_ERROR 0 
> NO_COVERAGE 0 
--------------------------------------------------------------------------------
> org.pitest.mutationtest.engine.gregor.mutators.experimental.RemoveSwitchMutator_8
>> Generated 1 Killed 0 (0%)
> KILLED 0 SURVIVED 1 TIMED_OUT 0 NON_VIABLE 0 
> MEMORY_ERROR 0 NOT_STARTED 0 STARTED 0 RUN_ERROR 0 
> NO_COVERAGE 0 
--------------------------------------------------------------------------------
> org.pitest.mutationtest.engine.gregor.mutators.experimental.RemoveSwitchMutator_3
>> Generated 2 Killed 2 (100%)
> KILLED 2 SURVIVED 0 TIMED_OUT 0 NON_VIABLE 0 
> MEMORY_ERROR 0 NOT_STARTED 0 STARTED 0 RUN_ERROR 0 
> NO_COVERAGE 0 
--------------------------------------------------------------------------------
> org.pitest.mutationtest.engine.gregor.mutators.experimental.RemoveSwitchMutator_2
>> Generated 3 Killed 2 (67%)
> KILLED 2 SURVIVED 1 TIMED_OUT 0 NON_VIABLE 0 
> MEMORY_ERROR 0 NOT_STARTED 0 STARTED 0 RUN_ERROR 0 
> NO_COVERAGE 0 
--------------------------------------------------------------------------------
> org.pitest.mutationtest.engine.gregor.mutators.InlineConstantMutator
>> Generated 149 Killed 72 (48%)
> KILLED 71 SURVIVED 23 TIMED_OUT 1 NON_VIABLE 0 
> MEMORY_ERROR 0 NOT_STARTED 0 STARTED 0 RUN_ERROR 0 
> NO_COVERAGE 54 
--------------------------------------------------------------------------------
> org.pitest.mutationtest.engine.gregor.mutators.experimental.RemoveSwitchMutator_5
>> Generated 2 Killed 1 (50%)
> KILLED 1 SURVIVED 1 TIMED_OUT 0 NON_VIABLE 0 
> MEMORY_ERROR 0 NOT_STARTED 0 STARTED 0 RUN_ERROR 0 
> NO_COVERAGE 0 
--------------------------------------------------------------------------------
> org.pitest.mutationtest.engine.gregor.mutators.experimental.NakedReceiverMutator
>> Generated 90 Killed 37 (41%)
> KILLED 34 SURVIVED 14 TIMED_OUT 3 NON_VIABLE 0 
> MEMORY_ERROR 0 NOT_STARTED 0 STARTED 0 RUN_ERROR 0 
> NO_COVERAGE 39 
--------------------------------------------------------------------------------
> org.pitest.mutationtest.engine.gregor.mutators.experimental.RemoveSwitchMutator_4
>> Generated 2 Killed 1 (50%)
> KILLED 1 SURVIVED 1 TIMED_OUT 0 NON_VIABLE 0 
> MEMORY_ERROR 0 NOT_STARTED 0 STARTED 0 RUN_ERROR 0 
> NO_COVERAGE 0 
--------------------------------------------------------------------------------
> org.pitest.mutationtest.engine.gregor.mutators.ReturnValsMutator
>> Generated 70 Killed 35 (50%)
> KILLED 35 SURVIVED 0 TIMED_OUT 0 NON_VIABLE 0 
> MEMORY_ERROR 0 NOT_STARTED 0 STARTED 0 RUN_ERROR 0 
> NO_COVERAGE 35 
--------------------------------------------------------------------------------
> org.pitest.mutationtest.engine.gregor.mutators.experimental.RemoveSwitchMutator_1
>> Generated 3 Killed 3 (100%)
> KILLED 3 SURVIVED 0 TIMED_OUT 0 NON_VIABLE 0 
> MEMORY_ERROR 0 NOT_STARTED 0 STARTED 0 RUN_ERROR 0 
> NO_COVERAGE 0 
--------------------------------------------------------------------------------
> org.pitest.mutationtest.engine.gregor.mutators.ConstructorCallMutator
>> Generated 86 Killed 36 (42%)
> KILLED 36 SURVIVED 0 TIMED_OUT 0 NON_VIABLE 0 
> MEMORY_ERROR 0 NOT_STARTED 0 STARTED 0 RUN_ERROR 0 
> NO_COVERAGE 50 
--------------------------------------------------------------------------------
> org.pitest.mutationtest.engine.gregor.mutators.experimental.RemoveSwitchMutator_0
>> Generated 3 Killed 3 (100%)
> KILLED 3 SURVIVED 0 TIMED_OUT 0 NON_VIABLE 0 
> MEMORY_ERROR 0 NOT_STARTED 0 STARTED 0 RUN_ERROR 0 
> NO_COVERAGE 0 
--------------------------------------------------------------------------------
> org.pitest.mutationtest.engine.gregor.mutators.experimental.RemoveSwitchMutator_11
>> Generated 1 Killed 1 (100%)
> KILLED 1 SURVIVED 0 TIMED_OUT 0 NON_VIABLE 0 
> MEMORY_ERROR 0 NOT_STARTED 0 STARTED 0 RUN_ERROR 0 
> NO_COVERAGE 0 
--------------------------------------------------------------------------------
> org.pitest.mutationtest.engine.gregor.mutators.experimental.RemoveSwitchMutator_10
>> Generated 1 Killed 0 (0%)
> KILLED 0 SURVIVED 1 TIMED_OUT 0 NON_VIABLE 0 
> MEMORY_ERROR 0 NOT_STARTED 0 STARTED 0 RUN_ERROR 0 
> NO_COVERAGE 0 
--------------------------------------------------------------------------------
> org.pitest.mutationtest.engine.gregor.mutators.RemoveConditionalMutator_EQUAL_IF
>> Generated 149 Killed 63 (42%)
> KILLED 63 SURVIVED 35 TIMED_OUT 0 NON_VIABLE 0 
> MEMORY_ERROR 0 NOT_STARTED 0 STARTED 0 RUN_ERROR 0 
> NO_COVERAGE 51 
--------------------------------------------------------------------------------
> org.pitest.mutationtest.engine.gregor.mutators.RemoveConditionalMutator_ORDER_ELSE
>> Generated 34 Killed 18 (53%)
> KILLED 17 SURVIVED 2 TIMED_OUT 1 NON_VIABLE 0 
> MEMORY_ERROR 0 NOT_STARTED 0 STARTED 0 RUN_ERROR 0 
> NO_COVERAGE 14 
--------------------------------------------------------------------------------
> org.pitest.mutationtest.engine.gregor.mutators.experimental.MemberVariableMutator
>> Generated 36 Killed 4 (11%)
> KILLED 4 SURVIVED 4 TIMED_OUT 0 NON_VIABLE 0 
> MEMORY_ERROR 0 NOT_STARTED 0 STARTED 0 RUN_ERROR 0 
> NO_COVERAGE 28 
--------------------------------------------------------------------------------
> org.pitest.mutationtest.engine.gregor.mutators.NegateConditionalsMutator
>> Generated 183 Killed 110 (60%)
> KILLED 109 SURVIVED 8 TIMED_OUT 1 NON_VIABLE 0 
> MEMORY_ERROR 0 NOT_STARTED 0 STARTED 0 RUN_ERROR 0 
> NO_COVERAGE 65 
--------------------------------------------------------------------------------
> org.pitest.mutationtest.engine.gregor.mutators.ArgumentPropagationMutator
>> Generated 72 Killed 44 (61%)
> KILLED 42 SURVIVED 8 TIMED_OUT 2 NON_VIABLE 0 
> MEMORY_ERROR 0 NOT_STARTED 0 STARTED 0 RUN_ERROR 0 
> NO_COVERAGE 20 
--------------------------------------------------------------------------------
> org.pitest.mutationtest.engine.gregor.mutators.NonVoidMethodCallMutator
>> Generated 570 Killed 287 (50%)
> KILLED 283 SURVIVED 56 TIMED_OUT 4 NON_VIABLE 0 
> MEMORY_ERROR 0 NOT_STARTED 0 STARTED 0 RUN_ERROR 0 
> NO_COVERAGE 227 
--------------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.882 s
[INFO] Finished at: 2017-12-05T14:55:37+01:00
[INFO] Final Memory: 20M/478M
[INFO] ------------------------------------------------------------------------
2017-12-05 14:55:38,406 INFO fr.inria.stamp.coverage.JacocoExecutor - The original test suite kill 879 / 1826
2017-12-05 14:55:38,923 INFO fr.inria.diversify.dspot.Amplification - amplification of org.xwiki.xml.XMLUtilsTest (21 test)
2017-12-05 14:55:39,436 INFO fr.inria.diversify.dspot.Amplification - update test testCriterion
2017-12-05 14:55:39,436 INFO fr.inria.diversify.dspot.Amplification - Try to add assertions before amplification
2017-12-05 14:55:39,487 INFO fr.inria.diversify.dspot.assertGenerator.MethodsAssertGenerator - Run tests. (21)
2017-12-05 14:55:39,622 INFO fr.inria.diversify.dspot.assertGenerator.MethodsAssertGenerator - 21 test pass, generating assertion...
2017-12-05 14:55:39,626 INFO fr.inria.diversify.dspot.assertGenerator.MethodsAssertGenerator - Add observations points in passing tests.
2017-12-05 14:55:39,627 INFO fr.inria.diversify.dspot.assertGenerator.MethodsAssertGenerator - Instrumentation...
100% |================================================== ]/
2017-12-05 14:55:39,725 INFO fr.inria.diversify.dspot.assertGenerator.MethodsAssertGenerator - Run instrumented tests. (63)
2017-12-05 14:55:40,090 INFO fr.inria.diversify.dspot.assertGenerator.MethodsAssertGenerator - Generating assertions...
2017-12-05 14:55:40,140 INFO fr.inria.diversify.dspot.assertGenerator.AssertGenerator - 21 new tests with assertions generated
2017-12-05 14:55:40,387 INFO fr.inria.diversify.dspot.Amplification - update test testCriterion
2017-12-05 14:55:40,471 DEBUG spoon.Launcher - building sources: [/Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/target/dspot/tmp_test_sources/org/xwiki/xml/XMLUtilsTest.java]
2017-12-05 14:55:40,473 DEBUG spoon.Launcher - build args: [-encoding, UTF-8, -cp, /Users/vmassol/.m2/repository/org/jdom/jdom/1.1.3/jdom-1.1.3.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-component-api/9.11-SNAPSHOT/xwiki-commons-component-api-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-stability/9.11-SNAPSHOT/xwiki-commons-stability-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-text/9.11-SNAPSHOT/xwiki-commons-text-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25.jar:/Users/vmassol/.m2/repository/javax/inject/javax.inject/1/javax.inject-1.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-context/9.11-SNAPSHOT/xwiki-commons-context-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/org/apache/commons/commons-lang3/3.7/commons-lang3-3.7.jar:/Users/vmassol/.m2/repository/net/sourceforge/htmlcleaner/htmlcleaner/2.16/htmlcleaner-2.16.jar:/Users/vmassol/.m2/repository/org/jdom/jdom2/2.0.6/jdom2-2.0.6.jar:/Users/vmassol/.m2/repository/xerces/xercesImpl/2.11.0/xercesImpl-2.11.0.jar:/Users/vmassol/.m2/repository/xml-apis/xml-apis/1.4.01/xml-apis-1.4.01.jar:/Users/vmassol/.m2/repository/net/java/dev/stax-utils/stax-utils/20070216/stax-utils-20070216.jar:/Users/vmassol/.m2/repository/com/fasterxml/woodstox/woodstox-core/5.0.3/woodstox-core-5.0.3.jar:/Users/vmassol/.m2/repository/org/codehaus/woodstox/stax2-api/3.1.4/stax2-api-3.1.4.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-tool-test-component/9.11-SNAPSHOT/xwiki-commons-tool-test-component-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-tool-test-simple/9.11-SNAPSHOT/xwiki-commons-tool-test-simple-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/junit/junit/4.12/junit-4.12.jar:/Users/vmassol/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:/Users/vmassol/.m2/repository/org/junit/jupiter/junit-jupiter-api/5.0.2/junit-jupiter-api-5.0.2.jar:/Users/vmassol/.m2/repository/org/opentest4j/opentest4j/1.0.0/opentest4j-1.0.0.jar:/Users/vmassol/.m2/repository/org/junit/platform/junit-platform-commons/1.0.2/junit-platform-commons-1.0.2.jar:/Users/vmassol/.m2/repository/org/junit/jupiter/junit-jupiter-engine/5.0.2/junit-jupiter-engine-5.0.2.jar:/Users/vmassol/.m2/repository/org/junit/platform/junit-platform-engine/1.0.2/junit-platform-engine-1.0.2.jar:/Users/vmassol/.m2/repository/org/junit/platform/junit-platform-launcher/1.0.2/junit-platform-launcher-1.0.2.jar:/Users/vmassol/.m2/repository/org/junit/vintage/junit-vintage-engine/4.12.2/junit-vintage-engine-4.12.2.jar:/Users/vmassol/.m2/repository/org/hamcrest/hamcrest-library/1.3/hamcrest-library-1.3.jar:/Users/vmassol/.m2/repository/org/jmock/jmock/2.6.0/jmock-2.6.0.jar:/Users/vmassol/.m2/repository/org/jmock/jmock-junit4/2.6.0/jmock-junit4-2.6.0.jar:/Users/vmassol/.m2/repository/commons-io/commons-io/2.6/commons-io-2.6.jar:/Users/vmassol/.m2/repository/org/mockito/mockito-core/2.12.0/mockito-core-2.12.0.jar:/Users/vmassol/.m2/repository/net/bytebuddy/byte-buddy/1.7.9/byte-buddy-1.7.9.jar:/Users/vmassol/.m2/repository/net/bytebuddy/byte-buddy-agent/1.7.9/byte-buddy-agent-1.7.9.jar:/Users/vmassol/.m2/repository/org/objenesis/objenesis/2.6/objenesis-2.6.jar:/Users/vmassol/.m2/repository/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3.jar:/Users/vmassol/.m2/repository/ch/qos/logback/logback-core/1.2.3/logback-core-1.2.3.jar:/Users/vmassol/.m2/repository/org/slf4j/jcl-over-slf4j/1.7.25/jcl-over-slf4j-1.7.25.jar:/Users/vmassol/.m2/repository/org/slf4j/log4j-over-slf4j/1.7.25/log4j-over-slf4j-1.7.25.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-observation-api/9.11-SNAPSHOT/xwiki-commons-observation-api-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/jmock/jmock/1.2.0/jmock-1.2.0.jar:/Users/vmassol/.m2/repository/jmock/jmock-cglib/1.2.0/jmock-cglib-1.2.0.jar:/Users/vmassol/.m2/repository/cglib/cglib-nodep/2.1_3/cglib-nodep-2.1_3.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-component-default/9.11-SNAPSHOT/xwiki-commons-component-default-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-component-observation/9.11-SNAPSHOT/xwiki-commons-component-observation-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-configuration-api/9.11-SNAPSHOT/xwiki-commons-configuration-api-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/commons-beanutils/commons-beanutils/1.9.3/commons-beanutils-1.9.3.jar:/Users/vmassol/.m2/repository/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.jar:../../xwiki-commons-core/xwiki-commons-xml//target/classes:target/dspot/dependencies/:../../xwiki-commons-core/xwiki-commons-xml//target/test-classes:, -1.8, -preserveAllLocals, -noExit, -enableJavadoc, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/target/dspot/tmp_test_sources/org/xwiki/xml/XMLUtilsTest.java]
2017-12-05 14:55:40,669 DEBUG spoon.Launcher - built in 198 ms
2017-12-05 14:55:40,669 DEBUG spoon.Launcher - building templates: []
2017-12-05 14:55:40,670 DEBUG spoon.Launcher - built in 0 ms
2017-12-05 14:55:40,675 DEBUG spoon.Launcher - model built in 204
2017-12-05 14:55:40,675 DEBUG spoon.Launcher - compiling sources: [/Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/target/dspot/tmp_test_sources/org/xwiki/xml/XMLUtilsTest.java]
2017-12-05 14:55:40,679 DEBUG spoon.Launcher - compile args: [-encoding, UTF-8, -cp, /Users/vmassol/.m2/repository/org/jdom/jdom/1.1.3/jdom-1.1.3.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-component-api/9.11-SNAPSHOT/xwiki-commons-component-api-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-stability/9.11-SNAPSHOT/xwiki-commons-stability-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-text/9.11-SNAPSHOT/xwiki-commons-text-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25.jar:/Users/vmassol/.m2/repository/javax/inject/javax.inject/1/javax.inject-1.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-context/9.11-SNAPSHOT/xwiki-commons-context-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/org/apache/commons/commons-lang3/3.7/commons-lang3-3.7.jar:/Users/vmassol/.m2/repository/net/sourceforge/htmlcleaner/htmlcleaner/2.16/htmlcleaner-2.16.jar:/Users/vmassol/.m2/repository/org/jdom/jdom2/2.0.6/jdom2-2.0.6.jar:/Users/vmassol/.m2/repository/xerces/xercesImpl/2.11.0/xercesImpl-2.11.0.jar:/Users/vmassol/.m2/repository/xml-apis/xml-apis/1.4.01/xml-apis-1.4.01.jar:/Users/vmassol/.m2/repository/net/java/dev/stax-utils/stax-utils/20070216/stax-utils-20070216.jar:/Users/vmassol/.m2/repository/com/fasterxml/woodstox/woodstox-core/5.0.3/woodstox-core-5.0.3.jar:/Users/vmassol/.m2/repository/org/codehaus/woodstox/stax2-api/3.1.4/stax2-api-3.1.4.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-tool-test-component/9.11-SNAPSHOT/xwiki-commons-tool-test-component-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-tool-test-simple/9.11-SNAPSHOT/xwiki-commons-tool-test-simple-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/junit/junit/4.12/junit-4.12.jar:/Users/vmassol/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:/Users/vmassol/.m2/repository/org/junit/jupiter/junit-jupiter-api/5.0.2/junit-jupiter-api-5.0.2.jar:/Users/vmassol/.m2/repository/org/opentest4j/opentest4j/1.0.0/opentest4j-1.0.0.jar:/Users/vmassol/.m2/repository/org/junit/platform/junit-platform-commons/1.0.2/junit-platform-commons-1.0.2.jar:/Users/vmassol/.m2/repository/org/junit/jupiter/junit-jupiter-engine/5.0.2/junit-jupiter-engine-5.0.2.jar:/Users/vmassol/.m2/repository/org/junit/platform/junit-platform-engine/1.0.2/junit-platform-engine-1.0.2.jar:/Users/vmassol/.m2/repository/org/junit/platform/junit-platform-launcher/1.0.2/junit-platform-launcher-1.0.2.jar:/Users/vmassol/.m2/repository/org/junit/vintage/junit-vintage-engine/4.12.2/junit-vintage-engine-4.12.2.jar:/Users/vmassol/.m2/repository/org/hamcrest/hamcrest-library/1.3/hamcrest-library-1.3.jar:/Users/vmassol/.m2/repository/org/jmock/jmock/2.6.0/jmock-2.6.0.jar:/Users/vmassol/.m2/repository/org/jmock/jmock-junit4/2.6.0/jmock-junit4-2.6.0.jar:/Users/vmassol/.m2/repository/commons-io/commons-io/2.6/commons-io-2.6.jar:/Users/vmassol/.m2/repository/org/mockito/mockito-core/2.12.0/mockito-core-2.12.0.jar:/Users/vmassol/.m2/repository/net/bytebuddy/byte-buddy/1.7.9/byte-buddy-1.7.9.jar:/Users/vmassol/.m2/repository/net/bytebuddy/byte-buddy-agent/1.7.9/byte-buddy-agent-1.7.9.jar:/Users/vmassol/.m2/repository/org/objenesis/objenesis/2.6/objenesis-2.6.jar:/Users/vmassol/.m2/repository/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3.jar:/Users/vmassol/.m2/repository/ch/qos/logback/logback-core/1.2.3/logback-core-1.2.3.jar:/Users/vmassol/.m2/repository/org/slf4j/jcl-over-slf4j/1.7.25/jcl-over-slf4j-1.7.25.jar:/Users/vmassol/.m2/repository/org/slf4j/log4j-over-slf4j/1.7.25/log4j-over-slf4j-1.7.25.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-observation-api/9.11-SNAPSHOT/xwiki-commons-observation-api-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/jmock/jmock/1.2.0/jmock-1.2.0.jar:/Users/vmassol/.m2/repository/jmock/jmock-cglib/1.2.0/jmock-cglib-1.2.0.jar:/Users/vmassol/.m2/repository/cglib/cglib-nodep/2.1_3/cglib-nodep-2.1_3.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-component-default/9.11-SNAPSHOT/xwiki-commons-component-default-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-component-observation/9.11-SNAPSHOT/xwiki-commons-component-observation-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-configuration-api/9.11-SNAPSHOT/xwiki-commons-configuration-api-9.11-SNAPSHOT.jar:/Users/vmassol/.m2/repository/commons-beanutils/commons-beanutils/1.9.3/commons-beanutils-1.9.3.jar:/Users/vmassol/.m2/repository/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.jar:../../xwiki-commons-core/xwiki-commons-xml//target/classes:target/dspot/dependencies/:../../xwiki-commons-core/xwiki-commons-xml//target/test-classes:, -d, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/../../xwiki-commons-core/xwiki-commons-xml/target/test-classes, -1.8, -proc:none, -preserveAllLocals, -noExit, -enableJavadoc, /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/target/dspot/tmp_test_sources/org/xwiki/xml/XMLUtilsTest.java]
2017-12-05 14:55:41,219 DEBUG spoon.Launcher - compiled in 544 ms
2017-12-05 14:55:41,220 INFO fr.inria.diversify.automaticbuilder.MavenAutomaticBuilder - run maven  org.pitest:pitest-maven:mutationCoverage -DwithHistory -DtargetClasses=org.xwiki.* -DreportsDirectory=target/pit-reports -DoutputFormats=CSV,HTML -DtimeoutConst=10000 -DjvmArgs=16G -DtargetTests=org.xwiki.xml.XMLUtilsTest -DadditionalClasspathElements=target/dspot/dependencies/ -DmutationEngines=gregor -Dmutators=ALL 
[WARN] Maven will be executed in interactive mode, but no input stream has been configured for this MavenInvoker instance.
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=196m; support was removed in 8.0
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.xwiki.commons:xwiki-commons-xml:jar:9.11-SNAPSHOT
[WARNING] Reporting configuration should be done in <reporting> section, not in maven-site-plugin <configuration> as reportPlugins parameter.
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Building XWiki Commons - XML 9.11-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- pitest-maven:1.2.5:mutationCoverage (default-cli) @ xwiki-commons-xml ---
[INFO] Found plugin : Default csv report plugin
[INFO] Found plugin : Default xml report plugin
[INFO] Found plugin : Default html report plugin
[INFO] Found plugin : Static initializer code detector plugin
[INFO] Found plugin : Static initializer filter plugin
[INFO] Found plugin : Excluded annotations plugin
[INFO] Found plugin : Inlined finally block filter plugin
[INFO] Found plugin : Try with resources filter
[INFO] Found plugin : Implicit null check filter
[INFO] Found plugin : For each loop filter
[INFO] Found plugin : Logging calls filter
[INFO] Found plugin : Infinite for loop filter
[INFO] Found plugin : Long running iterator loop filter
[INFO] Found plugin : For loop counter filter
[INFO] Found plugin : Kotlin junk mutations filter
[INFO] Found plugin : Max mutations per class limit
[INFO] Found plugin : Equals shortcut equivalent mutant filter
[INFO] Found shared classpath plugin : Default mutation engine
[INFO] Adding org.pitest:pitest to SUT classpath
[INFO] Mutating from /Users/vmassol/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/target/classes
[INFO] Will read and write history at /var/folders/5w/rkylz49927j8_p43xmvrf1xw0000gn/T/org.xwiki.commons.xwiki-commons-xml.9.11-SNAPSHOT_pitest_history.bin
2:55:43 PM PIT >> INFO : Verbose logging is disabled. If you encounter an problem please enable it before reporting an issue.
2:55:43 PM PIT >> INFO : MINION : objc[67459]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/bin/java (0x10fa794c0) and /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/lib/libinstrument.dylib (0x10fb6
2:55:43 PM PIT >> INFO : MINION : 34e0). One of the two will be used. Which one is undefined.

2:55:44 PM PIT >> INFO : Sending 1 test classes to minion
2:55:44 PM PIT >> INFO : Sent tests to minion
2:55:44 PM PIT >> INFO : MINION : 2:55:44 PM PIT >> INFO : Checking environment

2:55:44 PM PIT >> INFO : MINION : 2:55:44 PM PIT >> INFO : Found  21 tests

2:55:44 PM PIT >> INFO : MINION : 2:55:44 PM PIT >> INFO : Dependency analysis reduced number of potential tests by 0

2:55:44 PM PIT >> INFO : MINION : 2:55:44 PM PIT >> INFO : 21 tests received

2:55:44 PM PIT >> INFO : MINION : 2:55:44 PM PIT >> SEVERE : Description [testClass=org.xwiki.xml.XMLUtilsTest, name=testGetDomDocument(org.xwiki.xml.XMLUtilsTest)]
java.lang.ClassCastException: org.apache.xerces.dom.DocumentImpl cannot be cast to com.sun.org.apache.xerces.internal.dom.Doc
2:55:44 PM PIT >> INFO : MINION : umentImpl
    at org.xwiki.xml.XMLUtilsTest.testGetDomDocument(XMLUtilsTest.java:254)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingM
2:55:44 PM PIT >> INFO : MINION : ethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
    at org.junit.internal.runners.model.ReflectiveCall
2:55:44 PM PIT >> INFO : MINION : able.run(ReflectiveCallable.java:12)
    at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
    at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    at org.junit.internal.runners.statements.Fail
2:55:44 PM PIT >> INFO : MINION : OnTimeout$CallableStatement.call(FailOnTimeout.java:298)
    at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.lang.Thread.run(Thread.jav
2:55:44 PM PIT >> INFO : MINION : a:748)

2:55:44 PM PIT >> SEVERE : Description [testClass=org.xwiki.xml.XMLUtilsTest, name=testGetDomDocument(org.xwiki.xml.XMLUtilsTest)] did not pass without mutation.
2:55:44 PM PIT >> INFO : Calculated coverage in 1 seconds.
/[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.453 s
[INFO] Finished at: 2017-12-05T14:55:44+01:00
[INFO] Final Memory: 18M/375M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.pitest:pitest-maven:1.2.5:mutationCoverage (default-cli) on project xwiki-commons-xml: Execution default-cli of goal org.pitest:pitest-maven:1.2.5:mutationCoverage failed: All tests did not pass without mutation when calculating line coverage. Mutation testing requires a green suite.
[ERROR] See http://pitest.org for more details.
[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/PluginExecutionException
Exception in thread "main" java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: Maven build failed! Enable verbose mode for more information (--verbose)
    at fr.inria.stamp.Main.amplifyAll(Main.java:113)
    at fr.inria.stamp.Main.run(Main.java:62)
    at fr.inria.stamp.Main.main(Main.java:38)
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Maven build failed! Enable verbose mode for more information (--verbose)
    at fr.inria.diversify.automaticbuilder.MavenAutomaticBuilder.runPit(MavenAutomaticBuilder.java:127)
    at fr.inria.diversify.dspot.selector.PitMutantScoreSelector.selectToKeep(PitMutantScoreSelector.java:114)
    at fr.inria.diversify.dspot.Amplification.preAmplification(Amplification.java:189)
    at fr.inria.diversify.dspot.Amplification.amplification(Amplification.java:75)
    at fr.inria.diversify.dspot.DSpot.amplifyTest(DSpot.java:186)
    at fr.inria.diversify.dspot.DSpot.amplifyTest(DSpot.java:169)
    at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
    at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
    at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
    at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
    at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
    at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
    at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
    at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
    at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
    at fr.inria.diversify.dspot.DSpot.amplifyAllTests(DSpot.java:129)
    at fr.inria.stamp.Main.amplifyAll(Main.java:111)
    ... 2 more
Caused by: java.lang.RuntimeException: Maven build failed! Enable verbose mode for more information (--verbose)
    at fr.inria.diversify.automaticbuilder.MavenAutomaticBuilder.runPit(MavenAutomaticBuilder.java:124)
    ... 18 more
vmassol commented 6 years ago

Seems the error is java.lang.ClassCastException: org.apache.xerces.dom.DocumentImpl cannot be cast to com.sun.org.apache.xerces.internal.dom.Doc.

danglotb commented 6 years ago

Hi,

The problem happens when DSpot instruments the code to obtain values on the program, to build assertions.

The test method is as follow:

@org.junit.Test(timeout = 10000)
public void testGetDomDocument_withlog0() {
    org.w3c.dom.Document o_testGetDomDocument__1 = org.xwiki.xml.XMLUtils.createDOMDocument();
    fr.inria.diversify.compare.ObjectLog.log(o_testGetDomDocument__1, "o_testGetDomDocument__1", "testGetDomDocument__1");
}

But, the object receive by the method ObjectLog#log, i.e. o_testGetDomDocument__1 is received as a com.sun.org.apache.xerces.internal.dom.Doc and I don't know why.

I tried to isolate the execution of the test method, using a specific and clean classloader, but with no success.

monperrus commented 6 years ago

@danglotb could you add the generated tests here?

danglotb commented 6 years ago

here find a git gist containing the both amplified test.

You will find also a json file, that report killed mutants.

Note that the amplification has been done using only A-amplificaiton , i.e. generation of assertions.

vmassol commented 6 years ago

Thanks @danglotb

Note that I've tested it and it doesn't increase the test coverage unfortunately which is one of the main goal of DSpot I think. So we need some more I think so that we can demonstrate an increase.

monperrus commented 6 years ago

Dspot can increase the coverage and/or the mutation score, it depends on the configuration.

In A-amplification it only increases the mutation score (because it only adds new assertions).

@danglotb could you make a run in I-amplification?

vmassol commented 6 years ago

is it normal that in one of the 2 created tests we have the following line duplicated:

Assert.assertEquals("a &#60; a&#39; &#38;&#38; a&#39; &#60; a&#34; =&#62; a &#60; a&#34;", escapedText);

?

vmassol commented 6 years ago

Ok I've looked at the generated tests. They add an explicit assert for the returned content. It's kind of interesting.

Here are some ideas for strategies to use the generated code (in a maven context).

Strategy 1:

Strategy 2:

monperrus commented 6 years ago

is it normal that in one of the 2 created tests we have the following line duplicated:

It's not normal, but it's not a huge problem (both assertions fail or pass :-)

An important future feature of Dspot is minimization of generated tests (#54 , help wanted), it would remove unnecessary or duplicated code.

monperrus commented 6 years ago

Very interesting suggestions.

Let's discuss Strategy 1.

AFAIU, the title of the strategy would be "push DSpot tests in a special test folder (eg src/generated/test)". Correct?

What I like here, is that a new run on Dspot would be made on top a previous run, in order to see if new mutants can be killed. Correct?

danglotb commented 6 years ago

is it normal that in one of the 2 created tests we have the following line duplicated:

It is explained because DSpot generates two sequences of assertions: one at the begin, one at the end.

This is done in order to detect the change between initial state and tested code.

However, DSpot should verify that between the two sequences, there is something else than assertion.

In this case, we have calls to the contains. I agree that if the methods between the two sequences are pure, we can skip the last sequences.

danglotb commented 6 years ago

I ran DSpot on XWiki-commons-xml. To do this, just add to your properties file the following line: excludedTestCases=testGetDomDocument.

I'm waiting for #265 to be merged, I'll then release again DSpot.

@danglotb could you make a run in I-amplification?

I tried, but it seems that the I-Amplification does not help on XMLUtilsTests : (

Thank you.

monperrus commented 6 years ago

@danglotb What's the configuration to use for xwiki-commons-xml now that we can exclude a test case?

danglotb commented 6 years ago

Retrieve the new release

To exclude test cases, just add the excludedTestCases property:

project=../../
targetModule=xwiki-commons-core/xwiki-commons-xml/
src=src/main/java/
testSrc=src/test/java
javaVersion=8
outputDirectory=output
filter=org.xwiki.*
excludedTestCases=testGetDomDocument

The command line would be:

java -cp java -cp dspot-1.0.2-jar-with-dependencies.jar fr.inria.stamp.Main --path-to-properties dspot.properties -t org.xwiki.xml.XMLUtilsTest

and you should obtain something like:

======= REPORT =======
PitMutantScoreSelector: 
The original test suite kills 861 mutants
The amplification results with 2 new tests
it kills 16 more mutants

Just check the output folder, you will have the output of DSpot.

danglotb commented 6 years ago

I continue on this thread.

I tried to amplify several modules of XWiki-commons. I had one success for now on XWiki-commons-job.

The class org.xwiki.job.internal.DefaultRequestTest is successfully amplified.

======= REPORT =======
PitMutantScoreSelector: 
The original test suite kills 798 mutants
The amplification results with 1 new tests
it kills 17 more mutants

You can find the amplified test cases here

I noticed that for a lot of tests, even PIT is not able to run XWiki. There is an issue with the ConverterManager (see for instance org.xwiki.properties.internal.converter.ArrayListConverterTest) which the old version of the annotation @ComponentList if I am not wrong.

It would be great to know what is missing in the configuration to be able to run it with PIT. And then, we could try the amplification.

If you want to try yourself, find the used property file:

project=../../
targetModule=xwiki-commons-core/xwiki-commons-xml/
src=src/main/java/
testSrc=src/test/java
testResources=src/test/java/
javaVersion=8
outputDirectory=output
filter=org.xwiki.*
excludedClasses=org.xwiki.job.internal.xstream.SafeXStreamTest,org.xwiki.job.internal.DefaultJobStatusStoreTest

And the command line:

java -cp java -cp dspot-1.0.2-jar-with-dependencies.jar fr.inria.stamp.Main --path-to-properties dspot.properties -t -t org.xwiki.job.internal.DefaultRequestTest

In this case, I-Amplification is also useless.

vmassol commented 6 years ago

It would be much nicer if we could find an example where I-Amplification works. Trying to reproduce your examples now. I'd really like to demonstrate an example where DSpot increases the test coverage :)

vmassol commented 6 years ago

Ok commons-xml works for me too with:

project=../../
targetModule=xwiki-commons-core/xwiki-commons-xml/
src=src/main/java/
testSrc=src/test/java
javaVersion=8
outputDirectory=target/dspot-output
filter=org.xwiki.*
tmpDir=target/dspot
excludedTestCases=createDomDocument

Note: that last week I've renamed the test names so I had to update the excludedTestCases property value.

vmassol commented 6 years ago

@danglotb I noticed that in your dspot properties file for commons-job you've used targetModule=xwiki-commons-core/xwiki-commons-xml/ which doesn't seem correct. Does it mean that this property is not used? :)

vmassol commented 6 years ago

ok I can answer it since I've now been able to run it (I tried both with the error and without it). It matter and your properties above just has a copy paste error :)

danglotb commented 6 years ago

Hi @vmassol

It is a bad copy / paste, sorry for that.

vmassol commented 6 years ago

ok I've now analyzed the result of the amplification of xwiki-commons-job for org.xwiki.job.internal.DefaultRequestTest. It's basically asserting the exact values instead of comparing the 2 instances. That's a small thing but interesting nonetheless. But indeed it doesn't increase the test coverage.

danglotb commented 6 years ago

Hi, I just release DSpot with our fixes.

To totally isolate the Test runner, you have to use the flag -useReflection in the CLI.

This will force DSpot to use the ReflectiveTestRunner which use the reflection to be totally isolated from the runtime of DSpot.

danglotb commented 6 years ago

I just run DSpot on other test classes of XWiki-common-xml

Result are much more better:

on org.xwiki.xml.html.HTMLUtilsTest, I used the following options:

-p dspot.properties --verbose -i 1 -t org.xwiki.xml.html.HTMLUtilsTest -a TestDataMutator

I obtained the following results:

======= REPORT =======
PitMutantScoreSelector: 
The original test suite kills 880 mutants
The amplification results with 3 new tests
it kills 5 more mutants

You can find the amplified test class and the json file here.

For the demo, is suggest to tune the options (test selection / amplifier / pre-computed mutation score) to speed the process.

vmassol commented 6 years ago

To totally isolate the Test runner, you have to use the flag -useReflection in the CLI.

IMO this should be the default since you want to isolate by default, no?

vmassol commented 6 years ago

Result are much more better:

I still need to analyze the results but they don't seem to increase the test coverage though.

vmassol commented 6 years ago

FYI, if you wish to test coverage difference:

      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>build-helper-maven-plugin</artifactId>
        <version>3.0.0</version>
        <executions>
          <execution>
            <id>add-test-source</id>
            <phase>generate-test-sources</phase>
            <goals>
              <goal>add-test-source</goal>
            </goals>
            <configuration>
              <sources>
                <source>target/dspot-output</source>
              </sources>
            </configuration>
          </execution>
        </executions>
      </plugin>

Edit the source location to match where dspot tests are generated

danglotb commented 6 years ago

The fact is that we used the default selector which is based on PIT.

And so, the amplified does not (necessarily) improve the coverage but inprove the mutation score.

That is to say that the amplified test suite are a better potential to detect fault.

If you want to increase the coverage, we should use BranchCoverageSelector (since the Jacoco selector is not (yet) compatible with the useReflection option)

IMO this should be the default since you want to isolate by default, no?

I don't know, because this mode maybe unstable and is not compatible with all other options.

But at the end, yes, it should be the default mode.

vmassol commented 6 years ago

Note that the reason I'm interested in getting additional test coverage is because I find that this is the killer feature of DSpot, and on the test quality area, there's already Descartes doing this too. So it would be a unique feature of DSpot. WDYT?

monperrus commented 6 years ago

Your strategies can be explained here: https://github.com/STAMP-project/dspot/wiki/Using-DSpot-in-CI

And the discussion about the strategies is appropriate in #191

monperrus commented 6 years ago

otherwise can we close this issue?

vmassol commented 6 years ago

Works now. Example with java -cp /Users/vmassol/dev/dspot/dspot/target/dspot-1.0.4-SNAPSHOT-jar-with-dependencies.jar fr.inria.stamp.Main --path-to-properties dspot.properties --verbose --useReflection no longer generates the classcast error.

Created #284 to have it by default.