SuccessConsole Output

Started by timer
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on sos-builder01 (lin) in workspace /builds/workspace/npefix
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] Done
No credentials specified
Cloning the remote Git repository
Cloning repository https://github.com/Spirals-Team/npefix.git
 > git init /builds/workspace/npefix # timeout=10
Fetching upstream changes from https://github.com/Spirals-Team/npefix.git
 > git --version # timeout=10
 > git fetch --tags --progress https://github.com/Spirals-Team/npefix.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://github.com/Spirals-Team/npefix.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://github.com/Spirals-Team/npefix.git # timeout=10
Fetching upstream changes from https://github.com/Spirals-Team/npefix.git
 > git fetch --tags --progress https://github.com/Spirals-Team/npefix.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 80cfc38d4c3d5244c1a74c86e285193bb2670ea6 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 80cfc38d4c3d5244c1a74c86e285193bb2670ea6 # timeout=10
Commit message: "Update README.md"
 > git rev-list --no-walk 80cfc38d4c3d5244c1a74c86e285193bb2670ea6 # timeout=10
[npefix] $ /bin/sh -xe /tmp/jenkins7066373036324690305.sh
+ rm -rf /builds/.m2/repository/fr/inria/gforge/spoon
[npefix] $ /bin/sh -xe /tmp/jenkins4639567891321442549.sh
+ mvn versions:use-latest-versions -DallowSnapshots=true
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[INFO] Scanning for projects...
[INFO] Inspecting build with total of 1 modules...
[INFO] Installing Nexus Staging features:
[INFO]   ... total of 1 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building npefix 0.8-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- versions-maven-plugin:2.4:use-latest-versions (default-cli) @ npefix ---
[INFO] Major version changes allowed
[INFO] artifact junit:junit: checking for updates from gforge.inria.fr-snapshot
[INFO] Updated junit:junit:jar:4.11 to version 4.13
[INFO] artifact org.json:json: checking for updates from gforge.inria.fr-snapshot
[INFO] artifact org.json:json: checking for updates from central
[INFO] Updated org.json:json:jar:20160212 to version 20190722
[INFO] artifact org.hamcrest:hamcrest-core: checking for updates from gforge.inria.fr-snapshot
[INFO] artifact org.hamcrest:hamcrest-core: checking for updates from central
[INFO] Updated org.hamcrest:hamcrest-core:jar:1.3 to version 2.2
[INFO] artifact fr.inria.gforge.spoon:spoon-core: checking for updates from gforge.inria.fr-snapshot
[INFO] Updated fr.inria.gforge.spoon:spoon-core:jar:7.5.0-SNAPSHOT to version 8.2.0-SNAPSHOT
[INFO] artifact org.slf4j:slf4j-simple: checking for updates from gforge.inria.fr-snapshot
[INFO] artifact org.slf4j:slf4j-simple: checking for updates from central
[INFO] Updated org.slf4j:slf4j-simple:jar:1.7.6 to version 2.0.0-alpha1
[INFO] artifact log4j:log4j: checking for updates from gforge.inria.fr-snapshot
[INFO] artifact log4j:log4j: checking for updates from central
[INFO] artifact com.cloudbees:diff4j: checking for updates from gforge.inria.fr-snapshot
[INFO] artifact com.cloudbees:diff4j: checking for updates from central
[INFO] Updated com.cloudbees:diff4j:jar:1.2 to version 1.3
[INFO] artifact org.eclipse.core:org.eclipse.core.runtime: checking for updates from gforge.inria.fr-snapshot
[INFO] artifact org.eclipse.core:org.eclipse.core.runtime: checking for updates from central
[INFO] Updated org.eclipse.core:org.eclipse.core.runtime:jar:3.6.0.v20100505 to version 3.7.0
[INFO] artifact org.eclipse.core:org.eclipse.core.resources: checking for updates from gforge.inria.fr-snapshot
[INFO] artifact org.eclipse.core:org.eclipse.core.resources: checking for updates from central
[INFO] Updated org.eclipse.core:org.eclipse.core.resources:jar:3.6.0.v20100526-0737 to version 3.7.100
[INFO] artifact org.glassfish.tyrus.bundles:tyrus-standalone-client: checking for updates from gforge.inria.fr-snapshot
[INFO] artifact org.glassfish.tyrus.bundles:tyrus-standalone-client: checking for updates from central
[INFO] Updated org.glassfish.tyrus.bundles:tyrus-standalone-client:jar:1.13.1 to version 1.16
[INFO] artifact org.apache.maven:maven-model: checking for updates from gforge.inria.fr-snapshot
[INFO] artifact org.apache.maven:maven-model: checking for updates from central
[INFO] Updated org.apache.maven:maven-model:jar:3.5.0 to version 3.6.3
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.277 s
[INFO] Finished at: 2020-03-27T05:24:10+01:00
[INFO] Final Memory: 24M/191M
[INFO] ------------------------------------------------------------------------
+ mvn test
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[INFO] Scanning for projects...
[INFO] Inspecting build with total of 1 modules...
[INFO] Installing Nexus Staging features:
[INFO]   ... total of 1 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building npefix 0.8-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://maven.inria.fr/artifactory/spoon-public-snapshot/fr/inria/gforge/spoon/spoon-core/8.2.0-SNAPSHOT/maven-metadata.xml
[WARNING] Could not apply configuration for gforge.inria.fr-snapshot to wagon org.apache.maven.wagon.providers.http.HttpWagon:Cannot find 'preferredAuthentications' in class org.apache.maven.wagon.providers.http.HttpWagon
1009/1009 B   
              
