Ant jmeter task is not executed without -v option - ant

I have the following strange situation - the jmeter test is not executed, if i didn't specified "-v" option.
Here is an example
C:\jmeter>ant run Buildfile: C:\jmeter\build.xml
clean: [delete] Deleting directory C:\jmeter\result [delete]
Deleting directory C:\jmeter\log
show-test-properties:
[echo] JMETER_HOME : C:\temp\apache-jmeter-2.13
[echo] TEST_PATH : C:\jmeter/test
[echo] TEST_NAME : tag.jmx
[echo] THREADGROUP_COUNT : 2
[echo] THREADGROUP_RAMPUP : 2
[echo] THREADGROUP_DURATION : 60
run:
[mkdir] Created dir: C:\jmeter\result
[mkdir] Created dir: C:\jmeter\log [jmeter] Executing test plan: C:\jmeter\test\tag.jmx ==> C:\jmeter\result\result.jtl
But test is not executed at all.
And now with -v ( which is only verbose and shouldn't affect the run itself"):
[jmeter] Executing 'C:\Program
Files\Java\jdk1.8.0_74\jre\bin\java.exe' with arguments: [jmeter]
'-Xmx5120m' [jmeter] '-jar' [jmeter]
'C:\jmeter-2.13\bin\ApacheJMeter.jar' [jmeter] '-n' [jmeter]
'-j' [jmeter] 'C:\jmeter\log\jmeter.log' [jmeter] '-t'
[jmeter] 'C:\jmeter\test\tag.jmx' [jmeter] '-l' [jmeter]
'C:\jmeter\result\result.jtl' [jmeter]
'-Jjmeter.save.saveservice.output_format=xml' [jmeter]
'-Jjmeter.save.saveservice.assertion_results=all' [jmeter]
'-Jjmeter.save.saveservice.thread_counts=true' [jmeter]
'-Jjmeter.save.saveservice.bytes=true' [jmeter]
'-Jjmeter.save.saveservice.response_data.on_error=true' [jmeter]
'-Jthreadgroup.count=2' [jmeter] '-Jthreadgroup.rampup=2'
[jmeter] '-Jthreadgroup.duration=60' [jmeter] [jmeter] The '
characters around the executable and arguments are [jmeter] not
part of the command. [jmeter] Creating summariser
[jmeter] Created the tree successfully using C:\jmeter\test\tag.jmx
[jmeter] Starting the test # Mon Feb 29 10:25:57 CET 2016
(1456737957623) [jmeter] Waiting for possible shutdown message on
port 4445 [jmeter] summary = 20 in 1.4s = 13.8/s Avg: 198
Min: 60 Max: 4 26 Err: 10 (50.00%) [jmeter] Tidying up ...
# Mon Feb 29 10:25:59 CET 2016 (1456737959184) [jmeter] ... end of
run
BUILD SUCCESSFUL Total time: 3 seconds
Any ideas, helps, hints?

The problem seems to be with your Ant.
Check the ant version. It should be 1.9.6.
There was an issue with Ant 1.9.5 + Java >1.8 & it got fixed in Ant 1.9.6

Related

How to use Maven assembly with accent in directory name on Jenkins Docker?

I use maven-assembly-plugin
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.3.0</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
<configuration>
<descriptors>
<descriptor>assembly.xml</descriptor>
</descriptors>
</configuration>
</plugin>
assembly file:
<?xml version="1.0" encoding="UTF-8"?>
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd">
<id>rules</id>
<formats>
<format>jar</format>
</formats>
<baseDirectory>xxx-xxx-xxxFramework-rules</baseDirectory>
<fileSets>
<fileSet>
<outputDirectory></outputDirectory>
<directory>${basedir}</directory>
<excludes>
<exclude>target</exclude>
</excludes>
</fileSet>
</fileSets>
</assembly>
I have at root directory a folder named règle. I use mvn clean deploy. On my Windows 10 device, I have restult OK with règle folder in my jar file final but if I build on my Jenkins Unix Docker, I have a success build but without my folder named règle in my jar file final.
EDIT logs in Jenkins Docker:
Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-14T18:29:23+01:00)
Maven home: /usr/local/share/maven
Java version: 1.8.0_191, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-1.el7_6.x86_64/jre
Default locale: en_US, platform encoding: ANSI_X3.4-1968
OS name: "linux", version: "3.10.0-1127.el7.x86_64", arch: "amd64", family: "unix"
EDIT 2 (add -X on Maven command):
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-assembly-plugin:2.6:single' with basic configurator -->
[DEBUG] (s) appendAssemblyId = true
[DEBUG] (f) attach = true
[DEBUG] (s) basedir = /home/jenkins/workspace/xxx_Common_xxxGenerate/xxx-xxx-xxxframework/xxx-xxx-xxxFramework-xxx
[DEBUG] (s) descriptor = assembly.xml
[DEBUG] (f) dryRun = false
[DEBUG] (f) encoding = Cp1252
EDIT 3:
[DEBUG] (f) encoding = UTF-8
[DEBUG] All known ContainerDescriptorHandler components: [file-aggregator, metaInf-spring, plexus, metaInf-services]
[DEBUG] FileSet[] dir perms: -1 file perms: -1
[DEBUG] The archive base directory is 'null'
[DEBUG] NOT reformatting any files in /home/jenkins/workspace/xxx_Common_xxxGenerate/xxx-xxx-xxxframework/xxx-xxx-xxxFramework-rules/.
[DEBUG] Adding file-set in: /home/jenkins/workspace/xxx_Common_xxxGenerate/xxx-xxx-xxxframework/xxx-xxx-xxxFramework-rules/. to archive location: xxx-xxx-xxxFramework-rules/
[DEBUG] adding directory xxx-xxx-xxxFramework-rules/
[DEBUG] adding directory xxx-xxx-xxxFramework-rules/.settings/
[DEBUG] adding directory xxx-xxx-xxxFramework-rules/bom/
[DEBUG] adding directory xxx-xxx-xxxFramework-rules/ressources/
[DEBUG] adding directory xxx-xxx-xxxFramework-rules/ressources/xom-libraries/
[DEBUG] adding directory xxx-xxx-xxxFramework-rules/target/
[DEBUG] adding directory xxx-xxx-xxxFramework-rules/target/archive-tmp/
EDIT 4:
I try add this but do not work:
<fileMode>0755</fileMode>
<directoryMode>0755</directoryMode>
EDIT 5:
I add this:
withMaven(globalMavenSettingsConfig: 'empty-global-settings', mavenSettingsConfig: Constants.CONFIG_SETTINGS_ID) {
sh "pwd"
sh "ls -lrt"
sh "ls -lrt /home/jenkins/workspace/xxx_Common_xxxGenerate/xxx-xxx-commonutility/xxx-xxx-CommonUtility-rules"
sh "ls -lrt /home/jenkins/workspace/xxx_Common_xxxGenerate/xxx-xxx-commonutility/xxx-xxx-CommonUtility-rules/règles"
sh "$MVN_CMD deploy -X"
}
and my result is:
+ ls -lrt /home/jenkins/workspace/xxx_Common_xxxGenerate/xxx-xxx-commonutility/xxx-xxx-CommonUtility-rules
total 8
drwxr-xr-x. 2 jenkins root 125 Jul 15 21:32 bom
-rw-r--r--. 1 jenkins root 657 Jul 15 21:32 assembly.xml
drwxr-xr-x. 3 jenkins root 27 Jul 15 21:32 ressources
-rw-r--r--. 1 jenkins root 1492 Jul 15 21:32 pom.xml
drwxr-xr-x. 2 jenkins root 57 Jul 15 21:32 data
drwxr-xr-x. 3 jenkins root 23 Jul 15 21:32 règles
drwxr-xr-x. 3 jenkins root 82 Jul 15 21:32 target
[Pipeline] sh
+ ls -lrt $'/home/jenkins/workspace/xxx_Common_xxxGenerate/xxx-xxx-commonutility/xxx-xxx-CommonUtility-rules/r\303\250gles'
total 0
I convert my comment to an answer:
The problem seems to be the strange encoding of the Docker image:
platform encoding: ANSI_X3.4-1968

