question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

PitError: Connection reset with maven 2

See original GitHub issue

Hi,

I am trying to use pitest on an existing project, but it doesn’t seem to be doing anything.

I hope all information is available on the output.

[INFO] Scanning for projects...
[INFO] snapshot com.company:sp12-parent:4.1.0-SNAPSHOT: checking for updates from com.company.bundles.snapshot
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '8ed78e10733a22e4143527a4fa15b85310c6df08'; remote = '63909b617df8e1d0a215504cd671cbbfc8be32ad' - RETRYING
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '8ed78e10733a22e4143527a4fa15b85310c6df08'; remote = '63909b617df8e1d0a215504cd671cbbfc8be32ad' - IGNORING
[INFO] snapshot com.company.internal:parent:2.43.0-SNAPSHOT: checking for updates from com.company.bundles.snapshot
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '5792cd9c79debaa04def5a4d1c90632b65d89560'; remote = 'e9abc28f4b0690a1fd4502799ca3184422da83cc' - RETRYING
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '5792cd9c79debaa04def5a4d1c90632b65d89560'; remote = 'e9abc28f4b0690a1fd4502799ca3184422da83cc' - IGNORING
[INFO] ------------------------------------------------------------------------
[INFO] Building Review Tool - Services
[INFO]    task-segment: [org.pitest:pitest-maven:mutationCoverage]
[INFO] ------------------------------------------------------------------------
[INFO] snapshot com.company.commons:test:4.1.0-SNAPSHOT: checking for updates from com.company.bundles.snapshot
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '004ea6dddb0fdb94d735e0fee5aa959cfb1cd42d'; remote = 'b2dededee3189b2f674f5516fa8f1521582e0146' - RETRYING
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '004ea6dddb0fdb94d735e0fee5aa959cfb1cd42d'; remote = 'b2dededee3189b2f674f5516fa8f1521582e0146' - IGNORING
[INFO] snapshot com.company:commons:4.1.0-SNAPSHOT: checking for updates from com.company.bundles.snapshot
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 'f3742639255c73fe0a237fc7240b8e54f6e3e66b'; remote = 'e6af69c71137107040fc0a85cc723c381662d704' - RETRYING
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 'f3742639255c73fe0a237fc7240b8e54f6e3e66b'; remote = 'e6af69c71137107040fc0a85cc723c381662d704' - IGNORING
[INFO] snapshot com.company.commons:config:4.1.0-SNAPSHOT: checking for updates from com.company.bundles.snapshot
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 'a1776e81e5062d484a8509ed005b8c2f79efd7e2'; remote = '428306b24023034d383f7574fd3b38f2ab8ca448' - RETRYING
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 'a1776e81e5062d484a8509ed005b8c2f79efd7e2'; remote = '428306b24023034d383f7574fd3b38f2ab8ca448' - IGNORING
[INFO] snapshot com.company.commons:mvc:4.1.0-SNAPSHOT: checking for updates from com.company.bundles.snapshot
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '844995378241e7c880bf849d69f2c5a8afeda5e7'; remote = '5ef8fc37c970f6118d25a8ffe744a87597978e19' - RETRYING
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '844995378241e7c880bf849d69f2c5a8afeda5e7'; remote = '5ef8fc37c970f6118d25a8ffe744a87597978e19' - IGNORING
[INFO] snapshot com.company.commons:utils:4.1.0-SNAPSHOT: checking for updates from com.company.bundles.snapshot
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '392bc67318ad2c9a58adca3c672640c6d689fa39'; remote = '48dd58dfb556b4646ca70a8e1ba2ce52b29ff659' - RETRYING
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '392bc67318ad2c9a58adca3c672640c6d689fa39'; remote = '48dd58dfb556b4646ca70a8e1ba2ce52b29ff659' - IGNORING
[INFO] snapshot com.company.commons:db:4.1.0-SNAPSHOT: checking for updates from com.company.bundles.snapshot
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '5c3e7d30303abca370c800bf6709b78c6535cc93'; remote = '0ae73f81519f087ba99a048601dfb3b08aec5b58' - RETRYING
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '5c3e7d30303abca370c800bf6709b78c6535cc93'; remote = '0ae73f81519f087ba99a048601dfb3b08aec5b58' - IGNORING
[INFO] snapshot com.company.commons:dbdeploy:4.1.0-SNAPSHOT: checking for updates from com.company.bundles.snapshot
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 'd015fa68c2d5ce15567126262f82c133d76c680f'; remote = '9932e950cb5d161e67f48556bbbac3213daf769b' - RETRYING
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 'd015fa68c2d5ce15567126262f82c133d76c680f'; remote = '9932e950cb5d161e67f48556bbbac3213daf769b' - IGNORING
[INFO] snapshot com.company.commons:schemas:4.1.0-SNAPSHOT: checking for updates from com.company.bundles.snapshot
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '6f45bfe05b28fc2b6d36b55e4626f7d7b02c7aa5'; remote = '5467db06999a5b4f040d09ae0f1b0df6f2424186' - RETRYING
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '6f45bfe05b28fc2b6d36b55e4626f7d7b02c7aa5'; remote = '5467db06999a5b4f040d09ae0f1b0df6f2424186' - IGNORING
[INFO] snapshot com.company.notification:email-client:4.1.0-SNAPSHOT: checking for updates from com.company.bundles.snapshot
[INFO] snapshot com.company:notification:4.1.0-SNAPSHOT: checking for updates from com.company.bundles.snapshot
[INFO] snapshot com.company.identity:client:4.1.0-SNAPSHOT: checking for updates from com.company.bundles.snapshot
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 'd2a425945a7ad47d724d5126a3dd01708eff5f05'; remote = '0f7c7dce57f239291be5ae094755da23ec039e99' - RETRYING
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 'd2a425945a7ad47d724d5126a3dd01708eff5f05'; remote = '0f7c7dce57f239291be5ae094755da23ec039e99' - IGNORING
[INFO] snapshot com.company.identity:identity:4.1.0-SNAPSHOT: checking for updates from com.company.bundles.snapshot
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '2320640bd884944f50dc2151f9774f7e584cbb72'; remote = 'ac65136e0f10f46085bd118cf4efbf1b2e2e5ecc' - RETRYING
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '2320640bd884944f50dc2151f9774f7e584cbb72'; remote = 'ac65136e0f10f46085bd118cf4efbf1b2e2e5ecc' - IGNORING
[INFO] snapshot com.company.cts:cts-client:4.1.0-SNAPSHOT: checking for updates from com.company.bundles.snapshot
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 'a89144f68e340d77b4845af383bc6672f442529a'; remote = 'e3bc559b97b848611c3b097a76c0e4a773b33944' - RETRYING
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 'a89144f68e340d77b4845af383bc6672f442529a'; remote = 'e3bc559b97b848611c3b097a76c0e4a773b33944' - IGNORING
[INFO] snapshot com.company:cts-parent:4.1.0-SNAPSHOT: checking for updates from com.company.bundles.snapshot
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '0b1a5e9b12a782eff3e8de276009f78d38d2874e'; remote = 'e6d6e16a2ad06831be15b65792dde47eb4da30b6' - RETRYING
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '0b1a5e9b12a782eff3e8de276009f78d38d2874e'; remote = 'e6d6e16a2ad06831be15b65792dde47eb4da30b6' - IGNORING
[INFO] [pitest:mutationCoverage {execution: default-cli}]
[INFO] Found plugin : Default csv report plugin
[INFO] Found plugin : Default xml report plugin
[INFO] Found plugin : Default html report plugin
[INFO] Found plugin : Default limit mutations plugin
[INFO] Found shared classpath plugin : Default mutation engine
10:41:59 AM PIT >> INFO : Mutating from /home/username/work/projects/sp12_trunk/guide-review/services/target/classes
10:41:59 AM PIT >> FINE : Running report with ReportOptions [targetClasses=[^com\.company\.fcguidereview\..*$], excludedMethods=[], excludedClasses=[], codePaths=[/home/username/work/projects/sp12_trunk/guide-review/services/target/classes], reportDir=/home/username/work/projects/sp12_trunk/guide-review/services/target/pit-reports, historyInputLocation=null, historyOutputLocation=null, sourceDirs=[/home/username/work/projects/sp12_trunk/guide-review/services/src/main/java, /home/username/work/projects/sp12_trunk/guide-review/services/src/test/java], classPathElements=[/home/username/work/projects/sp12_trunk/guide-review/services/target/test-classes, /home/username/work/projects/sp12_trunk/guide-review/services/target/classes, /home/username/.m2/repository/org/hibernate/hibernate-envers/3.6.6.Final/hibernate-envers-3.6.6.Final.jar, /home/username/.m2/repository/org/hibernate/hibernate-core/3.6.6.Final/hibernate-core-3.6.6.Final.jar, /home/username/.m2/repository/antlr/antlr/2.7.6/antlr-2.7.6.jar, /home/username/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar, /home/username/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar, /home/username/.m2/repository/org/hibernate/hibernate-commons-annotations/3.2.0.Final/hibernate-commons-annotations-3.2.0.Final.jar, /home/username/.m2/repository/org/slf4j/slf4j-api/1.5.8/slf4j-api-1.5.8.jar, /home/username/.m2/repository/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.1.Final/hibernate-jpa-2.0-api-1.0.1.Final.jar, /home/username/.m2/repository/javax/transaction/jta/1.1/jta-1.1.jar, /home/username/.m2/repository/org/hibernate/hibernate-entitymanager/3.6.6.Final/hibernate-entitymanager-3.6.6.Final.jar, /home/username/.m2/repository/cglib/cglib/2.2/cglib-2.2.jar, /home/username/.m2/repository/asm/asm/3.1/asm-3.1.jar, /home/username/.m2/repository/javassist/javassist/3.9.0.GA/javassist-3.9.0.GA.jar, /home/username/.m2/repository/org/hibernate/hibernate-tools/3.2.0.ga/hibernate-tools-3.2.0.ga.jar, /home/username/.m2/repository/org/beanshell/bsh/2.0b4/bsh-2.0b4.jar, /home/username/.m2/repository/freemarker/freemarker/2.3.8/freemarker-2.3.8.jar, /home/username/.m2/repository/org/hibernate/jtidy/r8-20060801/jtidy-r8-20060801.jar, /home/username/.m2/repository/org/hibernate/hibernate-validator/4.0.0.GA/hibernate-validator-4.0.0.GA.jar, /home/username/.m2/repository/javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA.jar, /home/username/.m2/repository/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar, /home/username/.m2/repository/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar, /home/username/.m2/repository/javax/activation/activation/1.1.1/activation-1.1.1.jar, /home/username/.m2/repository/com/sun/xml/bind/jaxb-impl/2.1.3/jaxb-impl-2.1.3.jar, /home/username/.m2/repository/org/aspectj/aspectjrt/1.6.10/aspectjrt-1.6.10.jar, /home/username/.m2/repository/org/aspectj/aspectjweaver/1.6.10/aspectjweaver-1.6.10.jar, /home/username/.m2/repository/com/company/commons/test/4.1.0-SNAPSHOT/test-4.1.0-SNAPSHOT.jar, /home/username/.m2/repository/junit/junit/4.5/junit-4.5.jar, /home/username/.m2/repository/org/mockito/mockito-all/1.8.5/mockito-all-1.8.5.jar, /home/username/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar, /home/username/.m2/repository/org/springframework/spring-orm/3.0.3.RELEASE/spring-orm-3.0.3.RELEASE.jar, /home/username/.m2/repository/org/springframework/spring-beans/3.0.3.RELEASE/spring-beans-3.0.3.RELEASE.jar, /home/username/.m2/repository/org/springframework/spring-core/3.0.3.RELEASE/spring-core-3.0.3.RELEASE.jar, /home/username/.m2/repository/org/springframework/spring-asm/3.0.3.RELEASE/spring-asm-3.0.3.RELEASE.jar, /home/username/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar, /home/username/.m2/repository/org/springframework/spring-jdbc/3.0.3.RELEASE/spring-jdbc-3.0.3.RELEASE.jar, /home/username/.m2/repository/org/springframework/spring-tx/3.0.3.RELEASE/spring-tx-3.0.3.RELEASE.jar, /home/username/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar, /home/username/.m2/repository/org/springframework/spring-aop/3.0.3.RELEASE/spring-aop-3.0.3.RELEASE.jar, /home/username/.m2/repository/org/springframework/spring-context/3.0.3.RELEASE/spring-context-3.0.3.RELEASE.jar, /home/username/.m2/repository/org/springframework/spring-expression/3.0.3.RELEASE/spring-expression-3.0.3.RELEASE.jar, /home/username/.m2/repository/org/springframework/spring-web/3.0.3.RELEASE/spring-web-3.0.3.RELEASE.jar, /home/username/.m2/repository/org/springframework/spring-test/3.0.3.RELEASE/spring-test-3.0.3.RELEASE.jar, /home/username/.m2/repository/javax/servlet/com.springsource.javax.servlet/2.5.0/com.springsource.javax.servlet-2.5.0.jar, /home/username/.m2/repository/commons-beanutils/commons-beanutils/1.8.0/commons-beanutils-1.8.0.jar, /home/username/.m2/repository/com/google/guava/guava/16.0.1/guava-16.0.1.jar, /home/username/.m2/repository/org/springframework/spring-aspects/3.0.3.RELEASE/spring-aspects-3.0.3.RELEASE.jar, /home/username/.m2/repository/org/springframework/spring-context-support/3.0.3.RELEASE/spring-context-support-3.0.3.RELEASE.jar, /home/username/.m2/repository/com/company/commons/config/4.1.0-SNAPSHOT/config-4.1.0-SNAPSHOT.jar, /home/username/.m2/repository/com/company/commons/mvc/4.1.0-SNAPSHOT/mvc-4.1.0-SNAPSHOT.jar, /home/username/.m2/repository/com/company/commons/utils/4.1.0-SNAPSHOT/utils-4.1.0-SNAPSHOT.jar, /home/username/.m2/repository/de/idyl/winzipaes/1.0.1/winzipaes-1.0.1.jar, /home/username/.m2/repository/org/bouncycastle/bcprov-jdk16/1.45/bcprov-jdk16-1.45.jar, /home/username/.m2/repository/org/apache/velocity/velocity/1.6.4/velocity-1.6.4.jar, /home/username/.m2/repository/oro/oro/2.0.8/oro-2.0.8.jar, /home/username/.m2/repository/org/slf4j/slf4j-log4j12/1.5.8/slf4j-log4j12-1.5.8.jar, /home/username/.m2/repository/log4j/log4j/1.2.17/log4j-1.2.17.jar, /home/username/.m2/repository/org/codehaus/castor/castor-core/1.3.0.1/castor-core-1.3.0.1.jar, /home/username/.m2/repository/org/codehaus/castor/castor-xml/1.3.0.1/castor-xml-1.3.0.1.jar, /home/username/.m2/repository/org/springframework/spring-oxm/3.0.3.RELEASE/spring-oxm-3.0.3.RELEASE.jar, /home/username/.m2/repository/javax/mail/mail/1.4.1/mail-1.4.1.jar, /home/username/.m2/repository/commons-io/commons-io/1.4/commons-io-1.4.jar, /home/username/.m2/repository/org/springframework/batch/spring-batch-core/2.1.7.RELEASE/spring-batch-core-2.1.7.RELEASE.jar, /home/username/.m2/repository/org/springframework/batch/spring-batch-infrastructure/2.1.7.RELEASE/spring-batch-infrastructure-2.1.7.RELEASE.jar, /home/username/.m2/repository/com/thoughtworks/xstream/xstream/1.3/xstream-1.3.jar, /home/username/.m2/repository/xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c.jar, /home/username/.m2/repository/org/codehaus/jettison/jettison/1.1/jettison-1.1.jar, /home/username/.m2/repository/org/springframework/batch/spring-batch-test/2.1.7.RELEASE/spring-batch-test-2.1.7.RELEASE.jar, /home/username/.m2/repository/commons-dbcp/commons-dbcp/1.2.2/commons-dbcp-1.2.2.jar, /home/username/.m2/repository/commons-pool/commons-pool/1.3/commons-pool-1.3.jar, /home/username/.m2/repository/org/apache/poi/poi/3.8-beta5/poi-3.8-beta5.jar, /home/username/.m2/repository/commons-codec/commons-codec/1.4/commons-codec-1.4.jar, /home/username/.m2/repository/net/sf/opencsv/opencsv/2.0/opencsv-2.0.jar, /home/username/.m2/repository/com/itextpdf/itextpdf/5.4.5/itextpdf-5.4.5.jar, /home/username/.m2/repository/com/company/commons/db/4.1.0-SNAPSHOT/db-4.1.0-SNAPSHOT.jar, /home/username/.m2/repository/com/company/commons/dbdeploy/4.1.0-SNAPSHOT/dbdeploy-4.1.0-SNAPSHOT.jar, /home/username/.m2/repository/org/apache/ant/ant/1.7.0/ant-1.7.0.jar, /home/username/.m2/repository/org/apache/ant/ant-launcher/1.7.0/ant-launcher-1.7.0.jar, /home/username/.m2/repository/com/dbdeploy/dbdeploy-core/3.0M1/dbdeploy-core-3.0M1.jar, /home/username/.m2/repository/mysql/mysql-connector-java/5.1.22/mysql-connector-java-5.1.22.jar, /home/username/.m2/repository/hsqldb/hsqldb/1.8.0.10/hsqldb-1.8.0.10.jar, /home/username/.m2/repository/org/apache/commons/com.springsource.org.apache.commons.dbcp/1.2.2.osgi/com.springsource.org.apache.commons.dbcp-1.2.2.osgi.jar, /home/username/.m2/repository/org/apache/commons/com.springsource.org.apache.commons.pool/1.3.0/com.springsource.org.apache.commons.pool-1.3.0.jar, /home/username/.m2/repository/org/codehaus/jackson/jackson-mapper-asl/1.4.5/jackson-mapper-asl-1.4.5.jar, /home/username/.m2/repository/org/codehaus/jackson/jackson-core-asl/1.4.5/jackson-core-asl-1.4.5.jar, /home/username/.m2/repository/commons-validator/commons-validator/1.3.1/commons-validator-1.3.1.jar, /home/username/.m2/repository/commons-digester/commons-digester/1.6/commons-digester-1.6.jar, /home/username/.m2/repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar, /home/username/.m2/repository/org/apache/poi/poi-ooxml/3.8-beta5/poi-ooxml-3.8-beta5.jar, /home/username/.m2/repository/org/apache/poi/poi-ooxml-schemas/3.8-beta5/poi-ooxml-schemas-3.8-beta5.jar, /home/username/.m2/repository/org/apache/xmlbeans/xmlbeans/2.3.0/xmlbeans-2.3.0.jar, /home/username/.m2/repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar, /home/username/.m2/repository/org/springframework/spring-webmvc/3.0.3.RELEASE/spring-webmvc-3.0.3.RELEASE.jar, /home/username/.m2/repository/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar, /home/username/.m2/repository/org/springframework/spring-jms/3.0.3.RELEASE/spring-jms-3.0.3.RELEASE.jar, /home/username/.m2/repository/javax/jms/jms/1.1/jms-1.1.jar, /home/username/.m2/repository/org/springframework/security/spring-security-core/3.0.0.RC1/spring-security-core-3.0.0.RC1.jar, /home/username/.m2/repository/org/springframework/security/spring-security-web/3.0.0.RC1/spring-security-web-3.0.0.RC1.jar, /home/username/.m2/repository/com/company/commons/schemas/4.1.0-SNAPSHOT/schemas-4.1.0-SNAPSHOT.jar, /home/username/.m2/repository/jakarta-regexp/jakarta-regexp/1.4/jakarta-regexp-1.4.jar, /home/username/.m2/repository/com/company/notification/email-client/4.1.0-SNAPSHOT/email-client-4.1.0-SNAPSHOT.jar, /home/username/.m2/repository/com/company/identity/client/4.1.0-SNAPSHOT/client-4.1.0-SNAPSHOT.jar, /home/username/.m2/repository/org/springframework/security/oauth/spring-security-oauth/1.0.0.M2/spring-security-oauth-1.0.0.M2.jar, /home/username/.m2/repository/org/springframework/security/spring-security-config/3.0.0.RC1/spring-security-config-3.0.0.RC1.jar, /home/username/.m2/repository/com/googlecode/json-simple/json-simple/1.1/json-simple-1.1.jar, /home/username/.m2/repository/com/company/cts/cts-client/4.1.0-SNAPSHOT/cts-client-4.1.0-SNAPSHOT.jar, /home/username/.m2/repository/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.jar, /home/username/.m2/repository/com/google/code/findbugs/annotations/1.3.9/annotations-1.3.9.jar, /home/username/.m2/repository/org/pitest/pitest/1.1.3/pitest-1.1.3.jar], mutators=[], dependencyAnalysisMaxDistance=-1, mutateStaticInitializers=false, jvmArgs=[], numberOfThreads=1, timeoutFactor=1.25, timeoutConstant=3000, targetTests=[], loggingClasses=[], maxMutationsPerClass=-1, verbose=true, failWhenNoMutations=true, outputs=[HTML], groupConfig=TestGroupConfig [excludedGroups=[], includedGroups=[]], mutationUnitSize=0, shouldCreateTimestampedReports=true, detectInlinedCode=true, exportLineCoverage=false, mutationThreshold=0, coverageThreshold=0, mutationEngine=gregor, javaExecutable=null]
10:41:59 AM PIT >> FINE : System class path is /opt/tools/apache-maven-2.2.1/boot/classworlds-1.1.jar
10:41:59 AM PIT >> FINE : Maximum available memory is 910 mb
10:41:59 AM PIT >> FINE : using port 8092
10:41:59 AM PIT >> FINE : SLAVE : Installing PIT agent