Downloaded: http://maven.inria.fr/artifactory/spoon-public-snapshot/fr/inria/gforge/spoon/spoon-core/8.2.0-SNAPSHOT/maven-metadata.xml (1009 B at 7.3 KB/sec)
Downloading: http://maven.inria.fr/artifactory/spoon-public-snapshot/fr/inria/gforge/spoon/spoon-core/8.2.0-SNAPSHOT/spoon-core-8.2.0-20200326.234144-6.pom
[WARNING] Could not apply configuration for gforge.inria.fr-snapshot to wagon org.apache.maven.wagon.providers.http.HttpWagon:Cannot find 'preferredAuthentications' in class org.apache.maven.wagon.providers.http.HttpWagon
4/8 KB        
8/8 KB   
8/8 KB   
         
Downloaded: http://maven.inria.fr/artifactory/spoon-public-snapshot/fr/inria/gforge/spoon/spoon-core/8.2.0-SNAPSHOT/spoon-core-8.2.0-20200326.234144-6.pom (8 KB at 226.9 KB/sec)
Downloading: http://maven.inria.fr/artifactory/spoon-public-snapshot/fr/inria/gforge/spoon/spoon-pom/1.0/spoon-pom-1.0.pom
[WARNING] Could not apply configuration for gforge.inria.fr-snapshot to wagon org.apache.maven.wagon.providers.http.HttpWagon:Cannot find 'preferredAuthentications' in class org.apache.maven.wagon.providers.http.HttpWagon
         
Downloading: https://repo.maven.apache.org/maven2/fr/inria/gforge/spoon/spoon-pom/1.0/spoon-pom-1.0.pom
2/21 KB   
3/21 KB   
5/21 KB   
6/21 KB   
7/21 KB   
9/21 KB   
10/21 KB   
11/21 KB   
13/21 KB   
14/21 KB   
15/21 KB   
17/21 KB   
18/21 KB   
19/21 KB   
21/21 KB   
21/21 KB   
           