PITest cannot find tests

Our projects are all set up with a master parent for the entire company. For the project I'm working on, we have a root pom that references that parent with many modules underneath it. Attempting to use PITest with any one of these modules individually, or at the root module results in no test being run.
λ lp-server-write mvn clean org.pitest:pitest-maven:mutationCoverage
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.company.platform.server:lp-server-write:jar:0.0.305-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin is missing. # com.company.platform.server:lp-server-root:0.0.305-SNAPSHOT, /me/Documents/dev/code/server/pom.xml, line 69, column 21
[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 Platform Server :: App Write 0.0.305-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for com.company.thirdparty.generated.thing:thing-231:jar:2.3.1 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) # lp-server-write ---
[INFO] Deleting /me/Documents/dev/code/server/lp-server-write/target
[INFO]
[INFO] --- pitest-maven:1.2.0:mutationCoverage (default-cli) # lp-server-write ---
[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 plugin : Kotlin junk mutations filter
[INFO] Found shared classpath plugin : Default mutation engine
[INFO] Adding org.pitest:pitest to SUT classpath
[INFO] Mutating from /me/Documents/dev/code/server/lp-server-write/target/classes
4:52:46 PM PIT >> FINE : Running report with ReportOptions [targetClasses=[^com\.company\..*$], excludedMethods=[], excludedClasses=[^.*.*\..*IT$, ^.*.*\..*SpringBootTest$], codePaths=[/me/Documents/dev/code/server/lp-server-write/target/classes], reportDir=/me/Documents/dev/code/server/lp-server-write/target/pit-reports, historyInputLocation=null, historyOutputLocation=null, sourceDirs=[/me/Documents/dev/code/server/lp-server-write/src/main/java, /me/Documents/dev/code/server/lp-server-write/src/test/java], classPathElements=[/me/Documents/dev/code/server/lp-server-write/target/test-classes, /me/Documents/dev/code/server/lp-server-write/target/classes, /me/.m2/repository/com/company/platform/server/common/lp-server-common-test/0.0.305-SNAPSHOT/lp-server-common-test-0.0.305-SNAPSHOT.jar, /me/.m2/repository/com/company/common/integrationtests/common-integrationtest/0.0.20/common-integrationtest-0.0.20.jar, /me/.m2/repository/com/jayway/restassured/rest-assured/2.9.0/rest-assured-2.9.0.jar, /me/.m2/repository/org/codehaus/groovy/groovy/2.4.7/groovy-2.4.7.jar, /me/.m2/repository/org/codehaus/groovy/groovy-xml/2.4.7/groovy-xml-2.4.7.jar, /me/.m2/repository/org/apache/httpcomponents/httpclient/4.5.2/httpclient-4.5.2.jar, /me/.m2/repository/org/apache/httpcomponents/httpcore/4.4.5/httpcore-4.4.5.jar, /me/.m2/repository/commons-codec/commons-codec/1.10/commons-codec-1.10.jar, /me/.m2/repository/org/apache/httpcomponents/httpmime/4.5.2/httpmime-4.5.2.jar, /me/.m2/repository/org/hamcrest/hamcrest-library/1.3/hamcrest-library-1.3.jar, /me/.m2/repository/org/ccil/cowan/tagsoup/tagsoup/1.2.1/tagsoup-1.2.1.jar, /me/.m2/repository/com/jayway/restassured/json-path/2.9.0/json-path-2.9.0.jar, /me/.m2/repository/org/codehaus/groovy/groovy-json/2.4.7/groovy-json-2.4.7.jar, /me/.m2/repository/com/jayway/restassured/rest-assured-common/2.9.0/rest-assured-common-2.9.0.jar, /me/.m2/repository/com/jayway/restassured/xml-path/2.9.0/xml-path-2.9.0.jar, /me/.m2/repository/org/skyscreamer/jsonassert/1.3.0/jsonassert-1.3.0.jar, /me/.m2/repository/org/json/json/20140107/json-20140107.jar, /me/.m2/repository/com/jayway/jsonpath/json-path/2.2.0/json-path-2.2.0.jar, /me/.m2/repository/net/minidev/json-smart/2.2.1/json-smart-2.2.1.jar, /me/.m2/repository/net/minidev/accessors-smart/1.1/accessors-smart-1.1.jar, /me/.m2/repository/org/ow2/asm/asm/5.0.3/asm-5.0.3.jar, /me/.m2/repository/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5.jar, /me/.m2/repository/org/apache/commons/commons-io/1.3.2/commons-io-1.3.2.jar, /me/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.8.5/jackson-core-2.8.5.jar, /me/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.8.5/jackson-annotations-2.8.5.jar, /me/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.8.5/jackson-datatype-jsr310-2.8.5.jar, /me/.m2/repository/com/fasterxml/jackson/dataformat/jackson-dataformat-xml/2.8.5/jackson-dataformat-xml-2.8.5.jar, /me/.m2/repository/com/fasterxml/jackson/module/jackson-module-jaxb-annotations/2.8.5/jackson-module-jaxb-annotations-2.8.5.jar, /me/.m2/repository/org/codehaus/woodstox/stax2-api/3.1.4/stax2-api-3.1.4.jar, /me/.m2/repository/com/fasterxml/woodstox/woodstox-core/5.0.3/woodstox-core-5.0.3.jar, /me/.m2/repository/org/projectlombok/lombok/1.16.12/lombok-1.16.12.jar, /me/.m2/repository/com/company/platform/server/decision/lp-server-decision-common/0.0.305-SNAPSHOT/lp-server-decision-common-0.0.305-SNAPSHOT.jar, /me/.m2/repository/com/company/platform/server/common/lp-server-common/0.0.305-SNAPSHOT/lp-server-common-0.0.305-SNAPSHOT.jar, /me/.m2/repository/com/company/annotations/pt-annotation-processors/1.0.3/pt-annotation-processors-1.0.3.jar, /me/.m2/repository/com/company/annotations/pt-annotations/1.0.3/pt-annotations-1.0.3.jar, /me/.m2/repository/com/company/utils/lombok-test-robot/1.0.1/lombok-test-robot-1.0.1.jar, /me/.m2/repository/org/reflections/reflections/0.9.10/reflections-0.9.10.jar, /me/.m2/repository/com/google/code/findbugs/annotations/2.0.1/annotations-2.0.1.jar, /me/.m2/repository/com/datapublica/pg/hibernate-json/0.3/hibernate-json-0.3.jar, /me/.m2/repository/com/fasterxml/jackson/module/jackson-module-parameter-names/2.8.5/jackson-module-parameter-names-2.8.5.jar, /me/.m2/repository/com/fasterxml/jackson/module/jackson-module-kotlin/2.8.5/jackson-module-kotlin-2.8.5.jar, /me/.m2/repository/org/jetbrains/kotlin/kotlin-reflect/1.1.0/kotlin-reflect-1.1.0.jar, /me/.m2/repository/org/jvnet/jaxb2_commons/jaxb2-basics/0.6.4/jaxb2-basics-0.6.4.jar, /me/.m2/repository/org/jvnet/jaxb2_commons/jaxb2-basics-runtime/0.6.4/jaxb2-basics-runtime-0.6.4.jar, /me/.m2/repository/org/jvnet/jaxb2_commons/jaxb2-basics-tools/0.6.4/jaxb2-basics-tools-0.6.4.jar, /me/.m2/repository/commons-beanutils/commons-beanutils/1.9.3/commons-beanutils-1.9.3.jar, /me/.m2/repository/com/google/code/javaparser/javaparser/1.0.8/javaparser-1.0.8.jar, /me/.m2/repository/org/mapstruct/mapstruct-jdk8/1.2.0-company/mapstruct-jdk8-1.2.0-company.jar, /me/.m2/repository/org/mapstruct/mapstruct-processor/1.2.0-company/mapstruct-processor-1.2.0-company.jar, /me/.m2/repository/org/apache/velocity/velocity/1.7/velocity-1.7.jar, /me/.m2/repository/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.jar, /me/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar, /me/.m2/repository/org/axonframework/axon-spring/3.0.2/axon-spring-3.0.2.jar, /me/.m2/repository/org/hibernate/common/hibernate-commons-annotations/5.0.1.Final/hibernate-commons-annotations-5.0.1.Final.jar, /me/.m2/repository/org/joda/joda-money/0.11/joda-money-0.11.jar, /me/.m2/repository/org/postgresql/postgresql/9.4.1212.jre7/postgresql-9.4.1212.jre7.jar, /boot/spring-boot-starter-actuator/1.4.3.RELEASE/spring-boot-starter-actuator-1.4.3.RELEASE.jar, /boot/spring-boot-actuator/1.4.3.RELEASE/spring-boot-actuator-1.4.3.RELEASE.jar, /boot/spring-boot-starter-hateoas/1.4.3.RELEASE/spring-boot-starter-hateoas-1.4.3.RELEASE.jar, /hateoas/spring-hateoas/0.20.0.RELEASE/spring-hateoas-0.20.0.RELEASE.jar, /security/spring-security-core/4.1.4.RELEASE/spring-security-core-4.1.4.RELEASE.jar, /me/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar, /me/.m2/repository/com/company/platform/server/lp-server-common/0.0.305-SNAPSHOT/lp-server-common-0.0.305-SNAPSHOT.jar, /spring-test/4.3.5.RELEASE/spring-test-4.3.5.RELEASE.jar, /spring-core/4.3.5.RELEASE/spring-core-4.3.5.RELEASE.jar, /me/.m2/repository/commons-logging/commons-logging/1.2/commons-logging-1.2.jar, /me/.m2/repository/org/hamcrest/hamcrest-all/1.3/hamcrest-all-1.3.jar, /me/.m2/repository/org/mockito/mockito-all/1.10.19/mockito-all-1.10.19.jar, /boot/spring-boot-test-autoconfigure/1.4.3.RELEASE/spring-boot-test-autoconfigure-1.4.3.RELEASE.jar, /boot/spring-boot-test/1.4.3.RELEASE/spring-boot-test-1.4.3.RELEASE.jar, /boot/spring-boot-autoconfigure/1.4.3.RELEASE/spring-boot-autoconfigure-1.4.3.RELEASE.jar, /me/.m2/repository/com/company/platform/server/read/lp-server-read/0.0.305-SNAPSHOT/lp-server-read-0.0.305-SNAPSHOT.jar, /me/.m2/repository/com/company/platform/calculator/pt-lp-calculator-core/0.0.13/pt-lp-calculator-core-0.0.13.jar, /me/.m2/repository/com/company/platform/calculator/pt-lp-calculator-common/0.0.13/pt-lp-calculator-common-0.0.13.jar, /spring-context/4.3.5.RELEASE/spring-context-4.3.5.RELEASE.jar, /me/.m2/repository/io/springfox/springfox-swagger2/2.6.1/springfox-swagger2-2.6.1.jar, /me/.m2/repository/io/swagger/swagger-annotations/1.5.10/swagger-annotations-1.5.10.jar, /me/.m2/repository/io/swagger/swagger-models/1.5.10/swagger-models-1.5.10.jar, /me/.m2/repository/io/springfox/springfox-spi/2.6.1/springfox-spi-2.6.1.jar, /me/.m2/repository/io/springfox/springfox-core/2.6.1/springfox-core-2.6.1.jar, /me/.m2/repository/io/springfox/springfox-schema/2.6.1/springfox-schema-2.6.1.jar, /me/.m2/repository/io/springfox/springfox-swagger-common/2.6.1/springfox-swagger-common-2.6.1.jar, /me/.m2/repository/io/springfox/springfox-spring-web/2.6.1/springfox-spring-web-2.6.1.jar, /me/.m2/repository/com/google/guava/guava/19.0/guava-19.0.jar, /me/.m2/repository/com/fasterxml/classmate/1.3.3/classmate-1.3.3.jar, /plugin/spring-plugin-core/1.2.0.RELEASE/spring-plugin-core-1.2.0.RELEASE.jar, /plugin/spring-plugin-metadata/1.2.0.RELEASE/spring-plugin-metadata-1.2.0.RELEASE.jar, /me/.m2/repository/org/mapstruct/mapstruct/1.0.0.Final/mapstruct-1.0.0.Final.jar, /boot/spring-boot-starter-data-jpa/1.4.3.RELEASE/spring-boot-starter-data-jpa-1.4.3.RELEASE.jar, /boot/spring-boot-starter-aop/1.4.3.RELEASE/spring-boot-starter-aop-1.4.3.RELEASE.jar, /me/.m2/repository/org/aspectj/aspectjweaver/1.8.9/aspectjweaver-1.8.9.jar, /boot/spring-boot-starter-jdbc/1.4.3.RELEASE/spring-boot-starter-jdbc-1.4.3.RELEASE.jar, /me/.m2/repository/org/apache/tomcat/tomcat-jdbc/8.5.6/tomcat-jdbc-8.5.6.jar, /me/.m2/repository/org/apache/tomcat/tomcat-juli/8.5.6/tomcat-juli-8.5.6.jar, /spring-jdbc/4.3.5.RELEASE/spring-jdbc-4.3.5.RELEASE.jar, /me/.m2/repository/org/hibernate/hibernate-core/5.2.5.Final/hibernate-core-5.2.5.Final.jar, /me/.m2/repository/org/hibernate/javax/persistence/hibernate-jpa-2.1-api/1.0.0.Final/hibernate-jpa-2.1-api-1.0.0.Final.jar, /me/.m2/repository/org/javassist/javassist/3.20.0-GA/javassist-3.20.0-GA.jar, /me/.m2/repository/antlr/antlr/2.7.7/antlr-2.7.7.jar, /jandex/2.0.3.Final/jandex-2.0.3.Final.jar, /me/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar, /enterprise/cdi-api/1.1/cdi-api-1.1.jar, /el/el-api/2.2/el-api-2.2.jar, /spec/javax/interceptor/jboss-interceptors-api_1.1_spec/1.0.0.Beta1/jboss-interceptors-api_1.1_spec-1.0.0.Beta1.jar, /annotation/jsr250-api/1.0/jsr250-api-1.0.jar, /inject/javax.inject/1/javax.inject-1.jar, /me/.m2/repository/org/hibernate/hibernate-entitymanager/5.2.5.Final/hibernate-entitymanager-5.2.5.Final.jar, /me/.m2/repository/net/bytebuddy/byte-buddy/1.5.4/byte-buddy-1.5.4.jar, /transaction/javax.transaction-api/1.2/javax.transaction-api-1.2.jar, /data/spring-data-jpa/1.10.6.RELEASE/spring-data-jpa-1.10.6.RELEASE.jar, /data/spring-data-commons/1.12.6.RELEASE/spring-data-commons-1.12.6.RELEASE.jar, /spring-orm/4.3.5.RELEASE/spring-orm-4.3.5.RELEASE.jar, /me/.m2/repository/org/slf4j/jcl-over-slf4j/1.7.22/jcl-over-slf4j-1.7.22.jar, /spring-aspects/4.3.5.RELEASE/spring-aspects-4.3.5.RELEASE.jar, /boot/spring-boot-starter-security/1.4.3.RELEASE/spring-boot-starter-security-1.4.3.RELEASE.jar, /spring-aop/4.3.5.RELEASE/spring-aop-4.3.5.RELEASE.jar, /security/spring-security-config/4.1.4.RELEASE/spring-security-config-4.1.4.RELEASE.jar, /security/spring-security-web/4.1.4.RELEASE/spring-security-web-4.1.4.RELEASE.jar, /me/.m2/repository/org/axonframework/axon-test/3.0.2/axon-test-3.0.2.jar, /me/.m2/repository/org/axonframework/axon-core/3.0.2/axon-core-3.0.2.jar, /me/.m2/repository/com/thoughtworks/xstream/xstream/1.4.9/xstream-1.4.9.jar, /me/.m2/repository/xpp3/xpp3/1.1.4c/xpp3-1.1.4c.jar, /boot/spring-boot-starter-web/1.4.3.RELEASE/spring-boot-starter-web-1.4.3.RELEASE.jar, /boot/spring-boot-starter/1.4.3.RELEASE/spring-boot-starter-1.4.3.RELEASE.jar, /boot/spring-boot/1.4.3.RELEASE/spring-boot-1.4.3.RELEASE.jar, /boot/spring-boot-starter-logging/1.4.3.RELEASE/spring-boot-starter-logging-1.4.3.RELEASE.jar, /me/.m2/repository/org/slf4j/jul-to-slf4j/1.7.22/jul-to-slf4j-1.7.22.jar, /me/.m2/repository/org/slf4j/log4j-over-slf4j/1.7.22/log4j-over-slf4j-1.7.22.jar, /me/.m2/repository/org/yaml/snakeyaml/1.17/snakeyaml-1.17.jar, /boot/spring-boot-starter-tomcat/1.4.3.RELEASE/spring-boot-starter-tomcat-1.4.3.RELEASE.jar, /me/.m2/repository/org/apache/tomcat/embed/tomcat-embed-core/8.5.6/tomcat-embed-core-8.5.6.jar, /me/.m2/repository/org/apache/tomcat/embed/tomcat-embed-el/8.5.6/tomcat-embed-el-8.5.6.jar, /me/.m2/repository/org/apache/tomcat/embed/tomcat-embed-websocket/8.5.6/tomcat-embed-websocket-8.5.6.jar, /me/.m2/repository/org/hibernate/hibernate-validator/5.2.4.Final/hibernate-validator-5.2.4.Final.jar, /validation/validation-api/1.1.0.Final/validation-api-1.1.0.Final.jar, /logging/jboss-logging/3.3.0.Final/jboss-logging-3.3.0.Final.jar, /me/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.8.5/jackson-databind-2.8.5.jar, /spring-web/4.3.5.RELEASE/spring-web-4.3.5.RELEASE.jar, /spring-beans/4.3.5.RELEASE/spring-beans-4.3.5.RELEASE.jar, /spring-webmvc/4.3.5.RELEASE/spring-webmvc-4.3.5.RELEASE.jar, /spring-expression/4.3.5.RELEASE/spring-expression-4.3.5.RELEASE.jar, /me/.m2/repository/com/company/platform/pt-lp-common/0.0.80/pt-lp-common-0.0.80.jar, /amqp/spring-rabbit/1.6.6.RELEASE/spring-rabbit-1.6.6.RELEASE.jar, /spring-messaging/4.3.5.RELEASE/spring-messaging-4.3.5.RELEASE.jar, /amqp/spring-amqp/1.6.6.RELEASE/spring-amqp-1.6.6.RELEASE.jar, /spring-tx/4.3.5.RELEASE/spring-tx-4.3.5.RELEASE.jar, /retry/spring-retry/1.1.5.RELEASE/spring-retry-1.1.5.RELEASE.jar, /me/.m2/repository/com/rabbitmq/http-client/1.0.0.RELEASE/http-client-1.0.0.RELEASE.jar, /me/.m2/repository/com/rabbitmq/amqp-client/3.6.5/amqp-client-3.6.5.jar, /me/.m2/repository/com/company/thirdparty/generated/thing/thing-231/2.3.1/thing-231-2.3.1.jar, /me/.m2/repository/org/codehaus/groovy/groovy-all/2.4.7/groovy-all-2.4.7.jar, /me/.m2/repository/org/jetbrains/kotlin/kotlin-stdlib/1.1.0/kotlin-stdlib-1.1.0.jar, /me/.m2/repository/org/jetbrains/annotations/13.0/annotations-13.0.jar, /me/.m2/repository/org/jetbrains/kotlin/kotlin-test-junit/1.1.0/kotlin-test-junit-1.1.0.jar, /me/.m2/repository/org/jetbrains/kotlin/kotlin-test/1.1.0/kotlin-test-1.1.0.jar, /me/.m2/repository/org/spockframework/spock-core/1.0-groovy-2.4/spock-core-1.0-groovy-2.4.jar, /me/.m2/repository/junit/junit/4.12/junit-4.12.jar, /me/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar, /me/.m2/repository/ch/qos/logback/logback-classic/1.1.8/logback-classic-1.1.8.jar, /me/.m2/repository/ch/qos/logback/logback-core/1.1.8/logback-core-1.1.8.jar, /me/.m2/repository/org/slf4j/slf4j-api/1.7.22/slf4j-api-1.7.22.jar, /me/.m2/repository/org/pitest/pitest/1.2.0/pitest-1.2.0.jar], mutators=[], dependencyAnalysisMaxDistance=-1, mutateStaticInitializers=false, jvmArgs=[], numberOfThreads=1, timeoutFactor=1.25, timeoutConstant=3000, targetTests=[^com\.company\..*$], 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, includeLaunchClasspath=true, properties={}, maxSurvivors=0, excludedRunners=[]]
4:52:46 PM PIT >> FINE : System class path is /me/Applications/ActiveVersions/Maven/boot/plexus-classworlds-2.5.2.jar
4:52:46 PM PIT >> FINE : Maximum available memory is 3641 mb
CP is :/me/.m2/repository/com/company/platform/server/common/lp-server-common-test/0.0.305-SNAPSHOT/lp-server-common-test-0.0.305-SNAPSHOT.jar:/me/.m2/repository/com/company/common/integrationtests/common-integrationtest/0.0.20/common-integrationtest-0.0.20.jar:/me/.m2/repository/com/jayway/restassured/rest-assured/2.9.0/rest-assured-2.9.0.jar:/me/.m2/repository/org/codehaus/groovy/groovy/2.4.7/groovy-2.4.7.jar:/me/.m2/repository/org/codehaus/groovy/groovy-xml/2.4.7/groovy-xml-2.4.7.jar:/me/.m2/repository/org/apache/httpcomponents/httpclient/4.5.2/httpclient-4.5.2.jar:/me/.m2/repository/org/apache/httpcomponents/httpcore/4.4.5/httpcore-4.4.5.jar:/me/.m2/repository/commons-codec/commons-codec/1.10/commons-codec-1.10.jar:/me/.m2/repository/org/apache/httpcomponents/httpmime/4.5.2/httpmime-4.5.2.jar:/me/.m2/repository/org/hamcrest/hamcrest-library/1.3/hamcrest-library-1.3.jar:/me/.m2/repository/org/ccil/cowan/tagsoup/tagsoup/1.2.1/tagsoup-1.2.1.jar:/me/.m2/repository/com/jayway/restassured/json-path/2.9.0/json-path-2.9.0.jar:/me/.m2/repository/org/codehaus/groovy/groovy-json/2.4.7/groovy-json-2.4.7.jar:/me/.m2/repository/com/jayway/restassured/rest-assured-common/2.9.0/rest-assured-common-2.9.0.jar:/me/.m2/repository/com/jayway/restassured/xml-path/2.9.0/xml-path-2.9.0.jar:/me/.m2/repository/org/skyscreamer/jsonassert/1.3.0/jsonassert-1.3.0.jar:/me/.m2/repository/org/json/json/20140107/json-20140107.jar:/me/.m2/repository/com/jayway/jsonpath/json-path/2.2.0/json-path-2.2.0.jar:/me/.m2/repository/net/minidev/json-smart/2.2.1/json-smart-2.2.1.jar:/me/.m2/repository/net/minidev/accessors-smart/1.1/accessors-smart-1.1.jar:/me/.m2/repository/org/ow2/asm/asm/5.0.3/asm-5.0.3.jar:/me/.m2/repository/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5.jar:/me/.m2/repository/org/apache/commons/commons-io/1.3.2/commons-io-1.3.2.jar:/me/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.8.5/jackson-core-2.8.5.jar:/me/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.8.5/jackson-annotations-2.8.5.jar:/me/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.8.5/jackson-datatype-jsr310-2.8.5.jar:/me/.m2/repository/com/fasterxml/jackson/dataformat/jackson-dataformat-xml/2.8.5/jackson-dataformat-xml-2.8.5.jar:/me/.m2/repository/com/fasterxml/jackson/module/jackson-module-jaxb-annotations/2.8.5/jackson-module-jaxb-annotations-2.8.5.jar:/me/.m2/repository/org/codehaus/woodstox/stax2-api/3.1.4/stax2-api-3.1.4.jar:/me/.m2/repository/com/fasterxml/woodstox/woodstox-core/5.0.3/woodstox-core-5.0.3.jar:/me/.m2/repository/org/projectlombok/lombok/1.16.12/lombok-1.16.12.jar:/me/.m2/repository/com/company/platform/server/decision/lp-server-decision-common/0.0.305-SNAPSHOT/lp-server-decision-common-0.0.305-SNAPSHOT.jar:/me/.m2/repository/com/company/platform/server/common/lp-server-common/0.0.305-SNAPSHOT/lp-server-common-0.0.305-SNAPSHOT.jar:/me/.m2/repository/com/company/annotations/pt-annotation-processors/1.0.3/pt-annotation-processors-1.0.3.jar:/me/.m2/repository/com/company/annotations/pt-annotations/1.0.3/pt-annotations-1.0.3.jar:/me/.m2/repository/com/company/utils/lombok-test-robot/1.0.1/lombok-test-robot-1.0.1.jar:/me/.m2/repository/org/reflections/reflections/0.9.10/reflections-0.9.10.jar:/me/.m2/repository/com/google/code/findbugs/annotations/2.0.1/annotations-2.0.1.jar:/me/.m2/repository/com/company/platform/server/lp-server-common/0.0.305-SNAPSHOT/lp-server-common-0.0.305-SNAPSHOT.jar:/me/.m2/repository/com/company/platform/server/read/lp-server-read/0.0.305-SNAPSHOT/lp-server-read-0.0.305-SNAPSHOT.jar:/me/.m2/repository/com/company/platform/calculator/pt-lp-calculator-core/0.0.13/pt-lp-calculator-core-0.0.13.jar:/me/.m2/repository/com/company/platform/calculator/pt-lp-calculator-common/0.0.13/pt-lp-calculator-common-0.0.13.jar:/spring-context/4.3.5.RELEASE/spring-context-4.3.5.RELEASE.jar:/me/.m2/repository/io/springfox/springfox-swagger2/2.6.1/springfox-swagger2-2.6.1.jar:/me/.m2/repository/io/swagger/swagger-annotations/1.5.10/swagger-annotations-1.5.10.jar:/me/.m2/repository/io/swagger/swagger-models/1.5.10/swagger-models-1.5.10.jar:/me/.m2/repository/io/springfox/springfox-spi/2.6.1/springfox-spi-2.6.1.jar:/me/.m2/repository/io/springfox/springfox-core/2.6.1/springfox-core-2.6.1.jar:/me/.m2/repository/io/springfox/springfox-schema/2.6.1/springfox-schema-2.6.1.jar:/me/.m2/repository/io/springfox/springfox-swagger-common/2.6.1/springfox-swagger-common-2.6.1.jar:/me/.m2/repository/io/springfox/springfox-spring-web/2.6.1/springfox-spring-web-2.6.1.jar:/me/.m2/repository/com/google/guava/guava/19.0/guava-19.0.jar:/me/.m2/repository/com/fasterxml/classmate/1.3.3/classmate-1.3.3.jar:/plugin/spring-plugin-core/1.2.0.RELEASE/spring-plugin-core-1.2.0.RELEASE.jar:/plugin/spring-plugin-metadata/1.2.0.RELEASE/spring-plugin-metadata-1.2.0.RELEASE.jar:/me/.m2/repository/org/mapstruct/mapstruct/1.0.0.Final/mapstruct-1.0.0.Final.jar:/boot/spring-boot-starter-data-jpa/1.4.3.RELEASE/spring-boot-starter-data-jpa-1.4.3.RELEASE.jar:/boot/spring-boot-starter-aop/1.4.3.RELEASE/spring-boot-starter-aop-1.4.3.RELEASE.jar:/me/.m2/repository/org/aspectj/aspectjweaver/1.8.9/aspectjweaver-1.8.9.jar:/boot/spring-boot-starter-jdbc/1.4.3.RELEASE/spring-boot-starter-jdbc-1.4.3.RELEASE.jar:/me/.m2/repository/org/apache/tomcat/tomcat-jdbc/8.5.6/tomcat-jdbc-8.5.6.jar:/me/.m2/repository/org/apache/tomcat/tomcat-juli/8.5.6/tomcat-juli-8.5.6.jar:/spring-jdbc/4.3.5.RELEASE/spring-jdbc-4.3.5.RELEASE.jar:/me/.m2/repository/org/hibernate/hibernate-core/5.2.5.Final/hibernate-core-5.2.5.Final.jar:/me/.m2/repository/org/hibernate/javax/persistence/hibernate-jpa-2.1-api/1.0.0.Final/hibernate-jpa-2.1-api-1.0.0.Final.jar:/me/.m2/repository/org/javassist/javassist/3.20.0-GA/javassist-3.20.0-GA.jar:/me/.m2/repository/antlr/antlr/2.7.7/antlr-2.7.7.jar:/jandex/2.0.3.Final/jandex-2.0.3.Final.jar:/me/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar:/enterprise/cdi-api/1.1/cdi-api-1.1.jar:/el/el-api/2.2/el-api-2.2.jar:/spec/javax/interceptor/jboss-interceptors-api_1.1_spec/1.0.0.Beta1/jboss-interceptors-api_1.1_spec-1.0.0.Beta1.jar:/annotation/jsr250-api/1.0/jsr250-api-1.0.jar:/inject/javax.inject/1/javax.inject-1.jar:/me/.m2/repository/org/hibernate/hibernate-entitymanager/5.2.5.Final/hibernate-entitymanager-5.2.5.Final.jar:/me/.m2/repository/net/bytebuddy/byte-buddy/1.5.4/byte-buddy-1.5.4.jar:/transaction/javax.transaction-api/1.2/javax.transaction-api-1.2.jar:/data/spring-data-jpa/1.10.6.RELEASE/spring-data-jpa-1.10.6.RELEASE.jar:/data/spring-data-commons/1.12.6.RELEASE/spring-data-commons-1.12.6.RELEASE.jar:/spring-orm/4.3.5.RELEASE/spring-orm-4.3.5.RELEASE.jar:/me/.m2/repository/org/slf4j/jcl-over-slf4j/1.7.22/jcl-over-slf4j-1.7.22.jar:/spring-aspects/4.3.5.RELEASE/spring-aspects-4.3.5.RELEASE.jar:/boot/spring-boot-starter-security/1.4.3.RELEASE/spring-boot-starter-security-1.4.3.RELEASE.jar:/spring-aop/4.3.5.RELEASE/spring-aop-4.3.5.RELEASE.jar:/security/spring-security-config/4.1.4.RELEASE/spring-security-config-4.1.4.RELEASE.jar:/security/spring-security-web/4.1.4.RELEASE/spring-security-web-4.1.4.RELEASE.jar:/me/.m2/repository/org/axonframework/axon-test/3.0.2/axon-test-3.0.2.jar:/me/.m2/repository/org/axonframework/axon-core/3.0.2/axon-core-3.0.2.jar:/me/.m2/repository/com/thoughtworks/xstream/xstream/1.4.9/xstream-1.4.9.jar:/me/.m2/repository/xpp3/xpp3/1.1.4c/xpp3-1.1.4c.jar:/boot/spring-boot-starter-web/1.4.3.RELEASE/spring-boot-starter-web-1.4.3.RELEASE.jar:/boot/spring-boot-starter/1.4.3.RELEASE/spring-boot-starter-1.4.3.RELEASE.jar:/boot/spring-boot/1.4.3.RELEASE/spring-boot-1.4.3.RELEASE.jar:/boot/spring-boot-starter-logging/1.4.3.RELEASE/spring-boot-starter-logging-1.4.3.RELEASE.jar:/me/.m2/repository/org/slf4j/jul-to-slf4j/1.7.22/jul-to-slf4j-1.7.22.jar:/me/.m2/repository/org/slf4j/log4j-over-slf4j/1.7.22/log4j-over-slf4j-1.7.22.jar:/me/.m2/repository/org/yaml/snakeyaml/1.17/snakeyaml-1.17.jar:/boot/spring-boot-starter-tomcat/1.4.3.RELEASE/spring-boot-starter-tomcat-1.4.3.RELEASE.jar:/me/.m2/repository/org/apache/tomcat/embed/tomcat-embed-core/8.5.6/tomcat-embed-core-8.5.6.jar:/me/.m2/repository/org/apache/tomcat/embed/tomcat-embed-el/8.5.6/tomcat-embed-el-8.5.6.jar:/me/.m2/repository/org/apache/tomcat/embed/tomcat-embed-websocket/8.5.6/tomcat-embed-websocket-8.5.6.jar:/me/.m2/repository/org/hibernate/hibernate-validator/5.2.4.Final/hibernate-validator-5.2.4.Final.jar:/validation/validation-api/1.1.0.Final/validation-api-1.1.0.Final.jar:/me/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:/me/.m2/repository/org/pitest/pitest/1.2.0/pitest-1.2.0.jar
4:52:46 PM PIT >> INFO : MINION : objc[28617]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_73.jdk/Contents/Home/jre/bin/java (0x10d7944c0) and /Library/Java/JavaVirtualMachines/jdk1.8.0_73.jdk/Contents/Home/jre/lib/libinstrument.dylib (0x10f7e94
4:52:46 PM PIT >> INFO : MINION : e0). One of the two will be used. Which one is undefined.
4:52:46 PM PIT >> FINE : MINION : Installing PIT agent
4:52:46 PM PIT >> INFO : Sending 0 test classes to minion
4:52:46 PM PIT >> INFO : Sent tests to minion
4:52:46 PM PIT >> INFO : MINION : 4:52:46 PM PIT >> INFO : Checking environment
4:52:46 PM PIT >> INFO : MINION : 4:52:46 PM PIT >> FINE : Expecting 0 tests classes from parent
4:52:46 PM PIT >> INFO : MINION : 4:52:46 PM PIT >> FINE : Tests classes received
4:52:46 PM PIT >> INFO : MINION : 4:52:46 PM PIT >> INFO : Found 0 tests
4:52:46 PM PIT >> INFO : MINION : 4:52:46 PM PIT >> INFO : Dependency analysis reduced number of potential tests by 0
4:52:46 PM PIT >> INFO : MINION : 4:52:46 PM PIT >> INFO : 0 tests received
4:52:46 PM PIT >> INFO : MINION : 4:52:46 PM PIT >> FINE : Running 0 units
4:52:47 PM PIT >> FINE : Coverage generator Minion exited ok
4:52:47 PM PIT >> INFO : Calculated coverage in 0 seconds.
4:52:47 PM PIT >> FINE : Used memory after coverage calculation 47 mb
4:52:47 PM PIT >> FINE : Free Memory after coverage calculation 356 mb
4:52:47 PM PIT >> INFO : Created 0 mutation test units
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.113 s
[INFO] Finished at: 2017-03-31T16:52:47-06:00
[INFO] Final Memory: 32M/404M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.pitest:pitest-maven:1.2.0:mutationCoverage (default-cli) on project lp-server-write: Execution default-cli of goal org.pitest:pitest-maven:1.2.0:mutationCoverage failed: No mutations found. This probably means there is an issue with either the supplied classpath or filters.
[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
Looking at the verbose output, you can see that the PITest Report Options include my directory as a location, but then in the classpath verbose output, there is no reference to my target directory. I don't know if this is why it can't find my tests, but it's definitely not the configuration. I have the widest params possible on my maven config <targetClasses>com.company.*</targetClasses> and <targetTests>com.company.*</targetTests>
Apparently I just had to wipe pitest from my maven repo. It repulled the jars and it worked. It seemed to have been holding onto settings, even when I had removed PITest entirely from my poms.
edit: apparently I'm an idiot. I had mvn clean org.pitest:pitest-maven:mutationCoverage which of course wipes my target directory before attempting to find the classes.

Jenkins Gerrit polling fails: constantly triggering builds

So we're using Gerrit Trigger (2.23.0) on our Jenkins CI build manager & using docker containers for the actual builds.
The issue that has recently popped up in some of our branches the Gerrit Repo polling is failing and causing it to "detect changes" every time, so it's constantly rebuilding despite no changes.
Checking the Gerrit Repo Polling Log for any of the affected jobs gives one of the following outputs:
Started on Feb 1, 2017 3:12:25 PM
Polling SCM changes on aosp-host
[workspace] $ repo init -u http://xxx.xxx.xxx.xxx/git/project/platform/manifest.git -b branch -m branch.xml
Get https://gerrit.googlesource.com/git-repo/clone.bundle
Get https://gerrit.googlesource.com/git-repo
fatal: Not a git repository: '/home/jenkins/workspace/.repo/manifests.git'
fatal: Not a git repository: '/home/jenkins/workspace/.repo/manifests.git'
fatal: cannot obtain manifest http://xxx.xxx.xxx.xxx/git/project/platform/manifest.git
Done. Took 1 min 19 sec
Changes found
or, if the build was already building (gerrit waits for the build to finish before doing the scm poll)
Started on Feb 2, 2017 3:24:15 AM
Polling SCM changes on aosp-host
[workspace] $ repo init -u http://xxx.xxx.xxx.xxx/git/project/platform/manifest.git -b branch -m branch.xml
fatal: cannot make /home/jenkins/workspace/.repo/repo directory: File exists
Done. Took 2 hr 4 min
Changes found
The builds, which are triggered by this failure, use the same commands and work fine:
[workspace] $ repo init -u http://xxx.xxx.xxx.xxx/git/project/platform/manifest.git -b branch -m branch.xml
Navigating to the manifest directory, we see the symptom:
jenkins#f052b3453d95:~/workspace/.repo$ ll
total 32
drwxr-xr-x 1 jenkins jenkins 180 Dec 20 11:08 ./
drwxrwxr-x 1 jenkins jenkins 778 Dec 20 11:07 ../
-rw-r--r-- 1 jenkins jenkins 20087 Dec 20 10:14 .repo_fetchtimes.json
lrwxrwxrwx 1 jenkins jenkins 20 Dec 20 10:13 manifest.xml -> manifests/branch.xml
drwxr-xr-x 1 jenkins jenkins 8 Dec 16 17:33 manifests/
drwxr-xr-x 1 jenkins jenkins 50 Dec 16 17:33 manifests.git/
drwxr-xr-x 1 jenkins jenkins 28 Dec 16 17:43 project-objects/
-rw-r--r-- 1 jenkins jenkins 7756 Dec 20 10:14 project.list
drwxr-xr-x 1 jenkins jenkins 410 Dec 16 17:46 projects/
with
lrwxrwxrwx 1 jenkins jenkins 20 Dec 20 10:13 manifest.xml -> manifests/branch.xml
highlighted in red, because the associated branch.xml is not found... so the Gerrit Log from above is accurate, it's failing to init properly. This is confirmed via a repo status in the main directory:
jenkins#f052b3453d95:~/workspace$ repo status
Traceback (most recent call last):
File "/home/jenkins/workspace/.repo/repo/main.py", line 531, in <module>
_Main(sys.argv[1:])
File "/home/jenkins/workspace/.repo/repo/main.py", line 507, in _Main
result = repo._Run(argv) or 0
File "/home/jenkins/workspace/.repo/repo/main.py", line 180, in _Run
result = cmd.Execute(copts, cargs)
File "/home/jenkins/workspace/.repo/repo/subcmds/status.py", line 130, in Execute
all_projects = self.GetProjects(args)
File "/home/jenkins/workspace/.repo/repo/command.py", line 140, in GetProjects
all_projects_list = manifest.projects
File "/home/jenkins/workspace/.repo/repo/manifest_xml.py", line 350, in projects
self._Load()
File "/home/jenkins/workspace/.repo/repo/manifest_xml.py", line 407, in _Load
self.manifestProject.worktree))
File "/home/jenkins/workspace/.repo/repo/manifest_xml.py", line 443, in _ParseManifestXml
root = xml.dom.minidom.parse(path)
File "/usr/lib/python2.7/xml/dom/minidom.py", line 1918, in parse
return expatbuilder.parse(file)
File "/usr/lib/python2.7/xml/dom/expatbuilder.py", line 922, in parse
fp = open(file, 'rb')
IOError: [Errno 2] No such file or directory: '/home/jenkins/workspace/.repo/manifest.xml'
The issue is, running repo init -u <url> -m branch.xml via the command line works fine, and produces a valid repo.
Any insight one can offer for this issue?