10:41:59 AM PIT >> INFO : Sending 11 test classes to slave
10:41:59 AM PIT >> INFO : Sent tests to slave
10:41:59 AM PIT >> WARNING : Error while watching child process
java.util.concurrent.ExecutionException: org.pitest.util.PitError: Connection reset

Please copy and paste the information and the complete stacktrace below when reporting an issue
VM : Java HotSpot(TM) 64-Bit Server VM
Vendor : Sun Microsystems Inc.
Version : 20.4-b02
Uptime : 10012
Input -> 
 1 : -Xmx1024M
 2 : -XX:MaxPermSize=512M
 3 : -Dclassworlds.conf=/opt/tools/apache-maven-2.2.1/bin/m2.conf
 4 : -Dmaven.home=/opt/tools/apache-maven-2.2.1
BootClassPathSupported : true

    at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
    at java.util.concurrent.FutureTask.get(FutureTask.java:83)
    at org.pitest.util.CommunicationThread.waitToFinish(CommunicationThread.java:60)
    at org.pitest.coverage.execute.CoverageProcess.waitToDie(CoverageProcess.java:35)
    at org.pitest.coverage.execute.DefaultCoverageGenerator.gatherCoverageData(DefaultCoverageGenerator.java:131)
    at org.pitest.coverage.execute.DefaultCoverageGenerator.calculateCoverage(DefaultCoverageGenerator.java:85)
    at org.pitest.coverage.execute.DefaultCoverageGenerator.calculateCoverage(DefaultCoverageGenerator.java:49)
    at org.pitest.mutationtest.tooling.MutationCoverage.runReport(MutationCoverage.java:112)
    at org.pitest.mutationtest.tooling.EntryPoint.execute(EntryPoint.java:101)
    at org.pitest.mutationtest.tooling.EntryPoint.execute(EntryPoint.java:43)
    at org.pitest.maven.RunPitStrategy.execute(RunPitStrategy.java:32)
    at org.pitest.maven.PitMojo.analyse(PitMojo.java:344)
    at org.pitest.maven.PitMojo.execute(PitMojo.java:311)
    at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
    at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
    at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
    at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
    at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.pitest.util.PitError: Connection reset