Downloaded: https://repo.maven.apache.org/maven2/fr/inria/gforge/spoon/spoon-pom/1.0/spoon-pom-1.0.pom (21 KB at 103.8 KB/sec)
Downloading: http://maven.inria.fr/artifactory/spoon-public-snapshot/fr/inria/gforge/spoon/spoon-core/8.2.0-SNAPSHOT/spoon-core-8.2.0-20200326.234144-6.jar
[WARNING] Could not apply configuration for gforge.inria.fr-snapshot to wagon org.apache.maven.wagon.providers.http.HttpWagon:Cannot find 'preferredAuthentications' in class org.apache.maven.wagon.providers.http.HttpWagon
4/1732 KB   
8/1732 KB   
12/1732 KB   
13/1732 KB   
17/1732 KB   
21/1732 KB   
22/1732 KB   
26/1732 KB   
30/1732 KB   
34/1732 KB   
38/1732 KB   
42/1732 KB   
46/1732 KB   
50/1732 KB   
54/1732 KB   
56/1732 KB   
60/1732 KB   
64/1732 KB   
68/1732 KB   
72/1732 KB   
76/1732 KB   
80/1732 KB   
84/1732 KB   
88/1732 KB   
92/1732 KB   
96/1732 KB   
100/1732 KB   
104/1732 KB   
108/1732 KB   
112/1732 KB   
116/1732 KB   
120/1732 KB   
124/1732 KB   
128/1732 KB   
132/1732 KB   
136/1732 KB   
140/1732 KB   
144/1732 KB   
148/1732 KB   
152/1732 KB   
156/1732 KB   
160/1732 KB   
164/1732 KB   
168/1732 KB   
172/1732 KB   
176/1732 KB   
180/1732 KB   
184/1732 KB   
188/1732 KB   
192/1732 KB   
196/1732 KB   
200/1732 KB   
204/1732 KB   
208/1732 KB   
212/1732 KB   
216/1732 KB   
220/1732 KB   
224/1732 KB   
228/1732 KB   
232/1732 KB   
236/1732 KB   
240/1732 KB   
244/1732 KB   
248/1732 KB   
252/1732 KB   
256/1732 KB   
260/1732 KB   
264/1732 KB   
268/1732 KB   
272/1732 KB   
276/1732 KB   
280/1732 KB   
284/1732 KB   
288/1732 KB   
292/1732 KB   
296/1732 KB   
300/1732 KB   
304/1732 KB   
308/1732 KB   
312/1732 KB   
316/1732 KB   
320/1732 KB   
324/1732 KB   
328/1732 KB   
332/1732 KB   
336/1732 KB   
340/1732 KB   
344/1732 KB   
348/1732 KB   
352/1732 KB   
356/1732 KB   
360/1732 KB   
364/1732 KB   
368/1732 KB   
372/1732 KB   
376/1732 KB   
380/1732 KB   
384/1732 KB   
388/1732 KB   
392/1732 KB   
396/1732 KB   
400/1732 KB   
404/1732 KB   
408/1732 KB   
412/1732 KB   
416/1732 KB   
420/1732 KB   
424/1732 KB   
428/1732 KB   
432/1732 KB   
436/1732 KB   
440/1732 KB   
444/1732 KB   
448/1732 KB   
452/1732 KB   
456/1732 KB   
460/1732 KB   
464/1732 KB   
468/1732 KB   
472/1732 KB   
476/1732 KB   
480/1732 KB   
484/1732 KB   
488/1732 KB   
492/1732 KB   
496/1732 KB   
500/1732 KB   
504/1732 KB   
508/1732 KB   
512/1732 KB   
516/1732 KB   
520/1732 KB   
524/1732 KB   
528/1732 KB   
532/1732 KB   
536/1732 KB   
540/1732 KB   
544/1732 KB   
548/1732 KB   
552/1732 KB   
556/1732 KB   
560/1732 KB   
564/1732 KB   
568/1732 KB   
572/1732 KB   
576/1732 KB   
580/1732 KB   
584/1732 KB   
588/1732 KB   
592/1732 KB   
596/1732 KB   
600/1732 KB   
604/1732 KB   
608/1732 KB   
612/1732 KB   
616/1732 KB   
620/1732 KB   
624/1732 KB   
628/1732 KB   
632/1732 KB   
636/1732 KB   
640/1732 KB   
643/1732 KB   
647/1732 KB   
651/1732 KB   
655/1732 KB   
659/1732 KB   
663/1732 KB   
667/1732 KB   
671/1732 KB   
675/1732 KB   
679/1732 KB   
683/1732 KB   
687/1732 KB   
691/1732 KB   
695/1732 KB   
699/1732 KB   
703/1732 KB   
707/1732 KB   
711/1732 KB   
715/1732 KB   
719/1732 KB   
723/1732 KB   
727/1732 KB   
731/1732 KB   
735/1732 KB   
739/1732 KB   
743/1732 KB   
747/1732 KB   
751/1732 KB   
755/1732 KB   
759/1732 KB   
763/1732 KB   
767/1732 KB   
771/1732 KB   
775/1732 KB   
779/1732 KB   
783/1732 KB   
787/1732 KB   
787/1732 KB   
791/1732 KB   
795/1732 KB   
799/1732 KB   
803/1732 KB   
807/1732 KB   
811/1732 KB   
815/1732 KB   
819/1732 KB   
823/1732 KB   
827/1732 KB   
831/1732 KB   
835/1732 KB   
839/1732 KB   
843/1732 KB   
847/1732 KB   
851/1732 KB   
855/1732 KB   
859/1732 KB   
863/1732 KB   
867/1732 KB   
871/1732 KB   
875/1732 KB   
879/1732 KB   
883/1732 KB   
887/1732 KB   
891/1732 KB   
895/1732 KB   
899/1732 KB   
903/1732 KB   
907/1732 KB   
911/1732 KB   
915/1732 KB   
919/1732 KB   
923/1732 KB   
927/1732 KB   
931/1732 KB   
935/1732 KB   
939/1732 KB   
943/1732 KB   
947/1732 KB   
951/1732 KB   
955/1732 KB   
959/1732 KB   
963/1732 KB   
967/1732 KB   
971/1732 KB   
975/1732 KB   
979/1732 KB   
983/1732 KB   
987/1732 KB   
991/1732 KB   
995/1732 KB   
999/1732 KB   
1003/1732 KB   
1007/1732 KB   
1011/1732 KB   
1015/1732 KB   
1019/1732 KB   
1023/1732 KB   
1027/1732 KB   
1031/1732 KB   
1035/1732 KB   
1039/1732 KB   
1043/1732 KB   
1047/1732 KB   
1051/1732 KB   
1055/1732 KB   
1059/1732 KB   
1063/1732 KB   
1067/1732 KB   
1071/1732 KB   
1075/1732 KB   
1079/1732 KB   
1083/1732 KB   
1087/1732 KB   
1091/1732 KB   
1095/1732 KB   
1099/1732 KB   
1103/1732 KB   
1107/1732 KB   
1111/1732 KB   
1115/1732 KB   
1119/1732 KB   
1123/1732 KB   
1127/1732 KB   
1131/1732 KB   
1135/1732 KB   
1139/1732 KB   
1143/1732 KB   
1147/1732 KB   
1151/1732 KB   
1155/1732 KB   
1159/1732 KB   
1163/1732 KB   
1167/1732 KB   
1171/1732 KB   
1175/1732 KB   
1179/1732 KB   
1183/1732 KB   
1187/1732 KB   
1191/1732 KB   
1195/1732 KB   
1199/1732 KB   
1203/1732 KB   
1207/1732 KB   
1211/1732 KB   
1215/1732 KB   
1219/1732 KB   
1223/1732 KB   
1227/1732 KB   
1231/1732 KB   
1235/1732 KB   
1239/1732 KB   
1243/1732 KB   
1247/1732 KB   
1251/1732 KB   
1255/1732 KB   
1259/1732 KB   
1263/1732 KB   
1267/1732 KB   
1271/1732 KB   
1275/1732 KB   
1279/1732 KB   
1283/1732 KB   
1287/1732 KB   
1291/1732 KB   
1295/1732 KB   
1299/1732 KB   
1303/1732 KB   
1307/1732 KB   
1311/1732 KB   
1315/1732 KB   
1319/1732 KB   
1323/1732 KB   
1327/1732 KB   
1331/1732 KB   
1335/1732 KB   
1339/1732 KB   
1343/1732 KB   
1347/1732 KB   
1351/1732 KB   
1355/1732 KB   
1359/1732 KB   
1363/1732 KB   
1367/1732 KB   
1371/1732 KB   
1375/1732 KB   
1379/1732 KB   
1383/1732 KB   
1387/1732 KB   
1391/1732 KB   
1395/1732 KB   
1399/1732 KB   
1403/1732 KB   
1407/1732 KB   
1411/1732 KB   
1415/1732 KB   
1419/1732 KB   
1423/1732 KB   
1427/1732 KB   
1431/1732 KB   
1435/1732 KB   
1439/1732 KB   
1443/1732 KB   
1447/1732 KB   
1451/1732 KB   
1455/1732 KB   
1459/1732 KB   
1463/1732 KB   
1467/1732 KB   
1471/1732 KB   
1475/1732 KB   
1479/1732 KB   
1483/1732 KB   
1487/1732 KB   
1491/1732 KB   
1495/1732 KB   
1499/1732 KB   
1503/1732 KB   
1507/1732 KB   
1511/1732 KB   
1515/1732 KB   
1519/1732 KB   
1523/1732 KB   
1527/1732 KB   
1531/1732 KB   
1535/1732 KB   
1539/1732 KB   
1543/1732 KB   
1547/1732 KB   
1551/1732 KB   
1555/1732 KB   
1559/1732 KB   
1563/1732 KB   
1567/1732 KB   
1571/1732 KB   
1575/1732 KB   
1579/1732 KB   
1583/1732 KB   
1587/1732 KB   
1591/1732 KB   
1595/1732 KB   
1599/1732 KB   
1603/1732 KB   
1607/1732 KB   
1611/1732 KB   
1615/1732 KB   
1619/1732 KB   
1623/1732 KB   
1627/1732 KB   
1631/1732 KB   
1635/1732 KB   
1639/1732 KB   
1643/1732 KB   
1647/1732 KB   
1651/1732 KB   
1655/1732 KB   
1659/1732 KB   
1663/1732 KB   
1667/1732 KB   
1671/1732 KB   
1675/1732 KB   
1679/1732 KB   
1683/1732 KB   
1687/1732 KB   
1691/1732 KB   
1695/1732 KB   
1699/1732 KB   
1703/1732 KB   
1707/1732 KB   
1711/1732 KB   
1715/1732 KB   
1719/1732 KB   
1723/1732 KB   
1727/1732 KB   
1731/1732 KB   
1732/1732 KB   
               