Jenkins deployment into Weblogic 12c FAILING

I am trying to deploy the war file from Jenkins to Weblogic 12 server and it's failing with the below error message.
CAN ANY ONE PLEASE COMMENT ON THE BELOW Jenkins console ERROR, NOT SURE WHAT I AM MISSING
$ "C:\Program Files\Java\jdk1.8.0_51\bin/java" -Xms512M -Xmx512M -cp C:\SOFTWA~1\WLS121~1\wls12130\wlserver\server\lib\weblogic.jar weblogic.Deployer -debug -remote -verbose -noexit -name trucks -targets AdminServer -adminurl t3://wsxxxx:7001 -user Admin -password pa$$w0rd -undeploy
[WeblogicDeploymentPlugin] - ARTIFACT UNDEPLOYED SUCCESSFULLY.
[WeblogicDeploymentPlugin] - DEPLOYING ARTIFACT...
$ "C:\Program Files\Java\jdk1.8.0_51\bin/java" -Xms512M -Xmx512M -cp C:\SOFTWA~1\WLS121~1\wls12130\wlserver\server\lib\weblogic.jar weblogic.Deployer -debug -stage -remote -verbose -upload -name trucks -source C:\Users\aa\.jenkins\workspace\mytruck\target\trucks.war -targets AdminServer -adminurl t3://wsxxxx:7001 -user Admin -password pa$$w0rd -deploy
java.lang.RuntimeException: task completed abnormally (exit code = 1)
at org.jenkinsci.plugins.deploy.weblogic.task.DeploymentTaskServiceImpl.deploy(DeploymentTaskServiceImpl.java:244)
at org.jenkinsci.plugins.deploy.weblogic.task.DeploymentTaskServiceImpl.perform(DeploymentTaskServiceImpl.java:173)
at org.jenkinsci.plugins.deploy.weblogic.WeblogicDeploymentPlugin.perform(WeblogicDeploymentPlugin.java:236)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:726)
at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:1037)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671)
at hudson.model.Run.execute(Run.java:1766)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:408)
ERROR: [WeblogicDeploymentPlugin] - Failed to deploy.
[INFO] ------------------------------------------------------------------------
[INFO] DEPLOYMENT FAILURE
[INFO] ------------------------------------------------------------------------
Build step 'Deploy the artifact to any Weblogic environments' changed build result to FAILURE
Finished: FAILURE
Be sure to use the authMode of BY_LOGIN and set the login and password in the tags of your WebLogic Deployer configuration file.
<login>weblogic</login>
<password>password</password>
<authMode>BY_LOGIN</authMode>