Please copy and paste the information and the complete stacktrace below when reporting an issue
VM : Java HotSpot(TM) 64-Bit Server VM
Vendor : Sun Microsystems Inc.
Version : 20.4-b02
Uptime : 10012
Input -> 
 1 : -Xmx1024M
 2 : -XX:MaxPermSize=512M
 3 : -Dclassworlds.conf=/opt/tools/apache-maven-2.2.1/bin/m2.conf
 4 : -Dmaven.home=/opt/tools/apache-maven-2.2.1
BootClassPathSupported : true

    at org.pitest.util.Unchecked.translateCheckedException(Unchecked.java:20)
    at org.pitest.util.SafeDataInputStream.readByte(SafeDataInputStream.java:65)
    at org.pitest.util.SocketReadingCallable.receiveResults(SocketReadingCallable.java:63)
    at org.pitest.util.SocketReadingCallable.call(SocketReadingCallable.java:36)
    at org.pitest.util.SocketReadingCallable.call(SocketReadingCallable.java:12)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java.lang.Thread.run(Thread.java:662)
Caused by: java.net.SocketException: Connection reset
    at java.net.SocketInputStream.read(SocketInputStream.java:168)
    at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
    at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
    at java.io.DataInputStream.readByte(DataInputStream.java:248)
    at org.pitest.util.SafeDataInputStream.readByte(SafeDataInputStream.java:63)
    ... 6 more