Downloaded: http://maven.inria.fr/artifactory/spoon-public-snapshot/fr/inria/gforge/spoon/spoon-core/8.2.0-SNAPSHOT/spoon-core-8.2.0-20200326.234144-6.jar (1732 KB at 5970.6 KB/sec)
[INFO] 
[INFO] --- jacoco-maven-plugin:0.7.5.201505241946:prepare-agent (default) @ npefix ---
[INFO] argLine set to -javaagent:/builds/.m2/repository/org/jacoco/org.jacoco.agent/0.7.5.201505241946/org.jacoco.agent-0.7.5.201505241946-runtime.jar=destfile=/builds/workspace/npefix/target/jacoco.exec
[INFO] 
[INFO] --- build-helper-maven-plugin:1.7:add-source (add-source) @ npefix ---
[INFO] Source directory: /builds/workspace/npefix/src/evaluation/java added.
[INFO] Source directory: /builds/workspace/npefix/src/main/java added.
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ npefix ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ npefix ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 185 source files to /builds/workspace/npefix/target/classes
[INFO] /builds/workspace/npefix/src/main/java/fr/inria/spirals/npefix/main/all/Launcher.java: Some input files use or override a deprecated API.
[INFO] /builds/workspace/npefix/src/main/java/fr/inria/spirals/npefix/main/all/Launcher.java: Recompile with -Xlint:deprecation for details.
[INFO] /builds/workspace/npefix/src/main/java/fr/inria/spirals/npefix/transformer/processors/ProcessorUtility.java: Some input files use unchecked or unsafe operations.
[INFO] /builds/workspace/npefix/src/main/java/fr/inria/spirals/npefix/transformer/processors/ProcessorUtility.java: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ npefix ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 9 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ npefix ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 17 source files to /builds/workspace/npefix/target/test-classes
[INFO] /builds/workspace/npefix/src/test/java/fr/inria/spirals/npefix/patch/PatchesGeneratorTest.java: Some input files use unchecked or unsafe operations.
[INFO] /builds/workspace/npefix/src/test/java/fr/inria/spirals/npefix/patch/PatchesGeneratorTest.java: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ npefix ---
[INFO] Surefire report directory: /builds/workspace/npefix/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
Running fr.inria.spirals.npefix.transformer.processors.ConstructorEncapsulationTest
[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
ConstructorEncapsulation # Constructor: 2 in 39ms
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.138 sec - in fr.inria.spirals.npefix.transformer.processors.ConstructorEncapsulationTest
Running fr.inria.spirals.npefix.transformer.processors.ArrayAccessTest
[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.794 sec - in fr.inria.spirals.npefix.transformer.processors.ArrayAccessTest
Running fr.inria.spirals.npefix.transformer.processors.BeforeDerefAdderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 sec - in fr.inria.spirals.npefix.transformer.processors.BeforeDerefAdderTest
Running fr.inria.spirals.npefix.transformer.processors.TernarySplitterTest
[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
TernarySplitter  in 11ms
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.284 sec - in fr.inria.spirals.npefix.transformer.processors.TernarySplitterTest
Running fr.inria.spirals.npefix.transformer.processors.ImplicitCastCheckerTest
[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
AddImplicitCastChecker --> 4 in 14ms
BeforeDeref --> 31 (failed:0) in 46ms
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.638 sec - in fr.inria.spirals.npefix.transformer.processors.ImplicitCastCheckerTest
Running fr.inria.spirals.npefix.transformer.processors.CheckNotNullTest
[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
java.lang.String local = (field == null) ? "" : field
return field == null ? "" : field
field = (parm == null) ? "" : parm
java.lang.Class type = (array != null) ? array.getClass() : element != null ? element.getClass() : java.lang.Object.class
java.lang.Class type = (array != null) ? array.getClass() : element != null ? element.getClass() : java.lang.Object.class
CheckNotNull  in 24ms
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.221 sec - in fr.inria.spirals.npefix.transformer.processors.CheckNotNullTest
Running fr.inria.spirals.npefix.transformer.processors.TargetModifierTest
[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
target--> 29 (failed:0) in 38ms
public void multiCatch() {
    try {
    } catch (java.lang.IllegalArgumentException | java.lang.NullPointerException e) {
        e.printStackTrace();
    }
}
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.233 sec - in fr.inria.spirals.npefix.transformer.processors.TargetModifierTest
Running fr.inria.spirals.npefix.transformer.TryCatchRepairModelTest
/builds/workspace/npefix/target/test-classes/foo/src
RMI Selector (Host: 127.0.0.1, Port: 10000): KO
[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
CheckNotNull  in 0ms
ForceNullInit in 0ms
AddImplicitCastChecker --> 0 in 0ms
Assign --> 0 (failed: 0) in 0ms
VarInit --> 0 in 0ms
TryCatchRepair # Method: 4 in 12ms
ConstructorTryCatchRepair # Constructor: 0 in 1ms
VariableFor in 0ms
ConeflowerTest#test1
	1 Strat4 NULL Coneflower:15 Used null
Status: Ko
ConeflowerTest#test2
	1 Strat4 NULL Coneflower:11 Used null
Status: Ko
ConeflowerTest#test3
	1 Strat4 NULL Coneflower:7 Used null
Status: Ko
Multirun 4/1500 0%
ConeflowerTest#test1
	1 Strat4 NULL Coneflower:11 Used null
Status: Ko
ConeflowerTest#test2
	1 Strat4 NULL Coneflower:7 Used null
Status: Ko
Multirun 8/1500 0%
ConeflowerTest#test1
	1 Strat4 NULL Coneflower:7 Used null
Status: Ko
Multirun 12/1500 0%
ConeflowerTest#testThrowException
	1 Strat4 VAR Coneflower:19 Used i
Status: Ok
Multirun 4/1500 0%
ConeflowerTest#test1
	1 Strat4 NEW Coneflower:15 Used java.lang.String()
Status: Ko
ConeflowerTest#test2
	1 Strat4 NEW Coneflower:11 Used java.lang.String()
Status: Ko
ConeflowerTest#test3
	1 Strat4 NEW Coneflower:7 Used java.lang.String()
Status: Ok
ConeflowerTest#testThrowException
	1 Strat4 NEW Coneflower:19 Used 0
Status: Ok
Multirun 4/1500 0%
ConeflowerTest#test1
	1 Strat4 NEW Coneflower:11 Used java.lang.String()
Status: Ko
ConeflowerTest#test2
	1 Strat4 NEW Coneflower:7 Used java.lang.String()
Status: Ok
ConeflowerTest#testThrowException
	1 Strat4 NEW Coneflower:19 Used -1
Status: Ko
Multirun 8/1500 0%
ConeflowerTest#test1
	1 Strat4 NEW Coneflower:7 Used java.lang.String()
Status: Ok
ConeflowerTest#testThrowException
	1 Strat4 NEW Coneflower:19 Used 1
Status: Ko
Multirun 12/1500 0%
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.064 sec - in fr.inria.spirals.npefix.transformer.TryCatchRepairModelTest
Running fr.inria.spirals.npefix.patchTemplate.ReplaceGlobalTest
[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.375 sec - in fr.inria.spirals.npefix.patchTemplate.ReplaceGlobalTest
Running fr.inria.spirals.npefix.patchTemplate.VariableFinderTest
[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
Tests run: 2, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.142 sec - in fr.inria.spirals.npefix.patchTemplate.VariableFinderTest
Running fr.inria.spirals.npefix.patchTemplate.SkipLineTest
[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.221 sec - in fr.inria.spirals.npefix.patchTemplate.SkipLineTest
Running fr.inria.spirals.npefix.patchTemplate.SkipMethodReturnTest
[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.377 sec - in fr.inria.spirals.npefix.patchTemplate.SkipMethodReturnTest
Running fr.inria.spirals.npefix.patchTemplate.ReplaceLocalTest
[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.317 sec - in fr.inria.spirals.npefix.patchTemplate.ReplaceLocalTest
Running fr.inria.spirals.npefix.patch.PatchesGeneratorTest
[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
--- a/target/test-classes/foo/src/main/java/Foo.java
+++ b/target/test-classes/foo/src/main/java/Foo.java
@@ -105,3 +105,7 @@
     public void  multiDecisionLine() {
-        Arrays.asList(field.toString(), field.toString());
+        if (field == null) {
+            Arrays.asList( new String().toString(), new String().toString());
+        } else {
+            Arrays.asList(field.toString(), field.toString());
+        }
     }

[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
--- a/target/test-classes/foo/src/main/java/Foo.java
+++ b/target/test-classes/foo/src/main/java/Foo.java
@@ -20,6 +20,8 @@
         String result = "";
-        for (String element : array) {
-            result += element.toString();
-            if(element == null) {
-                return null;
+        if (array != null) {
+            for (String element : array) {
+                result += element.toString();
+                if(element == null) {
+                    return null;
+                }
             }

[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
--- a/src/main/java/Foo.java
+++ b/src/main/java/Foo.java
@@ -20,2 +20,5 @@
         String result = "";
+        if (array == null) {
+            return new Object();
+        }
         for (String element : array) {

[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
--- a/target/test-classes/foo/src/main/java/Foo.java
+++ b/target/test-classes/foo/src/main/java/Foo.java
@@ -111,4 +111,12 @@
 
-        } else if (array[0].isEmpty()) {
-
+        } else {
+            if (array[0] == null) {
+                if ( new String().isEmpty()) {
+                    
+                }
+            } else {
+                if (array[0].isEmpty()) {
+                    
+                }
+            }
         }

[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
--- a/target/test-classes/foo/src/main/java/Foo.java
+++ b/target/test-classes/foo/src/main/java/Foo.java
@@ -20,2 +20,5 @@
         String result = "";
+        if (array == null) {
+            return new Object();
+        }
         for (String element : array) {

[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
--- a/target/test-classes/foo/src/main/java/Foo.java
+++ b/target/test-classes/foo/src/main/java/Foo.java
@@ -20,2 +20,5 @@
         String result = "";
+        if (array == null) {
+            return result;
+        }
         for (String element : array) {
@@ -30,3 +33,5 @@
     public String fooLocal() {
-        System.out.print(field.toLowerCase());
+        if (field != null) {
+            System.out.print(field.toLowerCase());
+        }
         if(field == null) {

[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
--- a/target/test-classes/foo/src/main/java/Foo.java
+++ b/target/test-classes/foo/src/main/java/Foo.java
@@ -20,7 +20,16 @@
         String result = "";
-        for (String element : array) {
-            result += element.toString();
-            if(element == null) {
-                return null;
+        if (array == null) {
+            for (String element : result) {
+                result += element.toString();
+                if(element == null) {
+                    return null;
+                }
             }
+        } else {
+            for (String element : array) {
+                result += element.toString();
+                if(element == null) {
+                    return null;
+                }
+            }
         }

[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
--- a/target/test-classes/foo/src/main/java/Foo.java
+++ b/target/test-classes/foo/src/main/java/Foo.java
@@ -20,7 +20,16 @@
         String result = "";
-        for (String element : array) {
-            result += element.toString();
-            if(element == null) {
-                return null;
+        if (array == null) {
+            for (String element : new String[0]) {
+                result += element.toString();
+                if(element == null) {
+                    return null;
+                }
             }
+        } else {
+            for (String element : array) {
+                result += element.toString();
+                if(element == null) {
+                    return null;
+                }
+            }
         }

[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
--- a/target/test-classes/foo/src/main/java/Foo.java
+++ b/target/test-classes/foo/src/main/java/Foo.java
@@ -20,2 +20,5 @@
         String result = "";
+        if (array == null) {
+            array = new String[0];
+        }
         for (String element : array) {

Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.469 sec - in fr.inria.spirals.npefix.patch.PatchesGeneratorTest
Running fr.inria.spirals.npefix.main.all.LauncherTest
[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
TernarySplitter  in 5ms
type = (element != null) ? element.getClass() : Object.class
CheckNotNull  in 13ms
ForceNullInit in 2ms
AddImplicitCastChecker --> 4 in 4ms
BeforeDeref --> 29 (failed:0) in 14ms
target--> 32 (failed:0) in 30ms
TryRegister # Try: 1 in 13ms
Assign --> 19 (failed: 0) in 23ms
VarInit --> 10 in 7ms
MethodEncapsulation # Method: 28 in 71ms
ConstructorEncapsulation # Constructor: 2 in 7ms
VariableFor in 7ms
NoStrat
FooClassTest#fooTest
<No Strat> Status: Ko
FooClassTest#fooGlobalTest
<No Strat> Status: Ko
FooClassTest#fooVariableLocalTest
<No Strat> Status: Ko
FooClassTest#fooVariableGlobalTest
<No Strat> Status: Ko
FooClassTest#returnVoidTest
<No Strat> Status: Ko
FooClassTest#foo1Test
<No Strat> Status: Ko
FooClassTest#fooLocalTest
<No Strat> Status: Ko
FooArrayAccessTest#fooTest
<No Strat> Status: Ko
FooArrayAccessTest#fooTest1
<No Strat> Status: Ko
FooArrayAccessTest#fooTest2
<No Strat> Status: Ko
Strat1A
FooClassTest#fooTest
<No Strat> Status: Ko
FooClassTest#fooGlobalTest
<No Strat> Status: Ko
FooClassTest#fooVariableLocalTest
	1 Strat1A Foo:49 Used empty
Status: Ko
FooClassTest#fooVariableGlobalTest
	1 Strat1A Foo:58 Used empty
Status: Ok
FooClassTest#returnVoidTest
<No Strat> Status: Ko
FooClassTest#foo1Test
	1 Strat1A Foo:21 result
Status: Ko
FooClassTest#fooLocalTest
<No Strat> Status: Ko
FooArrayAccessTest#fooTest
<No Strat> Status: Ko
FooArrayAccessTest#fooTest1
<No Strat> Status: Ko
FooArrayAccessTest#fooTest2
<No Strat> Status: Ko
Strat1B
FooClassTest#fooTest
<No Strat> Status: Ko
FooClassTest#fooGlobalTest
<No Strat> Status: Ko
FooClassTest#fooVariableLocalTest
	1 Strat1B Foo:49 Used empty
Status: Ko
FooClassTest#fooVariableGlobalTest
	1 Strat1B Foo:58 Used empty
Status: Ok
FooClassTest#returnVoidTest
<No Strat> Status: Ko
FooClassTest#foo1Test
	1 Strat1B Foo:21 result
Status: Ko
FooClassTest#fooLocalTest
<No Strat> Status: Ko
FooArrayAccessTest#fooTest
<No Strat> Status: Ko
FooArrayAccessTest#fooTest1
<No Strat> Status: Ko
FooArrayAccessTest#fooTest2
<No Strat> Status: Ko
Strat2A
FooClassTest#fooTest
	1 Strat2A Foo:16 Used java.lang.String()
Status: Ok
FooClassTest#fooGlobalTest
	1 Strat2A Foo:31 Used java.lang.String()
Status: Ko
FooClassTest#fooVariableLocalTest
	1 Strat2A Foo:49 Used java.lang.String()
Status: Ko
FooClassTest#fooVariableGlobalTest
	1 Strat2A Foo:58 Used java.lang.String()
Status: Ko
FooClassTest#returnVoidTest
	1 Strat2A Foo:67 Used java.lang.String()
Status: Ok
FooClassTest#foo1Test
	1 Strat2A Foo:21 java.lang.Object()
Status: Ko
FooClassTest#fooLocalTest
	1 Strat2A Foo:31 Used java.lang.String()
Status: Ok
FooArrayAccessTest#fooTest
<No Strat> Status: Ko
FooArrayAccessTest#fooTest1
<No Strat> Status: Ko
FooArrayAccessTest#fooTest2
<No Strat> Status: Ko
Strat2B
FooClassTest#fooTest
	1 Strat2B Foo:16 Used java.lang.String()
Status: Ok
FooClassTest#fooGlobalTest
	1 Strat2B Foo:31 Used java.lang.String()
Status: Ok
FooClassTest#fooVariableLocalTest
	1 Strat2B Foo:49 Used java.lang.String()
Status: Ko
FooClassTest#fooVariableGlobalTest
	1 Strat2B Foo:58 Used java.lang.String()
Status: Ko
FooClassTest#returnVoidTest
	1 Strat2B Foo:67 Used java.lang.String()
Status: Ok
FooClassTest#foo1Test
	1 Strat2B Foo:21 java.lang.Object()
Status: Ko
FooClassTest#fooLocalTest
	1 Strat2B Foo:31 Used java.lang.String()
Status: Ko
FooArrayAccessTest#fooTest
<No Strat> Status: Ko
FooArrayAccessTest#fooTest1
<No Strat> Status: Ko
FooArrayAccessTest#fooTest2
<No Strat> Status: Ko
Strat3
FooClassTest#fooTest
	1 Strat3 Foo:16 Used false
Status: Ok
FooClassTest#fooGlobalTest
	1 Strat3 Foo:31 Used false
Status: Ko
FooClassTest#fooVariableLocalTest
	1 Strat3 Foo:49 Used false
Status: Ok
FooClassTest#fooVariableGlobalTest
	1 Strat3 Foo:58 Used false
Status: Ko
FooClassTest#returnVoidTest
	1 Strat3 Foo:67 Used false
Status: Ok
FooClassTest#foo1Test
	1 Strat3 Foo:21 Used false
Status: Ok
FooClassTest#fooLocalTest
	1 Strat3 Foo:31 Used false
Status: Ok
FooArrayAccessTest#fooTest
<No Strat> Status: Ko
FooArrayAccessTest#fooTest1
<No Strat> Status: Ko
FooArrayAccessTest#fooTest2
<No Strat> Status: Ko
Strat4 NULL
FooClassTest#fooTest
<No Strat> Status: Ko
FooClassTest#fooGlobalTest
	1 Strat4 NULL Foo:31 Used null
Status: Ko
FooClassTest#fooVariableLocalTest
	1 Strat4 NULL Foo:49 Used null
Status: Ko
FooClassTest#fooVariableGlobalTest
	1 Strat4 NULL Foo:58 Used null
Status: Ko
FooClassTest#returnVoidTest
<No Strat> Status: Ko
FooClassTest#foo1Test
	1 Strat4 NULL Foo:21 Used null
Status: Ok
FooClassTest#fooLocalTest
	1 Strat4 NULL Foo:31 Used null
Status: Ko
FooArrayAccessTest#fooTest
<No Strat> Status: Ko
FooArrayAccessTest#fooTest1
<No Strat> Status: Ko
FooArrayAccessTest#fooTest2
<No Strat> Status: Ko
Strat4 VAR
FooClassTest#fooTest
<No Strat> Status: Ko
FooClassTest#fooGlobalTest
<No Strat> Status: Ko
FooClassTest#fooVariableLocalTest
	1 Strat4 VAR Foo:49 Used empty
Status: Ko
FooClassTest#fooVariableGlobalTest
	1 Strat4 VAR Foo:58 Used empty
Status: Ko
FooClassTest#returnVoidTest
<No Strat> Status: Ko
FooClassTest#foo1Test
	1 Strat4 VAR Foo:21 Used result
Status: Ok
FooClassTest#fooLocalTest
<No Strat> Status: Ko
FooArrayAccessTest#fooTest
<No Strat> Status: Ko
FooArrayAccessTest#fooTest1
<No Strat> Status: Ko
FooArrayAccessTest#fooTest2
<No Strat> Status: Ko
Strat4 NEW
FooClassTest#fooTest
<No Strat> Status: Ko
FooClassTest#fooGlobalTest
	1 Strat4 NEW Foo:31 Used java.lang.String()
Status: Ok
FooClassTest#fooVariableLocalTest
	1 Strat4 NEW Foo:49 Used java.lang.String()
Status: Ko
FooClassTest#fooVariableGlobalTest
	1 Strat4 NEW Foo:58 Used java.lang.String()
Status: Ko
FooClassTest#returnVoidTest
<No Strat> Status: Ko
FooClassTest#foo1Test
	1 Strat4 NEW Foo:21 Used java.lang.Object()
Status: Ok
FooClassTest#fooLocalTest
	1 Strat4 NEW Foo:31 Used java.lang.String()
Status: Ko
FooArrayAccessTest#fooTest
<No Strat> Status: Ko
FooArrayAccessTest#fooTest1
<No Strat> Status: Ko
FooArrayAccessTest#fooTest2
<No Strat> Status: Ko
Strat4 VOID
FooClassTest#fooTest
	1 Strat4 VOID Foo:16 Used null
Status: Ok
FooClassTest#fooGlobalTest
<No Strat> Status: Ko
FooClassTest#fooVariableLocalTest
<No Strat> Status: Ko
FooClassTest#fooVariableGlobalTest
<No Strat> Status: Ko
FooClassTest#returnVoidTest
	1 Strat4 VOID Foo:67 Used null
Status: Ok
FooClassTest#foo1Test
<No Strat> Status: Ko
FooClassTest#fooLocalTest
<No Strat> Status: Ko
FooArrayAccessTest#fooTest
<No Strat> Status: Ko
FooArrayAccessTest#fooTest1
<No Strat> Status: Ko
FooArrayAccessTest#fooTest2
<No Strat> Status: Ko
[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
TernarySplitter  in 4ms
type = (element != null) ? element.getClass() : Object.class
CheckNotNull  in 9ms
ForceNullInit in 2ms
AddImplicitCastChecker --> 4 in 3ms
BeforeDeref --> 29 (failed:0) in 13ms
target--> 32 (failed:0) in 30ms
TryRegister # Try: 1 in 10ms
Assign --> 19 (failed: 0) in 19ms
VarInit --> 10 in 6ms
MethodEncapsulation # Method: 52 in 52ms
ConstructorEncapsulation # Constructor: 2 in 8ms
VariableFor in 5ms
ArrayReadReturnNull
FooClassTest#fooTest
	1 ArrayReadReturnNull Foo:16 null
Status: Ko
FooClassTest#fooGlobalTest
	1 ArrayReadReturnNull Foo:31 null
Status: Ko
FooClassTest#fooVariableLocalTest
	1 ArrayReadReturnNull Foo:49 null
Status: Ko
FooClassTest#fooVariableGlobalTest
	1 ArrayReadReturnNull Foo:58 null
Status: Ko
FooClassTest#returnVoidTest
	1 ArrayReadReturnNull Foo:67 null
Status: Ko
FooClassTest#foo1Test
	1 ArrayReadReturnNull Foo:21 null
Status: Ko
FooClassTest#fooLocalTest
	1 ArrayReadReturnNull Foo:31 null
Status: Ko
FooArrayAccessTest#fooTest
<No Strat> Status: Ko
FooArrayAccessTest#fooTest1
<No Strat> Status: Ko
FooArrayAccessTest#fooTest2
<No Strat> Status: Ko
[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
TernarySplitter  in 3ms
type = (element != null) ? element.getClass() : Object.class
CheckNotNull  in 18ms
ForceNullInit in 1ms
AddImplicitCastChecker --> 4 in 3ms
BeforeDeref --> 29 (failed:0) in 13ms
target--> 32 (failed:0) in 24ms
TryRegister # Try: 1 in 7ms
Assign --> 19 (failed: 0) in 17ms
VarInit --> 10 in 6ms
MethodEncapsulation # Method: 76 in 57ms
ConstructorEncapsulation # Constructor: 2 in 8ms
VariableFor in 21ms
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.182 sec - in fr.inria.spirals.npefix.main.all.LauncherTest

Results :

Tests run: 29, Failures: 0, Errors: 0, Skipped: 2

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 21.860 s
[INFO] Finished at: 2020-03-27T05:24:33+01:00
[INFO] Final Memory: 29M/210M
[INFO] ------------------------------------------------------------------------
Finished: SUCCESS