Getting "License file is missing. Please activate Mono for Android." when deploying to emulator from VS2010

I'm just starting with Mono for Android and installed it using the steps here http://mono-android.net/Installation/Visual_Studio and followed all the steps http://mono-android.net/Tutorials/Hello_World to create my Hello World abut I was not seeing anything, until I found this post to enable debug log http://mono-android.net/Documentation/Troubleshoot everything in the log seems to be ok except that I get the above error.
Here's the full log
-- Starting Process - 5/20/2011 7:48:39 PM --
Executable: C:\Program Files\MSBuild\Novell\mandroid.exe
Arguments: -activated
Appending Java path: C:\Program Files\Java\jdk1.6.0_25\bin
[STDERR] License file is missing. Please activate Mono for Android.
-- Starting Process - 5/20/2011 7:48:40 PM --
Executable: C:\Program Files\MSBuild\Novell\mandroid.exe
Arguments: -activated
Appending Java path: C:\Program Files\Java\jdk1.6.0_25\bin
[STDERR] License file is missing. Please activate Mono for Android.
-- Starting Process - 5/20/2011 7:48:40 PM --
Executable: C:\Program Files\Android\android-sdk\platform-tools\adb.exe
Arguments: start-server
Appending Java path: C:\Program Files\Java\jdk1.6.0_25\bin
[STDERR]
-- Process Finished [5000] --
-- Starting Process - 5/20/2011 7:48:40 PM --
Executable: C:\Program Files\Android\android-sdk\platform-tools\adb.exe
Arguments: devices
Appending Java path: C:\Program Files\Java\jdk1.6.0_25\bin
[STDOUT] List of devices attached
[STDOUT]
-- Starting Process - 5/20/2011 7:48:42 PM --
Executable: C:\Program Files\Android\android-sdk\platform-tools\adb.exe
Arguments: start-server
Appending Java path: C:\Program Files\Java\jdk1.6.0_25\bin
[STDOUT]
[STDERR]
-- Process Finished [5000] --
-- Starting Process - 5/20/2011 7:48:42 PM --
Executable: C:\Program Files\Android\android-sdk\platform-tools\adb.exe
Arguments: devices
Appending Java path: C:\Program Files\Java\jdk1.6.0_25\bin
[STDOUT] List of devices attached
[STDOUT]
-- Starting Process - 5/20/2011 7:48:43 PM --
Executable: C:\Program Files\Android\android-sdk\tools\android.bat
Arguments: list avd
Appending Java path: C:\Program Files\Java\jdk1.6.0_25\bin
[STDOUT] Available Android Virtual Devices:
[STDOUT] Name: MonoDroid
[STDOUT] Path: C:\Users\Zubair.android\avd\MonoDroid.avd
[STDOUT] Target: Android 2.2 (API level 8)
[STDOUT] Skin: HVGA
[STDOUT] Sdcard: 512M
-- Starting Process - 5/20/2011 7:48:44 PM --
Executable: C:\Program Files\Android\android-sdk\platform-tools\adb.exe
Arguments: start-server
Appending Java path: C:\Program Files\Java\jdk1.6.0_25\bin
[STDOUT]
[STDERR]
-- Process Finished [5000] --
-- Starting Process - 5/20/2011 7:48:44 PM --
Executable: C:\Program Files\Android\android-sdk\platform-tools\adb.exe
Arguments: devices
Appending Java path: C:\Program Files\Java\jdk1.6.0_25\bin
[STDOUT] List of devices attached
[STDOUT]
-- Starting Process - 5/20/2011 7:48:45 PM --
Executable: C:\Program Files\Android\android-sdk\tools\emulator.exe
Arguments: -partition-size 512 -avd MonoDroid -prop monodroid.avdname=MonoDroid
Appending Java path: C:\Program Files\Java\jdk1.6.0_25\bin
-- Starting Process - 5/20/2011 7:48:46 PM --
Executable: C:\Program Files\Android\android-sdk\platform-tools\adb.exe
Arguments: start-server
Appending Java path: C:\Program Files\Java\jdk1.6.0_25\bin
-- Process Finished [5000] --
-- Starting Process - 5/20/2011 7:48:46 PM --
Executable: C:\Program Files\Android\android-sdk\platform-tools\adb.exe
Arguments: devices
Appending Java path: C:\Program Files\Java\jdk1.6.0_25\bin
[STDOUT] List of devices attached
[STDOUT] emulator-5554 offline
[STDOUT]
-- Starting Process - 5/20/2011 7:48:46 PM --
Executable: C:\Program Files\Android\android-sdk\platform-tools\adb.exe
Arguments: -s emulator-5554 shell getprop monodroid.avdname
Appending Java path: C:\Program Files\Java\jdk1.6.0_25\bin
[STDERR] error: device offline
-- Process Still Running [5000] --
-- Starting Process - 5/20/2011 7:48:52 PM --
Executable: C:\Program Files\Android\android-sdk\platform-tools\adb.exe
Arguments: start-server
Appending Java path: C:\Program Files\Java\jdk1.6.0_25\bin
[STDOUT]
[STDERR]
-- Process Finished [5000] --
-- Starting Process - 5/20/2011 7:48:52 PM --
Executable: C:\Program Files\Android\android-sdk\platform-tools\adb.exe
Arguments: devices
Appending Java path: C:\Program Files\Java\jdk1.6.0_25\bin
[STDOUT] List of devices attached
[STDOUT]
I figured out that I wasn't selecting the device after hitting Ctrl+F5, did it and it works, it does however take a while to deploy the files on the emulator and run.
I don't think that's your actual error. I think that's a normal message for a machine that hasn't been activated.
Can you walk through what does happen, and tell us where something is happening that you are not expecting?

Resources