10:41:59 AM PIT >> SEVERE : Coverage generator Slave exited abnormally due to UNKNOWN_ERROR
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Coverage generation slave exited abnormally!

Please copy and paste the information and the complete stacktrace below when reporting an issue
VM : Java HotSpot(TM) 64-Bit Server VM
Vendor : Sun Microsystems Inc.
Version : 20.4-b02
Uptime : 10014
Input -> 
 1 : -Xmx1024M
 2 : -XX:MaxPermSize=512M
 3 : -Dclassworlds.conf=/opt/tools/apache-maven-2.2.1/bin/m2.conf
 4 : -Dmaven.home=/opt/tools/apache-maven-2.2.1
BootClassPathSupported : true


Please copy and paste the information and the complete stacktrace below when reporting an issue
VM : Java HotSpot(TM) 64-Bit Server VM
Vendor : Sun Microsystems Inc.
Version : 20.4-b02
Uptime : 10015
Input -> 
 1 : -Xmx1024M
 2 : -XX:MaxPermSize=512M
 3 : -Dclassworlds.conf=/opt/tools/apache-maven-2.2.1/bin/m2.conf
 4 : -Dmaven.home=/opt/tools/apache-maven-2.2.1
BootClassPathSupported : true

[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.pitest.util.PitError: Coverage generation slave exited abnormally!

Please copy and paste the information and the complete stacktrace below when reporting an issue
VM : Java HotSpot(TM) 64-Bit Server VM
Vendor : Sun Microsystems Inc.
Version : 20.4-b02
Uptime : 10014
Input -> 
 1 : -Xmx1024M
 2 : -XX:MaxPermSize=512M
 3 : -Dclassworlds.conf=/opt/tools/apache-maven-2.2.1/bin/m2.conf
 4 : -Dmaven.home=/opt/tools/apache-maven-2.2.1
BootClassPathSupported : true


Please copy and paste the information and the complete stacktrace below when reporting an issue
VM : Java HotSpot(TM) 64-Bit Server VM
Vendor : Sun Microsystems Inc.
Version : 20.4-b02
Uptime : 10015
Input -> 
 1 : -Xmx1024M
 2 : -XX:MaxPermSize=512M
 3 : -Dclassworlds.conf=/opt/tools/apache-maven-2.2.1/bin/m2.conf
 4 : -Dmaven.home=/opt/tools/apache-maven-2.2.1
BootClassPathSupported : true

    at org.pitest.util.Unchecked.translateCheckedException(Unchecked.java:20)
    at org.pitest.coverage.execute.DefaultCoverageGenerator.calculateCoverage(DefaultCoverageGenerator.java:101)
    at org.pitest.coverage.execute.DefaultCoverageGenerator.calculateCoverage(DefaultCoverageGenerator.java:49)
    at org.pitest.mutationtest.tooling.MutationCoverage.runReport(MutationCoverage.java:112)
    at org.pitest.mutationtest.tooling.EntryPoint.execute(EntryPoint.java:101)
    at org.pitest.mutationtest.tooling.EntryPoint.execute(EntryPoint.java:43)
    at org.pitest.maven.RunPitStrategy.execute(RunPitStrategy.java:32)
    at org.pitest.maven.PitMojo.analyse(PitMojo.java:344)
    at org.pitest.maven.PitMojo.execute(PitMojo.java:311)
    at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
    at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
    at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
    at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
    at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.pitest.util.PitError: Coverage generation slave exited abnormally!

Please copy and paste the information and the complete stacktrace below when reporting an issue
VM : Java HotSpot(TM) 64-Bit Server VM
Vendor : Sun Microsystems Inc.
Version : 20.4-b02
Uptime : 10014
Input -> 
 1 : -Xmx1024M
 2 : -XX:MaxPermSize=512M
 3 : -Dclassworlds.conf=/opt/tools/apache-maven-2.2.1/bin/m2.conf
 4 : -Dmaven.home=/opt/tools/apache-maven-2.2.1
BootClassPathSupported : true

    at org.pitest.coverage.execute.DefaultCoverageGenerator.gatherCoverageData(DefaultCoverageGenerator.java:135)
    at org.pitest.coverage.execute.DefaultCoverageGenerator.calculateCoverage(DefaultCoverageGenerator.java:85)
    ... 26 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9 seconds
[INFO] Finished at: Fri Jan 30 10:41:59 GMT 2015
[INFO] Final Memory: 32M/335M
[INFO] ------------------------------------------------------------------------

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:13 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
Kidlikecommented, Feb 2, 2015

@KyleRogers spot on!

I got my juicy reports by upgrading to 4.6.

Before closing this issue, I would suggest providing a more human friendly error message (as you thought there was).

Otherwise I bet you will get this again in the future 😃

1reaction
StefanPenndorfcommented, Jan 30, 2015

Hi there,

I think the problem is indeed JUnit - I spotted you’re using JUnit 4.5. PIT seems not to work with JUnit prior to 4.6 because it’s using Description.getTestClass() method that was added in JUnit 4.6

In JUnit 4.5 the class of the test is not available in Description. It is only possible to extract/parse it from the “name” of the test (usually something like “shouldDoFoo(com.bar.BarTest)”) Might be possible to look for the getTestClass() method via reflection and invoke it if it exists or fall back to the parsing approach for JUnit 4.5 This might give us simple JUnit 4.5 support but will still fail if (a custom) Runner uses another naming schema.

JUnit 4.4 does not have a Runner class at all - thus it will be much more work to support JUnit 4.4 and earlier.

And finally if you’re using JUnit Categories via includeGroup and excludeGroup configuration property you’ll need JUnit 4.8 and later. Fortunately the JVM seems to be lucky and does not try to load Category class until it is really needed thus PIT works with JUnit 4.6 and 4.7 if you don’t use those configuration options.

@Kidlike is upgrading to JUnit 4.6 an option for you?

Regards Stefan

Am 30.01.2015 um 22:29 schrieb Kidlike:

The results are always consistent, no matter what I’ve tried. The maven module I run it on is part of a huge maven structure. I can’t see how is this relevant; although I am very new to the mutation world.

For now, The machine is running with Intel Xeon and 8gb ram. OS: CentOS 6.6 64bit, kernel 2.6 I tried with opendjk 1.6 and oracle 1.7. And if I remember correctly there are no rules in iptables.

More information on Monday, when I will also try to run triangle-example.

Thanks !

— Reply to this email directly or view it on GitHub https://github.com/hcoles/pitest/issues/168#issuecomment-72273405.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Maven Connection Reset error - Stack Overflow
-Dhttps.protocols=TLSv1.2 ... I was getting the Connection Reset error. This error appeared when trying to access a resource on my network.
Read more >
Maven project Build failing with connection reset error
While building the Maven project in VSTS, we are facing the connection reset error, this is happening when its trying to download a...
Read more >
Error while watching child process... "org.pitest.PitError: null ...
Hi there,. I'm getting the following failure while calculating coverage for a new project, on a Mac with JDK 7, with both 0.29...
Read more >
pitestrunner - issue #40 - Google Code
SocketException: Connection reset at java.net.SocketOutputStream. ... 5 : -Dmaven.home=/usr/share/maven2 BootClassPathSupported : true
Read more >
Unable to pull from maven central (connection reset by peer)
Since this is persisting since days, I tried to access the artifacts from the browser and indeed, when e.g. going to 'http://repo1.maven.org/maven2/org/owasp/ ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found